Searched refs:reallocate (Results 1 – 4 of 4) sorted by relevance
124 void *(CJSON_CDECL *reallocate)(void *pointer, size_t size);177 global_hooks.reallocate = realloc; in cJSON_InitHooks()194 global_hooks.reallocate = NULL; in cJSON_InitHooks()197 global_hooks.reallocate = realloc; in cJSON_InitHooks()423 if (p->hooks.reallocate != NULL) in ensure()426 newbuffer = (unsigned char*)p->hooks.reallocate(p->buffer, newsize); in ensure()1113 if (hooks->reallocate != NULL) in print()1115 printed = (unsigned char*) hooks->reallocate(buffer->buffer, buffer->offset + 1); in print()
927 void *(*reallocate)(void *pointer, size_t size); member1007 if (p->hooks.reallocate != NULL) { in ensure()1009 newbuffer = (unsigned char *)p->hooks.reallocate(p->buffer, newsize); in ensure()1535 if (hooks->reallocate != NULL) { in print()1536 printed = (unsigned char *)hooks->reallocate(buffer->buffer, in print()
919 if (len > static_cast<size_t>(cur_ - scratch_)) { reallocate(len); }1026 void reallocate(size_t len) {
1076 libpng will reallocate the png_struct and info_struct if they are too small.
Completed in 40 milliseconds