Lines Matching refs:vsize
175 int vsize;
766 void sh_setmatch(Shell_t *shp,const char *v, int vsize, int nmatch, regoff_t match[],int index)
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+1);
843 mp->vsize = i+vsize+1;
858 memcpy(mp->val,v+n,vsize);
859 mp->val[vsize] = 0;