Lines Matching refs:dfo
37 static void internal_parse_to_timestamp(IntlDateFormatter_object *dfo, char* text_to_parse, int32_t… in internal_parse_to_timestamp() argument
45 …t_utf8_to_utf16(&text_utf16, &text_utf16_len, text_to_parse, text_len, &INTL_DATA_ERROR_CODE(dfo)); in internal_parse_to_timestamp()
46 INTL_METHOD_CHECK_STATUS(dfo, "Error converting timezone to UTF-16" ); in internal_parse_to_timestamp()
48 …mestamp = udat_parse( DATE_FORMAT_OBJECT(dfo), text_utf16, text_utf16_len, parse_pos, &INTL_DATA_E… in internal_parse_to_timestamp()
53 INTL_METHOD_CHECK_STATUS( dfo, "Date parsing failed" ); in internal_parse_to_timestamp()
65 static void add_to_localtime_arr( IntlDateFormatter_object *dfo, zval* return_value, UCalendar pars… in add_to_localtime_arr() argument
67 long calendar_field_val = ucal_get( parsed_calendar, calendar_field, &INTL_DATA_ERROR_CODE(dfo)); in add_to_localtime_arr()
68 …INTL_METHOD_CHECK_STATUS( dfo, "Date parsing - localtime failed : could not get a field from calen… in add_to_localtime_arr()
84 static void internal_parse_to_localtime(IntlDateFormatter_object *dfo, char* text_to_parse, int32_t… in internal_parse_to_localtime() argument
92 …t_utf8_to_utf16(&text_utf16, &text_utf16_len, text_to_parse, text_len, &INTL_DATA_ERROR_CODE(dfo)); in internal_parse_to_localtime()
93 INTL_METHOD_CHECK_STATUS(dfo, "Error converting timezone to UTF-16" ); in internal_parse_to_localtime()
95 parsed_calendar = udat_getCalendar(DATE_FORMAT_OBJECT(dfo)); in internal_parse_to_localtime()
96 …arseCalendar( DATE_FORMAT_OBJECT(dfo), parsed_calendar, text_utf16, text_utf16_len, parse_pos, &IN… in internal_parse_to_localtime()
102 INTL_METHOD_CHECK_STATUS( dfo, "Date parsing failed" ); in internal_parse_to_localtime()
107 add_to_localtime_arr( dfo, return_value, parsed_calendar, UCAL_SECOND, CALENDAR_SEC TSRMLS_CC); in internal_parse_to_localtime()
108 add_to_localtime_arr( dfo, return_value, parsed_calendar, UCAL_MINUTE, CALENDAR_MIN TSRMLS_CC); in internal_parse_to_localtime()
109 …add_to_localtime_arr( dfo, return_value, parsed_calendar, UCAL_HOUR_OF_DAY, CALENDAR_HOUR TSRMLS_C… in internal_parse_to_localtime()
110 add_to_localtime_arr( dfo, return_value, parsed_calendar, UCAL_YEAR, CALENDAR_YEAR TSRMLS_CC); in internal_parse_to_localtime()
111 …add_to_localtime_arr( dfo, return_value, parsed_calendar, UCAL_DAY_OF_MONTH, CALENDAR_MDAY TSRMLS_… in internal_parse_to_localtime()
112 …add_to_localtime_arr( dfo, return_value, parsed_calendar, UCAL_DAY_OF_WEEK, CALENDAR_WDAY TSRMLS_C… in internal_parse_to_localtime()
113 …add_to_localtime_arr( dfo, return_value, parsed_calendar, UCAL_DAY_OF_YEAR, CALENDAR_YDAY TSRMLS_C… in internal_parse_to_localtime()
114 add_to_localtime_arr( dfo, return_value, parsed_calendar, UCAL_MONTH, CALENDAR_MON TSRMLS_CC); in internal_parse_to_localtime()
117 isInDST = ucal_inDaylightTime(parsed_calendar , &INTL_DATA_ERROR_CODE(dfo)); in internal_parse_to_localtime()
118 …INTL_METHOD_CHECK_STATUS( dfo, "Date parsing - localtime failed : while checking if currently in D… in internal_parse_to_localtime()
154 …internal_parse_to_timestamp( dfo, text_to_parse, text_len, z_parse_pos?&parse_pos:NULL, return_val… in PHP_FUNCTION()
192 …internal_parse_to_localtime( dfo, text_to_parse, text_len, z_parse_pos?&parse_pos:NULL, return_val… in PHP_FUNCTION()