Searched refs:gmt (Results 1 - 25 of 67) sorted by relevance

123

/macosx-10.10.1/tcpdump-61/tcpdump/
H A Dgmt2local.c42 * Returns the difference between gmt and local time in seconds.
49 register struct tm *gmt, *loc; local
54 gmt = &sgmt;
55 *gmt = *gmtime(&t);
57 dt = (loc->tm_hour - gmt->tm_hour) * 60 * 60 +
58 (loc->tm_min - gmt->tm_min) * 60;
65 dir = loc->tm_year - gmt->tm_year;
67 dir = loc->tm_yday - gmt->tm_yday;
/macosx-10.10.1/postfix-255/postfix/src/global/
H A Dmail_date.c58 struct tm gmt; local
81 gmt = *gmtime(&when);
83 gmtoff = (lt->tm_hour - gmt.tm_hour) * HOUR_MIN + lt->tm_min - gmt.tm_min;
84 if (lt->tm_year < gmt.tm_year)
86 else if (lt->tm_year > gmt.tm_year)
88 else if (lt->tm_yday < gmt.tm_yday)
90 else if (lt->tm_yday > gmt.tm_yday)
92 if (lt->tm_sec <= gmt.tm_sec - MIN_SEC)
94 else if (lt->tm_sec >= gmt
[all...]
/macosx-10.10.1/xnu-2782.1.97/bsd/hfs/
H A DMacOSStubs.c109 u_int32_t gmt = hfs_time; local
111 if (gmt > MAC_GMT_FACTOR)
112 gmt -= MAC_GMT_FACTOR;
114 gmt = 0; /* don't let date go negative! */
116 return (time_t)gmt;
/macosx-10.10.1/Security-57031.1.35/Security/include/security_asn1/
H A Dprtime.h137 * given the current time in GMT. The input argument gmt should
155 typedef PRTimeParameters (PR_CALLBACK *PRTimeParamFn)(const PRExplodedTime *gmt);
222 NSPR_API(PRTimeParameters) PR_LocalTimeParameters(const PRExplodedTime *gmt); variable
225 NSPR_API(PRTimeParameters) PR_GMTParameters(const PRExplodedTime *gmt); variable
231 NSPR_API(PRTimeParameters) PR_USPacificTimeParameters(const PRExplodedTime *gmt); variable
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_asn1/Security/
H A Dprtime.h137 * given the current time in GMT. The input argument gmt should
155 typedef PRTimeParameters (PR_CALLBACK *PRTimeParamFn)(const PRExplodedTime *gmt);
222 NSPR_API(PRTimeParameters) PR_LocalTimeParameters(const PRExplodedTime *gmt); variable
225 NSPR_API(PRTimeParameters) PR_GMTParameters(const PRExplodedTime *gmt); variable
231 NSPR_API(PRTimeParameters) PR_USPacificTimeParameters(const PRExplodedTime *gmt); variable
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_asn1/lib/
H A Dprtime.h137 * given the current time in GMT. The input argument gmt should
155 typedef PRTimeParameters (PR_CALLBACK *PRTimeParamFn)(const PRExplodedTime *gmt);
222 NSPR_API(PRTimeParameters) PR_LocalTimeParameters(const PRExplodedTime *gmt); variable
225 NSPR_API(PRTimeParameters) PR_GMTParameters(const PRExplodedTime *gmt); variable
231 NSPR_API(PRTimeParameters) PR_USPacificTimeParameters(const PRExplodedTime *gmt); variable
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_asn1/security_asn1/
H A Dprtime.h137 * given the current time in GMT. The input argument gmt should
155 typedef PRTimeParameters (PR_CALLBACK *PRTimeParamFn)(const PRExplodedTime *gmt);
222 NSPR_API(PRTimeParameters) PR_LocalTimeParameters(const PRExplodedTime *gmt); variable
225 NSPR_API(PRTimeParameters) PR_GMTParameters(const PRExplodedTime *gmt); variable
231 NSPR_API(PRTimeParameters) PR_USPacificTimeParameters(const PRExplodedTime *gmt); variable
/macosx-10.10.1/tcl-105/tcl_ext/mk4tcl/metakit/tcl/
H A Dmkshow.tcl60 set gmt 0
68 g { set gmt [expr {1-$gmt}] }
69 d { set s [clock format $s -format {%Y/%m/%d} -gmt $gmt] }
70 t { set s [clock format $s -format {%H:%M:%S} -gmt $gmt] }
137 g set gmt mode for following 'd' and 't' actions
/macosx-10.10.1/tcl-105/tcl_ext/sdx/sdx/lib/app-sdx/
H A Dmkshow.tcl58 set gmt 0
66 g { set gmt [expr {1-$gmt}] }
67 d { set s [clock format $s -format {%Y/%m/%d} -gmt $gmt] }
68 t { set s [clock format $s -format {%H:%M:%S} -gmt $gmt] }
135 g set gmt mode for following 'd' and 't' actions
H A Dls.tcl49 [clock format $sb(mtime) -format {%b %d %H:%M} -gmt 1] \
H A Dversion.tcl36 set time [clock format $mod -format {%Y/%m/%d %H:%M:%S} -gmt 1]
/macosx-10.10.1/libxslt-13/libxslt/libxslt/
H A Dextra.c178 time_t gmt, lmt; local
233 gmt = mktime(&gmt_tm);
240 local_tm = localtime(&gmt);
247 lmt = gmt - timezone;
249 lmt = gmt - local_tm->tm_gmtoff;
/macosx-10.10.1/tcl-105/tcl_ext/incrtcl/iwidgets/generic/
H A Dtimefield.itk62 itk_option define -gmt gmt GMT no
297 # OPTION: -gmt
301 itcl::configbody iwidgets::Timefield::gmt {
302 switch $itk_option(-gmt) {
306 error "bad gmt option \"$itk_option(-gmt)\": should be boolean"
354 return [::clock scan $_timeVar -gmt $itk_option(-gmt)]
385 if { [catch {::clock format $time -gmt
[all...]
H A Ddatefield.itk54 itk_option define -gmt gmt GMT no
268 # OPTION: -gmt
272 itcl::configbody iwidgets::Datefield::gmt {
273 switch $itk_option(-gmt) {
277 error "bad gmt option \"$itk_option(-gmt)\": should be boolean"
331 [clock format $seconds -format "$format" -gmt $itk_option(-gmt)]
336 } elseif {[catch {set seconds [::clock scan $date -gmt \
[all...]
/macosx-10.10.1/tcl-105/tcl_ext/tls/tls/
H A DtlsX509.c38 int gmt=0; local
49 if (v[i-1] == 'Z') gmt=1;
64 mon[M-1],d,h,m,s,y+1900,(gmt)?" GMT":"");
/macosx-10.10.1/ruby-106/ruby/ext/tk/lib/tkextlib/tcllib/
H A Dtablelist_core.rb1032 def addDateMentry(format, separator, gmt=false, name=None)
1033 if gmt && gmt != None
1034 gmt = '-gmt'
1036 gmt = None
1038 Tk.tk_call('::tablelist::addDateMentry', format, separator, gmt, name)
1041 def addTimeMentry(format, separator, gmt=false, name=None)
1042 if gmt && gmt !
[all...]
/macosx-10.10.1/tcl-105/tcl/tcl/tools/
H A DmakeTestCases.tcl297 puts $f2 "\t-gmt true -locale en_US_roman"
333 puts $f2 "\t-gmt true -locale en_US_roman"
474 puts $f2 " clock format $secs -format {%a %A %g %G %u %U %V %w %W} -gmt true; \# $G-W[format %02d $V]-$u"
478 [clock format $secs -format %U -gmt true]\
480 [clock format $secs -format %W -gmt true]}"
542 puts $f2 " -gmt true"
660 set scanned [clock scan $year$month$day -gmt true]
667 -gmt true]
669 puts $f2 " [list clock scan $string -format [list $ccyy $mm $dd] -locale en_US_roman -gmt 1]"
678 -gmt tru
[all...]
/macosx-10.10.1/tcl-105/tcl_ext/tclsoap/tclsoap/cgi-bin/soap/
H A Dtclsoap-Test.tcl29 -gmt true]]
/macosx-10.10.1/OpenSSL098-52/src/crypto/asn1/
H A Dt_x509.c379 int gmt=0; local
389 if (v[i-1] == 'Z') gmt=1;
415 mon[M-1],d,h,m,s,f_len,f,y,(gmt)?" GMT":"") <= 0)
427 int gmt=0; local
435 if (v[i-1] == 'Z') gmt=1;
451 mon[M-1],d,h,m,s,y+1900,(gmt)?" GMT":"") <= 0)
/macosx-10.10.1/curl-83.1.2/curl/docs/examples/
H A Dsynctime.c254 struct tm *gmt; local
309 gmt = gmtime(&tt);
310 tt_gmt = mktime(gmt);
/macosx-10.10.1/CPANInternal-159.1/Template-Toolkit-2.25/lib/Template/Plugin/
H A DDate.pm67 # and $gmt values specified as arguments or internal values set defined
68 # at construction time). Specifying a Perl-true value for $gmt will
83 my $gmt = @_ ? shift(@_)
84 : ($params->{ gmt } || $self->{ gmt });
89 if ($gmt) {
316 [% date.format(mytime, format => '%H:%M:%S', gmt => 1) %]
/macosx-10.10.1/ipsec-286.1.1/ipsec-tools/setkey/
H A Dsetkey.c898 * Returns the difference between gmt and local time in seconds.
905 register struct tm *gmt, *loc; local
910 gmt = &sgmt;
911 *gmt = *gmtime(&t);
913 dt = (loc->tm_hour - gmt->tm_hour) * 60 * 60 +
914 (loc->tm_min - gmt->tm_min) * 60;
921 dir = loc->tm_year - gmt->tm_year;
923 dir = loc->tm_yday - gmt->tm_yday;
/macosx-10.10.1/network_cmds-457/mptcp_client/
H A Dmptcp_client.c80 static int32_t thiszone = 0; /* time difference with gmt */
127 * Returns the difference between gmt and local time in seconds.
135 struct tm *gmt, *loc; local
140 gmt = &sgmt;
141 *gmt = *gmtime(&t);
143 dt = (loc->tm_hour - gmt->tm_hour) * 60 * 60 +
144 (loc->tm_min - gmt->tm_min) * 60;
151 dir = loc->tm_year - gmt->tm_year;
153 dir = loc->tm_yday - gmt->tm_yday;
/macosx-10.10.1/sudo-73/src/
H A Dgetdate.y399 { "gmt", tZONE, HOUR( 0) }, /* Greenwich Mean */
854 struct tm *tm, *gmt, gmtbuf;
863 gmt = gmtime (&now);
864 if (gmt != NULL)
867 that comment now applies to *gmt, but I am too
870 gmtbuf = *gmt;
871 gmt = &gmtbuf;
877 if (gmt != NULL)
878 timezone = difftm (gmt, tm) / 60;
/macosx-10.10.1/ruby-106/ruby/
H A Dstrftime.c165 rb_strftime_with_timespec(char *s, size_t maxsize, const char *format, rb_encoding *enc, const struct vtm *vtm, VALUE timev, struct timespec *ts, int gmt) argument
240 i = rb_strftime_with_timespec(s, endp - s, (fmt), enc, vtm, timev, ts, gmt); \
451 if (gmt) {
530 if (gmt) {
830 rb_strftime(char *s, size_t maxsize, const char *format, rb_encoding *enc, const struct vtm *vtm, VALUE timev, int gmt) argument
832 return rb_strftime_with_timespec(s, maxsize, format, enc, vtm, timev, NULL, gmt);
836 rb_strftime_timespec(char *s, size_t maxsize, const char *format, rb_encoding *enc, const struct vtm *vtm, struct timespec *ts, int gmt) argument
838 return rb_strftime_with_timespec(s, maxsize, format, enc, vtm, Qnil, ts, gmt);

Completed in 448 milliseconds

123