Home
last modified time | relevance | path

Searched refs:sec (Results 1 – 25 of 61) sorted by path

123

/PHP-5.5/ext/date/lib/
H A Dparse_date.c24975 timelib_sll sec; in timelib_parse_from_format() local
24978 sec = timelib_get_nr_ex((char **) &ptr, 2, &length); in timelib_parse_from_format()
24979 if (sec == TIMELIB_UNSET || length != 2) { in timelib_parse_from_format()
24982 s->time->s = sec; in timelib_parse_from_format()
H A Dparse_date.re187 { "sec", TIMELIB_SECOND, 1 },
931 reltextunit = (('sec'|'second'|'min'|'minute'|'hour'|'day'|'fortnight'|'forthnight'|'month'|'year')…
1984 timelib_sll sec;
1987 sec = timelib_get_nr_ex((char **) &ptr, 2, &length);
1988 if (sec == TIMELIB_UNSET || length != 2) {
1991 s->time->s = sec;
H A Dtimelib.c197 void timelib_decimal_hour_to_hms(double h, int *hour, int *min, int *sec) in timelib_decimal_hour_to_hms() argument
201 *sec = (h - *hour - ((float) *min / 60)) * 3600; in timelib_decimal_hour_to_hms()
H A Dtimelib.h138 void timelib_decimal_hour_to_hms(double h, int *hour, int *min, int *sec);
/PHP-5.5/ext/date/
H A Dphp_date.c84 ZEND_ARG_INFO(0, sec)
94 ZEND_ARG_INFO(0, sec)
1505 long hou = 0, min = 0, sec = 0, mon = 0, day = 0, yea = 0, dst = -1; in php_mktime() local
1511 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|lllllll", &hou, &min, &sec, &mon, &day, &ye… in php_mktime()
1543 now->s = sec; in php_mktime()
/PHP-5.5/ext/date/tests/
H A DDateTime_data-fall-type2-type2.inc20 * + dtsec: daylight time 1 sec before change 2010-11-07 01:59:59 EDT
H A DDateTime_data-fall-type2-type3.inc20 * + dtsec: daylight time 1 sec before change 2010-11-07 01:59:59 EDT
H A DDateTime_data-fall-type3-type2.inc20 * + dtsec: daylight time 1 sec before change 2010-11-07 01:59:59 EDT
H A DDateTime_data-fall-type3-type3.inc20 * + dtsec: daylight time 1 sec before change 2010-11-07 01:59:59 EDT, + TZ
H A DDateTime_data-spring-type2-type2.inc18 * + stsec: standard time 1 sec before change 2010-03-14 01:59:59 EST
H A DDateTime_data-spring-type2-type3.inc18 * + stsec: standard time 1 sec before change 2010-03-14 01:59:59 EST
H A DDateTime_data-spring-type3-type2.inc18 * + stsec: standard time 1 sec before change 2010-03-14 01:59:59 EST
H A DDateTime_data-spring-type3-type3.inc18 * + stsec: standard time 1 sec before change 2010-03-14 01:59:59
H A DDateTime_setTime_error.phpt26 $sec = 30;
28 var_dump( $datetime->setTime($hour, $min, $sec, $extra_arg) );
H A DDateTime_setTime_variation1.phpt100 $sec = 45;
104 var_dump( $object->setTime($hour, $minute, $sec) );
H A DDateTime_setTime_variation2.phpt100 $sec = 45;
104 var_dump( $object->setTime($hour, $minute, $sec) );
H A DDateTime_setTime_variation3.phpt102 foreach($inputs as $variation =>$sec) {
104 var_dump( $object->setTime($hour, $minute, $sec) );
H A Dbug35143.phpt13 ["sec"]=>
H A Ddate_time_set_error.phpt26 $sec = 30;
28 var_dump( date_time_set($datetime, $hour, $min, $sec, $extra_arg) );
32 var_dump( date_time_set($invalid_obj, $hour, $min, $sec) );
34 var_dump( date_time_set($invalid_obj, $hour, $min, $sec) );
36 var_dump( date_time_set($invalid_obj, $hour, $min, $sec) );
H A Ddate_time_set_variation1.phpt100 $sec = 45;
104 var_dump( date_time_set($object, $hour, $minute, $sec) );
H A Ddate_time_set_variation2.phpt100 $sec = 45;
104 var_dump( date_time_set($object, $hour, $minute, $sec) );
H A Ddate_time_set_variation3.phpt100 $sec = 45;
104 var_dump( date_time_set($object, $hour, $minute, $sec) );
H A Ddate_time_set_variation4.phpt2 Test date_time_set() function : usage variation - Passing unexpected values to forth argument $sec.
11 echo "*** Testing date_time_set() : usage variation - unexpected values to forth argument \$sec***…
102 foreach($inputs as $variation =>$sec) {
104 var_dump( date_time_set($object, $hour, $minute, $sec) );
113 *** Testing date_time_set() : usage variation - unexpected values to forth argument $sec***
H A Dgettimeofday_basic.phpt36 ["sec"]=>
46 ["sec"]=>
H A Dgettimeofday_variation1.phpt107 ["sec"]=>
163 ["sec"]=>
175 ["sec"]=>
190 ["sec"]=>
205 ["sec"]=>
217 ["sec"]=>
229 ["sec"]=>
263 ["sec"]=>
275 ["sec"]=>

Completed in 71 milliseconds

123