Home
last modified time | relevance | path

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

123456

/external/linux-kselftest/tools/testing/selftests/timers/
Drtctest.c38 .tm_mday = 1,
43 .tm_mday = 19,
47 .tm_mday = 20,
51 .tm_mday = 1,
55 .tm_mday = 1,
61 .tm_mday = 7,
66 .tm_mday = 8,
72 .tm_mday = 12,
77 .tm_mday = 13,
85 a->tm_mday != b->tm_mday || in compare_dates()
[all …]
Drtctest_setdate.c56 sscanf(date, "%d-%d-%d", &new.tm_mday, &new.tm_mon, &new.tm_year); in main()
62 new.tm_mday, new.tm_mon + 1, new.tm_year + 1900, in main()
81 current.tm_mday, current.tm_mon + 1, current.tm_year + 1900, in main()
/external/libchrome/base/third_party/nspr/
Dprtime.cc226 time->tm_mday--; in ApplySecOffset()
228 if (time->tm_mday < 1) { in ApplySecOffset()
238 time->tm_mday = nDays[IsLeapYear(time->tm_year)][time->tm_month]; in ApplySecOffset()
246 time->tm_mday++; in ApplySecOffset()
248 if (time->tm_mday > in ApplySecOffset()
250 time->tm_mday = 1; in ApplySecOffset()
307 time->tm_mday += time->tm_hour / 24; in PR_NormalizeTime()
311 time->tm_mday--; in PR_NormalizeTime()
327 if (time->tm_mday < 1) { in PR_NormalizeTime()
336 time->tm_mday += nDays[IsLeapYear(time->tm_year)][time->tm_month]; in PR_NormalizeTime()
[all …]
/external/libcxx/test/std/localization/locale.categories/category.time/locale.time.get.byname/
Dget_date.pass.cpp58 assert(t.tm_mday == 10); in main()
70 assert(t.tm_mday == 10); in main()
82 assert(t.tm_mday == 10); in main()
95 assert(t.tm_mday == 10); in main()
Dget_date_wide.pass.cpp58 assert(t.tm_mday == 10); in main()
70 assert(t.tm_mday == 10); in main()
82 assert(t.tm_mday == 10); in main()
94 assert(t.tm_mday == 10); in main()
Dget_one.pass.cpp58 assert(t.tm_mday == 31); in main()
86 assert(t.tm_mday == 31); in main()
121 assert(t.tm_mday == 31); in main()
150 assert(t.tm_mday == 31); in main()
Dget_one_wide.pass.cpp58 assert(t.tm_mday == 31); in main()
86 assert(t.tm_mday == 31); in main()
120 assert(t.tm_mday == 31); in main()
151 assert(t.tm_mday == 31); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/gmtime/
D1-1.c53 if ((tm_ptr->tm_mday >= 1) && (tm_ptr->tm_mday <= 31)) { in main()
54 printf("mday %02d\n", tm_ptr->tm_mday); in main()
/external/toybox/toys/posix/
Dcal.c40 if (tm->tm_mday>1) in calstrings()
41 start = (36+tm->tm_wday-tm->tm_mday)%7; in calstrings()
83 tm->tm_mday = 1; in cal_main()
Ddate.c89 sscanf(str, "%2u%2u%2u%2u%n", &tm->tm_mon, &tm->tm_mday, &tm->tm_hour,
206 check_range(tm.tm_mday, 1, 31); in date_main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/asctime/
D1-1.c44 time_ptr.tm_mday = MONTHDAY; in main()
55 time_ptr.tm_mday, time_ptr.tm_hour, in main()
/external/pdfium/core/fxcrt/
Dfx_system_unittest.cpp167 good_time.tm_mday = 9; // 1-based. in TEST()
180 year_time.tm_mday = 9; // 1-based. in TEST()
196 bad_time.tm_mday = -1; in TEST()
207 feb_time.tm_mday = 30; // 1-based. in TEST()
/external/libcxx/test/std/localization/locale.categories/category.time/locale.time.get/locale.time.get.members/
Dget_many.pass.cpp49 assert(t.tm_mday == 9); in main()
63 assert(t.tm_mday == 9); in main()
Dget_one.pass.cpp83 assert(t.tm_mday == 6); in main()
96 assert(t.tm_mday == 11); in main()
106 assert(t.tm_mday == 1); in main()
116 assert(t.tm_mday == 11); in main()
264 assert(t.tm_mday == 6); in main()
/external/libcxx/test/std/input.output/iostream.format/ext.manip/
Dget_time.pass.cpp52 assert(t.tm_mday == 31); in main()
68 assert(t.tm_mday == 31); in main()
Dput_time.pass.cpp63 t.tm_mday = 31; in main()
79 t.tm_mday = 31; in main()
/external/boringssl/src/crypto/asn1/
Da_utctm.c113 tm->tm_mday = n; in asn1_utctime_to_tm()
230 ts->tm_mon + 1, ts->tm_mday, ts->tm_hour, ts->tm_min, in ASN1_UTCTIME_adj()
279 tm.tm_mday = g2(s->data + 4);
Dtime_support.c128 time_day = tm->tm_mday; in julian_adj()
165 tm->tm_mday = time_day; in OPENSSL_gmtime_adj()
Da_gentm.c119 tm->tm_mday = n; in asn1_generalizedtime_to_tm()
252 ts->tm_mon + 1, ts->tm_mday, ts->tm_hour, ts->tm_min, in ASN1_GENERALIZEDTIME_adj()
/external/e2fsprogs/debugfs/
Dutil.c251 &ts.tm_mday, &ts.tm_hour, &ts.tm_min, &ts.tm_sec); in string_to_time()
255 ts.tm_mday <= 0 || ts.tm_mday > 31 || ts.tm_hour > 23 || in string_to_time()
273 2 * (ts.tm_mon > 1) + ts.tm_mday - 1; in string_to_time()
/external/python/cpython2/Modules/
Dtimemodule.c258 SET(2, p->tm_mday); in tmtotuple()
357 &p->tm_mday, in gettmarg()
443 if (buf.tm_mday == 0) in time_strftime()
444 buf.tm_mday = 1; in time_strftime()
445 else if (buf.tm_mday < 0 || buf.tm_mday > 31) { in time_strftime()
/external/curl/lib/
Dparsedate.c277 int tm_mday; member
314 + leap_days + month_days_cumulative [month] + tm->tm_mday - 1) * 24 in my_timegm()
514 tm.tm_mday = mdaynum; in parsedate()
/external/webrtc/webrtc/base/
Dtimeutils_unittest.cc199 tm.tm_mday = rtc::CreateRandomId() % mdays[tm.tm_mon] + 1; in TestTmToSeconds()
218 tm.tm_mday = 0; in TestTmToSeconds()
221 tm.tm_mday = mdays[tm.tm_mon] + (leap_year && tm.tm_mon == 1) + 1; in TestTmToSeconds()
/external/xmlrpcpp/src/
DXmlRpcValue.cpp145 t1.tm_hour == t2.tm_hour && t1.tm_mday == t1.tm_mday && in tmEq()
408 …if (sscanf(stime.c_str(),"%4d%2d%2dT%2d:%2d:%2d",&t.tm_year,&t.tm_mon,&t.tm_mday,&t.tm_hour,&t.tm_… in timeFromXml()
423 t->tm_year,t->tm_mon,t->tm_mday,t->tm_hour,t->tm_min,t->tm_sec); in timeToXml()
575 t->tm_year,t->tm_mon,t->tm_mday,t->tm_hour,t->tm_min,t->tm_sec); in write()
/external/python/cpython3/Modules/
Dtimemodule.c294 SET(2, p->tm_mday); in tmtotuple()
432 &y, &p->tm_mon, &p->tm_mday, in gettmarg()
491 if (buf->tm_mday == 0) in checktm()
492 buf->tm_mday = 1; in checktm()
493 else if (buf->tm_mday < 0 || buf->tm_mday > 31) { in checktm()
757 timeptr->tm_mday, timeptr->tm_hour, in _asctime()

123456