Searched refs:reallocate (Results 1 – 3 of 3) sorted by relevance
143 void *(CJSON_CDECL *reallocate)(void *pointer, size_t size);192 global_hooks.reallocate = realloc; in cJSON_InitHooks()203 global_hooks.reallocate = NULL; in cJSON_InitHooks()204 …_hooks.allocate == malloc) && (global_hooks.deallocate == free)) global_hooks.reallocate = realloc; in cJSON_InitHooks()397 if (p->hooks.reallocate != NULL) { in ensure()399 newbuffer = (unsigned char *)p->hooks.reallocate(p->buffer, newsize); in ensure()971 if (hooks->reallocate != NULL) { in print()972 printed = (unsigned char *)hooks->reallocate(buffer->buffer, buffer->offset + 1); in print()
703 PetscErrorCode reallocate(size_t, value_type **, const stream_type *) noexcept;863 …SegmentedMemoryPool<MemType, StreamType, AllocType, DefaultChunkSize>::reallocate(size_t new_req_s… in reallocate() function in Petsc::memory::SegmentedMemoryPool
2493 (dpm/reallocate-unsteady-coupled? #t)