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()
59 fetch_datefmt(dfo)->getTimeZone().getID(res); in PHP_FUNCTION()
61 &Z_STRLEN_P(return_value), &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()
129 INTL_DATA_ERROR_P(dfo), "datefmt_set_timezone" TSRMLS_CC); in PHP_FUNCTION()
134 fetch_datefmt(dfo)->adoptTimeZone(timezone); in PHP_FUNCTION()
155 if (dfo->calendar == -1) { in PHP_FUNCTION()
160 RETURN_LONG(dfo->calendar); in PHP_FUNCTION()
183 const Calendar *cal = fetch_datefmt(dfo)->getCalendar(); in PHP_FUNCTION()
190 intl_errors_set(INTL_DATA_ERROR_P(dfo), U_MEMORY_ALLOCATION_ERROR, in PHP_FUNCTION()
222 Locale locale = Locale::createFromName(dfo->requested_locale); in PHP_FUNCTION()
228 "datefmt_set_calendar", INTL_DATA_ERROR_P(dfo), cal, cal_type, in PHP_FUNCTION()
235 TimeZone *old_timezone = fetch_datefmt(dfo)->getTimeZone().clone(); in PHP_FUNCTION()
237 intl_errors_set(INTL_DATA_ERROR_P(dfo), U_MEMORY_ALLOCATION_ERROR, in PHP_FUNCTION()
247 intl_errors_set(INTL_DATA_ERROR_P(dfo), U_MEMORY_ALLOCATION_ERROR, in PHP_FUNCTION()
254 fetch_datefmt(dfo)->adoptCalendar(cal); in PHP_FUNCTION()
256 dfo->calendar = cal_type; in PHP_FUNCTION()