Lines Matching refs:dfo

69 	IntlDateFormatter_object* dfo;  in datefmt_ctor()  local
91 if (DATE_FORMAT_OBJECT(dfo) != NULL) { in datefmt_ctor()
92 …intl_errors_set(INTL_DATA_ERROR_P(dfo), U_ILLEGAL_ARGUMENT_ERROR, "datefmt_create: cannot call con… in datefmt_ctor()
122 INTL_DATA_ERROR_P(dfo), cal, calendar_type, calendar_owned) == FAILURE in datefmt_ctor()
133 INTL_DATA_ERROR_P(dfo), "datefmt_create"); in datefmt_ctor()
142 pattern_str, pattern_str_len, &INTL_DATA_ERROR_CODE(dfo)); in datefmt_ctor()
143 if (U_FAILURE(INTL_DATA_ERROR_CODE(dfo))) { in datefmt_ctor()
145 intl_error_set(NULL, INTL_DATA_ERROR_CODE(dfo), "datefmt_create: " in datefmt_ctor()
151 DATE_FORMAT_OBJECT(dfo) = udat_open((UDateFormatStyle)time_type, in datefmt_ctor()
153 slength, &INTL_DATA_ERROR_CODE(dfo)); in datefmt_ctor()
156 udat_applyPattern(DATE_FORMAT_OBJECT(dfo), true, svalue, slength); in datefmt_ctor()
157 if (U_FAILURE(INTL_DATA_ERROR_CODE(dfo))) { in datefmt_ctor()
158 intl_error_set(NULL, INTL_DATA_ERROR_CODE(dfo), "datefmt_create: error applying pattern", 0); in datefmt_ctor()
163 if (!U_FAILURE(INTL_DATA_ERROR_CODE(dfo))) { in datefmt_ctor()
164 DateFormat *df = (DateFormat*)DATE_FORMAT_OBJECT(dfo); in datefmt_ctor()
176 intl_error_set(NULL, INTL_DATA_ERROR_CODE(dfo), "datefmt_create: date " in datefmt_ctor()
182 dfo->date_type = date_type; in datefmt_ctor()
183 dfo->time_type = time_type; in datefmt_ctor()
184 dfo->calendar = calendar_type; in datefmt_ctor()
185 dfo->requested_locale = estrdup(locale_str); in datefmt_ctor()
191 if (timezone != NULL && DATE_FORMAT_OBJECT(dfo) == NULL) { in datefmt_ctor()