Home
last modified time | relevance | path

Searched refs:sval (Results 1 – 23 of 23) sorted by relevance

/original-bsd/local/ditroff/ditroff.okeeffe/grap/
H A Dlabel.c40 if ((m = strlen(ap->sval)) > textwid)
81 sprintf(buf, "\\s%d%s\\s0", pointsize, ap->sval);
84 return ap->sval;
89 sprintf(buf, "\\s%d%s\\s0", n, ap->sval);
92 sprintf(buf, "\\s+%d%s\\s-%d", n, ap->sval, n);
95 sprintf(buf, "\\s-%d%s\\s+%d", n, ap->sval, n);
99 return ap->sval; /* ignore for now */
107 sprintf(buf, "\\s%d%s\\s0", n, ap->sval);
110 sprintf(buf, "\\s%d%s\\s0", pointsize+n, ap->sval);
113 sprintf(buf, "\\s%d%s\\s0", pointsize-n, ap->sval);
[all …]
H A Dmisc.c164 Attr *makeattr(type, fval, sval, just, op) in makeattr() argument
167 char *sval;
177 a->sval = sval;
206 if (ap->sval)
207 free(ap->sval);
236 sprintf(buf+n, " \"%s\"", ps_set || ap->op ? sizeit(ap) : ap->sval);
H A Dplot.c77 if (p->attr && p->attr->sval) in numlist()
78 spot = p->attr->sval; in numlist()
122 p->attr->sval = s;
144 if (p->attr && (s=p->attr->sval)) {
H A Dgrap.h64 char *sval; member
/original-bsd/old/awk/
H A Dtran.c71 tp = (cell **) ap->sval;
75 strfree(cp->sval);
102 p->sval = s;
164 strfree(vp->sval);
166 return(vp->sval = tostring(s));
182 if (isanumber(vp->sval)) {
183 vp->fval = atof(vp->sval);
205 strfree(vp->sval);
210 vp->sval = tostring(s);
215 return(vp->sval);
[all …]
H A Drun.c140 strfree(x->sval);
158 if (isstr(x)) s = x.optr->sval;
236 strfree(a.optr->sval);
417 x.optr->sval = s;
548 n1 = strlen(x.optr->sval);
549 n2 = strlen(y.optr->sval);
551 strcpy(s, x.optr->sval);
552 strcpy(s+n1, y.optr->sval);
555 z.optr->sval = s;
603 printf("%s", x.optr->sval);
[all …]
H A Dlib.c152 strfree(fldtab[i].sval); in fldbld()
153 fldtab[i].sval = fr; in fldbld()
166 strfree(fldtab[i].sval); in fldbld()
167 fldtab[i].sval = fr; in fldbld()
178 strfree(fldtab[j].sval); in fldbld()
180 fldtab[j].sval = EMPTY; in fldbld()
185 if(isanumber(fldtab[i].sval)) { in fldbld()
186 fldtab[i].fval = atof(fldtab[i].sval); in fldbld()
192 printf("field %d: |%s|\n", i, fldtab[i].sval); in fldbld()
H A Dawk.def45 char *sval; /* string value */
/original-bsd/contrib/awk.research/
H A Dtran.c110 cp->sval = (uchar *) ARGVtab; in arginit()
128 cp->sval = (uchar *) ENVtab; in envinit()
164 tp = (Array *) ap->sval; in freesymtab()
171 xfree(cp->sval); in freesymtab()
186 tp = (Array *) ap->sval; in freeelem()
195 xfree(p->sval); in freeelem()
319 xfree(vp->sval); in setsval()
322 return(vp->sval = tostring(s)); in setsval()
355 xfree(vp->sval); in r_getsval()
360 vp->sval = tostring(s); in r_getsval()
[all …]
H A Dlib.c69 fldtab[0].sval = recdata; in recinit()
129 xfree(recloc->sval); in getrec()
130 recloc->sval = record; in getrec()
206 q->fval = atof(q->sval); in setclvar()
223 r = recloc->sval; in fldbld()
239 fldtab[i].sval = fr; in fldbld()
254 fldtab[i].sval = fr; in fldbld()
289 xfree(p->sval); in cleanfld()
291 p->sval = nullstat; in cleanfld()
319 xfree(fldtab[i].sval); in refldbld()
[all …]
H A Drun.c250 oargs[i]->sval = t->sval; in call()
276 y->sval = x->sval ? tostring(x->sval) : NULL; in copycell()
359 xfree(recloc->sval); in getline()
408 xfree(x->sval); in array()
454 xfree(ap->sval); in intest()
588 xfree(a->sval); in tfree()
1002 n1 = strlen(x->sval); in cat()
1003 n2 = strlen(y->sval); in cat()
1007 x->sval, y->sval FATAL; in cat()
1008 strcpy(s, x->sval); in cat()
[all …]
/original-bsd/lib/libc/stdio/
H A Dvfprintf.c117 register long sval; local
137 sval = val / 10;
139 sval = val;
141 *--cp = to_char(sval % 10);
142 sval /= 10;
143 } while (sval != 0);
177 register quad_t sval; local
191 sval = val / 10;
193 sval = val;
196 sval /= 10;
[all …]
/original-bsd/old/pcc/ccom.vax/
H A Dcode.c426 range = p[n].sval-p[1].sval;
434 printf(" casel r0,$%ld,$%ld\n", p[1].sval, range);
436 for( i=1,j=p[1].sval; i<=n; j++) {
437 printf(" .word L%d-L%d\n", (j == p[i].sval ? ((j=p[i++].sval), p[i-1].slab) : dlab),
473 printf( CONFMT, p[i].sval );
506 printf(" cmpl r0,$%d\n", heapsw[start].sval); in walkheap()
/original-bsd/libexec/fingerd/
H A Dfingerd.c44 int p[2], logging, secure, sval; local
69 sval = sizeof(sin);
70 if (getpeername(0, (struct sockaddr *)&sin, &sval) < 0)
/original-bsd/old/pcc/ccom.tahoe/
H A Dcode.c423 range = p[n].sval-p[1].sval;
432 printf( CONFMT, p[1].sval );
436 for( i=1,j=p[1].sval; i<=n; j++) {
437 printf(" .word L%d-L%d\n", (j == p[i].sval ? ((j=p[i++].sval), p[i-1].slab) : dlab),
473 printf( CONFMT, p[i].sval );
507 printf( CONFMT, heapsw[start].sval); in walkheap()
/original-bsd/old/athena/register/
H A Dregisterd.c55 int retval, sval; local
75 sval = sizeof(sin);
76 if(getpeername(0, (struct sockaddr *) &sin, &sval) < 0) {
/original-bsd/local/kerberosIV/registerd/
H A Dregisterd.c47 int kf, retval, sval; local
69 sval = sizeof(sin);
70 if (getpeername(0, (struct sockaddr *) &sin, &sval) < 0) {
/original-bsd/old/pcc/mip/
H A Dcgram.y896 swp->sval = p->tn.lval;
940 if( q->sval > (q+1)->sval ){ in swend()
943 temp = q->sval; in swend()
944 q->sval = r1->sval; in swend()
945 r1->sval = temp; in swend()
958 if( p->sval == (p-1)->sval ){ in swend()
959 uerror( "duplicate case in switch, %d", p->sval ); in swend()
H A Dpass1.h109 CONSZ sval; /* case value */ member
H A Dmfile1136 CONSZ sval;
/original-bsd/contrib/sc/
H A Dgram.y31 char *sval; member
39 %type <sval> strarg
41 %token <sval> STRING
46 %token <sval> WORD
H A Dlex.c45 char *sval; member
171 yylval.sval = ptr; in yylex()
H A DCHANGES119 Added indirection functions (@nval() and @sval()) for simple