Home
last modified time | relevance | path

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

12345678910>>...12

/external/openscreen/platform/impl/
Dtime_unittest.cc27 epoch_tm.tm_mday = 1; in TEST()
40 epoch_tm.tm_mday += epoch_tm.tm_mday - wrong_tm->tm_mday; in TEST()
/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/llvm-project/libc/src/time/
Dmktime.cpp72 if (t1->tm_mday > 19) in LLVM_LIBC_ENTRYPOINT()
95 if (t1->tm_mday < 1 || t1->tm_mday > daysInMonth) in LLVM_LIBC_ENTRYPOINT()
98 time_t totalDays = t1->tm_mday - 1; in LLVM_LIBC_ENTRYPOINT()
/external/toybox/toys/posix/
Dcal.c47 if (tm->tm_mday>1)
48 start = (36+tm->tm_wday-tm->tm_mday)%7;
65 tm->tm_mon == TT.now->tm_mon && mday == TT.now->tm_mday-1) {
99 tm->tm_mday = 1; in cal_main()
/external/rust/crates/zip/src/
Dtypes.rs128 && tm.tm_mday >= 1 in from_time()
129 && tm.tm_mday <= 31 in from_time()
140 day: tm.tm_mday as u8, in from_time()
169 tm_mday: self.day as i32, in to_time()
370 tm_mday: 31, in datetime_from_time_bounds()
382 tm_mday: 1, in datetime_from_time_bounds()
394 tm_mday: 31, in datetime_from_time_bounds()
406 tm_mday: 1, in datetime_from_time_bounds()
/external/llvm-project/libcxx/test/std/localization/locale.categories/category.time/locale.time.get.byname/
Dget_date.pass.cpp61 assert(t.tm_mday == 10); in main()
73 assert(t.tm_mday == 10); in main()
85 assert(t.tm_mday == 10); in main()
98 assert(t.tm_mday == 10); in main()
Dget_date_wide.pass.cpp61 assert(t.tm_mday == 10); in main()
73 assert(t.tm_mday == 10); in main()
85 assert(t.tm_mday == 10); in main()
97 assert(t.tm_mday == 10); in main()
Dget_one.pass.cpp61 assert(t.tm_mday == 31); in main()
89 assert(t.tm_mday == 31); in main()
124 assert(t.tm_mday == 31); in main()
153 assert(t.tm_mday == 31); in main()
Dget_one_wide.pass.cpp61 assert(t.tm_mday == 31); in main()
89 assert(t.tm_mday == 31); in main()
123 assert(t.tm_mday == 31); in main()
154 assert(t.tm_mday == 31); in main()
/external/libcxx/test/std/localization/locale.categories/category.time/locale.time.get.byname/
Dget_date.pass.cpp61 assert(t.tm_mday == 10); in main()
73 assert(t.tm_mday == 10); in main()
85 assert(t.tm_mday == 10); in main()
98 assert(t.tm_mday == 10); in main()
Dget_date_wide.pass.cpp61 assert(t.tm_mday == 10); in main()
73 assert(t.tm_mday == 10); in main()
85 assert(t.tm_mday == 10); in main()
97 assert(t.tm_mday == 10); in main()
Dget_one.pass.cpp61 assert(t.tm_mday == 31); in main()
89 assert(t.tm_mday == 31); in main()
124 assert(t.tm_mday == 31); in main()
153 assert(t.tm_mday == 31); in main()
Dget_one_wide.pass.cpp61 assert(t.tm_mday == 31); in main()
89 assert(t.tm_mday == 31); in main()
123 assert(t.tm_mday == 31); in main()
154 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/linux-kselftest/tools/testing/selftests/rtc/
Dsetdate.c47 sscanf(date, "%d-%d-%d", &new.tm_mday, &new.tm_mon, &new.tm_year); in main()
53 new.tm_mday, new.tm_mon + 1, new.tm_year + 1900, in main()
72 current.tm_mday, current.tm_mon + 1, current.tm_year + 1900, in main()
/external/rust/crates/chrono/src/sys/
Dunix.rs34 tm.tm_mday = rust_tm.tm_mday; in rust_tm_to_tm()
46 rust_tm.tm_mday = tm.tm_mday; in tm_to_rust_tm()
Dwindows.rs49 sys.wDay = tm.tm_mday as WORD; in tm_to_system_time()
60 tm.tm_mday = sys.wDay as i32; in system_time_to_tm()
64 tm.tm_yday = yday(tm.tm_year, tm.tm_mon + 1, tm.tm_mday); in system_time_to_tm()
/external/python/cpython2/Modules/
Dtimemodule.c258 SET(2, p->tm_mday); in tmtotuple()
357 &p->tm_mday, in gettmarg()
428 if (buf->tm_mday == 0) in checktm()
429 buf->tm_mday = 1; in checktm()
430 else if (buf->tm_mday < 0 || buf->tm_mday > 31) { in checktm()
515 if (buf.tm_mday == 0) in time_strftime()
516 buf.tm_mday = 1; in time_strftime()
517 else if (buf.tm_mday < 0 || buf.tm_mday > 31) { in time_strftime()
651 timeptr->tm_mday, timeptr->tm_hour, in _asctime()
/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/python/pybind11/include/pybind11/
Dchrono.h117 cal.tm_mday = PyDateTime_GET_DAY(src.ptr()); in load()
126 cal.tm_mday = PyDateTime_GET_DAY(src.ptr()); in load()
135 cal.tm_mday = 1; // This date (day, month, year) = (1, 0, 70) in load()
170 localtime.tm_mday, in cast()
/external/rust/crates/chrono/src/
Dsys.rs55 tm_mday: 0, in local()
86 pub tm_mday: i32, field
/external/llvm-project/libcxx/test/std/localization/locale.categories/category.time/locale.time.get/locale.time.get.members/
Dget_many.pass.cpp50 assert(t.tm_mday == 9); in main()
64 assert(t.tm_mday == 9); in main()
/external/libcxx/test/std/input.output/iostream.format/ext.manip/
Dget_time.pass.cpp53 assert(t.tm_mday == 31); in main()
69 assert(t.tm_mday == 31); in main()
/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()
/external/llvm-project/libcxx/test/std/input.output/iostream.format/ext.manip/
Dget_time.pass.cpp53 assert(t.tm_mday == 31); in main()
69 assert(t.tm_mday == 31); in main()

12345678910>>...12