Home
last modified time | relevance | path

Searched refs:gmtime (Results 1 – 25 of 149) sorted by relevance

123456

/openbsd/src/gnu/usr.bin/perl/lib/Time/
Dgmtime.t10 use_ok Time::gmtime;
14 my $gmtime = gmtime $time; # This is the OO gmtime.
15 my @gmtime = CORE::gmtime $time; # This is the gmtime function
17 is @gmtime, 9, "gmtime($time)";
19 is $gmtime->$method, shift @gmtime, "gmtime($time)->$method";
/openbsd/src/gnu/usr.bin/perl/t/op/
Dtime.t66 ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = gmtime($beg);
79 ok(gmtime() =~ /^(Sun|Mon|Tue|Wed|Thu|Fri|Sat)[ ]
111 ok eq_array([gmtime($time)], \@expected), "gmtime($time) list context";
112 is scalar gmtime($time), $scalar, " scalar";
145 warning_is(sub {is( (gmtime(1.23))[5] + 1900, 1970 )},
164 my $have = (gmtime($time))[5] + 1900;
182 my $date = gmtime($big_time);
183 like $warning, qr/^gmtime(.*) too large/;
190 $date = gmtime($small_time);
191 like $warning, qr/^gmtime(.*) too small/;
[all …]
/openbsd/src/gnu/usr.bin/perl/cpan/Time-Piece/t/
D01base.t5 my $t = gmtime(315532800); # 00:00:00 1/1/1980
7 isa_ok($t, 'Time::Piece', 'specific gmtime');
15 my $g = gmtime;
16 isa_ok($g, 'Time::Piece', 'current gmtime');
22 $g = Time::Piece::gmtime;
23 isa_ok($g, 'Time::Piece', 'fully qualified gmtime');
41 #via clone with gmtime
43 isa_ok($g, 'Time::Piece', 'custom gmtime via clone');
D10overload.t9 my $t = Time::Piece->gmtime(315532800); # 00:00:00 1/1/1980
11 is $t->cdate, 'Tue Jan 1 00:00:00 1980', 'got expected gmtime with int secs';
13 $t = Time::Piece->gmtime(Math::BigInt->new('315532800')); # 00:00:00 1/1/1980
D06large.t14 my $t = gmtime;
28 $t = gmtime;
D09locales.t9 my $t = gmtime(1373371631); # 2013-07-09T12:07:11
75 my $t = gmtime($time);
82 skip "gmtime strptime parse failed", 3 if $@;
D08truncate.t8 my $t = gmtime($epoch); # 2013-07-09T12:07:11
39 $exp = gmtime ($exp)->add_months(-6);
D04mjd.t24 my $tp = gmtime( $time );
/openbsd/src/gnu/lib/libstdc++/libstdc++/include/c_std/
Dstd_ctime.h60 #undef gmtime
76 using ::gmtime;
/openbsd/src/gnu/gcc/libstdc++-v3/include/c_std/
Dstd_ctime.h60 #undef gmtime
76 using ::gmtime;
/openbsd/src/gnu/lib/libstdc++/libstdc++/include/c_compatibility/
Dtime.h42 #undef gmtime
56 using std::gmtime;
/openbsd/src/gnu/gcc/libstdc++-v3/include/c_compatibility/
Dtime.h42 #undef gmtime
56 using std::gmtime;
/openbsd/src/gnu/usr.bin/perl/Porting/
DREADME.y203852 Configure probes for the maximum and minimum values that gmtime () and
63 gmtime () boundaries:
81 gmtime max 67768036191676800
83 gmtime min -67768040609740800
Dtimecheck2.c108 check_date_max(gmtime, "gmtime"); in main()
110 check_date_min(gmtime, "gmtime"); in main()
/openbsd/src/gnu/usr.bin/perl/lib/
Dvmsish.t131 gmtime(0); # Force reset of tz offset
152 @vmsgmtime = gmtime($vmstime);
157 @utcgmtime = gmtime($vmstime);
/openbsd/src/usr.sbin/dhcpd/
Ddb.c85 gmtime(&lease->starts)); in write_lease()
90 gmtime(&lease->ends)); in write_lease()
/openbsd/src/gnu/llvm/libcxx/include/
Dctime39 tm* gmtime(const time_t* timer);
78 using ::gmtime _LIBCPP_USING_IF_EXISTS;
/openbsd/src/gnu/usr.bin/perl/cpan/Time-Local/t/
DLocal.t40 my $large_epoch_ok = eval { ( ( gmtime 2**40 )[5] || 0 ) == 34912 };
145 my @gt = gmtime($time);
527 my @gt = ( gmtime($epoch) )[ 0 .. 5 ];
/openbsd/src/usr.bin/last/
Dlast.c376 asctime(gmtime(&delta))+11); in wtmp()
381 asctime(gmtime(&delta))+11); in wtmp()
402 asctime(gmtime(&total))+11); in wtmp()
406 asctime(gmtime(&total))+11); in wtmp()
/openbsd/src/share/zoneinfo/datfiles/
Detcetera20 # The following zone is used by tzcode functions like gmtime,
24 # Functions like gmtime load the "GMT" file to handle leap seconds properly.
33 # where functions like gmtime load "GMT" instead of the "Etc/UTC".
/openbsd/src/gnu/usr.sbin/mkhybrid/src/
Dvms.h14 #define gmtime localtime macro
/openbsd/src/usr.sbin/tcpdump/
Dgmt2local.c53 *gmt = *gmtime(&t); in gmt2local()
/openbsd/src/lib/libc/hidden/
Dtime.h37 PROTO_NORMAL(gmtime);
/openbsd/src/usr.bin/dig/lib/dns/
Ddns_time.c38 tm = gmtime(&t); in dns_time64_totext()
/openbsd/src/gnu/usr.bin/perl/cpan/Time-Piece/
DPiece.xs757 mytm = *gmtime(&t); in _strptime()
962 mytm = *gmtime(&epoch);
1065 mytm = *gmtime(&t);
1084 if(ix) mytm = *gmtime(&sec);
1116 struct tm mytm = *gmtime(&t);

123456