Home
last modified time | relevance | path

Searched refs:cJSON_malloc (Results 1 – 1 of 1) sorted by relevance

/external/vulkan-validation-layers/loader/
DcJSON.c42 static void *(*cJSON_malloc)(size_t sz) = malloc; variable
50 if (!(copy = (char *)cJSON_malloc(len))) in cJSON_strdup()
58 cJSON_malloc = malloc; in cJSON_InitHooks()
63 cJSON_malloc = (hooks->malloc_fn) ? hooks->malloc_fn : malloc; in cJSON_InitHooks()
69 cJSON *node = (cJSON *)cJSON_malloc(sizeof(cJSON)); in cJSON_New_Item()
159 newbuffer = (char *)cJSON_malloc(newsize); in ensure()
189 str = (char *)cJSON_malloc(2); /* special case for 0. */ in print_number()
197 str = (char *)cJSON_malloc( in print_number()
205 str = (char *)cJSON_malloc(64); /* This is a nice tradeoff. */ in print_number()
279 out = (char *)cJSON_malloc( in parse_string()
[all …]