Searched refs:cJSON (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/mat/tests/ |
| H A D | cJSON.h | 101 typedef struct cJSON { struct 103 struct cJSON *next; argument 104 struct cJSON *prev; argument 106 struct cJSON *child; argument 120 } cJSON; argument 144 CJSON_PUBLIC(cJSON *) cJSON_Parse(const char *value); 145 CJSON_PUBLIC(cJSON *) cJSON_ParseWithLength(const char *value, size_t buffer_length); 148 CJSON_PUBLIC(cJSON *) cJSON_ParseWithOpts(const char *value, const char **return_parse_end, cJSON_b… 149 CJSON_PUBLIC(cJSON *) cJSON_ParseWithLengthOpts(const char *value, size_t buffer_length, const char… 152 CJSON_PUBLIC(char *) cJSON_Print(const cJSON *item); [all …]
|
| H A D | cJSON.c | 99 CJSON_PUBLIC(char *) cJSON_GetStringValue(const cJSON *const item) in cJSON_GetStringValue() 106 CJSON_PUBLIC(double) cJSON_GetNumberValue(const cJSON *const item) in cJSON_GetNumberValue() 115 #error cJSON.h and cJSON.c have different versions. Make sure that both have the same. 208 static cJSON *cJSON_New_Item(const internal_hooks *const hooks) in cJSON_New_Item() 210 cJSON *node = (cJSON *)hooks->allocate(sizeof(cJSON)); in cJSON_New_Item() 211 if (node) memset(node, '\0', sizeof(cJSON)); in cJSON_New_Item() 217 CJSON_PUBLIC(void) cJSON_Delete(cJSON *item) in cJSON_Delete() 219 cJSON *next = NULL; in cJSON_Delete() 258 static cJSON_bool parse_number(cJSON *const item, parse_buffer *const input_buffer) in parse_number() 322 CJSON_PUBLIC(double) cJSON_SetNumberHelper(cJSON *object, double number) in cJSON_SetNumberHelper() [all …]
|
| H A D | bench_spmv.c | 42 cJSON *matrix_json = NULL; in ParseJSON() 43 const cJSON *problem = NULL, *elem = NULL; in ParseJSON() 44 const cJSON *item = NULL; in ParseJSON() 79 cJSON *matrix_json = NULL; in UpdateJSON() 80 cJSON *elem = NULL; in UpdateJSON() 87 cJSON *spmv = NULL; in UpdateJSON() 88 cJSON *format = NULL; in UpdateJSON()
|
| H A D | makefile | 6 bench_spmv: mmloader.o mmio.o cJSON.o
|