Lines Matching defs:Match_t
38 typedef struct _match_s Match_t;
41 { Match_t* next; /* linked list ptr */
50 Match_t* base; /* base of elements */
52 Match_t** table; /* hash table */
57 static int vdputinst(Table_t* tab, uchar* begs, uchar* here, Match_t* match, int n_copy)
63 Match_t* match; /* best match if any */
167 reg Match_t *m, *list, *curm, *bestm;
172 reg Match_t *base = tab->base, **table = tab->table;
184 return vdputinst(tab,s,endfold,NIL(Match_t*),0);
188 bestm = NIL(Match_t*);
269 bestm = NIL(Match_t*);
306 return vdputinst(tab,add,endfold,NIL(Match_t*),0);
340 tab.base = NIL(Match_t*);
341 tab.table = NIL(Match_t**);
378 if(!(tab.base = (Match_t*)malloc(size*sizeof(Match_t))) )
386 while(!(tab.table = (Match_t**)malloc(size*sizeof(Match_t*))) )
405 tab.base = NIL(Match_t*);
470 tab.table[k] = NIL(Match_t*);