Lines Matching refs:MemPool
523 if (ctx ->MemPool == NULL) {
527 ctx->MemPool = _cmsCreateSubAlloc(0, 2*1024);
535 return _cmsSubAlloc(ctx->MemPool, size);
787 ctx ->MemPool = _cmsCreateSubAlloc(ctx, 22 * sizeof(void*)); // default size about 32 pointers
788 if (ctx ->MemPool == NULL) {
847 ctx ->MemPool = _cmsCreateSubAlloc(ctx, 22 * sizeof(void*));
848 if (ctx ->MemPool == NULL) {
921 if (ctx -> MemPool != NULL)
922 _cmsSubAllocDestroy(ctx ->MemPool);
923 ctx -> MemPool = NULL;