Searched refs:ifstable (Results 1 – 5 of 5) sorted by relevance
298 if((flags&R_FLAG) && shp->ifstable['\\']==S_ESC) in sh_readline()299 shp->ifstable['\\'] = 0; in sh_readline()300 else if(!(flags&R_FLAG) && shp->ifstable['\\']==0) in sh_readline()301 shp->ifstable['\\'] = S_ESC; in sh_readline()303 shp->ifstable[delim] = S_NL; in sh_readline()306 shp->ifstable['\n'] = 0; in sh_readline()309 shp->ifstable[0] = S_EOF; in sh_readline()312 shp->ifstable['"'] = S_QUOTE; in sh_readline()313 shp->ifstable['\r'] = S_ERR; in sh_readline()511 c = shp->ifstable[*cp++]; in sh_readline()[all …]
454 char ifstable[256]; in sh_trap() local458 memcpy(ifstable,shp->ifstable,sizeof(ifstable)); in sh_trap()496 memcpy(shp->ifstable,ifstable,sizeof(ifstable)); in sh_trap()
909 register int c=S_DELIM, d=shp->ifstable['\\']; in getdolarg()924 shp->ifstable['\\'] = 0; in getdolarg()925 shp->ifstable[0] = S_EOF; in getdolarg()929 while(shp->ifstable[*cp++]==S_SPACE); in getdolarg()933 while((c=shp->ifstable[*cp++])==0); in getdolarg()936 while((c=shp->ifstable[*cp++])==S_SPACE); in getdolarg()948 shp->ifstable['\\'] = d; in getdolarg()2217 else if(!mp->quote && mp->split && mp->shp->ifstable['\n']) in comsubst()2243 if(--newlines>0 && mp->shp->ifstable['\n']==S_DELIM) in comsubst()2351 state = mp->shp->ifstable; in mac_copy()[all …]
549 memset(shp->ifstable,0,(1<<CHAR_BIT)); in get_ifs()563 shp->ifstable[c] = S_MBYTE; in get_ifs()574 shp->ifstable[c] = n; in get_ifs()579 shp->ifstable[' '] = shp->ifstable['\t'] = S_SPACE; in get_ifs()580 shp->ifstable['\n'] = S_NL; in get_ifs()
262 char ifstable[256]; \