Home
last modified time | relevance | path

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

/external/iperf3/src/
Dcjson.c193 static internal_hooks global_hooks = { internal_malloc, internal_free, internal_realloc }; variable
221 global_hooks.allocate = malloc; in cJSON_InitHooks()
222 global_hooks.deallocate = free; in cJSON_InitHooks()
223 global_hooks.reallocate = realloc; in cJSON_InitHooks()
227 global_hooks.allocate = malloc; in cJSON_InitHooks()
230 global_hooks.allocate = hooks->malloc_fn; in cJSON_InitHooks()
233 global_hooks.deallocate = free; in cJSON_InitHooks()
236 global_hooks.deallocate = hooks->free_fn; in cJSON_InitHooks()
240 global_hooks.reallocate = NULL; in cJSON_InitHooks()
241 if ((global_hooks.allocate == malloc) && (global_hooks.deallocate == free)) in cJSON_InitHooks()
[all …]