Lines Matching refs:deallocate
159 void (CJSON_CDECL *deallocate)(void *pointer);
215 global_hooks.deallocate = free; in cJSON_InitHooks()
226 global_hooks.deallocate = free; in cJSON_InitHooks()
229 global_hooks.deallocate = hooks->free_fn; in cJSON_InitHooks()
234 if ((global_hooks.allocate == malloc) && (global_hooks.deallocate == free)) in cJSON_InitHooks()
265 global_hooks.deallocate(item->valuestring); in cJSON_Delete()
269 global_hooks.deallocate(item->string); in cJSON_Delete()
271 global_hooks.deallocate(item); in cJSON_Delete()
495 p->hooks.deallocate(p->buffer); in ensure()
508 p->hooks.deallocate(p->buffer); in ensure()
516 p->hooks.deallocate(p->buffer); in ensure()
886 input_buffer->hooks.deallocate(output); in parse_string()
1228 hooks->deallocate(buffer->buffer); in print()
1236 hooks->deallocate(buffer->buffer); in print()
1241 hooks->deallocate(printed); in print()
1281 global_hooks.deallocate(p.buffer); in cJSON_PrintBuffered()
2035 hooks->deallocate(item->string); in add_item_to_object()
3109 global_hooks.deallocate(object); in cJSON_free()