Home
last modified time | relevance | path

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

/external/vulkan-validation-layers/libs/cjson/
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()
163 newbuffer = (char *)cJSON_malloc(newsize); in ensure()
193 str = (char *)cJSON_malloc(2); /* special case for 0. */ in print_number()
201 str = (char *)cJSON_malloc( in print_number()
209 str = (char *)cJSON_malloc(64); /* This is a nice tradeoff. */ in print_number()
283 out = (char *)cJSON_malloc( in parse_string()
[all …]