Lines Matching refs:format_len
676 static zend_string *date_format(const char *format, size_t format_len, timelib_time *t, bool localt… in date_format() argument
687 if (!format_len) { in date_format()
716 for (i = 0; i < format_len; i++) { in date_format()
832 case '\\': if (i < format_len) i++; ZEND_FALLTHROUGH; in date_format()
848 PHPAPI zend_string *php_format_date_obj(const char *format, size_t format_len, php_date_obj *date_o… in php_format_date_obj() argument
854 return date_format(format, format_len, date_obj->time, date_obj->time->is_localtime); in php_format_date_obj()
877 PHPAPI zend_string *php_format_date(const char *format, size_t format_len, time_t ts, bool localtim… in php_format_date() argument
895 string = date_format(format, format_len, t, localtime); in php_format_date()
3212 size_t format_len; in PHP_FUNCTION() local
3214 …s(ZEND_NUM_ARGS(), getThis(), "Os", &object, date_ce_interface, &format, &format_len) == FAILURE) { in PHP_FUNCTION()
3219 RETURN_STR(date_format(format, format_len, dateobj->time, dateobj->time->is_localtime)); in PHP_FUNCTION()
4930 static zend_string *date_interval_format(char *format, size_t format_len, timelib_rel_time *t) in date_interval_format() argument
4937 if (!format_len) { in date_interval_format()
4941 for (i = 0; i < format_len; i++) { in date_interval_format()
5005 size_t format_len; in PHP_FUNCTION() local
5007 …rs(ZEND_NUM_ARGS(), getThis(), "Os", &object, date_ce_interval, &format, &format_len) == FAILURE) { in PHP_FUNCTION()
5013 RETURN_STR(date_interval_format(format, format_len, diobj->diff)); in PHP_FUNCTION()