/external/wpa_supplicant_8/src/utils/ |
H A D | os_internal.c | 44 int os_mktime(int year, int month, int day, int hour, int min, int sec, argument 49 if (year < 1970 || month < 1 || month > 12 || day < 1 || day > 31 || 57 tm.tm_mday = day; 78 tm->day = tm2->tm_mday;
|
H A D | os_unix.c | 63 int os_mktime(int year, int month, int day, int hour, int min, int sec, argument 70 if (year < 1970 || month < 1 || month > 12 || day < 1 || day > 31 || 78 tm.tm_mday = day; 114 tm->day = tm2->tm_mday;
|
/external/wpa_supplicant_8/wpa_supplicant/src/utils/ |
H A D | os_internal.c | 44 int os_mktime(int year, int month, int day, int hour, int min, int sec, argument 49 if (year < 1970 || month < 1 || month > 12 || day < 1 || day > 31 || 57 tm.tm_mday = day; 78 tm->day = tm2->tm_mday;
|
H A D | os_unix.c | 63 int os_mktime(int year, int month, int day, int hour, int min, int sec, argument 70 if (year < 1970 || month < 1 || month > 12 || day < 1 || day > 31 || 78 tm.tm_mday = day; 114 tm->day = tm2->tm_mday;
|
/external/icu4c/i18n/ |
H A D | chnsecal.cpp | 206 kEpochStartAsJulianDay + 1; // Julian day -> local days 224 * calendar equivalents for the given Julian day. 274 * Return the Julian day number of day before the first day of the 282 * @return the Julian day number of the day before the first 283 * day of the given month and year 343 int32_t day = get(UCAL_JULIAN_DAY, status) - kEpochStartAsJulianDay; // Get local day local 373 int32_t day = get(UCAL_JULIAN_DAY, status) - kEpochStartAsJulianDay; // Get local day local [all...] |
H A D | simpletz.cpp | 42 // and day-of-week-on-or-before-that-date mode (DOW_LE_DOM_MODE). 275 * day of week in the month (e.g., (2, WEDNESDAY) is the second Wednesday 278 * the day of week in the month counting backward from the end of the month. 281 * specifies the day of the month, regardless of what day of the week it is. 282 * (e.g., (10, 0) is the tenth day of the month) 284 * specifies the day of the month counting backward from the end of the 285 * month, regardless of what day of the week it is (e.g., (-2, 0) is the 286 * next-to-last day of the month). 288 * first specified day o 392 getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const argument 411 getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, uint8_t dayOfWeek, int32_t millis, int32_t , UErrorCode& status) const argument 438 getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, uint8_t dayOfWeek, int32_t millis, int32_t monthLength, int32_t prevMonthLength, UErrorCode& status) const argument 516 double day = uprv_floor(date / U_MILLIS_PER_DAY); local [all...] |
H A D | zonemeta.cpp | 153 int32_t year = 0, month = 0, day = 0, hour = 0, min = 0, n; local 178 day = 10*day + n; 205 UDate date = Grego::fieldsToDay(year, month - 1, day) * U_MILLIS_PER_DAY
|
H A D | rbtz.cpp | 347 RuleBasedTimeZone::getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, argument 356 return getOffset(era, year, month, day, dayOfWeek, millis, 362 RuleBasedTimeZone::getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, argument 374 UDate time = (UDate)Grego::fieldsToDay(year, month, day) * U_MILLIS_PER_DAY + millis;
|
H A D | astro.cpp | 78 * The number of standard hours in one sidereal day. 86 * The number of sidereal hours in one mean solar day. 173 * The number of milliseconds in one day. 180 * The start of the julian day numbering scheme used by astronomers, which 183 * Note that julian day numbers and 311 * @param jdn the desired time, expressed as a "julian day number", 313 * 1/1/4713 BC (Julian), 12:00 GMT. Note that julian day 344 * expressed as a "julian day number", which is the number of elapsed 423 // Then find local midnight on this day 529 #define JD_EPOCH 2447891.5 // Julian day o 642 double day = jDay - JD_EPOCH; // Days since epoch local 1074 double day = getJulianDay() - JD_EPOCH; // Days since epoch local [all...] |
H A D | timezone.cpp | 602 // the given time in day is local standard time. 614 double day = uprv_floor(date / U_MILLIS_PER_DAY); local 615 int32_t millis = (int32_t) (date - day * U_MILLIS_PER_DAY); 617 Grego::dayToFields(day, year, month, dom, dow);
|
/external/stlport/src/c_locale_win32/ |
H A D | c_wlocale_win32.c | 300 const wchar_t * _WLocale_full_dayofweek(_Locale_time_t * ltime, int day,
argument 302 { GetLocaleInfoW(ltime->lc.id, LOCALE_SDAYNAME1 + day, buf, (int)bufSize); return buf; }
304 const wchar_t * _WLocale_abbrev_dayofweek(_Locale_time_t * ltime, int day,
argument 306 { GetLocaleInfoW(ltime->lc.id, LOCALE_SABBREVDAYNAME1 + day, buf, (int)bufSize); return buf; }
|
/external/v8/src/ |
H A D | objects-debug.cc | 384 CHECK(day()->IsUndefined() || day()->IsSmi() || day()->IsNaN()); 397 if (day()->IsSmi()) { 398 int day = Smi::cast(this->day())->value(); local 399 CHECK(1 <= day && day <= 31);
|
/external/wpa_supplicant_6/wpa_supplicant/src/tls/ |
H A D | x509v3.c | 516 int year, month, day, hour, min, sec; local 574 if (sscanf(pos, "%02d", &day) != 1) { 576 "(day)", buf, len); 601 if (os_mktime(year, month, day, hour, min, sec, val) < 0) {
|
/external/wpa_supplicant_8/hostapd/src/tls/ |
H A D | x509v3.c | 545 int year, month, day, hour, min, sec; local 603 if (sscanf(pos, "%02d", &day) != 1) { 605 "(day)", buf, len); 630 if (os_mktime(year, month, day, hour, min, sec, val) < 0) {
|
/external/wpa_supplicant_8/src/tls/ |
H A D | x509v3.c | 545 int year, month, day, hour, min, sec; local 603 if (sscanf(pos, "%02d", &day) != 1) { 605 "(day)", buf, len); 630 if (os_mktime(year, month, day, hour, min, sec, val) < 0) {
|
/external/wpa_supplicant_8/wpa_supplicant/src/tls/ |
H A D | x509v3.c | 545 int year, month, day, hour, min, sec; local 603 if (sscanf(pos, "%02d", &day) != 1) { 605 "(day)", buf, len); 630 if (os_mktime(year, month, day, hour, min, sec, val) < 0) {
|
/external/icu4c/test/cintltst/ |
H A D | cdattst.c | 404 int32_t year, month, day; local 408 day = ucal_get(ucal, UCAL_DATE, &status); 409 ucal_setDateTime(ucal, year, month, day, 18, 49, 0, &status); /* set to today at 18:49:00 */
|
H A D | ccaltst.c | 402 /*setting the first day of the week to other values */ 428 /*testing if the UCalendar's timezone is currently in day light saving's time*/ 613 verify1("1999 10th day of January is :", caldef, datdef, 1999, UCAL_JANUARY, 10); 615 verify1("1999 3rd day of December is :", caldef, datdef, 1999, UCAL_DECEMBER, 3); 617 verify1("2000 3rd day of May is :", caldef, datdef, 2000, UCAL_MAY, 3); 619 verify1("1999 32th day of August is :", caldef, datdef, 1999, UCAL_SEPTEMBER, 1); 621 verify1("1999 0th day of March is :", caldef, datdef, 1999, UCAL_FEBRUARY, 28); 645 verify2("1999 10th day of October at 6:45:30 is :", caldef, datdef, 1999, UCAL_OCTOBER, 10, 6, 45, 30, 0 ); 647 verify2("1999 3rd day of March at 15:10:55 is :", caldef, datdef, 1999, UCAL_MARCH, 3, 3, 10, 55, 1); 649 verify2("1999 3rd day o 1302 verify1(const char* msg, UCalendar* c, UDateFormat* dat, int32_t year, int32_t month, int32_t day) argument 1336 verify2(const char* msg, UCalendar* c, UDateFormat* dat, int32_t year, int32_t month, int32_t day, int32_t hour, int32_t min, int32_t sec, int32_t am_pm) argument 1534 int32_t day; member in struct:__anon5971 [all...] |
/external/icu4c/test/intltest/ |
H A D | tzregts.cpp | 117 min += (UDate)24*60*60*1000; // one day 202 * day of onset 1:59 AM STD = display name 1:59 AM ST 204 * day of end 0:59 AM STD = display name 1:59 AM DT 358 // the MILLSECOND field; you need to pass in the millis in the day in STANDARD 472 int32_t day = cal->get(UCAL_DATE, status); local 481 int32_t offset = tz->getOffset((uint8_t)era, year, month, day, (uint8_t)dayOfWeek, millis, status); 625 int32_t day = DATA[i+2]; local 633 zone->setStartRule(month, day, dayOfWeek, time, status); 638 errln(UnicodeString("setStartRule(month=") + month + ", day=" + day [all...] |
H A D | caltest.cpp | 563 * Test the handling of the day of the week, checking for correctness and 666 verify765("1997 third day of June = ", c, 1997, UCAL_JUNE, 3); 717 * results in the first WOY/DOW day of the year satisfying the 759 CalendarTest::verify765(const UnicodeString& msg, Calendar* c, int32_t year, int32_t month, int32_t day) argument 768 d == day) { 774 errln("FAIL: " + msg + dateToString(c->getTime(status), str) + "; expected " + (int32_t)year + "/" + (int32_t)(month + 1) + "/" + (int32_t)day + 1421 * When adding the YEAR, the month and day should remain constant. 1433 int32_t day = cal.get(UCAL_DATE, status); local 1454 if (y2 != (y+1) || mon2 != mon || day2 != day) { 1456 (y+1) + ", month " + (mon+1) + ", day " 2151 int32_t day = 15; local [all...] |
/external/kernel-headers/original/linux/ |
H A D | telephony.h | 104 char day[3]; member in struct:__anon7208
|
/external/libxml2/ |
H A D | nanoftp.c | 1601 int day = 0; local 1669 day = (day * 10) + (*cur++ - '0'); 1700 year, month, day, hour, minute); 2052 int year, const char *month, int day, int hour, int minute) { 2050 ftpList(void *userData, const char *filename, const char* attrib, const char *owner, const char *group, unsigned long size, int links, int year, const char *month, int day, int hour, int minute) argument
|
/external/webkit/Source/JavaScriptCore/wtf/ |
H A D | DateMath.cpp | 136 // Day of year for the first day of each month, where index 0 is January, and day 0 is January 1. 321 double dateToDaysFrom1970(int year, int month, int day) argument 335 return yearday + monthday + day - 1; 356 * the two years having the same leapness and the first day of the year, falling 357 * on the same day of the week. 433 else if (localTimeSeconds < 0) // Go ahead a day to make localtime work (does not work with 0) 472 double day = dateToDaysFrom1970(equivalentYear, month, dayInMonth); local 473 ms = (day * msPerDay) + msToMilliseconds(ms); 490 static inline double ymdhmsToSeconds(long year, int mon, int day, in argument 598 long day; local 771 long day; local 1113 double day = dateToDaysFrom1970(t.year + 1900, t.month, t.monthDay); local [all...] |
/external/webkit/Source/WebCore/platform/graphics/win/ |
H A D | MediaPlayerPrivateQuickTimeWin.cpp | 146 SInt32 day = CFAbsoluteTimeGetDayOfWeek(time, 0); local 148 RetainPtr<CFStringRef> dateCFString(AdoptCF, CFStringCreateWithFormat(0, 0, dateFormatString, dayStrings[day - 1], dateValue.day,
|
/external/webkit/Source/WebKit/win/ |
H A D | WebHistory.cpp | 855 static void getDayBoundaries(CFAbsoluteTime day, CFAbsoluteTime& beginningOfDay, CFAbsoluteTime& beginningOfNextDay) argument 858 CFGregorianDate date = CFAbsoluteTimeGetGregorianDate(day, timeZone.get()); 863 date.day += 1; 884 // Returns whether the day is already in the list of days, 909 // The entries for each day are stored in a sorted array with the most recent entry first 910 // Check for the common cases of the entry being newer than all existing entries or the first entry of the day 956 // can't just divide/round since the day boundaries depend on our current time zone
|