Lines Matching refs:y

1091 char *php_date_full_day_name(timelib_sll y, timelib_sll m, timelib_sll d)  in php_date_full_day_name()  argument
1093 timelib_sll day_of_week = timelib_day_of_week(y, m, d); in php_date_full_day_name()
1100 char *php_date_short_day_name(timelib_sll y, timelib_sll m, timelib_sll d) in php_date_short_day_name() argument
1102 timelib_sll day_of_week = timelib_day_of_week(y, m, d); in php_date_short_day_name()
1153 …case 'D': length = slprintf(buffer, sizeof(buffer), "%s", php_date_short_day_name(t->y, t->m, t->d… in date_format()
1155 …case 'l': length = slprintf(buffer, sizeof(buffer), "%s", php_date_full_day_name(t->y, t->m, t->d)… in date_format()
1157 …case 'w': length = slprintf(buffer, sizeof(buffer), "%d", (int) timelib_day_of_week(t->y, t->m, t-… in date_format()
1158 …case 'N': length = slprintf(buffer, sizeof(buffer), "%d", (int) timelib_iso_day_of_week(t->y, t->m… in date_format()
1159 …case 'z': length = slprintf(buffer, sizeof(buffer), "%d", (int) timelib_day_of_year(t->y, t->m, t-… in date_format()
1163 …if(!weekYearSet) { timelib_isoweek_from_date(t->y, t->m, t->d, &isoweek, &isoyear); weekYearSet = … in date_format()
1166 …if(!weekYearSet) { timelib_isoweek_from_date(t->y, t->m, t->d, &isoweek, &isoyear); weekYearSet = … in date_format()
1174 …case 't': length = slprintf(buffer, sizeof(buffer), "%d", (int) timelib_days_in_month(t->y, t->m))… in date_format()
1177 case 'L': length = slprintf(buffer, sizeof(buffer), "%d", timelib_is_leap((int) t->y)); break; in date_format()
1178 case 'y': length = slprintf(buffer, sizeof(buffer), "%02d", (int) (t->y % 100)); break; in date_format()
1179 … = slprintf(buffer, sizeof(buffer), "%s%04lld", t->y < 0 ? "-" : "", php_date_llabs((timelib_sll) … in date_format()
1238 (zend_long) t->y, (int) t->m, (int) t->d, in date_format()
1246 php_date_short_day_name(t->y, t->m, t->d), in date_format()
1248 (zend_long) t->y, (int) t->h, (int) t->i, (int) t->s, in date_format()
1360 timelib_isoweek_from_date(t->y, t->m, t->d, &isoweek, &isoyear); in php_idate()
1366 case 'w': retval = (int) timelib_day_of_week(t->y, t->m, t->d); break; in php_idate()
1367 case 'z': retval = (int) timelib_day_of_year(t->y, t->m, t->d); break; in php_idate()
1374 case 't': retval = (int) timelib_days_in_month(t->y, t->m); break; in php_idate()
1377 case 'L': retval = (int) timelib_is_leap((int) t->y); break; in php_idate()
1378 case 'y': retval = (int) (t->y % 100); break; in php_idate()
1379 case 'Y': retval = (int) t->y; break; in php_idate()
1581 now->y = yea; in php_mktime()
1641 zend_long m, d, y; in PHP_FUNCTION() local
1646 Z_PARAM_LONG(y) in PHP_FUNCTION()
1649 if (y < 1 || y > 32767 || !timelib_valid_date(y, m, d)) { in PHP_FUNCTION()
1697 ta.tm_year = ts->y - 1900; in php_strftime()
1698 ta.tm_wday = timelib_day_of_week(ts->y, ts->m, ts->d); in php_strftime()
1699 ta.tm_yday = timelib_day_of_year(ts->y, ts->m, ts->d); in php_strftime()
1807 add_assoc_long(return_value, "tm_year", ts->y - 1900); in PHP_FUNCTION()
1808 add_assoc_long(return_value, "tm_wday", timelib_day_of_week(ts->y, ts->m, ts->d)); in PHP_FUNCTION()
1809 add_assoc_long(return_value, "tm_yday", timelib_day_of_year(ts->y, ts->m, ts->d)); in PHP_FUNCTION()
1817 add_next_index_long(return_value, ts->y- 1900); in PHP_FUNCTION()
1818 add_next_index_long(return_value, timelib_day_of_week(ts->y, ts->m, ts->d)); in PHP_FUNCTION()
1819 add_next_index_long(return_value, timelib_day_of_year(ts->y, ts->m, ts->d)); in PHP_FUNCTION()
1852 add_assoc_long(return_value, "wday", timelib_day_of_week(ts->y, ts->m, ts->d)); in PHP_FUNCTION()
1854 add_assoc_long(return_value, "year", ts->y); in PHP_FUNCTION()
1855 add_assoc_long(return_value, "yday", timelib_day_of_year(ts->y, ts->m, ts->d)); in PHP_FUNCTION()
1856 add_assoc_string(return_value, "weekday", php_date_full_day_name(ts->y, ts->m, ts->d)); in PHP_FUNCTION()
2506 PHP_DATE_INTERVAL_ADD_PROPERTY("y", y); in date_object_get_properties_interval()
3078 PHP_DATE_PARSE_DATE_SET_TIME_ELEMENT(year, y); in php_date_do_return_parsed_time()
3121 add_assoc_long(&element, "year", parsed_time->relative.y); in php_date_do_return_parsed_time()
3226 if (tmp_time->y != -99999) { in php_date_modify()
3227 dateobj->time->y = tmp_time->y; in php_date_modify()
3604 static void php_date_date_set(zval *object, zend_long y, zend_long m, zend_long d, zval *return_val… in php_date_date_set() argument
3610 dateobj->time->y = y; in php_date_date_set()
3622 zend_long y, m, d; in PHP_FUNCTION() local
3624 …if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Olll", &object, date_ce_date, &y, &m… in PHP_FUNCTION()
3628 php_date_date_set(object, y, m, d, return_value); in PHP_FUNCTION()
3640 zend_long y, m, d; in PHP_METHOD() local
3642 …parameters(ZEND_NUM_ARGS(), getThis(), "Olll", &object, date_ce_immutable, &y, &m, &d) == FAILURE)… in PHP_METHOD()
3647 php_date_date_set(&new_object, y, m, d, return_value); in PHP_METHOD()
3653 static void php_date_isodate_set(zval *object, zend_long y, zend_long w, zend_long d, zval *return_… in php_date_isodate_set() argument
3659 dateobj->time->y = y; in php_date_isodate_set()
3663 dateobj->time->relative.d = timelib_daynr_from_weeknr(y, w, d); in php_date_isodate_set()
3675 zend_long y, w, d = 1; in PHP_FUNCTION() local
3677 …if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Oll|l", &object, date_ce_date, &y, &… in PHP_FUNCTION()
3681 php_date_isodate_set(object, y, w, d, return_value); in PHP_FUNCTION()
3693 zend_long y, w, d = 1; in PHP_METHOD() local
3695 …arameters(ZEND_NUM_ARGS(), getThis(), "Oll|l", &object, date_ce_immutable, &y, &w, &d) == FAILURE)… in PHP_METHOD()
3700 php_date_isodate_set(&new_object, y, w, d, return_value); in PHP_METHOD()
4188 GET_VALUE_FROM_STRUCT(y, "y"); in date_interval_read_property()
4259 SET_VALUE_FROM_STRUCT(y, "y"); in date_interval_write_property()
4391 PHP_DATE_INTERVAL_READ_PROPERTY("y", y, timelib_sll, -1) in php_date_interval_initialize_from_hash()
4504 case 'Y': length = slprintf(buffer, sizeof(buffer), "%02d", (int) t->y); break; in date_interval_format()
4505 case 'y': length = slprintf(buffer, sizeof(buffer), "%d", (int) t->y); break; in date_interval_format()