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()
120 if (dfo->calendar == -1) { in PHP_FUNCTION()
125 RETURN_LONG(dfo->calendar); in PHP_FUNCTION()
141 const Calendar *cal = fetch_datefmt(dfo)->getCalendar(); in PHP_FUNCTION()
148 intl_errors_set(INTL_DATA_ERROR_P(dfo), U_MEMORY_ALLOCATION_ERROR, in PHP_FUNCTION()
184 Locale locale = Locale::createFromName(dfo->requested_locale); in PHP_FUNCTION()
190 "datefmt_set_calendar", INTL_DATA_ERROR_P(dfo), cal, cal_type, cal_owned) == FAILURE in PHP_FUNCTION()
197 TimeZone *old_timezone = fetch_datefmt(dfo)->getTimeZone().clone(); in PHP_FUNCTION()
199 intl_errors_set(INTL_DATA_ERROR_P(dfo), U_MEMORY_ALLOCATION_ERROR, in PHP_FUNCTION()
209 intl_errors_set(INTL_DATA_ERROR_P(dfo), U_MEMORY_ALLOCATION_ERROR, in PHP_FUNCTION()
216 fetch_datefmt(dfo)->adoptCalendar(cal); in PHP_FUNCTION()
218 dfo->calendar = cal_type; in PHP_FUNCTION()