Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/rk_pcba_test/cJSON/
H A DcJSON.c46 static void *(*cJSON_malloc)(size_t sz) = malloc; variable
55 if (!(copy = (char*)cJSON_malloc(len))) return 0; in cJSON_strdup()
63 cJSON_malloc = malloc; in cJSON_InitHooks()
68 cJSON_malloc = (hooks->malloc_fn)?hooks->malloc_fn:malloc; in cJSON_InitHooks()
75 cJSON* node = (cJSON*)cJSON_malloc(sizeof(cJSON)); in cJSON_New_Item()
124 str=(char*)cJSON_malloc(21); /* 2^64+1 can be represented in 21 chars. */ in print_number()
129 str=(char*)cJSON_malloc(64); /* This is a nice tradeoff. */ in print_number()
162 out=(char*)cJSON_malloc(len+1); /* This is how long we need for the string, roughly. */ in parse_string()
222 out=(char*)cJSON_malloc(len+3); in print_string_ptr()
360 out=(char*)cJSON_malloc(3); in print_array()
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/iq_parser_v2/j2s/
H A DcJSON_Utils.cpp77 copy = (unsigned char*) cJSON_malloc(length); in cJSONUtils_strdup()
229 …unsigned char *full_pointer = (unsigned char*)cJSON_malloc(strlen((char*)target_pointer) + 20 + si… in cJSONUtils_FindPointerFromObjectTo()
247 …unsigned char *full_pointer = (unsigned char*)cJSON_malloc(strlen((char*)target_pointer) + pointer… in cJSONUtils_FindPointerFromObjectTo()
1123 …unsigned char *full_path = (unsigned char*)cJSON_malloc(path_length + suffix_length + sizeof("/")); in compose_patch()
1178 …unsigned char *new_path = (unsigned char*)cJSON_malloc(strlen((const char*)path) + 20 + sizeof("/"… in create_patches()
1249 …unsigned char *new_path = (unsigned char*)cJSON_malloc(path_length + from_child_name_length + size… in create_patches()
H A DcJSON.cpp3115 CJSON_PUBLIC(void *) cJSON_malloc(size_t size) in cJSON_malloc() function
/OK3568_Linux_fs/app/lvgl_demo/cJSON/
H A DcJSON.h286 CJSON_PUBLIC(void *) cJSON_malloc(size_t size);
H A DcJSON.c3102 CJSON_PUBLIC(void *) cJSON_malloc(size_t size) in cJSON_malloc() function
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/iq_parser_v2/j2s/
H A DcJSON.h284 CJSON_PUBLIC(void *) cJSON_malloc(size_t size);