OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:gmtime
(Results
1 - 25
of
32
) sorted by relevancy
1
2
/src/usr.bin/make/unit-tests/
varmod-gmtime.exp
1
make: varmod-
gmtime
.mk:60: Invalid time value "-1"
2
while evaluating "${:L:
gmtime
=-1} != """ with value ""
3
make: varmod-
gmtime
.mk:70: Invalid time value " 1"
4
while evaluating "${:L:
gmtime
= 1} != """ with value ""
5
make: varmod-
gmtime
.mk:117: Invalid time value "10000000000000000000000000000000"
6
while evaluating "${:L:
gmtime
=10000000000000000000000000000000} != """ with value ""
7
make: varmod-
gmtime
.mk:129: Invalid time value "error"
8
while evaluating "${:L:
gmtime
=error} != """ with value ""
9
make: varmod-
gmtime
.mk:139: Invalid time value "100000S,1970,bad,"
varmod-gmtime.mk
1
# $NetBSD: varmod-
gmtime
.mk,v 1.27 2025/01/11 20:54:45 rillig Exp $
3
# Tests for the :
gmtime
variable modifier, which formats a timestamp
17
.if ${:U:
gmtime
:tW:M??? ??? ?? ??\:??\:?? ????} == ""
29
.if ${%Y:L:
gmtime
=1593536400} != "2020"
42
.if ${
gmtime
:L:gm%=local%} != "localtime"
49
.if ${%Y:L:
gmtime
=${:U1593536400}} != "2020"
55
# negative time stamps to the :
gmtime
modifier, resulting in dates before
60
.if ${:L:
gmtime
=-1} != ""
70
.if ${:L:
gmtime
= 1} != ""
80
.if !${:L:
gmtime
=0:tW:M??? ??? ?? ??\:??\:?? 20??
[
all
...]
varparse-mod.mk
26
# :
gmtime
=...
38
# :
gmtime
(if not followed by '=')
var-eval-short.mk
83
# Before var.c 1.1050 from 2023-05-09, the ':
gmtime
' modifier produced the
86
.if 0 && ${:Uword:
gmtime
=${FAIL}}
varmod-localtime.mk
7
# varmod-
gmtime
.mk
42
.if ${localtime:L:local%=gm%} != "
gmtime
"
varmod-mtime.mk
8
start:= ${%s:L:localtime} # see varmod-
gmtime
.mk, keyword '%s'
95
end:= ${%s:L:
gmtime
}
varparse-errors.mk
104
# expect+1: Unclosed expression, expecting "}" for modifier "
gmtime
"
105
UNCLOSED:= ${:U:
gmtime
varmod.mk
59
# |
gmtime
| strict | | no |
210
.if ${%y:L:
gmtime
=1000$}
/src/usr.bin/moduli/qsieve/
qfile.c
56
gtm =
gmtime
(&time_now);
/src/lib/libc/compat/include/
time.h
63
struct tm *
gmtime
(const int32_t *);
/src/usr.bin/finger/
sprint.c
161
delta =
gmtime
(&w->idletime);
lprint.c
150
struct tm *delta =
gmtime
(&t);
/src/lib/libc/time/
private.h
687
# undef
gmtime
688
# define
gmtime
tz_gmtime
macro
774
struct tm *
gmtime
(time_t const *);
/src/usr.bin/last/
last.c
362
tm = (flags & GMT) ?
gmtime
(&t) : localtime(&t);
/src/libexec/httpd/
dir-index-bozo.c
190
strftime(buf, sizeof buf, "%d-%b-%Y %R",
gmtime
(&sb.st_mtime));
/src/sys/arch/hp300/stand/mkboot/
mkboot.c
292
tm =
gmtime
(&repro_epoch);
/src/include/
time.h
95
struct tm *
gmtime
(const time_t *) __RENAME(__gmtime50);
/src/usr.bin/xlint/llib/
llib-lstdc
251
struct tm *(
gmtime
)(const time_t *timer);
llib-lposix
166
struct tm *(
gmtime
)(const time_t *timer);
/src/usr.bin/config/
mkheaders.c
433
tm =
gmtime
(&t);
/src/sys/arch/hppa/stand/mkboot/
mkboot.c
420
tm =
gmtime
(&repro_epoch);
/src/libexec/ftpd/
cmds.c
592
t =
gmtime
(&(fe->stat->st_mtime));
/src/sbin/newfs_msdos/
mkfs_msdos.c
636
tm =
gmtime
(&now);
/src/lib/libc/resolv/
res_debug.c
1182
mytime =
gmtime
(&myclock);
/src/usr.sbin/ndp/
ndp.c
980
* Use
gmtime
() and localtime() to keep things simple.
992
*gmt = *
gmtime
(&t);
Completed in 23 milliseconds
1
2
Indexes created Fri Oct 17 17:09:57 GMT 2025