Lines Matching refs:m

1098 static const char *php_date_full_day_name(timelib_sll y, timelib_sll m, timelib_sll d)  in php_date_full_day_name()  argument
1100 timelib_sll day_of_week = timelib_day_of_week(y, m, d); in php_date_full_day_name()
1107 static const char *php_date_short_day_name(timelib_sll y, timelib_sll m, timelib_sll d) in php_date_short_day_name() argument
1109 timelib_sll day_of_week = timelib_day_of_week(y, m, d); in php_date_short_day_name()
1160 …case 'D': length = slprintf(buffer, sizeof(buffer), "%s", php_date_short_day_name(t->y, t->m, t->d… in date_format()
1162 …case 'l': length = slprintf(buffer, sizeof(buffer), "%s", php_date_full_day_name(t->y, t->m, t->d)… in date_format()
1164 …case 'w': length = slprintf(buffer, sizeof(buffer), "%d", (int) timelib_day_of_week(t->y, t->m, t-… in date_format()
1165 …h = slprintf(buffer, sizeof(buffer), "%d", (int) timelib_iso_day_of_week(t->y, t->m, t->d)); break; in date_format()
1166 …case 'z': length = slprintf(buffer, sizeof(buffer), "%d", (int) timelib_day_of_year(t->y, t->m, t-… in date_format()
1170 …if(!weekYearSet) { timelib_isoweek_from_date(t->y, t->m, t->d, &isoweek, &isoyear); weekYearSet = … in date_format()
1173 …if(!weekYearSet) { timelib_isoweek_from_date(t->y, t->m, t->d, &isoweek, &isoyear); weekYearSet = … in date_format()
1177 case 'F': length = slprintf(buffer, sizeof(buffer), "%s", mon_full_names[t->m - 1]); break; in date_format()
1178 case 'm': length = slprintf(buffer, sizeof(buffer), "%02d", (int) t->m); break; in date_format()
1179 case 'M': length = slprintf(buffer, sizeof(buffer), "%s", mon_short_names[t->m - 1]); break; in date_format()
1180 case 'n': length = slprintf(buffer, sizeof(buffer), "%d", (int) t->m); break; in date_format()
1181 …case 't': length = slprintf(buffer, sizeof(buffer), "%d", (int) timelib_days_in_month(t->y, t->m))… in date_format()
1245 (zend_long) t->y, (int) t->m, (int) t->d, in date_format()
1253 php_date_short_day_name(t->y, t->m, t->d), in date_format()
1254 (int) t->d, mon_short_names[t->m - 1], in date_format()
1367 timelib_isoweek_from_date(t->y, t->m, t->d, &isoweek, &isoyear); in php_idate()
1373 case 'w': retval = (int) timelib_day_of_week(t->y, t->m, t->d); break; in php_idate()
1374 case 'z': retval = (int) timelib_day_of_year(t->y, t->m, t->d); break; in php_idate()
1380 case 'm': case 'n': retval = (int) t->m; break; in php_idate()
1381 case 't': retval = (int) timelib_days_in_month(t->y, t->m); break; in php_idate()
1594 now->m = mon; in php_mktime()
1648 zend_long m, d, y; in PHP_FUNCTION() local
1651 Z_PARAM_LONG(m) in PHP_FUNCTION()
1656 if (y < 1 || y > 32767 || !timelib_valid_date(y, m, d)) { in PHP_FUNCTION()
1702 ta.tm_mon = ts->m - 1; in php_strftime()
1704 ta.tm_wday = timelib_day_of_week(ts->y, ts->m, ts->d); in php_strftime()
1705 ta.tm_yday = timelib_day_of_year(ts->y, ts->m, ts->d); in php_strftime()
1819 add_assoc_long(return_value, "tm_mon", ts->m - 1); in PHP_FUNCTION()
1821 add_assoc_long(return_value, "tm_wday", timelib_day_of_week(ts->y, ts->m, ts->d)); in PHP_FUNCTION()
1822 add_assoc_long(return_value, "tm_yday", timelib_day_of_year(ts->y, ts->m, ts->d)); in PHP_FUNCTION()
1829 add_next_index_long(return_value, ts->m - 1); in PHP_FUNCTION()
1831 add_next_index_long(return_value, timelib_day_of_week(ts->y, ts->m, ts->d)); in PHP_FUNCTION()
1832 add_next_index_long(return_value, timelib_day_of_year(ts->y, ts->m, ts->d)); in PHP_FUNCTION()
1869 add_assoc_long(return_value, "wday", timelib_day_of_week(ts->y, ts->m, ts->d)); in PHP_FUNCTION()
1870 add_assoc_long(return_value, "mon", ts->m); in PHP_FUNCTION()
1872 add_assoc_long(return_value, "yday", timelib_day_of_year(ts->y, ts->m, ts->d)); in PHP_FUNCTION()
1873 add_assoc_string(return_value, "weekday", php_date_full_day_name(ts->y, ts->m, ts->d)); in PHP_FUNCTION()
1874 add_assoc_string(return_value, "month", mon_full_names[ts->m - 1]); in PHP_FUNCTION()
2548 PHP_DATE_INTERVAL_ADD_PROPERTY("m", m); in date_object_get_properties_interval()
3123 PHP_DATE_PARSE_DATE_SET_TIME_ELEMENT(month, m); in php_date_do_return_parsed_time()
3166 add_assoc_long(&element, "month", parsed_time->relative.m); in php_date_do_return_parsed_time()
3273 if (tmp_time->m != -99999) { in php_date_modify()
3274 dateobj->time->m = tmp_time->m; in php_date_modify()
3655 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
3662 dateobj->time->m = m; in php_date_date_set()
3673 zend_long y, m, d; in PHP_FUNCTION() local
3675 …if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Olll", &object, date_ce_date, &y, &m in PHP_FUNCTION()
3679 php_date_date_set(object, y, m, d, return_value); in PHP_FUNCTION()
3691 zend_long y, m, d; in PHP_METHOD() local
3694 if (zend_parse_parameters(ZEND_NUM_ARGS(), "lll", &y, &m, &d) == FAILURE) { in PHP_METHOD()
3699 php_date_date_set(&new_object, y, m, d, return_value); in PHP_METHOD()
3712 dateobj->time->m = 1; in php_date_isodate_set()
4248 #define GET_VALUE_FROM_STRUCT(n,m) \ in date_interval_read_property() argument
4249 if (strcmp(Z_STRVAL_P(member), m) == 0) { \ in date_interval_read_property()
4255 GET_VALUE_FROM_STRUCT(m, "m"); in date_interval_read_property()
4320 #define SET_VALUE_FROM_STRUCT(n,m) \ in date_interval_write_property() argument
4321 if (strcmp(Z_STRVAL_P(member), m) == 0) { \ in date_interval_write_property()
4328 SET_VALUE_FROM_STRUCT(m, "m"); in date_interval_write_property()
4464 PHP_DATE_INTERVAL_READ_PROPERTY("m", m, timelib_sll, -1) in php_date_interval_initialize_from_hash()
4577 case 'M': length = slprintf(buffer, sizeof(buffer), "%02d", (int) t->m); break; in date_interval_format()
4578 case 'm': length = slprintf(buffer, sizeof(buffer), "%d", (int) t->m); break; in date_interval_format()