Searched refs:timegm (Results 1 - 20 of 20) sorted by relevance

/external/chromium_org/base/
H A Dos_compat_nacl.h11 // NaCl has no timegm().
12 extern "C" time_t timegm(struct tm* const t);
H A Dos_compat_android.h18 // Android has no timegm().
19 extern "C" time_t timegm(struct tm* const t);
H A Dos_compat_nacl.cc13 // Native Client has no timegm().
14 time_t timegm(struct tm* tm) { function
H A Dos_compat_android.cc44 // 32-bit Android has only timegm64() and not timegm().
45 // We replicate the behaviour of timegm() when the result overflows time_t.
46 time_t timegm(struct tm* const t) { function
/external/chromium_org/media/tools/layout_tests/
H A Dtest_expectations_history_unittest.py42 ptime = calendar.timegm((2011, 8, 20, 0, 0, 0, 0, 0, 0))
43 ctime = calendar.timegm((2011, 8, 21, 0, 0, 0, 0, 0, 0))
51 ptime = calendar.timegm((2011, 8, 20, 6, 0, 0, 0, 0, 0))
52 ctime = calendar.timegm((2011, 8, 20, 7, 0, 0, 0, 0, 0))
60 ptime = calendar.timegm((2011, 9, 12, 1, 0, 0, 0, 0, 0))
61 ctime = calendar.timegm((2011, 9, 12, 2, 0, 0, 0, 0, 0))
/external/bison/lib/
H A Dtime.in.h210 # undef timegm
211 # define timegm rpl_timegm
213 _GL_FUNCDECL_RPL (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1)));
214 _GL_CXXALIAS_RPL (timegm, time_t, (struct tm *__tm));
217 _GL_FUNCDECL_SYS (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1)));
219 _GL_CXXALIAS_SYS (timegm, time_t, (struct tm *__tm));
221 _GL_CXXALIASWARN (timegm);
/external/fonttools/Lib/fontTools/ttLib/tables/
H A D_h_e_a_d.py72 value = calendar.timegm(time.strptime(value)) - mac_epoch_diff
81 mac_epoch_diff = calendar.timegm((1904, 1, 1, 0, 0, 0, 0, 0, 0))
H A DF_F_T_M_.py43 value = calendar.timegm(time.strptime(value)) - mac_epoch_diff
/external/fonttools/Tools/fontTools/ttLib/tables/
H A D_h_e_a_d.py72 value = calendar.timegm(time.strptime(value)) - mac_epoch_diff
81 mac_epoch_diff = calendar.timegm((1904, 1, 1, 0, 0, 0, 0, 0, 0))
H A DF_F_T_M_.py43 value = calendar.timegm(time.strptime(value)) - mac_epoch_diff
/external/bison/darwin-lib/
H A Dtime.h522 # undef timegm
523 # define timegm rpl_timegm
525 _GL_FUNCDECL_RPL (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1)));
526 _GL_CXXALIAS_RPL (timegm, time_t, (struct tm *__tm));
529 _GL_FUNCDECL_SYS (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1)));
531 _GL_CXXALIAS_SYS (timegm, time_t, (struct tm *__tm));
533 _GL_CXXALIASWARN (timegm);
/external/bison/linux-lib/
H A Dtime.h522 # undef timegm
523 # define timegm rpl_timegm
525 _GL_FUNCDECL_RPL (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1)));
526 _GL_CXXALIAS_RPL (timegm, time_t, (struct tm *__tm));
529 _GL_FUNCDECL_SYS (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1)));
531 _GL_CXXALIAS_SYS (timegm, time_t, (struct tm *__tm));
533 _GL_CXXALIASWARN (timegm);
/external/chromium_org/third_party/WebKit/Tools/GardeningServer/
H A Dalerts.py20 return calendar.timegm(obj.timetuple())
/external/chromium_org/third_party/npapi/npspy/extern/nspr/md/
H A Dsunos4.h139 extern time_t timegm(struct tm *);
/external/chromium_org/third_party/google_appengine_cloudstorage/cloudstorage/
H A Dcommon.py348 return calendar.timegm(dt.utctimetuple())
/external/chromium_org/base/time/
H A Dtime_posix.cc72 return timegm(timestruct);
129 // standard routines in the case of timegm. We need to use a Mach-specific
223 timestruct.tm_wday = exploded.day_of_week; // mktime/timegm ignore this
224 timestruct.tm_yday = 0; // mktime/timegm ignore this
227 timestruct.tm_gmtoff = 0; // not a POSIX field, so mktime/timegm ignore
228 timestruct.tm_zone = NULL; // not a POSIX field, so mktime/timegm ignore
266 // Handle overflow. Clamping the range to what mktime and timegm might
277 // The minimum and maximum representible times that mktime and timegm could
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-python/httplib2/
H A D__init__.py312 date = calendar.timegm(email.Utils.parsedate_tz(response_headers['date']))
325 freshness_lifetime = max(0, calendar.timegm(expires) - date)
/external/chromium_org/base/third_party/nspr/
H A Dprtime.cc78 #include "base/os_compat_android.h" // For timegm()
80 #include "base/os_compat_nacl.h" // For timegm()
171 time_t absolute_time = timegm(&exp_tm);
173 // If timegm returned -1. Since we don't pass it a time zone, the only
/external/chromium_org/third_party/icu/source/tools/tzcode/
H A Dlocaltime.c1968 timegm(tmp) function
/external/icu/icu4c/source/tools/tzcode/
H A Dlocaltime.c1968 timegm(tmp) function

Completed in 402 milliseconds