Lines Matching refs:dfo
59 IntlDateFormatter_object* dfo; in datefmt_ctor() local
81 if (DATE_FORMAT_OBJECT(dfo) != NULL) { in datefmt_ctor()
82 intl_errors_set(INTL_DATA_ERROR_P(dfo), U_ILLEGAL_ARGUMENT_ERROR, in datefmt_ctor()
89 INTL_DATA_ERROR_P(dfo), calendar, calendar_type, in datefmt_ctor()
101 INTL_DATA_ERROR_P(dfo), "datefmt_create" TSRMLS_CC); in datefmt_ctor()
110 pattern_str, pattern_str_len, &INTL_DATA_ERROR_CODE(dfo)); in datefmt_ctor()
111 if (U_FAILURE(INTL_DATA_ERROR_CODE(dfo))) { in datefmt_ctor()
113 intl_error_set(NULL, INTL_DATA_ERROR_CODE(dfo), "datefmt_create: " in datefmt_ctor()
120 DATE_FORMAT_OBJECT(dfo) = udat_open(UDAT_IGNORE, UDAT_IGNORE, in datefmt_ctor()
122 &INTL_DATA_ERROR_CODE(dfo)); in datefmt_ctor()
124 DATE_FORMAT_OBJECT(dfo) = udat_open((UDateFormatStyle)time_type, in datefmt_ctor()
126 slength, &INTL_DATA_ERROR_CODE(dfo)); in datefmt_ctor()
129 if (!U_FAILURE(INTL_DATA_ERROR_CODE(dfo))) { in datefmt_ctor()
130 DateFormat *df = (DateFormat*)DATE_FORMAT_OBJECT(dfo); in datefmt_ctor()
142 intl_error_set(NULL, INTL_DATA_ERROR_CODE(dfo), "datefmt_create: date " in datefmt_ctor()
148 dfo->date_type = date_type; in datefmt_ctor()
149 dfo->time_type = time_type; in datefmt_ctor()
150 dfo->calendar = calendar_type; in datefmt_ctor()
151 dfo->requested_locale = estrdup(locale_str); in datefmt_ctor()
157 if (timezone != NULL && DATE_FORMAT_OBJECT(dfo) == NULL) { in datefmt_ctor()