dfo                85 ext/intl/dateformat/dateformat.c 	dfo = Z_INTL_DATEFORMATTER_P( object );
dfo                88 ext/intl/dateformat/dateformat.c 	RETURN_LONG( INTL_DATA_ERROR_CODE(dfo) );
dfo               112 ext/intl/dateformat/dateformat.c 	dfo = Z_INTL_DATEFORMATTER_P( object );
dfo               115 ext/intl/dateformat/dateformat.c 	message = intl_error_get_message( INTL_DATA_ERROR_P(dfo) );
dfo                49 ext/intl/dateformat/dateformat_attr.c 	INTL_METHOD_CHECK_STATUS(dfo, "Error getting formatter datetype." );
dfo                51 ext/intl/dateformat/dateformat_attr.c 	RETURN_LONG(dfo->date_type );
dfo                75 ext/intl/dateformat/dateformat_attr.c 	INTL_METHOD_CHECK_STATUS(dfo, "Error getting formatter timetype." );
dfo                77 ext/intl/dateformat/dateformat_attr.c 	RETURN_LONG(dfo->time_type );
dfo               106 ext/intl/dateformat/dateformat_attr.c 	length = udat_toPattern(DATE_FORMAT_OBJECT(dfo), is_pattern_localized, value, length, &INTL_DATA_ERROR_CODE(dfo));
dfo               107 ext/intl/dateformat/dateformat_attr.c 	if(INTL_DATA_ERROR_CODE(dfo) == U_BUFFER_OVERFLOW_ERROR && length >= USIZE( value_buf )) {
dfo               109 ext/intl/dateformat/dateformat_attr.c 		INTL_DATA_ERROR_CODE(dfo) = U_ZERO_ERROR;
dfo               111 ext/intl/dateformat/dateformat_attr.c 		length = udat_toPattern(DATE_FORMAT_OBJECT(dfo), is_pattern_localized, value, length, &INTL_DATA_ERROR_CODE(dfo) );
dfo               112 ext/intl/dateformat/dateformat_attr.c 		if(U_FAILURE(INTL_DATA_ERROR_CODE(dfo))) {
dfo               117 ext/intl/dateformat/dateformat_attr.c 	INTL_METHOD_CHECK_STATUS(dfo, "Error getting formatter pattern" );
dfo               119 ext/intl/dateformat/dateformat_attr.c 	INTL_METHOD_RETVAL_UTF8( dfo, value, length, ( value != value_buf ) );
dfo               151 ext/intl/dateformat/dateformat_attr.c 	intl_convert_utf8_to_utf16(&svalue, &slength, value, value_len, &INTL_DATA_ERROR_CODE(dfo));
dfo               152 ext/intl/dateformat/dateformat_attr.c 	INTL_METHOD_CHECK_STATUS(dfo, "Error converting pattern to UTF-16" );
dfo               154 ext/intl/dateformat/dateformat_attr.c 	udat_applyPattern(DATE_FORMAT_OBJECT(dfo), (UBool)is_pattern_localized, svalue, slength);
dfo               159 ext/intl/dateformat/dateformat_attr.c 	INTL_METHOD_CHECK_STATUS(dfo, "Error setting symbol value");
dfo               190 ext/intl/dateformat/dateformat_attr.c 	loc = (char *)udat_getLocaleByType(DATE_FORMAT_OBJECT(dfo), loc_type,&INTL_DATA_ERROR_CODE(dfo));
dfo               191 ext/intl/dateformat/dateformat_attr.c 	INTL_METHOD_CHECK_STATUS(dfo, "Error getting locale");
dfo               219 ext/intl/dateformat/dateformat_attr.c 	RETVAL_BOOL(udat_isLenient(DATE_FORMAT_OBJECT(dfo)));
dfo               246 ext/intl/dateformat/dateformat_attr.c 	udat_setLenient(DATE_FORMAT_OBJECT(dfo), (UBool)isLenient );
dfo                47 ext/intl/dateformat/dateformat_class.c 	IntlDateFormatter_object* dfo = php_intl_dateformatter_fetch_object(object);
dfo                49 ext/intl/dateformat/dateformat_class.c 	zend_object_std_dtor( &dfo->zo );
dfo                51 ext/intl/dateformat/dateformat_class.c 	if (dfo->requested_locale) {
dfo                52 ext/intl/dateformat/dateformat_class.c 		efree( dfo->requested_locale );
dfo                55 ext/intl/dateformat/dateformat_class.c 	dateformat_data_free( &dfo->datef_data );
dfo                83 ext/intl/dateformat/dateformat_class.c 	IntlDateFormatter_object *dfo, *new_dfo;
dfo                91 ext/intl/dateformat/dateformat_class.c 	zend_objects_clone_members(&new_dfo->zo, &dfo->zo);
dfo                93 ext/intl/dateformat/dateformat_class.c 	if (dfo->datef_data.udatf != NULL) {
dfo                94 ext/intl/dateformat/dateformat_class.c 		DATE_FORMAT_OBJECT(new_dfo) = udat_clone(DATE_FORMAT_OBJECT(dfo),  &INTL_DATA_ERROR_CODE(dfo));
dfo                95 ext/intl/dateformat/dateformat_class.c 		if (U_FAILURE(INTL_DATA_ERROR_CODE(dfo))) {
dfo                97 ext/intl/dateformat/dateformat_class.c 			intl_errors_set(INTL_DATA_ERROR_P(dfo), INTL_DATA_ERROR_CODE(dfo),
dfo                45 ext/intl/dateformat/dateformat_class.h #define DATE_FORMAT_METHOD_INIT_VARS	INTL_METHOD_INIT_VARS(IntlDateFormatter, dfo)
dfo                46 ext/intl/dateformat/dateformat_class.h #define DATE_FORMAT_METHOD_FETCH_OBJECT_NO_CHECK	INTL_METHOD_FETCH_OBJECT(INTL_DATEFORMATTER, dfo)
dfo                49 ext/intl/dateformat/dateformat_class.h 	if (dfo->datef_data.udatf == NULL)				\
dfo                51 ext/intl/dateformat/dateformat_class.h 		intl_errors_set(&dfo->datef_data.error, U_ILLEGAL_ARGUMENT_ERROR, "Found unconstructed IntlDateFormatter", 0); \
dfo                55 ext/intl/dateformat/dateformat_class.h #define DATE_FORMAT_OBJECT(dfo)		(dfo)->datef_data.udatf
dfo                35 ext/intl/dateformat/dateformat_format.c static void internal_format(IntlDateFormatter_object *dfo, UDate timestamp, zval *return_value)
dfo                40 ext/intl/dateformat/dateformat_format.c 	resultlengthneeded=udat_format( DATE_FORMAT_OBJECT(dfo), timestamp, NULL, resultlengthneeded, NULL, &INTL_DATA_ERROR_CODE(dfo));
dfo                41 ext/intl/dateformat/dateformat_format.c 	if(INTL_DATA_ERROR_CODE(dfo)==U_BUFFER_OVERFLOW_ERROR)
dfo                43 ext/intl/dateformat/dateformat_format.c 		INTL_DATA_ERROR_CODE(dfo)=U_ZERO_ERROR;
dfo                45 ext/intl/dateformat/dateformat_format.c 		udat_format( DATE_FORMAT_OBJECT(dfo), timestamp, formatted, resultlengthneeded, NULL, &INTL_DATA_ERROR_CODE(dfo));
dfo                48 ext/intl/dateformat/dateformat_format.c 	if (formatted && U_FAILURE( INTL_DATA_ERROR_CODE(dfo) ) ) {
dfo                52 ext/intl/dateformat/dateformat_format.c 	INTL_METHOD_CHECK_STATUS( dfo, "Date formatting failed" );
dfo                53 ext/intl/dateformat/dateformat_format.c 	INTL_METHOD_RETVAL_UTF8( dfo, formatted, resultlengthneeded, 1 );
dfo                62 ext/intl/dateformat/dateformat_format.c static int32_t internal_get_arr_ele(IntlDateFormatter_object *dfo,
dfo               100 ext/intl/dateformat/dateformat_format.c static UDate internal_get_timestamp(IntlDateFormatter_object *dfo,
dfo               111 ext/intl/dateformat/dateformat_format.c 	intl_error	*err = &dfo->datef_data.error;
dfo               114 ext/intl/dateformat/dateformat_format.c 	internal_get_arr_ele(dfo, hash_arr, (elem), err)
dfo               128 ext/intl/dateformat/dateformat_format.c 	pcal = ucal_clone(udat_getCalendar(DATE_FORMAT_OBJECT(dfo)),
dfo               129 ext/intl/dateformat/dateformat_format.c 			&INTL_DATA_ERROR_CODE(dfo));
dfo               131 ext/intl/dateformat/dateformat_format.c 	if (INTL_DATA_ERROR_CODE(dfo) != U_ZERO_ERROR) {
dfo               132 ext/intl/dateformat/dateformat_format.c 		intl_errors_set(err, INTL_DATA_ERROR_CODE(dfo), "datefmt_format: "
dfo               138 ext/intl/dateformat/dateformat_format.c 	ucal_setDateTime(pcal, year, month, mday, hour, minute, second, &INTL_DATA_ERROR_CODE(dfo));
dfo               142 ext/intl/dateformat/dateformat_format.c 	result = ucal_getMillis(pcal, &INTL_DATA_ERROR_CODE(dfo));
dfo               176 ext/intl/dateformat/dateformat_format.c 		timestamp = internal_get_timestamp(dfo, hash_arr);
dfo               177 ext/intl/dateformat/dateformat_format.c 		INTL_METHOD_CHECK_STATUS(dfo, "datefmt_format: date formatting failed")
dfo               179 ext/intl/dateformat/dateformat_format.c 		timestamp = intl_zval_to_millis(zarg, INTL_DATA_ERROR_P(dfo),
dfo               181 ext/intl/dateformat/dateformat_format.c 		if (U_FAILURE(INTL_DATA_ERROR_CODE(dfo))) {
dfo               186 ext/intl/dateformat/dateformat_format.c 	internal_format( dfo, timestamp, return_value);
dfo                37 ext/intl/dateformat/dateformat_parse.c static void internal_parse_to_timestamp(IntlDateFormatter_object *dfo, char* text_to_parse, size_t text_len, int32_t *parse_pos, zval *return_value)
dfo                45 ext/intl/dateformat/dateformat_parse.c 	intl_convert_utf8_to_utf16(&text_utf16, &text_utf16_len, text_to_parse, text_len, &INTL_DATA_ERROR_CODE(dfo));
dfo                46 ext/intl/dateformat/dateformat_parse.c 	INTL_METHOD_CHECK_STATUS(dfo, "Error converting timezone to UTF-16" );
dfo                48 ext/intl/dateformat/dateformat_parse.c 	timestamp = udat_parse( DATE_FORMAT_OBJECT(dfo), text_utf16, text_utf16_len, parse_pos, &INTL_DATA_ERROR_CODE(dfo));
dfo                53 ext/intl/dateformat/dateformat_parse.c 	INTL_METHOD_CHECK_STATUS( dfo, "Date parsing failed" );
dfo                65 ext/intl/dateformat/dateformat_parse.c static void add_to_localtime_arr( IntlDateFormatter_object *dfo, zval* return_value, const UCalendar *parsed_calendar, zend_long calendar_field, char* key_name)
dfo                67 ext/intl/dateformat/dateformat_parse.c 	zend_long calendar_field_val = ucal_get( parsed_calendar, calendar_field, &INTL_DATA_ERROR_CODE(dfo));
dfo                68 ext/intl/dateformat/dateformat_parse.c 	INTL_METHOD_CHECK_STATUS( dfo, "Date parsing - localtime failed : could not get a field from calendar" );
dfo                84 ext/intl/dateformat/dateformat_parse.c static void internal_parse_to_localtime(IntlDateFormatter_object *dfo, char* text_to_parse, size_t text_len, int32_t *parse_pos, zval *return_value)
dfo                92 ext/intl/dateformat/dateformat_parse.c 	intl_convert_utf8_to_utf16(&text_utf16, &text_utf16_len, text_to_parse, text_len, &INTL_DATA_ERROR_CODE(dfo));
dfo                93 ext/intl/dateformat/dateformat_parse.c 	INTL_METHOD_CHECK_STATUS(dfo, "Error converting timezone to UTF-16" );
dfo                95 ext/intl/dateformat/dateformat_parse.c 	parsed_calendar = (UCalendar *)udat_getCalendar(DATE_FORMAT_OBJECT(dfo));
dfo                96 ext/intl/dateformat/dateformat_parse.c 	udat_parseCalendar( DATE_FORMAT_OBJECT(dfo), parsed_calendar, text_utf16, text_utf16_len, parse_pos, &INTL_DATA_ERROR_CODE(dfo));
dfo               102 ext/intl/dateformat/dateformat_parse.c 	INTL_METHOD_CHECK_STATUS( dfo, "Date parsing failed" );
dfo               107 ext/intl/dateformat/dateformat_parse.c 	add_to_localtime_arr( dfo, return_value, parsed_calendar, UCAL_SECOND, CALENDAR_SEC);
dfo               108 ext/intl/dateformat/dateformat_parse.c 	add_to_localtime_arr( dfo, return_value, parsed_calendar, UCAL_MINUTE, CALENDAR_MIN);
dfo               109 ext/intl/dateformat/dateformat_parse.c 	add_to_localtime_arr( dfo, return_value, parsed_calendar, UCAL_HOUR_OF_DAY, CALENDAR_HOUR);
dfo               110 ext/intl/dateformat/dateformat_parse.c 	add_to_localtime_arr( dfo, return_value, parsed_calendar, UCAL_YEAR, CALENDAR_YEAR);
dfo               111 ext/intl/dateformat/dateformat_parse.c 	add_to_localtime_arr( dfo, return_value, parsed_calendar, UCAL_DAY_OF_MONTH, CALENDAR_MDAY);
dfo               112 ext/intl/dateformat/dateformat_parse.c 	add_to_localtime_arr( dfo, return_value, parsed_calendar, UCAL_DAY_OF_WEEK, CALENDAR_WDAY);
dfo               113 ext/intl/dateformat/dateformat_parse.c 	add_to_localtime_arr( dfo, return_value, parsed_calendar, UCAL_DAY_OF_YEAR, CALENDAR_YDAY);
dfo               114 ext/intl/dateformat/dateformat_parse.c 	add_to_localtime_arr( dfo, return_value, parsed_calendar, UCAL_MONTH, CALENDAR_MON);
dfo               117 ext/intl/dateformat/dateformat_parse.c 	isInDST = ucal_inDaylightTime(parsed_calendar	, &INTL_DATA_ERROR_CODE(dfo));
dfo               118 ext/intl/dateformat/dateformat_parse.c 	INTL_METHOD_CHECK_STATUS( dfo, "Date parsing - localtime failed : while checking if currently in DST." );
dfo               155 ext/intl/dateformat/dateformat_parse.c 	internal_parse_to_timestamp( dfo, text_to_parse, text_len, z_parse_pos?&parse_pos:NULL, return_value);
dfo               194 ext/intl/dateformat/dateformat_parse.c 	internal_parse_to_localtime( dfo, text_to_parse, text_len, z_parse_pos?&parse_pos:NULL, return_value);