Lines Matching refs:offset
298 int offset=staktell();;
304 sh_addbuiltin(stakptr(offset),np->nvalue.bfp,NiL);
305 stakseek(offset);
427 int offset = staktell();
429 path_chkpaths(shp,first,0,pp,offset);
430 stakseek(offset);
915 int offset = staktell()-1;
916 stakseek(offset);
923 memcpy(stakptr(offset),".sh",4);
1423 int len, offset=staktell();
1429 len = staktell()-offset;
1431 stakseek(offset);
1432 name = (const char*)stakptr(offset);
1465 path_chkpaths(shp,first,old,pp,offset);
1471 * it assumes that the directory is on the stack at <offset>
1473 static int path_chkpaths(Shell_t *shp,Pathcomp_t *first, Pathcomp_t* old,Pathcomp_t *pp, int offset)
1478 stakseek(offset+pp->len);
1479 if(pp->len==1 && *stakptr(offset)=='/')
1480 stakseek(offset);
1482 if((fd=open(stakptr(offset),O_RDONLY))>=0)
1486 stakseek(offset+pp->len+n+2);
1487 sp = stakptr(offset+pp->len);
1512 char *ptr = stakptr(offset+pp->len+1);
1515 path_addcomp(shp,first,old,stakptr(offset),PATH_FPATH|PATH_BFPATH);
1550 memcpy((void*)&pp->lib[m],stakptr(offset),pp->len);
1574 int offset = staktell();
1584 if(offset)
1620 if(offset)
1621 stakset(savptr,offset);
1682 int offset = staktell();
1684 stakseek(offset);
1687 path_chkpaths(shp,first,(Pathcomp_t*)0,pp,offset);