Searched defs:vsize (Results 1 - 2 of 2) 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...]
H A Dmacro.c1094 int dolmax=0, vsize= -1, offset= -1, nulflg, replen=0, bysub=0; local
1188 v = getdolarg(mp->shp,c,&vsize);
1523 c = charlen(v,vsize);
1642 v = getdolarg(mp->shp,dolg=type,&vsize);
1681 vsize = charlen(v,vsize);
1682 if(type<0 && (type += vsize)<0)
1684 if(vsize < type)
1697 vsize = v?strlen(v):0;
1716 else if(type < vsize)
[all...]

Completed in 19 milliseconds