Searched refs:hooks (Results 1 – 17 of 17) sorted by relevance
937 internal_hooks hooks; member959 if (hooks == NULL || hooks->malloc_fn == NULL || hooks->free_fn == NULL) { in lite_cjson_init_hooks()1007 if (p->hooks.reallocate != NULL) { in ensure()1011 p->hooks.deallocate(p->buffer); in ensure()1021 p->hooks.deallocate(p->buffer); in ensure()1030 p->hooks.deallocate(p->buffer); in ensure()1523 buffer->hooks = *hooks; in print()1535 if (hooks->reallocate != NULL) { in print()1552 hooks->deallocate(buffer->buffer); in print()1559 hooks->deallocate(buffer->buffer); in print()[all …]
172 if (hooks == NULL) in cJSON_InitHooks()182 if (hooks->malloc_fn != NULL) in cJSON_InitHooks()188 if (hooks->free_fn != NULL) in cJSON_InitHooks()254 internal_hooks hooks; member369 internal_hooks hooks; member423 if (p->hooks.reallocate != NULL) in ensure()1017 buffer.hooks = global_hooks; in cJSON_ParseWithOpts()1099 buffer->hooks = *hooks; in print()1113 if (hooks->reallocate != NULL) in print()1181 p.hooks = global_hooks; in cJSON_PrintBuffered()[all …]
382 DLL_HAL_API int HAL_DTLSHooks_set(dtls_hooks_t *hooks) in HAL_DTLSHooks_set() argument384 if (hooks == NULL || hooks->malloc == NULL || hooks->free == NULL) { in HAL_DTLSHooks_set()388 g_dtls_hooks.malloc = hooks->malloc; in HAL_DTLSHooks_set()389 g_dtls_hooks.free = hooks->free; in HAL_DTLSHooks_set()
638 int HAL_SSLHooks_set(ssl_hooks_t *hooks) in HAL_SSLHooks_set() argument640 if (hooks == NULL || hooks->malloc == NULL || hooks->free == NULL) { in HAL_SSLHooks_set()644 g_ssl_hooks.malloc = hooks->malloc; in HAL_SSLHooks_set()645 g_ssl_hooks.free = hooks->free; in HAL_SSLHooks_set()
87 void lite_cjson_init_hooks(lite_cjson_hooks *hooks);
144 CJSON_PUBLIC(void) cJSON_InitHooks(cJSON_Hooks* hooks);
38 lite_cjson_hooks hooks; in iotx_dm_open() local44 hooks.malloc_fn = dm_utils_malloc; in iotx_dm_open()45 hooks.free_fn = dm_utils_free; in iotx_dm_open()46 lite_cjson_init_hooks(&hooks); in iotx_dm_open()
138 This is just a patch that adds plugins hooks for IPv6, the plugin interface
1526 # eval: (add-hook 'write-file-hooks 'time-stamp)
1522 # eval: (add-hook 'write-file-hooks 'time-stamp)
3807 a06bbe2e add WebPISetIOHooks() to set some custom hooks on the incremental decoder object.
3978 # Disable hooks by default.
3966 # Disable hooks by default.
3980 # Disable hooks by default.
5367 # Disable hooks by default.
Completed in 125 milliseconds