Lines Matching defs:array
121 reg Sfio_t** array;
137 { if(p->s_sf == 0) /* initialize pool array */
138 { p->s_sf = sizeof(p->array)/sizeof(p->array[0]);
139 p->sf = p->array;
141 else /* allocate a larger array */
142 { n = (p->sf != p->array ? p->s_sf : (p->s_sf/4 + 1)*4) + 4;
143 if(!(array = (Sfio_t**)malloc(n*sizeof(Sfio_t*))) )
146 /* move old array to new one */
147 memcpy((Void_t*)array,(Void_t*)p->sf,p->n_sf*sizeof(Sfio_t*));
148 if(p->sf != p->array)
151 p->sf = array;
156 /* always add at end of array because if this was done during some sort