Home
last modified time | relevance | path

Searched refs:STR (Results 1 – 25 of 41) sorted by relevance

12

/illumos-gate/usr/src/uts/common/sys/
H A Dstropts.h227 #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 Duserdefs.c69 #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 Dtran.c74 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 Dlib.c54 #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 Drun.c197 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 Dtran.c124 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 Dlib.c87 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 Drun.c93 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 Dawk.h160 #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 Dlex.c359 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 Dstr.c49 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 Dextern.h49 } STR; typedef
51 wint_t next(STR *);
H A Dtr.c51 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 Dinterp_parse.c90 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 Dsfstr.c25 #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 DHBAAPILIB-sun.c65 #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 DHBAAPILIB.c68 #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 Dregexp.c102 #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 Dgnu_po.y46 %token <str> STR
62 domain : DOMAIN STR
141 message_string : STR
146 | message_string STR
/illumos-gate/usr/src/cmd/file/
H A Dmagicutils.c54 #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 Dparser.y58 %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 Dgenmsg.y56 %token <str> STR
120 | STR
/illumos-gate/usr/src/cmd/sgs/tsort/common/
H A Dtsort.c53 #define STR(X) #X macro
54 #define XSTR(X) STR(X)
/illumos-gate/usr/src/cmd/pools/poolstat/
H A Dpoolstat.c78 { 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 Dparms.c209 #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()

12