/frameworks/base/media/libdrm/mobile1/src/jni/ |
drm1_jni.c | 32 #define MS_PER_HOUR 60 * MS_PER_MINUTE /* Milliseconds per hour */ 36 #define SECONDS_PER_HOUR 60 * SECONDS_PER_MINUTE /* Seconds per hour */ 307 * \param hour the hour (0 - 23) 316 uint32_t hour, uint32_t minute, uint32_t second) 327 && hour < 24 && minute < 60 338 SECONDS_PER_HOUR * hour + SECONDS_PER_MINUTE * minute + second)); 350 * <code>time = hour * 10000 + minute * 100 + second</code> 356 int32_t year, month, day, hour, minute, second; local 361 hour = time / 10000 399 int32_t year, month, day, hour, minute, second; local [all...] |
/external/bison/build-aux/ |
update-b4-copyright | 29 my ($sec, $min, $hour, $mday, $month, $year) = localtime (time ());
|
/external/chromium/base/ |
time_posix.cc | 94 exploded->hour = timestruct.tm_hour; 105 timestruct.tm_hour = exploded.hour;
|
time_unittest.cc | 36 EXPECT_EQ(tms.tm_hour, exploded.hour); 100 EXPECT_EQ(0, exploded.hour); 219 exploded.hour = 0;
|
/external/icu4c/i18n/unicode/ |
gregocal.h | 109 * cout << "HOUR: " << calendar->get( UCAL_HOUR, success ) << endl; 117 * cout << "Current Time, with hour reset to 3" << endl; 131 * cout << "HOUR: " << calendar->get( UCAL_HOUR, success ) << endl; 252 * @param hour The value used to set the HOUR_OF_DAY time field in the calendar. 258 GregorianCalendar(int32_t year, int32_t month, int32_t date, int32_t hour, int32_t minute, UErrorCode& success); 268 * @param hour The value used to set the HOUR_OF_DAY time field in the calendar. 275 GregorianCalendar(int32_t year, int32_t month, int32_t date, int32_t hour, int32_t minute, int32_t second, UErrorCode& success); [all...] |
timezone.h | 448 * typically one hour. 703 * (i.e., one hour) if this time zone observes Daylight Saving [all...] |
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
HeaderParser.java | 129 * Set the time field. This has the format hour:minute:second 134 int hour = Integer.parseInt(s); local 135 calendar.set(Calendar.HOUR_OF_DAY, hour);
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
Alarms.java | 183 values.put(Alarm.Columns.HOUR, alarm.hour); 593 return calculateAlarm(alarm.hour, alarm.minutes, alarm.daysOfWeek) 601 static Calendar calculateAlarm(int hour, int minute, 612 if (hour < nowHour || 613 hour == nowHour && minute <= nowMinute) { 616 c.set(Calendar.HOUR_OF_DAY, hour); 626 static String formatTime(final Context context, int hour, int minute, 628 Calendar c = calculateAlarm(hour, minute, daysOfWeek); 659 * @return true if clock is set to 24-hour mod [all...] |
AnalogClock.java | 241 int hour = mCalendar.hour; local 248 mHour = hour + mMinutes / 60.0f;
|
/packages/providers/CalendarProvider/ |
maketests.py | 62 hour = int(m.group(4)) + (sign * int(m.group(8)))
63 return m.group(1) + m.group(2) + m.group(3) + "T" + fmt(hour) \
|
/external/icu4c/i18n/ |
tzfmt.cpp | 113 HOUR = 1, 193 case HOUR: 207 return HOUR; [all...] |
zonemeta.cpp | 154 int32_t year = 0, month = 0, day = 0, hour = 0, min = 0, n; local 189 hour = 10*hour + n; 207 + hour * U_MILLIS_PER_HOUR + min * U_MILLIS_PER_MINUTE; 855 int32_t hour, min, sec; local 861 hour = tmp / 60; 864 formatCustomID(hour, min, sec, negative, zid); 869 ZoneMeta::formatCustomID(uint8_t hour, uint8_t min, uint8_t sec, UBool negative, UnicodeString& id) { 872 if (hour != 0 || min != 0) { 879 id.append((UChar)(0x30 + (hour%100)/10)) [all...] |
/cts/tests/tests/text/src/android/text/format/cts/ |
DateFormatTest.java | 44 private static final int HOUR = 5; 128 Date date = new Date(YEAR_FROM_1900, MONTH, DAY, HOUR, MINUTE); 191 private static void checkFormat(String expected, String pattern, int hour) { 195 c.set(2013, Calendar.JANUARY, 1, hour, 00); 200 if (pattern.equals("k") && (hour == 0 || hour == 24)) {
|
/external/libxml2/include/libxml/ |
nanoftp.h | 53 * @hour: the hour 63 const char *month, int day, int hour,
|
/external/webkit/Source/WebCore/html/ |
DateComponents.h | 44 // * Time type: hour-minute-second-millisecond 45 // * DateTime or DateTimeLocal type: year-month-day hour-minute-second-millisecond 64 int hour() const { return m_hour; } function in class:WebCore::DateComponents 99 // Sets hour, minute, second and millisecond. 101 // Sets year, month, monthDay, hour, minute, second and millisecond. 103 // Sets year, month, monthDay, hour, minute, second and millisecond, and adjusts timezone.
|
/external/wpa_supplicant_8/src/utils/ |
os_none.c | 29 int os_mktime(int year, int month, int day, int hour, int min, int sec,
|
/external/chromium/chrome/browser/extensions/ |
convert_web_app_unittest.cc | 64 base::Time GetTestTime(int year, int month, int day, int hour, int minute, 70 exploded.hour = hour;
|
/frameworks/base/core/java/android/widget/ |
AnalogClock.java | 229 int hour = mCalendar.hour; local 234 mHour = hour + mMinutes / 60.0f;
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ |
jsDriver.pl | [all...] |
/external/icu4c/test/intltest/ |
tzbdtest.cpp | 225 * Check that the given year/month/dom/hour maps to and from the 233 void TimeZoneBoundaryTest::verifyMapping(Calendar& cal, int year, int month, int dom, int hour, 238 cal.set(year, month, dom, hour, 0, 0); 242 logln(UnicodeString("Ok: ") + year + "/" + (month+1) + "/" + dom + " " + hour + ":00 => " + 245 dataerrln(UnicodeString("FAIL: ") + year + "/" + (month+1) + "/" + dom + " " + hour + ":00 => " + 253 cal.get(UCAL_MILLISECONDS_IN_DAY, status) == hour * 3600000) { 266 " " + hour); local
|
/external/chromium/chrome/browser/ui/views/ |
about_ipc_dialog.cc | 310 if (exploded.hour > 12) 311 exploded.hour -= 12; 314 exploded.hour, exploded.minute, exploded.second, exploded.millisecond);
|
/external/icu4c/tools/tzcode/ |
icuzdump.cpp | 64 int32_t hour, min, sec; local 70 hour = offset / 60; 72 decf->format(hour, appendTo);
|
/external/v8/src/ |
dateparser-inl.h | 297 int hour = hourmin / 100; local 299 if (!TimeComposer::IsHour(hour) || !TimeComposer::IsMinute(min)) { 302 tz->SetAbsoluteHour(hour);
|
/external/chromium/net/base/ |
x509_cert_types.cc | 111 exploded.hour = ParseIntAndAdvance(&field, 2, &valid);
|
/external/chromium/net/ftp/ |
ftp_util_unittest.cc | 171 EXPECT_EQ(kTestCases[i].expected_hour, time_exploded.hour);
|