/titanic_51/usr/src/lib/libast/common/include/ |
H A D | stak.h | 37 #define staksp stkstd 40 #define stakptr(n) stkptr(stkstd,n) 41 #define staktell() stktell(stkstd) 42 #define stakputc(c) sfputc(stkstd,(c)) 43 #define stakwrite(b,n) sfwrite(stkstd,(b),(n)) 44 #define stakputs(s) (sfputr(stkstd,(s),0),--stkstd->_next) 45 #define stakseek(n) stkseek(stkstd,n) 50 #define stakalloc(n) stkalloc(stkstd,n) 51 #define stakcopy(s) stkcopy(stkstd,s) 52 #define stakset(c,n) stkset(stkstd,c,n) [all …]
|
H A D | stk.h | 38 #define stkstd (&_Stk_data) macro
|
/titanic_51/usr/src/contrib/ast/src/lib/libast/include/ |
H A D | stak.h | 37 #define staksp stkstd 40 #define stakptr(n) stkptr(stkstd,n) 41 #define staktell() stktell(stkstd) 42 #define stakputc(c) sfputc(stkstd,(c)) 43 #define stakwrite(b,n) sfwrite(stkstd,(b),(n)) 44 #define stakputs(s) (sfputr(stkstd,(s),0),--stkstd->_next) 45 #define stakseek(n) stkseek(stkstd,n) 50 #define stakalloc(n) stkalloc(stkstd,n) 51 #define stakcopy(s) stkcopy(stkstd, [all...] |
H A D | stk.h | 38 #define stkstd (&_Stk_data) macro
|
/titanic_51/usr/src/lib/libast/i386/include/ast/ |
H A D | stak.h | 46 #define staksp stkstd 49 #define stakptr(n) stkptr(stkstd,n) 50 #define staktell() stktell(stkstd) 51 #define stakputc(c) sfputc(stkstd,(c)) 52 #define stakwrite(b,n) sfwrite(stkstd,(b),(n)) 53 #define stakputs(s) (sfputr(stkstd,(s),0),--stkstd->_next) 54 #define stakseek(n) stkseek(stkstd,n) 59 #define stakalloc(n) stkalloc(stkstd,n) 60 #define stakcopy(s) stkcopy(stkstd,s) 61 #define stakset(c,n) stkset(stkstd,c,n) [all …]
|
H A D | stk.h | 47 #define stkstd (&_Stk_data) macro
|
/titanic_51/usr/src/lib/libast/amd64/include/ast/ |
H A D | stak.h | 46 #define staksp stkstd 49 #define stakptr(n) stkptr(stkstd,n) 50 #define staktell() stktell(stkstd) 51 #define stakputc(c) sfputc(stkstd,(c)) 52 #define stakwrite(b,n) sfwrite(stkstd,(b),(n)) 53 #define stakputs(s) (sfputr(stkstd,(s),0),--stkstd->_next) 54 #define stakseek(n) stkseek(stkstd,n) 59 #define stakalloc(n) stkalloc(stkstd,n) 60 #define stakcopy(s) stkcopy(stkstd,s) 61 #define stakset(c,n) stkset(stkstd,c,n) [all …]
|
H A D | stk.h | 47 #define stkstd (&_Stk_data) macro
|
/titanic_51/usr/src/lib/libast/sparcv9/include/ast/ |
H A D | stak.h | 46 #define staksp stkstd 49 #define stakptr(n) stkptr(stkstd,n) 50 #define staktell() stktell(stkstd) 51 #define stakputc(c) sfputc(stkstd,(c)) 52 #define stakwrite(b,n) sfwrite(stkstd,(b),(n)) 53 #define stakputs(s) (sfputr(stkstd,(s),0),--stkstd->_next) 54 #define stakseek(n) stkseek(stkstd,n) 59 #define stakalloc(n) stkalloc(stkstd,n) 60 #define stakcopy(s) stkcopy(stkstd,s) 61 #define stakset(c,n) stkset(stkstd,c,n) [all …]
|
H A D | stk.h | 47 #define stkstd (&_Stk_data) macro
|
/titanic_51/usr/src/lib/libast/sparc/include/ast/ |
H A D | stak.h | 46 #define staksp stkstd 49 #define stakptr(n) stkptr(stkstd,n) 50 #define staktell() stktell(stkstd) 51 #define stakputc(c) sfputc(stkstd,(c)) 52 #define stakwrite(b,n) sfwrite(stkstd,(b),(n)) 53 #define stakputs(s) (sfputr(stkstd,(s),0),--stkstd->_next) 54 #define stakseek(n) stkseek(stkstd,n) 59 #define stakalloc(n) stkalloc(stkstd,n) 60 #define stakcopy(s) stkcopy(stkstd,s) 61 #define stakset(c,n) stkset(stkstd,c,n) [all …]
|
H A D | stk.h | 47 #define stkstd (&_Stk_data) macro
|
/titanic_51/usr/src/lib/libast/common/misc/ |
H A D | error.c | 434 bas = stkptr(stkstd, 0); in errorv() 435 if (off = stktell(stkstd)) in errorv() 436 stkfreeze(stkstd, 0); in errorv() 439 sfprintf(stkstd, "%s: ", error_state.prefix); in errorv() 443 sfprintf(stkstd, " "); in errorv() 445 sfprintf(stkstd, "%s: ", ERROR_translate(NiL, NiL, ast.id, "Usage")); in errorv() 447 print(stkstd, file, " "); in errorv() 454 context(stkstd, CONTEXT(error_info.flags, error_info.context)); in errorv() 456 print(stkstd, file, (flags & ERROR_LIBRARY) ? " " : ": "); in errorv() 459 sfprintf(stkstd, "["); in errorv() [all …]
|
H A D | stk.c | 89 #define stream2stk(stream) ((stream)==stkstd? stkcur:\ 158 if(stream==stkstd) in stkexcept() 193 if(stream!=stkstd) in stkexcept() 195 if(!stkgrow(stkstd,size-(stkstd->_endb-stkstd->_data))) in stkexcept() 279 while(sfstack(stkstd, SF_POPSTACK)); in stkinstall() 280 if(stream!=stkstd) in stkinstall() 281 sfstack(stkstd,stream); in stkinstall()
|
/titanic_51/usr/src/contrib/ast/src/lib/libast/misc/ |
H A D | error.c | 434 bas = stkptr(stkstd, 0); in errorv() 435 if (off = stktell(stkstd)) in errorv() 436 stkfreeze(stkstd, 0); in errorv() 439 sfprintf(stkstd, "%s: ", error_state.prefix); in errorv() 443 sfprintf(stkstd, " "); in errorv() 445 sfprintf(stkstd, "%s: ", ERROR_translate(NiL, NiL, ast.id, "Usage")); in errorv() 447 print(stkstd, file, " "); in errorv() 454 context(stkstd, CONTEXT(error_info.flags, error_info.context)); in errorv() 456 print(stkstd, file, (flags & ERROR_LIBRARY) ? " " : ": "); in errorv() 459 sfprintf(stkstd, "["); in errorv() [all...] |
H A D | stk.c | 89 #define stream2stk(stream) ((stream)==stkstd? stkcur:\ 133 * initialize stkstd, sfio operations may have already occcured 158 if(stream==stkstd) in stkexcept() 193 if(stream!=stkstd) in stkexcept() 195 if(!stkgrow(stkstd,size-(stkstd->_endb-stkstd->_data))) in stkexcept() 279 while(sfstack(stkstd, SF_POPSTACK)); in stkinstall() 280 if(stream!=stkstd) in stkinstall() 281 sfstack(stkstd,strea in stkinstall() [all...] |
/titanic_51/usr/src/contrib/ast/src/lib/libast/path/ |
H A D | pathcd.c | 97 i = stktell(stkstd); in pathcd() 98 sfputr(stkstd, p, 0); in pathcd() 99 stkseek(stkstd, i); in pathcd() 100 p = stkptr(stkstd, i); in pathcd()
|
/titanic_51/usr/src/lib/libast/common/path/ |
H A D | pathcd.c | 97 i = stktell(stkstd); in pathcd() 98 sfputr(stkstd, p, 0); in pathcd() 99 stkseek(stkstd, i); in pathcd() 100 p = stkptr(stkstd, i); in pathcd()
|
/titanic_51/usr/src/lib/libshell/common/bltins/ |
H A D | shiocmd_solaris.c | 108 int offset = stktell(stkstd); in make_time() 113 sfprintf(stkstd,"%s.format\0",name); in make_time() 114 sfputc(stkstd,0); in make_time() 115 dp->format = nv_search(stkptr(stkstd,offset),sh.var_tree,NV_ADD); in make_time() 229 int offset = stktell(stkstd); in sh_newnode() 230 sfprintf(stkstd,"%s.%s\0",name,fp->name); in sh_newnode() 231 sfputc(stkstd,0); in sh_newnode() 232 nq = nv_search(stkptr(stkstd,offset),sh.var_tree,NV_ADD); in sh_newnode() 331 int savtop = stktell(stkstd); in walk_class() 332 char *savptr = stkfreeze(stkstd,0); in walk_class() [all …]
|
H A D | enum.c | 228 sfprintf(stkstd,"%s.%s%c",NV_CLASS,np->nvname,0); in enum_create()
|
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/bltins/ |
H A D | shiocmd_solaris.c | 108 int offset = stktell(stkstd); in make_time() 113 sfprintf(stkstd,"%s.format\0",name); in make_time() 114 sfputc(stkstd,0); in make_time() 115 dp->format = nv_search(stkptr(stkstd,offset),sh.var_tree,NV_ADD); in make_time() 229 int offset = stktell(stkstd); in sh_newnode() 230 sfprintf(stkstd,"%s.%s\0",name,fp->name); in sh_newnode() 231 sfputc(stkstd,0); in sh_newnode() 232 nq = nv_search(stkptr(stkstd,offset),sh.var_tree,NV_ADD); in sh_newnode() 331 int savtop = stktell(stkstd); in walk_class() 332 char *savptr = stkfreeze(stkstd, in walk_class() [all...] |
H A D | enum.c | 229 sfprintf(stkstd,"%s.%s%c",NV_CLASS,np->nvname,0); in enum_create()
|
H A D | print.c | 495 sfprintf(stkstd,"&#%X;",CCMAPC(c,CC_NATIVE,CC_ASCII)); in fmthtml() 505 sfprintf(stkstd,"%%%02X",CCMAPC(c,CC_NATIVE,CC_ASCII)); in fmthtml()
|
/titanic_51/usr/src/contrib/ast/src/lib/libast/regex/ |
H A D | regnexec.c | 238 #define matchcopy(e,x) do if ((x)->re.group.number) { Match_frame_t* fp = (void*)stkframe(stkstd)->data; memcpy(fp->match, fp->save, fp->size); } while (0) 239 #define matchpop(e,x) do if ((x)->re.group.number) { Match_frame_t* fp = (void*)stkframe(stkstd)->data; memcpy(fp->match, fp->save, fp->size); stkpop(stkstd); } while (0) 258 if (!(f = (Match_frame_t*)stkpush(stkstd, sizeof(Match_frame_t) + (num - 1) * sizeof(regmatch_t)))) in _matchpush() 964 if (!(b = (unsigned char*)stkpush(stkstd, n))) in parse() 978 stkpop(stkstd); in parse() 981 stkpop(stkstd); in parse() 984 stkpop(stkstd); in parse() 990 stkpop(stkstd); in parse() 1110 if (!(b = (unsigned char*)stkpush(stkstd, in parse() [all...] |
/titanic_51/usr/src/lib/libast/common/regex/ |
H A D | regnexec.c | 237 #define matchframe stkdata(stkstd,Match_frame_t) 240 …e.group.number?memcpy(matchframe->match,matchframe->save,matchframe->size),stkpop(stkstd):(void*)0) 259 if (!(f = (Match_frame_t*)stkpush(stkstd, sizeof(Match_frame_t) + (num - 1) * sizeof(regmatch_t)))) in _matchpush() 965 if (!(b = (unsigned char*)stkpush(stkstd, n))) in parse() 979 stkpop(stkstd); in parse() 982 stkpop(stkstd); in parse() 985 stkpop(stkstd); in parse() 991 stkpop(stkstd); in parse() 1111 if (!(b = (unsigned char*)stkpush(stkstd, n))) in parse() 1123 stkpop(stkstd); in parse() [all …]
|