Home
last modified time | relevance | path

Searched refs:hour (Results 1 – 25 of 133) sorted by relevance

123456

/external/clearsilver/cgi/
Ddate.c45 int hour, am = 1; in export_date_tm() local
68 hour = ttm->tm_hour; in export_date_tm()
69 if (hour == 0) in export_date_tm()
71 hour = 12; in export_date_tm()
73 else if (hour == 12) in export_date_tm()
77 else if (hour > 12) in export_date_tm()
80 hour -= 12; in export_date_tm()
82 err = hdf_set_int_value (obj, "hour", hour); in export_date_tm()
138 int year = 0, month = 0, day = 0, hour = 0, min = 0, sec = 0, x; in later_than() local
151 sscanf(ip,"%25s %d %d:%d:%d %d",mname,&day,&hour,&min,&sec,&year); in later_than()
[all …]
/external/webkit/JavaScriptCore/wtf/
DDateMath.cpp275 static inline double timeToMS(double hour, double min, double sec, double ms) in timeToMS() argument
277 return (((hour * minutesPerHour + min) * secondsPerMinute + sec) * msPerSecond + ms); in timeToMS()
492 double ms = timeToMS(t.hour, t.minute, t.second, milliSeconds); in gregorianDateTimeToMS()
518 tm.hour = msToHours(ms); in msToGregorianDateTime()
548 static inline double ymdhmsToSeconds(long year, int mon, int day, int hour, int minute, int second) in ymdhmsToSeconds() argument
555 return ((days * hoursPerDay + hour) * minutesPerHour + minute) * secondsPerMinute + second; in ymdhmsToSeconds()
748 long hour = 0; in parseDateFromNullTerminatedCharacters() local
766 parseLong(dateString, &newPosStr, 10, &hour); in parseDateFromNullTerminatedCharacters()
775 if (hour < 0 || hour > 23) in parseDateFromNullTerminatedCharacters()
811 if (hour > 12) in parseDateFromNullTerminatedCharacters()
[all …]
DDateMath.h84 , hour(0) in GregorianDateTime()
104 , hour(inTm.tm_hour) in GregorianDateTime()
134 ret.tm_hour = hour; in tm()
156 hour = rhs.hour; in copyFrom()
174 int hour; member
/external/webkit/WebCore/loader/
DFTPDirectoryDocument.cpp224 result.tm_hour = time.hour(); in gmtimeQt()
252 int hour = fileTime.tm_hour; in processFileDateString() local
253 ASSERT(hour >= 0 && hour < 24); in processFileDateString()
255 if (hour < 12) { in processFileDateString()
256 if (hour == 0) in processFileDateString()
257 hour = 12; in processFileDateString()
258 timeOfDay = String::format(", %i:%02i AM", hour, fileTime.tm_min); in processFileDateString()
260 hour = hour - 12; in processFileDateString()
261 if (hour == 0) in processFileDateString()
262 hour = 12; in processFileDateString()
[all …]
/external/icu4c/test/compat/
Dtzdate.c32 int64_t getSystemCurrentTime(char* systime, int year, int month, int day, int hour, int minute, int…
39 int year, month, day, hour, minute; in main() local
54 hour = atoi(argv[4]); in main()
61 systemtime = getSystemCurrentTime(systime, sysyear, month, day, hour, minute, useCurrentTime); in main()
109 int64_t getSystemCurrentTime(char* systime, int year, int month, int day, int hour, int minute, int… in getSystemCurrentTime() argument
122 ts.tm_hour = hour; in getSystemCurrentTime()
Dtzone.pl21 my $hour = 0;
26 ($year, $month, $day, $hour, $minute) = @ARGV;
27 print "The date we are using is: $month-$day-$year $hour:$minute.\n";
52 my @result = `./tzdate $year $month $day $hour $minute $USECURRENT`;
/external/webkit/V8Binding/v8/src/
Ddateparser.cc94 int& hour = comp_[0]; in Write() local
99 if (!IsHour12(hour)) return false; in Write()
100 hour %= 12; in Write()
101 hour += hour_offset_; in Write()
104 if (!IsHour(hour) || !IsMinute(minute) || !IsSecond(second)) return false; in Write()
107 Smi::FromInt(hour), in Write()
Ddate-delay.js279 function MakeTime(hour, min, sec, ms) { argument
280 if (!$isFinite(hour)) return $NaN;
284 return TO_INTEGER(hour) * msPerHour
954 function DateSetHours(hour, min, sec, ms) { argument
956 hour = ToNumber(hour);
961 var time = MakeTime(hour, min, sec, ms);
967 function DateSetUTCHours(hour, min, sec, ms) { argument
969 hour = ToNumber(hour);
974 var time = MakeTime(hour, min, sec, ms);
/external/opencore/oscl/oscl/osclbase/src/
Doscl_time.cpp120 int year, mon, day, hour, min, sec; in PV8601ToRFC822() local
134 hour = atoi(buf); in PV8601ToRFC822()
144 day, hour, min, sec, year); in PV8601ToRFC822()
158 int mon = 0, day, hour, min, sec; in RFC822ToPV8601() local
170 hour = atoi(ptr + 11); in RFC822ToPV8601()
177 mon, day, hour, min, sec); in RFC822ToPV8601()
/external/wpa_supplicant/
Dos_win32.c55 int os_mktime(int year, int month, int day, int hour, int min, int sec, in os_mktime() argument
63 hour < 0 || hour > 23 || min < 0 || min > 59 || sec < 0 || in os_mktime()
71 tm.tm_hour = hour; in os_mktime()
Dos_unix.c45 int os_mktime(int year, int month, int day, int hour, int min, int sec, in os_mktime() argument
53 hour < 0 || hour > 23 || min < 0 || min > 59 || sec < 0 || in os_mktime()
61 tm.tm_hour = hour; in os_mktime()
Dos_internal.c50 int os_mktime(int year, int month, int day, int hour, int min, int sec, in os_mktime() argument
56 hour < 0 || hour > 23 || min < 0 || min > 59 || sec < 0 || in os_mktime()
64 tm.tm_hour = hour; in os_mktime()
/external/webkit/JavaScriptCore/runtime/
DDateConversion.cpp81 snprintf(buffer, sizeof(buffer), "%02d:%02d:%02d GMT", t.hour, t.minute, t.second); in formatTime()
90 t.hour, t.minute, t.second, in formatTime()
94 t.hour, t.minute, t.second, in formatTime()
/external/webkit/JavaScriptCore/tests/mozilla/
Druntests.pl422 $now = $year ."/". $mon ."/". $mday ." ". $hour .":".
428 ( $sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst ) =
436 $hour = &zero_pad($hour);
DjsDriver.pl1067 my ($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) =
1072 $rv = "results-" . $year . "-" . $mon . "-" . $mday . "-" . $hour .
1075 $rv = "res-" . $year . $mon . $mday . $hour . $min . $sec . "-" .
1083 my ($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) = @_;
1091 $hour = &zero_pad($hour);
1093 return ($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst);
/external/ipsec-tools/src/racoon/samples/
Dracoon.conf.sample29 lifetime time 24 hour ; # sec,min,hour
57 lifetime time 12 hour ;
Dracoon.conf.sample-inherit38 lifetime time 1 min; # sec,min,hour
51 lifetime time 12 hour;
Dracoon.conf.sample-gssapi19 lifetime time 24 hour;
38 lifetime time 2 hour;
/external/icu4c/i18n/
Dtimezone.cpp1225 int32_t hour = 0; in createCustomTimeZone() local
1253 hour = n.getLong(); in createCustomTimeZone()
1312 min = hour % 100; in createCustomTimeZone()
1313 hour /= 100; in createCustomTimeZone()
1317 sec = hour % 100; in createCustomTimeZone()
1318 min = (hour/100) % 100; in createCustomTimeZone()
1319 hour /= 10000; in createCustomTimeZone()
1326 if (hour > kMAX_CUSTOM_HOUR || min > kMAX_CUSTOM_MIN || sec > kMAX_CUSTOM_SEC) { in createCustomTimeZone()
1332 if (hour | min | sec) { in createCustomTimeZone()
1339 if (hour < 10) { in createCustomTimeZone()
[all …]
/external/iptables/extensions/
Dlibipt_limit.man9 `/second', `/minute', `/hour', or `/day' suffix; the default is
10 3/hour.
Dlibip6t_limit.man9 `/second', `/minute', `/hour', or `/day' suffix; the default is
10 3/hour.
/external/clearsilver/java-jni/
Djavatest.gold103 DatePST.24hour = 19
104 DatePST.hour = 7
114 DateEST.24hour = 22
115 DateEST.hour = 10
/external/icu4c/test/intltest/
Dtzbdtest.cpp233 void TimeZoneBoundaryTest::verifyMapping(Calendar& cal, int year, int month, int dom, int hour, in verifyMapping() argument
238 cal.set(year, month, dom, hour, 0, 0); in verifyMapping()
242 logln(UnicodeString("Ok: ") + year + "/" + (month+1) + "/" + dom + " " + hour + ":00 => " + in verifyMapping()
245 … errln(UnicodeString("FAIL: ") + year + "/" + (month+1) + "/" + dom + " " + hour + ":00 => " + in verifyMapping()
253 cal.get(UCAL_MILLISECONDS_IN_DAY, status) == hour * 3600000) { in verifyMapping()
266 " " + hour); in verifyMapping()
/external/webkit/JavaScriptCore/tests/mozilla/ecma/
Dshell.js583 function MakeTime( hour, min, sec, ms ) { argument
584 if ( isNaN( hour ) || isNaN( min ) || isNaN( sec ) || isNaN( ms ) ) {
588 hour = ToInteger(hour);
593 return( (hour*msPerHour) + (min*msPerMinute) +
/external/webkit/JavaScriptCore/tests/mozilla/ecma_3/Date/
Dshell.js531 function MakeTime( hour, min, sec, ms ) argument
533 if ( isNaN(hour) || isNaN(min) || isNaN(sec) || isNaN(ms) ){return Number.NaN;}
535 hour = ToInteger(hour);
540 return( (hour*msPerHour) + (min*msPerMinute) + (sec*msPerSecond) + ms );

123456