Lines Matching refs:x3a
4133 static struct s_x3 *x3a;
4137 if( x3a ) return;
4138 x3a = (struct s_x3*)malloc( sizeof(struct s_x3) );
4139 if( x3a ){
4140 x3a->size = 128;
4141 x3a->count = 0;
4142 x3a->tbl = (x3node*)malloc(
4144 if( x3a->tbl==0 ){
4145 free(x3a);
4146 x3a = 0;
4149 x3a->ht = (x3node**)&(x3a->tbl[128]);
4150 for(i=0; i<128; i++) x3a->ht[i] = 0;
4164 if( x3a==0 ) return 0;
4166 h = ph & (x3a->size-1);
4167 np = x3a->ht[h];
4176 if( x3a->count>=x3a->size ){
4180 array.size = size = x3a->size*2;
4181 array.count = x3a->count;
4187 for(i=0; i<x3a->count; i++){
4189 oldnp = &(x3a->tbl[i]);
4199 free(x3a->tbl);
4200 *x3a = array;
4203 h = ph & (x3a->size-1);
4204 np = &(x3a->tbl[x3a->count++]);
4207 if( x3a->ht[h] ) x3a->ht[h]->from = &(np->next);
4208 np->next = x3a->ht[h];
4209 x3a->ht[h] = np;
4210 np->from = &(x3a->ht[h]);
4222 if( x3a==0 ) return 0;
4223 h = statehash(key) & (x3a->size-1);
4224 np = x3a->ht[h];
4239 if( x3a==0 ) return 0;
4240 size = x3a->count;
4243 for(i=0; i<size; i++) array[i] = x3a->tbl[i].data;