Searched refs:vsize (Results 1 - 1 of 1) sorted by relevance

/ast/src/cmd/ksh93/sh/
H A Dinit.c175 int vsize; member in struct:match
766 void sh_setmatch(Shell_t *shp,const char *v, int vsize, int nmatch, regoff_t match[],int index) argument
831 for(n=mp->first+(mp->v-v),vsize=0,i=0; i < 2*nmatch; i++)
833 if(match[i]>=0 && (match[i] - n) > vsize)
834 vsize = match[i] -n;
837 if((i+vsize) >= mp->vsize)
839 if(mp->vsize)
840 mp->match = (int*)realloc(mp->match,i+vsize+1);
842 mp->match = (int*)malloc(i+vsize
[all...]

Completed in 13 milliseconds