Searched refs:sval (Results 1 - 25 of 38) sorted by relevance

12

/illumos-gate/usr/src/cmd/oawk/
H A Dtran.c82 FS = &setsymtab(L_FS, tostring(L_space), 0.0, STR|FLD, symtab)->sval;
83 RS = &setsymtab(L_RS, tostring(L_newline), 0.0, STR|FLD, symtab)->sval;
84 OFS = &setsymtab(L_OFS, tostring(L_space), 0.0, STR|FLD, symtab)->sval;
86 symtab)->sval;
88 symtab)->sval;
89 FILENAME = &setsymtab(L_FILENAME, NULL, 0.0, STR|FLD, symtab)->sval;
122 tp = (CELL **) ap->sval;
127 xfree(cp->sval);
146 dprintf(" %ws %g %o\n", p->sval, p->fval, p->tval);
153 p->sval
[all...]
H A Drun.c30 #define tempfree(a) {if (istemp(a)) {xfree(a->sval); a->tval = 0; }}
196 xfree(x->sval);
199 x->sval = (wchar_t *) makesymtab();
201 y = setsymtab(s, tostring(L_NULL), 0.0, STR|NUM, x->sval);
586 x->sval = s;
676 setsval(x, y->sval);
681 setsval(x, y->sval);
735 n1 = wslen(x->sval);
736 n2 = wslen(y->sval);
739 wscpy(s, x->sval);
[all...]
H A Dlib.c237 xfree(fldtab[i].sval);
238 fldtab[i].sval = fr;
256 xfree(fldtab[i].sval);
257 fldtab[i].sval = fr;
270 xfree(p->sval);
272 p->sval = L_NULL;
278 if (isanumber(fldtab[i].sval)) {
279 fldtab[i].fval = watof(fldtab[i].sval);
285 printf("field %d: |%ws|\n", i, fldtab[i].sval);
H A Dawk.def65 wchar_t *sval; /* string value */
/illumos-gate/usr/src/cmd/awk/
H A Dtran.c82 recloc->sval = record;
93 STR|DONTFREE, symtab)->sval;
95 STR|DONTFREE, symtab)->sval;
97 STR|DONTFREE, symtab)->sval;
99 STR|DONTFREE, symtab)->sval;
101 STR|DONTFREE, symtab)->sval;
103 STR|DONTFREE, symtab)->sval;
111 STR|DONTFREE, symtab)->sval;
119 symtabloc->sval = (uchar *)symtab;
141 cp->sval
[all...]
H A Dlib.c127 xfree(recloc->sval);
128 recloc->sval = record;
130 if (is_number(recloc->sval)) {
132 atof((const char *)recloc->sval);
215 if (is_number(q->sval)) {
216 q->fval = atof((const char *)q->sval);
235 r = recloc->sval; /* was record! */
242 * in the middle of the loop, since p->sval has already pointed
261 xfree(p->sval);
262 p->sval
[all...]
H A Drun.c223 isarr(y) ? "(array)" : (char *)y->sval, y->tval));
254 y = execute((Node *)(fcn->sval)); /* execute body */
267 oargs[i]->sval = t->sval;
297 y->sval = x->sval ? tostring(x->sval) : NULL;
387 xfree(recloc->sval);
391 recloc->sval = record;
453 xfree(x->sval);
[all...]
H A Dparse.c215 xfree(cp->sval);
216 cp->sval = (uchar *)makesymtab(NSYMTAB);
263 v->sval = (uchar *)st;
H A Dawk.h102 uchar *sval; /* string value */ member in struct:Cell
146 (((p)->tval & (ARR|FLD|REC|STR)) == STR ? (p)->sval : r_getsval(p))
/illumos-gate/usr/src/cmd/scadm/sparc/mpxu/common/
H A Dxsem.h67 void xsem_getvalue(xsem_t *sem, int *sval);
H A Dxsem.c128 xsem_getvalue(xsem_t *sem, int *sval) argument
130 *sval = sem->semaphore;
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DAttributeVerifier.java805 StringReader rdr = new StringReader(tk.sval);
844 String id = stk.sval;
880 new StreamTokenizer(new StringReader(stk.sval));
885 !stk.sval.equals(sttk.sval)) {
896 String typeName = sttk.sval;
938 String version = stk.sval;
1007 helpText = helpText + tk.sval + "\n";
1079 serviceURLGrammer = serviceURLGrammer + tk.sval + "\n";
1249 new StreamTokenizer(new StringReader(tk.sval));
[all...]
H A DSLPV1SSrvMsg.java484 String str = tk.sval; // not used if token not a string...
846 value += tk.sval;
978 valTok.append(tk.sval);
1022 valTok.append(tk.sval);
H A DParser.java611 buf.append(tk.sval);
648 buf.append(tk.sval);
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dses_ses.c152 #define sset8(outp, idx, sval) \
153 (((uchar_t *)(outp))[idx++]) = sbyte(sval, 0)
155 #define sset16(outp, idx, sval) \
156 (((uchar_t *)(outp))[idx++]) = sbyte(sval, 1), \
157 (((uchar_t *)(outp))[idx++]) = sbyte(sval, 0)
160 #define sset24(outp, idx, sval) \
161 (((uchar_t *)(outp))[idx++]) = sbyte(sval, 2), \
162 (((uchar_t *)(outp))[idx++]) = sbyte(sval, 1), \
163 (((uchar_t *)(outp))[idx++]) = sbyte(sval, 0)
166 #define sset32(outp, idx, sval) \
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dutils.c190 int64_t sval; local
193 long sval; local
280 sval = va_arg(args, int64_t);
284 sval = va_arg(args, long);
286 sval = va_arg(args, int);
287 if (sval < 0) {
289 val = -sval;
291 val = sval;
/illumos-gate/usr/src/lib/libpool/common/
H A Dpool_value.c297 char *sval; local
332 if (nvpair_value_string(pn, &sval) != 0) {
336 if (pool_value_set_string(pv, sval) != PO_SUCCESS)
H A Dpool_internal.c513 const char *sval; local
515 if (pool_value_get_string(pval, &sval) != PO_SUCCESS) {
519 if (strcmp(POA_IMPORTANCE, sval) != 0 &&
520 strcmp(POA_SURPLUS_TO_DEFAULT, sval) != 0) {
/illumos-gate/usr/src/lib/libc/port/rt/
H A Dsem.c349 sem_getvalue(sem_t *sem, int *sval) argument
353 *sval = (int)sem->sem_count;
/illumos-gate/usr/src/lib/pyzfs/common/
H A Dioctl.c84 char *sval; local
91 (void) nvpair_value_string(nvp, &sval);
92 pyval = Py_BuildValue("s", sval);
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dauto_subr.c460 * *sval to whatever follows the equal sign after "opt".
462 * "opt" plus a terminating null character and returns it as *sval.
463 * It is the responsability of the caller to deallocate *sval.
464 * *sval will be equal to NULL upon return if either "opt=" is not found,
470 str_opt(struct mnttab *mnt, char *opt, char **sval) argument
487 *sval = strdup(str);
490 if (*sval == NULL)
493 *sval = NULL;
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/lib/snmp/
H A Dasn1.c132 short sval; local
144 sval = (short)val; /* yes, loss of data intended */
149 else if (val == (int)sval)
/illumos-gate/usr/src/cmd/pools/poolcfg/
H A Dpoolcfg.y200 char *sval;
223 %type <sval> PCV_VAL_STRING
224 %type <sval> PCV_SYMBOL
225 %type <sval> PCV_FILENAME
230 %type <sval> name src tgt
/illumos-gate/usr/src/tools/ctf/cvt/
H A Ddwarf.c687 Dwarf_Signed sval; local
721 else if (die_signed(dw, dim, DW_AT_upper_bound, &sval, 0))
722 ar->ad_nelems = sval + 1;
842 Dwarf_Signed sval; local
866 if (die_signed(dw, mem, DW_AT_const_value, &sval, 0)) {
867 el->el_number = sval;
/illumos-gate/usr/src/cmd/ttymon/
H A Dstty.c730 int sval = -1; local
735 sval = speeds[i].value;
740 (void) printf("%s%d baud; ", c, sval);

Completed in 108 milliseconds

12