Searched refs:cJSON_GetObjectItem (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/mat/tests/ |
| H A D | bench_spmv.c | 90 spmv = cJSON_GetObjectItem(elem, "spmv"); in UpdateJSON() 92 format = cJSON_GetObjectItem(spmv, matformat); in UpdateJSON() 94 …cJSON_SetNumberValue(cJSON_GetObjectItem(format, "time"), (spmv_times[i] - ((i == 0) ? starting_sp… in UpdateJSON() 95 cJSON_SetIntValue(cJSON_GetObjectItem(format, "repetitions"), repetitions); in UpdateJSON()
|
| H A D | cJSON.h | 168 CJSON_PUBLIC(cJSON *) cJSON_GetObjectItem(const cJSON *const object, const char *const string);
|
| H A D | cJSON.c | 1463 CJSON_PUBLIC(cJSON *) cJSON_GetObjectItem(const cJSON *const object, const char *const string) in cJSON_GetObjectItem() function 1475 return cJSON_GetObjectItem(object, string) ? 1 : 0; in cJSON_HasObjectItem() 1721 cJSON *to_detach = cJSON_GetObjectItem(object, string); in cJSON_DetachItemFromObject()
|