Searched refs:tval (Results 1 - 25 of 59) sorted by relevance

123

/netbsd-6-1-5-RELEASE/usr.bin/chpass/
H A Dutil.c56 ttoa(char *buf, size_t len, time_t tval) argument
59 if (tval) {
60 struct tm *tp = localtime(&tval);
76 time_t tval; local
84 (void)time(&tval);
85 lt = localtime(&tval);
/netbsd-6-1-5-RELEASE/bin/pax/
H A Dgen_subs.c218 u_long tval = 0; local
229 * for each valid digit, shift running value (tval) over to next digit
235 tval = (tval << 4) + (*str++ - '0');
237 tval = (tval << 4) + 10 + (*str++ - 'A');
239 tval = (tval << 4) + 10 + (*str++ - 'a');
245 tval = (tval <<
315 unsigned long long tval = 0; local
[all...]
/netbsd-6-1-5-RELEASE/bin/date/
H A Ddate.c66 static time_t tval; variable
96 tval = parsedate(optarg, NULL, NULL);
97 if (tval == -1)
116 tval = (time_t)val;
128 if (!rflag && time(&tval) == -1)
150 if ((tm = localtime(&tval)) == NULL)
151 err(EXIT_FAILURE, "localtime %lld failed", (long long)tval);
207 if ((lt = localtime(&tval)) == NULL)
208 err(EXIT_FAILURE, "localtime %lld failed", (long long)tval);
305 tval
[all...]
H A Dnetdate.c79 netsettime(time_t tval) argument
127 msg.tsp_time.tv_sec = htonl((in_addr_t)tval); /* XXX: y2038 */
/netbsd-6-1-5-RELEASE/external/historical/nawk/dist/
H A Dawk.h84 int tval; /* type info: STR|NUM|ARR|FCN|FLD|CON|DONTFREE */ member in struct:Cell
103 /* Cell.tval values: */
192 #define isrec(n) ((n)->tval & REC)
193 #define isfld(n) ((n)->tval & FLD)
194 #define isstr(n) ((n)->tval & STR)
195 #define isnum(n) ((n)->tval & NUM)
196 #define isarr(n) ((n)->tval & ARR)
197 #define isfcn(n) ((n)->tval & FCN)
201 /* #define freeable(p) (!((p)->tval & DONTFREE)) */
202 #define freeable(p) ( ((p)->tval
[all...]
H A Dtran.c222 p, NN(p->nval), NN(p->sval), p->fval, p->tval) );
231 p->tval = t;
241 p, p->nval, p->sval, p->fval, p->tval) );
293 if ((vp->tval & (NUM | STR)) == 0)
311 vp->tval &= ~STR; /* mark string invalid */
312 vp->tval |= NUM; /* mark number ok */
313 dprintf( ("setfval %p: %s = %g, t=%o\n", vp, NN(vp->nval), f, vp->tval) );
321 if (vp->tval & FCN)
324 vp, vp->nval, vp->sval, vp->fval, vp->tval);
334 vp, NN(vp->nval), s, vp->tval, donere
[all...]
H A Dlib.c162 fldtab[0]->tval = REC | STR | DONTFREE;
165 fldtab[0]->tval |= NUM;
287 q->tval |= NUM;
331 fldtab[i]->tval = FLD | STR | DONTFREE;
349 fldtab[i]->tval = FLD | STR;
367 fldtab[i]->tval = FLD | STR | DONTFREE;
385 p->tval |= NUM;
408 p->tval = FLD | STR | DONTFREE;
488 fldtab[i]->tval = FLD | STR | DONTFREE;
537 fldtab[0]->tval
[all...]
H A Drun.c262 i, NN(y->nval), y->fval, isarr(y) ? "(array)" : NN(y->sval), y->tval) );
301 oargs[i]->tval = t->tval;
302 oargs[i]->tval &= ~(STR|NUM|DONTFREE);
323 dprintf( ("%s returns %g |%s| %o\n", s, getfval(z), getsval(z), z->tval) );
335 y->tval = x->tval & ~(CON|FLD|REC);
340 y->tval &= ~DONTFREE;
342 y->tval |= DONTFREE;
373 if ((y->tval
[all...]
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/util/
H A Dformat_tv.c138 double tval; local
148 if (sscanf(vstring_str(in), "%lf %d %d", &tval, &sig_dig, &max_dig) != 3)
150 sec = (int) tval; /* raw seconds */
151 usec = (tval - sec) * MILLION; /* raw microseconds */
/netbsd-6-1-5-RELEASE/bin/mv/
H A Dmv.c258 struct timeval tval[2]; local
299 TIMESPEC_TO_TIMEVAL(&tval[0], &sbp->st_atimespec);
300 TIMESPEC_TO_TIMEVAL(&tval[1], &sbp->st_mtimespec);
302 tval[0].tv_sec = sbp->st_atime;
303 tval[1].tv_sec = sbp->st_mtime;
304 tval[0].tv_usec = 0;
305 tval[1].tv_usec = 0;
308 if (utimes(to, tval))
310 if (futimes(to_fd, tval))
/netbsd-6-1-5-RELEASE/games/pom/
H A Dpom.c216 time_t tval; local
225 tval = time(NULL);
226 lt = localtime(&tval);
266 if ((tval = mktime(lt)) == -1)
268 return (tval);
/netbsd-6-1-5-RELEASE/sys/arch/x86/isa/
H A Dclock.c305 u_long tval; local
312 tval = (freq * 2) / (u_long) hz;
313 tval = (tval / 2) + (tval & 0x1);
319 outb(IO_TIMER1+TIMER_CNTR0, tval % 256);
320 outb(IO_TIMER1+TIMER_CNTR0, tval / 256);
322 rtclock_tval = tval ? tval : 0xFFFF;
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/
H A Dobjc-exp.c255 struct type *tval; member in union:YYSTYPE
1509 write_exp_elt_type(yyvsp[0].tval);
1736 write_exp_elt_type (yyvsp[-2].tval);
1743 write_exp_elt_type (yyvsp[-2].tval);
1905 CHECK_TYPEDEF (yyvsp[-1].tval);
1906 write_exp_elt_longcst ((LONGEST) TYPE_LENGTH (yyvsp[-1].tval));
1992 struct type *type = yyvsp[-2].tval;
2008 struct type *type = yyvsp[-3].tval;
2121 { yyval.tval = follow_types (yyvsp[-1].tval); }
[all...]
H A Dc-exp.c286 struct type *tval; member in union:YYSTYPE
1708 write_exp_elt_type(yyvsp[0].tval);
1940 write_exp_elt_type (yyvsp[-2].tval);
1947 write_exp_elt_type (yyvsp[-2].tval);
2126 CHECK_TYPEDEF (yyvsp[-1].tval);
2127 write_exp_elt_longcst ((LONGEST) TYPE_LENGTH (yyvsp[-1].tval));
2134 write_exp_elt_type (yyvsp[-4].tval);
2141 write_exp_elt_type (yyvsp[-4].tval);
2148 write_exp_elt_type (yyvsp[-4].tval);
2157 write_exp_elt_type (yyvsp[-4].tval);
[all...]
H A Dada-exp.c306 struct type *tval; member in union:YYSTYPE
1568 if (yyvsp[-3].tval != NULL)
1573 write_exp_elt_type (yyvsp[-3].tval);
1587 { type_qualifier = yyvsp[-2].tval; }
1593 if (yyvsp[-6].tval == NULL)
1596 write_exp_elt_type (yyvsp[-6].tval);
1598 type_qualifier = yyvsp[-4].tval;
1604 { yyval.tval = type_qualifier; }
1614 { if (yyvsp[-5].tval == NULL)
1628 { if (yyvsp[0].tval !
[all...]
H A Df-exp.c247 struct type *tval; member in union:YYSTYPE
1369 write_exp_elt_type(yyvsp[0].tval);
1478 write_exp_elt_type (yyvsp[-2].tval);
1626 CHECK_TYPEDEF (yyvsp[-1].tval);
1627 write_exp_elt_longcst ((LONGEST) TYPE_LENGTH (yyvsp[-1].tval));
1694 struct type *follow_type = yyvsp[-1].tval;
1728 yyval.tval = follow_type;
1779 { yyval.tval = yyvsp[0].tsym.type; }
1784 { yyval.tval = parse_f_type->builtin_integer; }
1789 { yyval.tval
[all...]
H A Djv-exp.c237 struct type *tval; member in union:YYSTYPE
1399 write_exp_elt_type(yyvsp[0].tval);
1450 { yyval.tval = parse_java_type->builtin_boolean; }
1455 { yyval.tval = parse_java_type->builtin_byte; }
1460 { yyval.tval = parse_java_type->builtin_short; }
1465 { yyval.tval = parse_java_type->builtin_int; }
1470 { yyval.tval = parse_java_type->builtin_long; }
1475 { yyval.tval = parse_java_type->builtin_char; }
1480 { yyval.tval = parse_java_type->builtin_float; }
1485 { yyval.tval
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/shark/isa/
H A Dclock.c298 u_long tval; local
300 tval = (TIMER_FREQ * 2) / (u_long) timer_hz;
301 tval = (tval / 2) + (tval & 0x1);
303 return (int)tval;
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/bounce/
H A Dbounce_template.c266 char *tval = tp->buffer; local
295 while ((GETLINE(cp, tval)) != 0 && (hlen = is_header(cp)) > 0) {
336 (void) GETLINE(cp, tval);
350 if (NON_ASCII(cp) || NON_ASCII(tval)) {
374 (void) GETLINE(cp, tval);
/netbsd-6-1-5-RELEASE/external/bsd/libbind/dist/irs/
H A Dgen_gr.c171 struct group *tval; local
178 tval = (*gr->byname)(gr, name);
179 if (tval) {
180 if (!grmerge(this, tval, dirty++))
198 struct group *tval; local
205 tval = (*gr->bygid)(gr, gid);
206 if (tval) {
207 if (!grmerge(this, tval, dirty++))
/netbsd-6-1-5-RELEASE/gnu/dist/gmake/
H A Dvmsfunctions.c229 cvt_time (tval)
230 unsigned long tval;
237 date[0] = (tval & 0xff) << 24;
238 date[1] = ((tval >> 8) & 0xffffff);
/netbsd-6-1-5-RELEASE/games/atc/
H A Dinput.c201 static int tval; variable
239 st[T_STATE].rule[ruleno].str, tval);
277 st[T_STATE].rule[i].token == tval) {
278 push(i, (c >= ALPHATOKEN) ? tval : c);
326 while ((tval = getAChar()) == REDRAWTOKEN || tval == SHELLTOKEN)
328 if (tval == SHELLTOKEN)
379 if (isdigit(tval))
381 else if (isalpha(tval))
384 return (tval);
[all...]
/netbsd-6-1-5-RELEASE/libexec/mail.local/
H A Dmail.local.c134 time_t tval; local
146 (void)time(&tval);
147 (void)fprintf(fp, "From %s %s", from, ctime(&tval));
/netbsd-6-1-5-RELEASE/usr.bin/ruptime/
H A Druptime.c188 interval(time_t tval, const char *updown) argument
193 if (tval < 0) {
198 minutes = (tval + (SECSPERMIN - 1)) / SECSPERMIN;
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/x509v3/
H A Dv3_ncons.c113 CONF_VALUE tval, *val;
126 tval.name = val->name + 10;
131 tval.name = val->name + 9;
138 tval.value = val->value;
140 if (!v2i_GENERAL_NAME_ex(sub->base, method, ctx, &tval, 1))

Completed in 465 milliseconds

123