Lines Matching defs:res
68 ap_slotmem_instance_t *res;
99 res = (ap_slotmem_instance_t *) apr_pcalloc(gpool, sizeof(ap_slotmem_instance_t));
100 res->base = apr_pcalloc(gpool, basesize + (item_num * sizeof(char)));
101 if (!res->base)
105 res->name = apr_pstrdup(gpool, fname);
106 res->size = item_size;
107 res->num = item_num;
108 res->next = NULL;
109 res->type = type;
110 res->inuse = (char *)res->base + basesize;
112 globallistmem = res;
114 next->next = res;
116 *new = res;