Lines Matching defs:cJSON_malloc
43 static void *cJSON_malloc(const VkAllocationCallbacks *pAllocator, size_t size) {
65 copy = (char *)cJSON_malloc(pAllocator, len);
73 cJSON *node = (cJSON *)cJSON_malloc(pAllocator, sizeof(cJSON));
154 newbuffer = (char *)cJSON_malloc(pAllocator, newsize);
184 str = (char *)cJSON_malloc(item->pAllocator, str_buf_size);
191 str = (char *)cJSON_malloc(item->pAllocator, str_buf_size);
198 str = (char *)cJSON_malloc(item->pAllocator, str_buf_size);
270 out = (char *)cJSON_malloc(item->pAllocator, len + 1); /* This is how long we need for the string, roughly. */
648 out = (char *)cJSON_malloc(item->pAllocator, 3);
682 entries = (char **)cJSON_malloc(item->pAllocator, numentries * sizeof(char *));
698 if (!fail) out = (char *)cJSON_malloc(item->pAllocator, len);
802 out = (char *)cJSON_malloc(item->pAllocator, fmt ? depth + 4 : 3);
864 entries = (char **)cJSON_malloc(item->pAllocator, numentries * sizeof(char *));
866 names = (char **)cJSON_malloc(item->pAllocator, numentries * sizeof(char *));
889 if (!fail) out = (char *)cJSON_malloc(item->pAllocator, len);