Lines Matching refs:MemPool
512 if (ctx ->MemPool == NULL) { in _cmsPluginMalloc()
516 ctx->MemPool = _cmsCreateSubAlloc(0, 2*1024); in _cmsPluginMalloc()
517 if (ctx->MemPool == NULL) return NULL; in _cmsPluginMalloc()
525 return _cmsSubAlloc(ctx->MemPool, size); in _cmsPluginMalloc()
783 ctx ->MemPool = _cmsCreateSubAlloc(ctx, 22 * sizeof(void*)); // default size about 32 pointers in cmsCreateContext()
784 if (ctx ->MemPool == NULL) { in cmsCreateContext()
843 ctx ->MemPool = _cmsCreateSubAlloc(ctx, 22 * sizeof(void*)); in cmsDupContext()
844 if (ctx ->MemPool == NULL) { in cmsDupContext()
918 if (ctx -> MemPool != NULL) in cmsDeleteContext()
919 _cmsSubAllocDestroy(ctx ->MemPool); in cmsDeleteContext()
920 ctx -> MemPool = NULL; in cmsDeleteContext()