Home | History | Annotate | Download | only in src

Lines Matching refs:MemPool

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