Home
last modified time | relevance | path

Searched refs:ifstable (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/lib/libshell/common/bltins/
H A Dread.c281 if((flags&R_FLAG) && shp->ifstable['\\']==S_ESC) in sh_readline()
282 shp->ifstable['\\'] = 0; in sh_readline()
283 else if(!(flags&R_FLAG) && shp->ifstable['\\']==0) in sh_readline()
284 shp->ifstable['\\'] = S_ESC; in sh_readline()
285 shp->ifstable[delim] = S_NL; in sh_readline()
288 shp->ifstable['\n'] = 0; in sh_readline()
291 shp->ifstable[0] = S_EOF; in sh_readline()
470 c = shp->ifstable[*cp++]; in sh_readline()
476 c = shp->ifstable[*cp++]; in sh_readline()
482 while((c=shp->ifstable[*--cpmax])==S_DELIM || c==S_SPACE); in sh_readline()
[all …]
/titanic_41/usr/src/lib/libshell/common/sh/
H A Dfault.c443 char ifstable[256]; in sh_trap() local
447 memcpy(ifstable,shp->ifstable,sizeof(ifstable)); in sh_trap()
485 memcpy(shp->ifstable,ifstable,sizeof(ifstable)); in sh_trap()
H A Dmacro.c851 register int c=S_DELIM, d=shp->ifstable['\\']; in getdolarg()
866 shp->ifstable['\\'] = 0; in getdolarg()
867 shp->ifstable[0] = S_EOF; in getdolarg()
871 while(shp->ifstable[*cp++]==S_SPACE); in getdolarg()
875 while((c=shp->ifstable[*cp++])==0); in getdolarg()
878 while((c=shp->ifstable[*cp++])==S_SPACE); in getdolarg()
890 shp->ifstable['\\'] = d; in getdolarg()
2063 else if(!mp->quote && mp->split && mp->shp->ifstable['\n']) in comsubst()
2088 if(--newlines>0 && mp->shp->ifstable['\n']==S_DELIM) in comsubst()
2166 state = mp->shp->ifstable; in mac_copy()
[all …]
H A Dinit.c491 memset(shp->ifstable,0,(1<<CHAR_BIT)); in get_ifs()
505 shp->ifstable[c] = S_MBYTE; in get_ifs()
516 shp->ifstable[c] = n; in get_ifs()
521 shp->ifstable[' '] = shp->ifstable['\t'] = S_SPACE; in get_ifs()
522 shp->ifstable['\n'] = S_NL; in get_ifs()
/titanic_41/usr/src/lib/libshell/common/include/
H A Ddefs.h231 char ifstable[256]; \