OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:localtime
(Results
1 - 25
of
94
) sorted by relevancy
1
2
3
4
/src/usr.bin/make/unit-tests/
varmod-localtime.exp
1
make: varmod-
localtime
.mk:60: Invalid time value "-1"
2
while evaluating "${:L:
localtime
=-1} != """ with value ""
3
make: varmod-
localtime
.mk:70: Invalid time value " 1"
4
while evaluating "${:L:
localtime
= 1} != """ with value ""
5
make: varmod-
localtime
.mk:117: Invalid time value "10000000000000000000000000000000"
6
while evaluating "${:L:
localtime
=10000000000000000000000000000000} != """ with value ""
7
make: varmod-
localtime
.mk:129: Invalid time value "error"
8
while evaluating "${:L:
localtime
=error} != """ with value ""
9
make: varmod-
localtime
.mk:139: Invalid time value "100000S,1970,bad,"
varmod-localtime.mk
1
# $NetBSD: varmod-
localtime
.mk,v 1.20 2025/01/11 20:54:46 rillig Exp $
3
# Tests for the :
localtime
variable modifier, which formats a timestamp
17
.if ${:U:
localtime
:tW:M??? ??? ?? ??\:??\:?? ????} == ""
29
.if ${%Y:L:
localtime
=1593536400} != "2020"
42
.if ${
localtime
:L:local%=gm%} != "gmtime"
49
.if ${%Y:L:
localtime
=${:U1593536400}} != "2020"
55
# negative time stamps to the :
localtime
modifier, resulting in dates before
60
.if ${:L:
localtime
=-1} != ""
70
.if ${:L:
localtime
= 1} != ""
80
.if !${:L:
localtime
=0:tW:M??? ??? ?? ??\:??\:?? 20??
[
all
...]
varmod-gmtime.mk
7
# varmod-
localtime
.mk
42
.if ${gmtime:L:gm%=local%} != "
localtime
"
144
# Before var.c 1.1062 from 2023-08-19, ':gmtime' but not ':
localtime
' reported
147
.for t in ${%s:L:gmtime} ${%s:L:
localtime
}
151
.for t in ${%s:L:gmtime} ${%s:L:
localtime
}
155
.for t in ${%s:L:gmtime} ${%s:L:
localtime
}
159
.for t in ${%s:L:gmtime} ${%s:L:
localtime
}
163
.for t in ${%s:L:gmtime} ${%s:L:
localtime
}
directive-export.mk
56
# that only subprocesses access the environment variables. The ':
localtime
'
60
.info ${%T:L:
localtime
=86400}
65
.info ${%T:L:
localtime
=86400}
68
.info ${%T:L:
localtime
=86400}
varparse-mod.mk
27
# :
localtime
=...
40
# :
localtime
(if not followed by '=')
varmod.mk
61
# |
localtime
| strict | | no |
216
.if ${%y:L:
localtime
=1000$}
256
.if ${%Y:L:
localtime
= \: \} \\ \$ ) \) ( :M*} != ": } \\ \$ ) \\) ("
263
.if ${%Y:L:
localtime
= \: \) \\ \$ } \} { :M*} != ": ) \\ \$ } \\} {"
268
.if ${%Y:L:
localtime
= \: \} \\ \$ ) \) ( } != " : } \\ \$ ) \\) ( "
273
.if ${%Y:L:
localtime
= \: \) \\ \$ } \} { } != " : ) \\ \$ } \\} { "
/src/usr.bin/chpass/
util.c
60
struct tm *tp =
localtime
(&tval);
85
lt =
localtime
(&tval);
/src/usr.bin/w/
pr_time.c
63
tnow_yday =
localtime
(now)->tm_yday;
64
tp =
localtime
(started);
/src/lib/libc/time/
Makefile.inc
5
SRCS+= asctime.c difftime.c
localtime
.c getdate.c strftime.c strptime.c
17
ctime.3
localtime
.3 \
Makefile
52
# to get a list of the values you can use for
LOCALTIME
.
54
LOCALTIME
= Factory
90
# /stage/etc/
localtime
instead of to /etc/
localtime
). Files under
103
TZDEFAULT = $(TOPDIR)/etc/
localtime
265
# with external linkage, e.g., applications cannot define '
localtime
'.
274
# -DTHREAD_SAFE to make
localtime
.c thread-safe, as POSIX requires;
417
# If you want to allocate state structures in
localtime
, add
578
TZDOBJS= zdump.o
localtime
.o strftime.o
579
DATEOBJS= date.o
localtime
.o strftime.
[
all
...]
asctime.c
185
static storage that
localtime
updates. */
186
struct tm *tmp =
localtime
(timep);
/src/etc/rc.d/
named
144
if [ -f /etc/
localtime
]; then
145
cmp -s /etc/
localtime
"${named_chrootdir}/etc/
localtime
" ||
146
cp -p /etc/
localtime
"${named_chrootdir}/etc/
localtime
"
postfix
40
for f in
localtime
resolv.conf services; do
/src/games/adventure/
wizard.c
64
tptr =
localtime
(&tvec);
/src/usr.bin/at/
stime.c
66
if ((t =
localtime
(&tmptime)) == NULL)
67
err(EXIT_FAILURE, "
localtime
");
at.c
467
runtime = *
localtime
(&runtimer);
721
struct tm *tm =
localtime
(&timer);
746
struct tm *tm =
localtime
(&timer);
/src/games/pom/
pom.c
106
localtime
(&tmpt));
226
lt =
localtime
(&tval);
/src/games/rogue/
machdep.c
238
t =
localtime
(&seconds);
273
t =
localtime
(&seconds);
/src/lib/libc/compat/include/
time.h
64
struct tm *
localtime
(const int32_t *);
/src/sbin/mount_nilfs/
mount_nilfs.c
142
tm =
localtime
(&now);
/src/tests/lib/libc/time/
t_mktime.c
40
"returns
localtime
, not GMT (PR lib/28324)");
51
t =
localtime
(&x);
56
"
localtime
(3) and localtime_r(3)");
/src/usr.bin/leave/
leave.c
98
t =
localtime
(&now);
/src/usr.bin/rwall/
rwall.c
174
lt =
localtime
(&now);
/src/distrib/miniroot/
upgrade.sh
364
rm -f /mnt/etc/
localtime
365
ln -s /usr/share/zoneinfo/$TZ /mnt/etc/
localtime
/src/usr.sbin/ac/
ac.c
360
localtime
(&yesterday));
471
ltm =
localtime
(&usr.ut_time);
531
ltm =
localtime
(&usr.ut_time);
Completed in 18 milliseconds
1
2
3
4
Indexes created Tue Oct 21 08:09:48 GMT 2025