Lines Matching refs:dfo

36 static inline DateFormat *fetch_datefmt(IntlDateFormatter_object *dfo) {  in fetch_datefmt()  argument
37 return (DateFormat *)dfo->datef_data.udatf; in fetch_datefmt()
60 fetch_datefmt(dfo)->getTimeZone().getID(res); in PHP_FUNCTION()
61 u8str = intl_charFromString(res, &INTL_DATA_ERROR_CODE(dfo)); in PHP_FUNCTION()
62 INTL_METHOD_CHECK_STATUS(dfo, "Could not convert time zone id to UTF-8"); in PHP_FUNCTION()
85 const TimeZone& tz = fetch_datefmt(dfo)->getTimeZone(); in PHP_FUNCTION()
88 intl_errors_set(INTL_DATA_ERROR_P(dfo), U_MEMORY_ALLOCATION_ERROR, in PHP_FUNCTION()
116 INTL_DATA_ERROR_P(dfo), "datefmt_set_timezone"); in PHP_FUNCTION()
121 fetch_datefmt(dfo)->adoptTimeZone(timezone); in PHP_FUNCTION()
142 if (dfo->calendar == -1) { in PHP_FUNCTION()
147 RETURN_LONG(dfo->calendar); in PHP_FUNCTION()
170 const Calendar *cal = fetch_datefmt(dfo)->getCalendar(); in PHP_FUNCTION()
177 intl_errors_set(INTL_DATA_ERROR_P(dfo), U_MEMORY_ALLOCATION_ERROR, in PHP_FUNCTION()
209 Locale locale = Locale::createFromName(dfo->requested_locale); in PHP_FUNCTION()
215 "datefmt_set_calendar", INTL_DATA_ERROR_P(dfo), cal, cal_type, in PHP_FUNCTION()
222 TimeZone *old_timezone = fetch_datefmt(dfo)->getTimeZone().clone(); in PHP_FUNCTION()
224 intl_errors_set(INTL_DATA_ERROR_P(dfo), U_MEMORY_ALLOCATION_ERROR, in PHP_FUNCTION()
234 intl_errors_set(INTL_DATA_ERROR_P(dfo), U_MEMORY_ALLOCATION_ERROR, in PHP_FUNCTION()
241 fetch_datefmt(dfo)->adoptCalendar(cal); in PHP_FUNCTION()
243 dfo->calendar = cal_type; in PHP_FUNCTION()