Home
last modified time | relevance | path

Searched refs:tval (Results 1 – 25 of 100) sorted by relevance

1234

/netbsd-src/bin/pax/
H A Dgen_subs.c218 uint32_t tval = 0; in asc_u32() local
235 tval = (tval << 4) + (*str++ - '0'); in asc_u32()
237 tval = (tval << 4) + 10 + (*str++ - 'A'); in asc_u32()
239 tval = (tval << 4) + 10 + (*str++ - 'a'); in asc_u32()
245 tval = (tval << 3) + (*str++ - '0'); in asc_u32()
247 return tval; in asc_u32()
319 uintmax_t tval = 0; in asc_umax() local
334 tval = *str++ & 0x3f; in asc_umax()
339 if (tval > (UINTMAX_MAX/256)) in asc_umax()
341 tval = (tval << 8) | ((*str++) & 0xFF); in asc_umax()
[all …]
/netbsd-src/external/bsd/byacc/dist/test/
H A Dinherit1.y27 %token <tval> REAL INTEGER
32 %type <tval> type
37 type tval; member
60 { $$->s = mksymbol($<tval>0, $<cval>-1, $2);
64 { $$->s = mksymbol($<tval>0, $<cval>-1, $1);
71 { $<tval>$ = $<tval>-1; } /* copy <type> to where <namelist> expects it */
H A Derr_inherit2.y25 %token <tval> REAL INTEGER
28 %type <nlist> declaration namelist(<cval>, <tval>) locnamelist(<tval>)
30 %type <tval> type
44 type tval; member
66 namelist($<tval>c, $t, extra): namelist NAME in namelist()
67 { $$->s = mksymbol($<tval>t, $<cval>c, $2); in namelist()
H A Dinherit2.y25 %token <tval> REAL INTEGER
28 %type <nlist> declaration namelist(<cval>, <tval>) locnamelist(<tval>)
30 %type <tval> type
44 type tval; member
67 { $$->s = mksymbol($<tval>t, $<cval>c, $2); in namelist()
H A Derr_inherit5.y25 %token <tval> REAL INTEGER
28 %type <nlist> declaration namelist(<cval>, <tval>) locnamelist(<tval>)
30 %type <tval> type
44 type tval; member
67 { $$->s = mksymbol($<tval>t, $<cval>c, $2); in namelist()
H A Derr_inherit3.y25 %token <tval> REAL INTEGER
28 %type <nlist> declaration(<id>) namelist(<cval>, <tval>) locnamelist(<tval>)
30 %type <tval> type
44 type tval; member
67 { $$->s = mksymbol($<tval>t, $<cval>c, $2); in namelist()
H A Derr_inherit1.y25 %token <tval> REAL INTEGER
28 %type <nlist> declaration namelist(<cval>, <tval>) locnamelist(<tval>)
30 %type <tval> type
44 type tval; member
H A Derr_inherit4.y26 %token <tval> REAL INTEGER
29 %type <nlist> declaration namelist(<cval>, <tval>) locnamelist(<tval>)
32 %type <tval> type
46 type tval; member
H A Dbtyacc_destroy3.y35 %token <tval> REAL INTEGER
41 %type <tval> type
58 type tval;
81 { $$->s = mksymbol($<tval>0, $<cval>0, $2);
H A Dbtyacc_destroy1.y32 %token <tval> REAL INTEGER
38 %type <tval> type
55 type tval;
78 { $$->s = mksymbol($<tval>0, $<cval>0, $2);
H A Dbtyacc_destroy2.y32 %token <tval> REAL INTEGER
38 %type <tval> type
55 type tval;
78 { $$->s = mksymbol($<tval>0, $<cval>0, $2);
/netbsd-src/external/mpl/dhcp/dist/server/
H A Ddb.c109 const char *tval; local
126 ((tval = print_time(lease->starts)) == NULL ||
127 fprintf(db_file, "\n starts %s", tval) < 0))
131 ((tval = print_time(lease->ends)) == NULL ||
132 fprintf(db_file, "\n ends %s", tval) < 0))
136 ((tval = print_time(lease->tstp)) == NULL ||
137 fprintf(db_file, "\n tstp %s", tval) < 0))
141 ((tval = print_time(lease->tsfp)) == NULL ||
142 fprintf(db_file, "\n tsfp %s", tval) < 0))
146 ((tval = print_time(lease->atsfp)) == NULL ||
[all …]
/netbsd-src/usr.bin/chpass/
H A Dutil.c56 ttoa(char *buf, size_t len, time_t tval) in ttoa() argument
59 if (tval) { in ttoa()
60 struct tm *tp = localtime(&tval); in ttoa()
76 time_t tval; in atot() local
84 (void)time(&tval); in atot()
85 lt = localtime(&tval); in atot()
/netbsd-src/sys/arch/x86/isa/
H A Dclock.c301 u_long tval; in initrtclock() local
311 tval = (freq * 2) / (u_long) hz; in initrtclock()
312 tval = (tval / 2) + (tval & 0x1); in initrtclock()
318 outb(IO_TIMER1+TIMER_CNTR0, tval % 256); in initrtclock()
319 outb(IO_TIMER1+TIMER_CNTR0, tval / 256); in initrtclock()
321 x86_rtclock_tval = tval ? tval : 0xFFFF; in initrtclock()
/netbsd-src/bin/mv/
H A Dmv.c274 struct timeval tval[2]; in fastcopy()
332 TIMESPEC_TO_TIMEVAL(&tval[0], &sbp->st_atimespec); in fastcopy()
333 TIMESPEC_TO_TIMEVAL(&tval[1], &sbp->st_mtimespec); in fastcopy()
336 tval[0].tv_sec = sbp->st_atime; in fastcopy()
337 tval[1].tv_sec = sbp->st_mtime; in fastcopy()
338 tval[0].tv_usec = 0; in fastcopy()
339 tval[1].tv_usec = 0; in fastcopy()
342 if (utimes(to, tval)) in fastcopy()
347 if (futimes(to_fd, tval)) in fastcopy()
/netbsd-src/external/ibm-public/postfix/dist/src/util/
H A Dformat_tv.c138 double tval; in main() local
148 if (sscanf(vstring_str(in), "%lf %d %d", &tval, &sig_dig, &max_dig) != 3) in main()
150 sec = (int) tval; /* raw seconds */ in main()
151 usec = (tval - sec) * MILLION; /* raw microseconds */ in main()
/netbsd-src/sys/arch/riscv/riscv/
H A Dtrap.c411 register_t cause, register_t tval, bool usertrap_p, ksiginfo_t *ksi) in trap_pagefault()
414 const intptr_t addr = trunc_page(tval); in trap_pagefault()
449 tval, addr, epc, map->pmap->pm_pai[0].pai_asid, in trap_pagefault()
496 trap_ksi_init(ksi, signo, code, (intptr_t)tval, cause); in trap_pagefault()
529 register_t cause, register_t tval, bool usertrap_p, ksiginfo_t *ksi) in trap_instruction()
538 (intptr_t)tval, cause); in trap_instruction()
545 register_t cause, register_t tval, bool usertrap_p, ksiginfo_t *ksi) in trap_misalignment()
549 (intptr_t)tval, cause); in trap_misalignment()
556 register_t cause, register_t tval, bool usertrap_p, ksiginfo_t *ksi) in trap_breakpoint()
560 (intptr_t)tval, caus in trap_breakpoint()
409 trap_pagefault(struct trapframe * tf,register_t epc,register_t status,register_t cause,register_t tval,bool usertrap_p,ksiginfo_t * ksi) trap_pagefault() argument
527 trap_instruction(struct trapframe * tf,register_t epc,register_t status,register_t cause,register_t tval,bool usertrap_p,ksiginfo_t * ksi) trap_instruction() argument
543 trap_misalignment(struct trapframe * tf,register_t epc,register_t status,register_t cause,register_t tval,bool usertrap_p,ksiginfo_t * ksi) trap_misalignment() argument
554 trap_breakpoint(struct trapframe * tf,register_t epc,register_t status,register_t cause,register_t tval,bool usertrap_p,ksiginfo_t * ksi) trap_breakpoint() argument
574 cpu_trap(struct trapframe * tf,register_t epc,register_t status,register_t cause,register_t tval) cpu_trap() argument
[all...]
/netbsd-src/sys/arch/shark/isa/
H A Dclock.c298 u_long tval; in timer_hz_to_count() local
300 tval = (TIMER_FREQ * 2) / (u_long) timer_hz; in timer_hz_to_count()
301 tval = (tval / 2) + (tval & 0x1); in timer_hz_to_count()
303 return (int)tval; in timer_hz_to_count()
/netbsd-src/games/pom/
H A Dpom.c216 time_t tval; in parsetime() local
225 tval = time(NULL); in parsetime()
226 lt = localtime(&tval); in parsetime()
266 if ((tval = mktime(lt)) == -1) in parsetime()
268 return (tval); in parsetime()
/netbsd-src/games/atc/
H A Dinput.c215 static int tval; variable
255 st[T_STATE].rule[ruleno].str, tval); in push()
293 st[T_STATE].rule[i].token == tval) { in getcommand()
294 push(i, (c >= ALPHATOKEN) ? tval : c); in getcommand()
342 while ((tval = getAChar()) == REDRAWTOKEN || tval == SHELLTOKEN) in gettoken()
344 if (tval == SHELLTOKEN) in gettoken()
395 if (isdigit(tval)) in gettoken()
397 else if (isalpha(tval)) in gettoken()
400 return (tval); in gettoken()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCInstrSPE.td838 def : Pat<(f32 (selectcc i1:$lhs, i1:$rhs, f32:$tval, f32:$fval, SETLT)),
839 (SELECT_SPE4 (CRANDC $lhs, $rhs), $tval, $fval)>;
840 def : Pat<(f32 (selectcc i1:$lhs, i1:$rhs, f32:$tval, f32:$fval, SETULT)),
841 (SELECT_SPE4 (CRANDC $rhs, $lhs), $tval, $fval)>;
842 def : Pat<(f32 (selectcc i1:$lhs, i1:$rhs, f32:$tval, f32:$fval, SETLE)),
843 (SELECT_SPE4 (CRORC $lhs, $rhs), $tval, $fval)>;
844 def : Pat<(f32 (selectcc i1:$lhs, i1:$rhs, f32:$tval, f32:$fval, SETULE)),
845 (SELECT_SPE4 (CRORC $rhs, $lhs), $tval, $fval)>;
846 def : Pat<(f32 (selectcc i1:$lhs, i1:$rhs, f32:$tval, f32:$fval, SETEQ)),
847 (SELECT_SPE4 (CREQV $lhs, $rhs), $tval, $fval)>;
[all …]
H A DPPCInstrInfo.td4189 def : Pat<(i1 (select i1:$cond, i1:$tval, i1:$fval)),
4190 (CROR (CRAND $cond , $tval),
4194 // select (lhs == rhs), tval, fval is:
4195 // ((lhs == rhs) & tval) | (!(lhs == rhs) & fval)
4196 def : Pat <(i1 (selectcc i1:$lhs, i1:$rhs, i1:$tval, i1:$fval, SETLT)),
4197 (CROR (CRAND (CRANDC $lhs, $rhs), $tval),
4199 def : Pat <(i1 (selectcc i1:$lhs, i1:$rhs, i1:$tval, i1:$fval, SETULT)),
4200 (CROR (CRAND (CRANDC $rhs, $lhs), $tval),
4202 def : Pat <(i1 (selectcc i1:$lhs, i1:$rhs, i1:$tval, i1:$fval, SETLE)),
4203 (CROR (CRAND (CRORC $lhs, $rhs), $tval),
[all …]
/netbsd-src/external/bsd/libbind/dist/irs/
H A Dgen_gr.c171 struct group *tval; in gr_byname() local
178 tval = (*gr->byname)(gr, name); in gr_byname()
179 if (tval) { in gr_byname()
180 if (!grmerge(this, tval, dirty++)) in gr_byname()
198 struct group *tval; in gr_bygid() local
205 tval = (*gr->bygid)(gr, gid); in gr_bygid()
206 if (tval) { in gr_bygid()
207 if (!grmerge(this, tval, dirty++)) in gr_bygid()
/netbsd-src/lib/libedit/
H A Dterminal.c190 } tval[] = { variable
1341 for (tv = tval; tv->name != NULL; tv++) in terminal_settc()
1351 if (tv == &tval[T_pt] || tv == &tval[T_km] || in terminal_settc()
1352 tv == &tval[T_am] || tv == &tval[T_xn]) { in terminal_settc()
1357 el->el_terminal.t_val[tv - tval] = 1; in terminal_settc()
1359 el->el_terminal.t_val[tv - tval] = 0; in terminal_settc()
1378 el->el_terminal.t_val[tv - tval] = (int) i; in terminal_settc()
1380 if (tv == &tval[T_co]) { in terminal_settc()
1383 } else if (tv == &tval[T_li]) { in terminal_settc()
1425 for (tv = tval; tv->name != NULL; tv++) in terminal_gettc()
[all …]
/netbsd-src/external/ibm-public/postfix/dist/src/bounce/
H A Dbounce_template.c290 char *tval = tp->buffer; in bounce_template_parse_buffer() local
323 while ((GETLINE(cp, tval)) != 0 && (hlen = is_header(cp)) > 0) { in bounce_template_parse_buffer()
364 (void) GETLINE(cp, tval); in bounce_template_parse_buffer()
378 if (NON_ASCII(cp) || NON_ASCII(tval)) { in bounce_template_parse_buffer()
402 (void) GETLINE(cp, tval); in bounce_template_parse_buffer()

1234