Lines Matching refs:format_len
624 static zend_string *date_format(const char *format, size_t format_len, timelib_time *t, int localti… in date_format() argument
635 if (!format_len) { in date_format()
661 for (i = 0; i < format_len; i++) { in date_format()
775 case '\\': if (i < format_len) i++; /* break intentionally missing */ in date_format()
811 PHPAPI zend_string *php_format_date(const char *format, size_t format_len, time_t ts, int localtime… in php_format_date() argument
829 string = date_format(format, format_len, t, localtime); in php_format_date()
2832 size_t format_len; in PHP_FUNCTION() local
2834 …s(ZEND_NUM_ARGS(), getThis(), "Os", &object, date_ce_interface, &format, &format_len) == FAILURE) { in PHP_FUNCTION()
2839 RETURN_STR(date_format(format, format_len, dateobj->time, dateobj->time->is_localtime)); in PHP_FUNCTION()
4068 static zend_string *date_interval_format(char *format, size_t format_len, timelib_rel_time *t) in date_interval_format() argument
4075 if (!format_len) { in date_interval_format()
4079 for (i = 0; i < format_len; i++) { in date_interval_format()
4143 size_t format_len; in PHP_FUNCTION() local
4145 …rs(ZEND_NUM_ARGS(), getThis(), "Os", &object, date_ce_interval, &format, &format_len) == FAILURE) { in PHP_FUNCTION()
4151 RETURN_STR(date_interval_format(format, format_len, diobj->diff)); in PHP_FUNCTION()