Lines Matching refs:deallocate
123 void (CJSON_CDECL *deallocate)(void *pointer);
176 global_hooks.deallocate = free; in cJSON_InitHooks()
187 global_hooks.deallocate = free; in cJSON_InitHooks()
190 global_hooks.deallocate = hooks->free_fn; in cJSON_InitHooks()
195 if ((global_hooks.allocate == malloc) && (global_hooks.deallocate == free)) in cJSON_InitHooks()
226 global_hooks.deallocate(item->valuestring); in cJSON_Delete()
230 global_hooks.deallocate(item->string); in cJSON_Delete()
232 global_hooks.deallocate(item); in cJSON_Delete()
429 p->hooks.deallocate(p->buffer); in ensure()
442 p->hooks.deallocate(p->buffer); in ensure()
452 p->hooks.deallocate(p->buffer); in ensure()
815 input_buffer->hooks.deallocate(output); in parse_string()
1132 hooks->deallocate(buffer->buffer); in print()
1140 hooks->deallocate(buffer->buffer); in print()
1145 hooks->deallocate(printed); in print()
1185 global_hooks.deallocate(p.buffer); in cJSON_PrintBuffered()
1923 hooks->deallocate(item->string); in add_item_to_object()
2931 global_hooks.deallocate(object); in cJSON_free()