Lines Matching refs:size
165 void *(CJSON_CDECL *allocate)(size_t size);
167 void *(CJSON_CDECL *reallocate)(void *pointer, size_t size);
172 static void * CJSON_CDECL internal_malloc(size_t size) in internal_malloc() argument
174 return malloc(size); in internal_malloc()
180 static void * CJSON_CDECL internal_realloc(void *pointer, size_t size) in internal_realloc() argument
182 return realloc(pointer, size); in internal_realloc()
304 #define can_read(buffer, size) ((buffer != NULL) && (((buffer)->offset + size) <= (buffer)->length)) argument
1828 size_t size = 0; in cJSON_GetArraySize() local
1839 size++; in cJSON_GetArraySize()
1845 return (int)size; in cJSON_GetArraySize()
3077 CJSON_PUBLIC(void *) cJSON_malloc(size_t size) in cJSON_malloc() argument
3079 return global_hooks.allocate(size); in cJSON_malloc()