Lines Matching refs:dfo

33 static inline DateFormat *fetch_datefmt(IntlDateFormatter_object *dfo) {  in fetch_datefmt()  argument
34 return (DateFormat *)dfo->datef_data.udatf; in fetch_datefmt()
51 fetch_datefmt(dfo)->getTimeZone().getID(res); in PHP_FUNCTION()
52 u8str = intl_charFromString(res, &INTL_DATA_ERROR_CODE(dfo)); in PHP_FUNCTION()
53 INTL_METHOD_CHECK_STATUS(dfo, "Could not convert time zone id to UTF-8"); in PHP_FUNCTION()
70 const TimeZone& tz = fetch_datefmt(dfo)->getTimeZone(); in PHP_FUNCTION()
73 intl_errors_set(INTL_DATA_ERROR_P(dfo), U_MEMORY_ALLOCATION_ERROR, in PHP_FUNCTION()
98 INTL_DATA_ERROR_P(dfo), "datefmt_set_timezone"); in PHP_FUNCTION()
103 fetch_datefmt(dfo)->adoptTimeZone(timezone); in PHP_FUNCTION()
118 if (dfo->calendar == -1) { in PHP_FUNCTION()
123 RETURN_LONG(dfo->calendar); in PHP_FUNCTION()
139 const Calendar *cal = fetch_datefmt(dfo)->getCalendar(); in PHP_FUNCTION()
146 intl_errors_set(INTL_DATA_ERROR_P(dfo), U_MEMORY_ALLOCATION_ERROR, in PHP_FUNCTION()
182 Locale locale = Locale::createFromName(dfo->requested_locale); in PHP_FUNCTION()
188 "datefmt_set_calendar", INTL_DATA_ERROR_P(dfo), cal, cal_type, cal_owned) == FAILURE in PHP_FUNCTION()
195 TimeZone *old_timezone = fetch_datefmt(dfo)->getTimeZone().clone(); in PHP_FUNCTION()
197 intl_errors_set(INTL_DATA_ERROR_P(dfo), U_MEMORY_ALLOCATION_ERROR, in PHP_FUNCTION()
207 intl_errors_set(INTL_DATA_ERROR_P(dfo), U_MEMORY_ALLOCATION_ERROR, in PHP_FUNCTION()
214 fetch_datefmt(dfo)->adoptCalendar(cal); in PHP_FUNCTION()
216 dfo->calendar = cal_type; in PHP_FUNCTION()