/illumos-gate/usr/src/uts/common/sys/ |
H A D | stropts.h | 227 #define STR ('S'<<8) macro 229 #define I_NREAD (STR|01) 230 #define I_PUSH (STR|02) 231 #define I_POP (STR|03) 232 #define I_LOOK (STR|04) 233 #define I_FLUSH (STR|05) 234 #define I_SRDOPT (STR|06) 235 #define I_GRDOPT (STR|07) 236 #define I_STR (STR|010) 237 #define I_SETSIG (STR|011) [all …]
|
/illumos-gate/usr/src/cmd/oamuser/user/ |
H A D | userdefs.c | 69 #define STR 1 macro 85 { GNAMSTR, sizeof (GNAMSTR) - 1, STR, DEFOFF(defgname) }, 86 { PARSTR, sizeof (PARSTR) - 1, STR, DEFOFF(defparent) }, 87 { SKLSTR, sizeof (SKLSTR) - 1, STR, DEFOFF(defskel) }, 88 { SHELLSTR, sizeof (SHELLSTR) - 1, STR, DEFOFF(defshell) }, 90 { EXPIRESTR, sizeof (EXPIRESTR) - 1, STR, DEFOFF(defexpire) }, 91 { AUTHSTR, sizeof (AUTHSTR) - 1, STR, DEFOFF(defauth), 93 { ROLESTR, sizeof (ROLESTR) - 1, STR, DEFOFF(defrole), 95 { PROFSTR, sizeof (PROFSTR) - 1, STR, DEFOFF(defprof), 98 { PROJNMSTR, sizeof (PROJNMSTR) - 1, STR, DEFOFF(defprojname) }, [all …]
|
/illumos-gate/usr/src/cmd/oawk/ |
H A D | tran.c | 74 setsymtab(L_0, tostring(L_0), 0.0, NUM|STR|CON|FLD, symtab); in syminit() 76 setsymtab(L_zeronull, tostring(L_NULL), 0.0, NUM|STR|CON|FLD, symtab); in syminit() 77 recloc = setsymtab(L_record, record, 0.0, STR|FLD, symtab); in syminit() 80 FS = &setsymtab(L_FS, tostring(L_space), 0.0, STR|FLD, symtab)->sval; in syminit() 81 RS = &setsymtab(L_RS, tostring(L_newline), 0.0, STR|FLD, symtab)->sval; in syminit() 82 OFS = &setsymtab(L_OFS, tostring(L_space), 0.0, STR|FLD, symtab)->sval; in syminit() 83 ORS = &setsymtab(L_ORS, tostring(L_newline), 0.0, STR|FLD, in syminit() 85 OFMT = &setsymtab(L_OFMT, tostring(L_dot6g), 0.0, STR|FLD, in syminit() 87 FILENAME = &setsymtab(L_FILENAME, NULL, 0.0, STR|FLD, symtab)->sval; in syminit() 197 if ((vp->tval & (NUM | STR)) == 0) in setfval() [all …]
|
H A D | lib.c | 54 #define FINIT { OCELL, CFLD, 0, L_NULL, 0.0, FLD|STR } 56 { OCELL, CFLD, L_record, record, 0.0, STR|FLD}, 141 recloc->tval |= STR; in getrec() 143 nrloc->tval &= ~STR; in getrec() 206 q = setsymtab(s, tostring(p), 0.0, STR, symtab); in setclvar() 238 fldtab[i].tval = FLD | STR; in fldbld() 257 fldtab[i].tval = FLD | STR; in fldbld() 270 p->tval = STR | FLD; in fldbld() 306 recloc->tval = STR | FLD; in recbld()
|
H A D | run.c | 197 x->tval &= ~STR; in arrayel() 201 y = setsymtab(s, tostring(L_NULL), 0.0, STR|NUM, x->sval); in arrayel() 587 x->tval = STR; in a_sprintf() 675 if ((y->tval & (STR|NUM)) == (STR|NUM)) { in assign() 680 } else if (y->tval & STR) in assign() 744 z->tval = STR; in cat() 851 ap->tval &= ~STR; in split() 877 watof(t), STR|NUM, ap->sval); in split() 879 setsymtab(num, tostring(t), 0.0, STR, ap->sval); in split() 895 watof(t), STR|NUM, ap->sval); in split() [all …]
|
/illumos-gate/usr/src/cmd/awk/ |
H A D | tran.c | 124 recloc->tval = REC|STR|DONTFREE; in syminit() 126 literal0 = setsymtab("0", "0", 0.0, NUM|STR|CON|DONTFREE, symtab); in syminit() 129 NUM|STR|CON|DONTFREE, symtab); in syminit() 132 fsloc = setsymtab("FS", " ", 0.0, STR|DONTFREE, symtab); in syminit() 134 rsloc = setsymtab("RS", "\n", 0.0, STR|DONTFREE, symtab); in syminit() 136 rtloc = setsymtab("RT", "", 0.0, STR|DONTFREE, symtab); in syminit() 137 ofsloc = setsymtab("OFS", " ", 0.0, STR|DONTFREE, symtab); in syminit() 139 orsloc = setsymtab("ORS", "\n", 0.0, STR|DONTFREE, symtab); in syminit() 141 OFMT = &setsymtab("OFMT", "%.6g", 0.0, STR|DONTFREE, symtab)->sval; in syminit() 143 STR|DONTFREE, symtab)->sval; in syminit() [all …]
|
H A D | lib.c | 87 static Cell dollar0 = { OCELL, CFLD, NULL, "", 0.0, REC|STR|DONTFREE }; 88 static Cell dollar1 = { OCELL, CFLD, NULL, "", 0.0, FLD|STR|DONTFREE }; 223 recloc->tval = REC | STR | DONTFREE; in getrec() 356 x = setsymtab(temp, "", 0.0, STR, ARGVtab); in getargv() 372 q = setsymtab(s, p, 0.0, STR, symtab); in setclvar() 422 fldtab[i]->tval = FLD | STR | DONTFREE; in fldbld() 443 fldtab[i]->tval = FLD | STR; in fldbld() 462 fldtab[i]->tval = FLD | STR | DONTFREE; in fldbld() 508 p->tval = FLD | STR | DONTFREE; in cleanfld() 596 fldtab[i]->tval = FLD | STR | DONTFREE; in refldbld() [all …]
|
H A D | run.c | 93 NUM|STR|DONTFREE, NULL }; 250 { OCELL, CCOPY, 0, "", 0.0, NUM|STR|DONTFREE, NULL }; in call() 334 oargs[i]->tval &= ~(STR|NUM|DONTFREE); in call() 413 if ((y->tval & (STR|NUM)) == (STR|NUM)) { in jump() 417 } else if (y->tval & STR) in jump() 542 x->tval &= ~(STR|NUM|DONTFREE); in array() 547 z = setsymtab(buf, "", 0.0, STR|NUM, (Array *)x->sval); in array() 573 x->tval &= ~(STR|NUM|DONTFREE); in awkdelete() 579 x->tval &= ~STR; in awkdelete() 628 ap->tval &= ~(STR|NUM|DONTFREE); in intest() [all …]
|
H A D | awk.h | 160 #define STR 02 /* string value is valid */ macro 273 #define isstr(n) ((n)->tval & STR) 279 #define freeable(p) (((p)->tval & (STR|DONTFREE)) == STR)
|
H A D | lex.c | 359 buf, "", 0.0, STR|NUM, symtab); in yylex() 480 yylval.cp = setsymtab(buf, s, 0.0, CON|STR|DONTFREE, symtab); in string() 539 yylval.cp = setsymtab(w, "", 0.0, STR|NUM|DONTFREE, symtab); in word()
|
/illumos-gate/usr/src/cmd/tr/ |
H A D | str.c | 49 static int backslash(STR *, int *); 50 static int bracket(STR *); 51 static void genclass(STR *); 52 static void genequiv(STR *); 53 static int genrange(STR *, int); 54 static void genseq(STR *); 58 STR *s; in next() 136 STR *s; in bracket() 174 STR *s; in genclass() 191 STR *s; in genequiv() [all …]
|
H A D | extern.h | 49 } STR; typedef 51 wint_t next(STR *);
|
H A D | tr.c | 51 STR s1 = { STRING1, NORMAL, 0, OOBCH, 0, { 0, OOBCH }, NULL, NULL }; 52 STR s2 = { STRING2, NORMAL, 0, OOBCH, 0, { 0, OOBCH }, NULL, NULL }; 54 static struct cset *setup(char *, STR *, int, int); 350 setup(char *arg, STR *str, int cflag, int Cflag) in setup()
|
/illumos-gate/usr/src/boot/common/ |
H A D | interp_parse.c | 90 enum { STR, VAR, WHITE } state; in parse() enumerator 99 state = STR; in parse() 106 case STR: in parse() 152 state = STR; in parse() 173 state = STR; in parse() 180 if (i && state == STR) { in parse()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/astsa/ |
H A D | sfstr.c | 25 #define STR (8*1024) macro 36 if (n < STR) in extend() 37 n = STR; in extend() 71 static char buf[STR]; in sfprintf() 88 static char buf[STR]; in sfprints() 161 if (!(p->beg = malloc(STR))) in sfstropen() 163 p->end = p->beg + STR; in sfstropen()
|
/illumos-gate/usr/src/lib/hbaapi/common/ |
H A D | HBAAPILIB-sun.c | 65 #define DEBUG(L, STR, A1, A2, A3) argument 72 #define DEBUG(L, STR, A1, A2, A3)\ argument 78 syslog (LOG_INFO, (STR), (A1), (A2), (A3));\ 86 fprintf(_hbaapi_debug_fd, (STR ## "\n"), (A1), (A2), (A3));\ 90 #define DEBUG(L, STR, A1, A2, A3)\ argument 96 syslog (LOG_INFO, (STR), (A1), (A2), (A3));\ 101 fprintf(_hbaapi_debug_fd, (STR ## "\n"), (A1), (A2), (A3));\ 110 #define DEBUG(L, STR, A1, A2, A3) \ argument 116 syslog (LOG_INFO, (STR), (A1), (A2), (A3));\ 123 #define DEBUG(L, STR, A1, A2, A3) \ argument [all …]
|
H A D | HBAAPILIB.c | 68 #define DEBUG(L, STR, A1, A2, A3) argument 75 #define DEBUG(L, STR, A1, A2, A3)\ argument 81 syslog (LOG_INFO, (STR), (A1), (A2), (A3));\ 89 fprintf(_hbaapi_debug_fd, (STR ## "\n"), (A1), (A2), (A3));\ 93 #define DEBUG(L, STR, A1, A2, A3)\ argument 99 syslog (LOG_INFO, (STR), (A1), (A2), (A3));\ 104 fprintf(_hbaapi_debug_fd, (STR ## "\n"), (A1), (A2), (A3));\ 113 #define DEBUG(L, STR, A1, A2, A3) \ argument 119 syslog (LOG_INFO, (STR), (A1), (A2), (A3));\ 126 #define DEBUG(L, STR, A1, A2, A3) \ argument [all …]
|
/illumos-gate/usr/src/cmd/vgrind/ |
H A D | regexp.c | 102 #define STR 2 macro 156 if (cs == NIL || (*cs & STR) == 0) { in expconv() 158 *cs = STR; in expconv() 263 if (cs == NIL || (*cs & STR) == 0) { in expconv() 265 *cs = STR; in expconv() 329 switch (*cs & (OPER | STR | META)) { in expmatch() 332 case STR: in expmatch()
|
/illumos-gate/usr/src/cmd/msgfmt/ |
H A D | gnu_po.y | 46 %token <str> STR 62 domain : DOMAIN STR 141 message_string : STR 146 | message_string STR
|
/illumos-gate/usr/src/cmd/file/ |
H A D | magicutils.c | 54 #define STR 256 macro 376 ep->e_type = STR; in f_mkmtab() 454 if (ep->e_type != STR) { in f_mkmtab() 485 if (ep->e_type != STR) { in f_mkmtab() 569 case STR: in f_ckmtab() 897 case STR: in f_ckmtab() 1006 case STR: in type_to_name() 1082 if (ep->e_type == STR) { in f_prtmtab() 1114 case STR: in f_getmaxoffset()
|
/illumos-gate/usr/src/cmd/sgs/lex/common/ |
H A D | parser.y | 58 %token CHAR CCL NCCL STR DELIM SCON ITER NEWE NULLS XSCON ARRAY POINTER 69 %left CHAR CCL NCCL '(' '.' STR NULLS 103 defns: defns STR STR 156 | STR 540 return(freturn(STR)); 550 return(freturn(STR)); 796 x = STR; 905 else x = STR; 952 case STR: case CCL: case NCCL:
|
/illumos-gate/usr/src/cmd/genmsg/ |
H A D | genmsg.y | 56 %token <str> STR 120 | STR
|
/illumos-gate/usr/src/cmd/sgs/tsort/common/ |
H A D | tsort.c | 53 #define STR(X) #X macro 54 #define XSTR(X) STR(X)
|
/illumos-gate/usr/src/cmd/pools/poolstat/ |
H A D | poolstat.c | 78 { DX_FIELD, "pool", "pool", STR, 20, 14, addrof(pool_sbag), 81 { DX_FIELD, "type", "type", STR, 4, 5, addrof(pset_sbag), 87 { DX_FIELD, "rset", "rset", STR, 20, 14, addrof(pset_sbag), 113 { D_FIELD, "pool", "pool", STR, 20, 13, addrof(pool_sbag), 474 case STR: { in default_f() 622 if (ff->pff_type == STR) in header_f()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | parms.c | 209 #define STR(x) STR2(x) in gwkludge() macro 284 n = sscanf(lptr, "%"STR(NETHOST_LEN)"s %"STR(DNAME_LEN) in gwkludge() 285 "[^ \t] gateway %"STR(GNAME_LEN)"[^ / \t] metric %u %" in gwkludge() 286 STR(QUAL_LEN)"s\n", net_host, dname, gname, &metric, qual); in gwkludge()
|