Home
last modified time | relevance | path

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

123456

/openbsd/gnu/usr.bin/perl/lib/Time/
H A 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/gnu/usr.bin/perl/t/op/
H A Dtime.t79 ok(gmtime() =~ /^(Sun|Mon|Tue|Wed|Thu|Fri|Sat)[ ]
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/;
222 my $date = gmtime($big_time);
223 like $warning, qr/^gmtime\($big_time_f\) too large/;
224 like $warning, qr/^gmtime\($big_time_f\) failed/m;
232 $date = gmtime($small_time);
[all …]
/openbsd/gnu/usr.bin/perl/cpan/Time-Piece/t/
H A 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');
H A 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
H A D06large.t14 my $t = gmtime;
28 $t = gmtime;
H A D09locales.t9 my $t = gmtime(1373371631); # 2013-07-09T12:07:11
75 my $t = gmtime($time);
82 skip "gmtime strptime parse failed", 3 if $@;
H A D08truncate.t8 my $t = gmtime($epoch); # 2013-07-09T12:07:11
39 $exp = gmtime ($exp)->add_months(-6);
H A D04mjd.t24 my $tp = gmtime( $time );
/openbsd/gnu/lib/libstdc++/libstdc++/include/c_std/
H A Dstd_ctime.h60 #undef gmtime
76 using ::gmtime;
/openbsd/gnu/gcc/libstdc++-v3/include/c_std/
H A Dstd_ctime.h60 #undef gmtime
76 using ::gmtime;
/openbsd/gnu/lib/libstdc++/libstdc++/include/c_compatibility/
H A Dtime.h42 #undef gmtime
56 using std::gmtime;
/openbsd/gnu/gcc/libstdc++-v3/include/c_compatibility/
H A Dtime.h42 #undef gmtime
56 using std::gmtime;
/openbsd/gnu/usr.bin/perl/Porting/
H A DREADME.y203852 Configure probes for the maximum and minimum values that gmtime () and
63 gmtime () boundaries:
81 gmtime max 67768036191676800
83 gmtime min -67768040609740800
H A Dtimecheck2.c108 check_date_max(gmtime, "gmtime"); in main()
110 check_date_min(gmtime, "gmtime"); in main()
/openbsd/gnu/usr.bin/perl/lib/
H A Dvmsish.t131 gmtime(0); # Force reset of tz offset
152 @vmsgmtime = gmtime($vmstime);
157 @utcgmtime = gmtime($vmstime);
/openbsd/usr.sbin/dhcpd/
H A Ddb.c85 gmtime(&lease->starts)); in write_lease()
90 gmtime(&lease->ends)); in write_lease()
/openbsd/share/zoneinfo/datfiles/
H A 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/gnu/llvm/libcxx/include/
H A Dctime39 tm* gmtime(const time_t* timer);
78 using ::gmtime _LIBCPP_USING_IF_EXISTS;
/openbsd/usr.bin/last/
H A 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/gnu/usr.sbin/mkhybrid/src/
H A Dvms.h14 #define gmtime localtime macro
/openbsd/usr.sbin/tcpdump/
H A Dgmt2local.c53 *gmt = *gmtime(&t); in gmt2local()
/openbsd/lib/libc/hidden/
H A Dtime.h37 PROTO_NORMAL(gmtime);
/openbsd/usr.bin/dig/lib/dns/
H A Ddns_time.c38 tm = gmtime(&t); in dns_time64_totext()
/openbsd/gnu/usr.bin/perl/cpan/Time-Local/t/
H A DLocal.t39 my $large_epoch_ok = eval { ( gmtime 2**40 )[5] == 34912 };
143 my @gt = gmtime($time);
/openbsd/gnu/usr.bin/perl/cpan/Time-Piece/
H A 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