Lines Matching refs:time_str

2399 PHPAPI bool php_date_initialize(php_date_obj *dateobj, const char *time_str, size_t time_str_len, c…  in php_date_initialize()  argument
2416 time_str = ""; in php_date_initialize()
2418 …dateobj->time = timelib_parse_from_format(format, time_str, time_str_len, &err, DATE_TIMEZONEDB, p… in php_date_initialize()
2421 time_str = "now"; in php_date_initialize()
2424 …dateobj->time = timelib_strtotime(time_str, time_str_len, &err, DATE_TIMEZONEDB, php_date_parse_tz… in php_date_initialize()
2433 …alformed_string_exception, 0, "Failed to parse time string (%s) at position %d (%c): %s", time_str, in php_date_initialize()
2490 && memcmp(time_str, "now", sizeof("now") - 1) == 0) { in php_date_initialize()
2569 char *time_str = NULL; in PHP_FUNCTION() local
2574 Z_PARAM_STRING(time_str, time_str_len) in PHP_FUNCTION()
2579 …if (!php_date_initialize(Z_PHPDATE_P(return_value), time_str, time_str_len, NULL, timezone_object,… in PHP_FUNCTION()
2590 char *time_str = NULL; in PHP_FUNCTION() local
2595 Z_PARAM_STRING(time_str, time_str_len) in PHP_FUNCTION()
2600 …if (!php_date_initialize(Z_PHPDATE_P(return_value), time_str, time_str_len, NULL, timezone_object,… in PHP_FUNCTION()
2611 char *time_str = NULL, *format_str = NULL; in PHP_FUNCTION() local
2616 Z_PARAM_PATH(time_str, time_str_len) in PHP_FUNCTION()
2622 …if (!php_date_initialize(Z_PHPDATE_P(return_value), time_str, time_str_len, format_str, timezone_o… in PHP_FUNCTION()
2633 char *time_str = NULL, *format_str = NULL; in PHP_FUNCTION() local
2638 Z_PARAM_PATH(time_str, time_str_len) in PHP_FUNCTION()
2644 …if (!php_date_initialize(Z_PHPDATE_P(return_value), time_str, time_str_len, format_str, timezone_o… in PHP_FUNCTION()
2655 char *time_str = NULL; in PHP_METHOD() local
2660 Z_PARAM_STRING(time_str, time_str_len) in PHP_METHOD()
2664 …php_date_initialize(Z_PHPDATE_P(ZEND_THIS), time_str, time_str_len, NULL, timezone_object, PHP_DAT… in PHP_METHOD()
2672 char *time_str = NULL; in PHP_METHOD() local
2677 Z_PARAM_STRING(time_str, time_str_len) in PHP_METHOD()
2681 …php_date_initialize(Z_PHPDATE_P(ZEND_THIS), time_str, time_str_len, NULL, timezone_object, PHP_DAT… in PHP_METHOD()
4854 … date_interval_instantiate_from_time(zval *return_value, timelib_time *time, zend_string *time_str) in date_interval_instantiate_from_time() argument
4864 diobj->date_string = zend_string_copy(time_str); in date_interval_instantiate_from_time()
4870 zend_string *time_str = NULL; in PHP_FUNCTION() local
4875 Z_PARAM_STR(time_str) in PHP_FUNCTION()
4878 …time = timelib_strtotime(ZSTR_VAL(time_str), ZSTR_LEN(time_str), &err, DATE_TIMEZONEDB, php_date_p… in PHP_FUNCTION()
4881 …r_docref(NULL, E_WARNING, "Unknown or bad format (%s) at position %d (%c): %s", ZSTR_VAL(time_str), in PHP_FUNCTION()
4888 …php_error_docref(NULL, E_WARNING, "String '%s' contains non-relative elements", ZSTR_VAL(time_str)… in PHP_FUNCTION()
4893 date_interval_instantiate_from_time(return_value, time, time_str); in PHP_FUNCTION()
4904 zend_string *time_str = NULL; in PHP_METHOD() local
4909 Z_PARAM_STR(time_str) in PHP_METHOD()
4912 …time = timelib_strtotime(ZSTR_VAL(time_str), ZSTR_LEN(time_str), &err, DATE_TIMEZONEDB, php_date_p… in PHP_METHOD()
4915 …nterval_string_exception, "Unknown or bad format (%s) at position %d (%c): %s", ZSTR_VAL(time_str), in PHP_METHOD()
4921 …ormed_interval_string_exception, "String '%s' contains non-relative elements", ZSTR_VAL(time_str)); in PHP_METHOD()
4925 date_interval_instantiate_from_time(return_value, time, time_str); in PHP_METHOD()