/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/localization/locale.categories/category.time/locale.time.get/locale.time.get.members/ |
get_many.pass.cpp | 48 assert(t.tm_mon == 4); 62 assert(t.tm_mon == 4);
|
get_date.pass.cpp | 46 assert(t.tm_mon == 4);
|
get_date_wide.pass.cpp | 46 assert(t.tm_mon == 4);
|
/prebuilts/sdk/renderscript/include/ |
rs_time.rsh | 53 int tm_mon; // Months since January. This ranges from 0 to 11.
|
/external/linux-kselftest/tools/testing/selftests/timers/ |
rtctest.c | 60 .tm_mon = 1, 65 .tm_mon = 1, 71 .tm_mon = 3, 76 .tm_mon = 3, 84 a->tm_mon != b->tm_mon || 200 rtc_tm.tm_mday, rtc_tm.tm_mon + 1, rtc_tm.tm_year + 1900,
|
/device/linaro/bootloader/edk2/StdLib/LibC/Time/ |
strftime.c | 158 pt = _add((t->tm_mon < 0 ||
159 t->tm_mon >= MONSPERYEAR) ?
160 "?" : Locale->mon[t->tm_mon],
165 pt = _add((t->tm_mon < 0 ||
166 t->tm_mon >= MONSPERYEAR) ?
167 "?" : Locale->abmon[t->tm_mon],
266 pt = _conv(t->tm_mon + 1, "%02d", pt, ptlim);
397 && t->tm_mon == TM_JANUARY)
399 && t->tm_mon == TM_DECEMBER))
|
TimeEfi.c | 35 BT->tm_mon = ET->Month - 1; // BD time is zero based, EFI is 1 based
74 ET->Month = (UINT8)BT->tm_mon + 1;
|
Time.c | 172 for (tmp->tm_mon = 0; days >= (LONG32) ip[tmp->tm_mon]; ++(tmp->tm_mon))
173 days = days - (LONG32) ip[tmp->tm_mon];
236 (result = (atmp->tm_mon - btmp->tm_mon)) == 0 &&
273 if (normalize_overflow(&yourtm.tm_year, &yourtm.tm_mon, MONSPERYEAR))
284 i = yourtm.tm_year + (1 < yourtm.tm_mon);
288 i = yourtm.tm_year + (1 < yourtm.tm_mon);
294 i = mon_lengths[isleap(yourtm.tm_year)][yourtm.tm_mon];
[all...] |
/external/libcxx/test/std/localization/locale.categories/category.time/locale.time.get.byname/ |
get_monthname_wide.pass.cpp | 61 assert(t.tm_mon == 5); 71 assert(t.tm_mon == 5); 81 assert(t.tm_mon == 5);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/localization/locale.categories/category.time/locale.time.get.byname/ |
get_monthname_wide.pass.cpp | 61 assert(t.tm_mon == 5); 71 assert(t.tm_mon == 5); 81 assert(t.tm_mon == 5);
|
/external/libcxx/test/std/localization/locale.categories/category.time/locale.time.get/locale.time.get.members/ |
get_date.pass.cpp | 46 assert(t.tm_mon == 4);
|
get_date_wide.pass.cpp | 46 assert(t.tm_mon == 4);
|
/external/ppp/pppd/plugins/radius/ |
util.c | 42 tm->tm_mon = i;
|
/frameworks/base/libs/androidfw/include/androidfw/ |
ZipUtils.h | 75 timespec->tm_mon = ((date >> 5) & 0x0F) - 1;
|
/frameworks/base/libs/androidfw/tests/ |
ZipUtils_test.cpp | 48 EXPECT_EQ(5, t.tm_mon)
|
/external/e2fsprogs/debugfs/ |
util.c | 250 sscanf(arg, "%4d%2d%2d%2d%2d%2d", &ts.tm_year, &ts.tm_mon, 253 ts.tm_mon -= 1; 254 if (ts.tm_year < 0 || ts.tm_mon < 0 || ts.tm_mon > 11 || 271 ts.tm_yday = (ts.tm_mon * 31) - 272 ((ts.tm_mon - (ts.tm_mon > 7)) / 2) - 273 2 * (ts.tm_mon > 1) + ts.tm_mday - 1;
|
/external/libcxx/test/std/input.output/iostream.format/ext.manip/ |
get_time.pass.cpp | 53 assert(t.tm_mon == 11); 69 assert(t.tm_mon == 11);
|
put_time.pass.cpp | 64 t.tm_mon = 11; 80 t.tm_mon = 11;
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/input.output/iostream.format/ext.manip/ |
get_time.pass.cpp | 53 assert(t.tm_mon == 11); 69 assert(t.tm_mon == 11);
|
put_time.pass.cpp | 64 t.tm_mon = 11; 80 t.tm_mon = 11;
|
/external/webrtc/webrtc/base/ |
timeutils_unittest.cc | 198 tm.tm_mon = rtc::CreateRandomId() % 12; 199 tm.tm_mday = rtc::CreateRandomId() % mdays[tm.tm_mon] + 1; 212 tm.tm_mon = -1; 215 tm.tm_mon = 12; 221 tm.tm_mday = mdays[tm.tm_mon] + (leap_year && tm.tm_mon == 1) + 1;
|
/bionic/libc/bionic/ |
time64.c | 231 days += julian_days_by_month[IS_LEAP(orig_year)][date->tm_mon]; 258 assert(tm->tm_mday <= days_in_month[IS_LEAP(tm->tm_year)][tm->tm_mon]); 260 assert(tm->tm_mon >= 0); 261 assert(tm->tm_mon <= 11); 372 dest->tm_mon = src->tm_mon; 404 dest->tm_mon = src->tm_mon; 634 p->tm_mon = v_tm_mon; 702 month_diff = local_tm->tm_mon - gm_tm.tm_mon [all...] |
/bionic/libc/tzcode/ |
strftime.c | 217 pt = _add((t->tm_mon < 0 || 218 t->tm_mon >= MONSPERYEAR) ? 219 "?" : Locale->month[t->tm_mon], 224 pt = _add((t->tm_mon < 0 || 225 t->tm_mon >= MONSPERYEAR) ? 226 "?" : Locale->mon[t->tm_mon], 332 pt = _conv(t->tm_mon + 1, getformat(modifier, "%02d", "%2d", "%d", "%02d"), pt, ptlim); 464 t->tm_mon == TM_JANUARY) || 466 t->tm_mon == TM_DECEMBER))
|
/bionic/libc/upstream-openbsd/lib/libc/time/ |
wcsftime.c | 166 pt = _add((t->tm_mon < 0 || 167 t->tm_mon >= MONSPERYEAR) ? 168 UNKNOWN : Locale->month[t->tm_mon], 173 pt = _add((t->tm_mon < 0 || 174 t->tm_mon >= MONSPERYEAR) ? 175 UNKNOWN : Locale->mon[t->tm_mon], 266 pt = _conv(t->tm_mon + 1, L"%02d", pt, ptlim); 389 if ((w == 52 && t->tm_mon == TM_JANUARY) || 390 (w == 1 && t->tm_mon == TM_DECEMBER))
|
/external/toybox/toys/posix/ |
date.c | 89 sscanf(str, "%2u%2u%2u%2u%n", &tm->tm_mon, &tm->tm_mday, &tm->tm_hour, 93 tm->tm_mon--; 207 check_range(tm.tm_mon, 0, 11);
|