| decimfmt.h | | decimfmt.h | |
| | | | |
| skipping to change at line 129 | | skipping to change at line 129 | |
| * UErrorCode success = U_ZERO_ERROR; | | * UErrorCode success = U_ZERO_ERROR; | |
| * UnicodeString str; | | * UnicodeString str; | |
| * Formattable fmtable; | | * Formattable fmtable; | |
| * for (int j=NumberFormat::kNumberStyle; | | * for (int j=NumberFormat::kNumberStyle; | |
| * j<=NumberFormat::kPluralCurrencyStyle; | | * j<=NumberFormat::kPluralCurrencyStyle; | |
| * ++j) { | | * ++j) { | |
| * NumberFormat* format = NumberFormat::createInstance(locale, j, succe
ss); | | * NumberFormat* format = NumberFormat::createInstance(locale, j, succe
ss); | |
| * str.remove(); | | * str.remove(); | |
| * cout << "format result " << form->format(myNumber, str) << endl; | | * cout << "format result " << form->format(myNumber, str) << endl; | |
| * format->parse(form->format(myNumber, str), fmtable, success); | | * format->parse(form->format(myNumber, str), fmtable, success); | |
|
| * }</pre></blockquote> | | * }</pre> | |
| * | | * | |
| * | | * | |
| * <p><strong>Patterns</strong> | | * <p><strong>Patterns</strong> | |
| * | | * | |
| * <p>A DecimalFormat consists of a <em>pattern</em> and a set of | | * <p>A DecimalFormat consists of a <em>pattern</em> and a set of | |
| * <em>symbols</em>. The pattern may be set directly using | | * <em>symbols</em>. The pattern may be set directly using | |
| * applyPattern(), or indirectly using other API methods which | | * applyPattern(), or indirectly using other API methods which | |
| * manipulate aspects of the pattern, such as the minimum number of integer | | * manipulate aspects of the pattern, such as the minimum number of integer | |
| * digits. The symbols are stored in a DecimalFormatSymbols | | * digits. The symbols are stored in a DecimalFormatSymbols | |
| * object. When using the NumberFormat factory methods, the | | * object. When using the NumberFormat factory methods, the | |
| | | | |
| skipping to change at line 826 | | skipping to change at line 826 | |
| /** | | /** | |
| * Return true if the given Format objects are semantically equal. | | * Return true if the given Format objects are semantically equal. | |
| * Objects of different subclasses are considered unequal. | | * Objects of different subclasses are considered unequal. | |
| * | | * | |
| * @param other the object to be compared with. | | * @param other the object to be compared with. | |
| * @return true if the given Format objects are semantically eq
ual. | | * @return true if the given Format objects are semantically eq
ual. | |
| * @stable ICU 2.0 | | * @stable ICU 2.0 | |
| */ | | */ | |
| virtual UBool operator==(const Format& other) const; | | virtual UBool operator==(const Format& other) const; | |
| | | | |
|
| | | using NumberFormat::format; | |
| | | | |
| /** | | /** | |
| * Format a double or long number using base-10 representation. | | * Format a double or long number using base-10 representation. | |
| * | | * | |
| * @param number The value to be formatted. | | * @param number The value to be formatted. | |
| * @param appendTo Output parameter to receive result. | | * @param appendTo Output parameter to receive result. | |
| * Result is appended to existing contents. | | * Result is appended to existing contents. | |
| * @param pos On input: an alignment field, if desired. | | * @param pos On input: an alignment field, if desired. | |
| * On output: the offsets of the alignment field. | | * On output: the offsets of the alignment field. | |
| * @return Reference to 'appendTo' parameter. | | * @return Reference to 'appendTo' parameter. | |
| * @stable ICU 2.0 | | * @stable ICU 2.0 | |
|
| */ | | */ | |
| virtual UnicodeString& format(double number, | | virtual UnicodeString& format(double number, | |
| UnicodeString& appendTo, | | UnicodeString& appendTo, | |
| FieldPosition& pos) const; | | FieldPosition& pos) const; | |
| | | | |
| /** | | /** | |
| * Format a double or long number using base-10 representation. | | * Format a double or long number using base-10 representation. | |
| * | | * | |
| * @param number The value to be formatted. | | * @param number The value to be formatted. | |
| * @param appendTo Output parameter to receive result. | | * @param appendTo Output parameter to receive result. | |
| * Result is appended to existing contents. | | * Result is appended to existing contents. | |
| * @param posIter On return, can be used to iterate over positions | | * @param posIter On return, can be used to iterate over positions | |
| * of fields generated by this format call. | | * of fields generated by this format call. | |
|
| | | * Can be NULL. | |
| * @param status Output param filled with success/failure status. | | * @param status Output param filled with success/failure status. | |
| * @return Reference to 'appendTo' parameter. | | * @return Reference to 'appendTo' parameter. | |
| * @draft 4.4 | | * @draft 4.4 | |
| */ | | */ | |
| virtual UnicodeString& format(double number, | | virtual UnicodeString& format(double number, | |
| UnicodeString& appendTo, | | UnicodeString& appendTo, | |
|
| FieldPositionIterator& posIter, | | FieldPositionIterator* posIter, | |
| UErrorCode& status) const; | | UErrorCode& status) const; | |
| | | | |
| /** | | /** | |
| * Format a long number using base-10 representation. | | * Format a long number using base-10 representation. | |
| * | | * | |
| * @param number The value to be formatted. | | * @param number The value to be formatted. | |
| * @param appendTo Output parameter to receive result. | | * @param appendTo Output parameter to receive result. | |
| * Result is appended to existing contents. | | * Result is appended to existing contents. | |
| * @param pos On input: an alignment field, if desired. | | * @param pos On input: an alignment field, if desired. | |
| * On output: the offsets of the alignment field. | | * On output: the offsets of the alignment field. | |
| | | | |
| skipping to change at line 881 | | skipping to change at line 884 | |
| FieldPosition& pos) const; | | FieldPosition& pos) const; | |
| | | | |
| /** | | /** | |
| * Format a long number using base-10 representation. | | * Format a long number using base-10 representation. | |
| * | | * | |
| * @param number The value to be formatted. | | * @param number The value to be formatted. | |
| * @param appendTo Output parameter to receive result. | | * @param appendTo Output parameter to receive result. | |
| * Result is appended to existing contents. | | * Result is appended to existing contents. | |
| * @param posIter On return, can be used to iterate over positions | | * @param posIter On return, can be used to iterate over positions | |
| * of fields generated by this format call. | | * of fields generated by this format call. | |
|
| | | * Can be NULL. | |
| * @param status Output param filled with success/failure status. | | * @param status Output param filled with success/failure status. | |
| * @return Reference to 'appendTo' parameter. | | * @return Reference to 'appendTo' parameter. | |
| * @draft 4.4 | | * @draft 4.4 | |
| */ | | */ | |
| virtual UnicodeString& format(int32_t number, | | virtual UnicodeString& format(int32_t number, | |
| UnicodeString& appendTo, | | UnicodeString& appendTo, | |
|
| FieldPositionIterator& posIter, | | FieldPositionIterator* posIter, | |
| UErrorCode& status) const; | | UErrorCode& status) const; | |
| | | | |
| /** | | /** | |
| * Format an int64 number using base-10 representation. | | * Format an int64 number using base-10 representation. | |
| * | | * | |
| * @param number The value to be formatted. | | * @param number The value to be formatted. | |
| * @param appendTo Output parameter to receive result. | | * @param appendTo Output parameter to receive result. | |
| * Result is appended to existing contents. | | * Result is appended to existing contents. | |
| * @param pos On input: an alignment field, if desired. | | * @param pos On input: an alignment field, if desired. | |
| * On output: the offsets of the alignment field. | | * On output: the offsets of the alignment field. | |
| | | | |
| skipping to change at line 913 | | skipping to change at line 917 | |
| FieldPosition& pos) const; | | FieldPosition& pos) const; | |
| | | | |
| /** | | /** | |
| * Format an int64 number using base-10 representation. | | * Format an int64 number using base-10 representation. | |
| * | | * | |
| * @param number The value to be formatted. | | * @param number The value to be formatted. | |
| * @param appendTo Output parameter to receive result. | | * @param appendTo Output parameter to receive result. | |
| * Result is appended to existing contents. | | * Result is appended to existing contents. | |
| * @param posIter On return, can be used to iterate over positions | | * @param posIter On return, can be used to iterate over positions | |
| * of fields generated by this format call. | | * of fields generated by this format call. | |
|
| | | * Can be NULL. | |
| * @param status Output param filled with success/failure status. | | * @param status Output param filled with success/failure status. | |
| * @return Reference to 'appendTo' parameter. | | * @return Reference to 'appendTo' parameter. | |
| * @draft 4.4 | | * @draft 4.4 | |
| */ | | */ | |
| virtual UnicodeString& format(int64_t number, | | virtual UnicodeString& format(int64_t number, | |
| UnicodeString& appendTo, | | UnicodeString& appendTo, | |
|
| FieldPositionIterator& posIter, | | FieldPositionIterator* posIter, | |
| UErrorCode& status) const; | | UErrorCode& status) const; | |
| | | | |
| /** | | /** | |
| * Format a decimal number. | | * Format a decimal number. | |
| * The syntax of the unformatted number is a "numeric string" | | * The syntax of the unformatted number is a "numeric string" | |
| * as defined in the Decimal Arithmetic Specification, available at | | * as defined in the Decimal Arithmetic Specification, available at | |
| * http://speleotrove.com/decimal | | * http://speleotrove.com/decimal | |
| * | | * | |
| * @param number The unformatted number, as a string. | | * @param number The unformatted number, as a string. | |
| * @param appendTo Output parameter to receive result. | | * @param appendTo Output parameter to receive result. | |
| * Result is appended to existing contents. | | * Result is appended to existing contents. | |
| * @param posIter On return, can be used to iterate over positions | | * @param posIter On return, can be used to iterate over positions | |
| * of fields generated by this format call. | | * of fields generated by this format call. | |
|
| | | * Can be NULL. | |
| * @param status Output param filled with success/failure status. | | * @param status Output param filled with success/failure status. | |
| * @return Reference to 'appendTo' parameter. | | * @return Reference to 'appendTo' parameter. | |
| * @draft 4.4 | | * @draft 4.4 | |
| */ | | */ | |
| virtual UnicodeString& format(const StringPiece &number, | | virtual UnicodeString& format(const StringPiece &number, | |
| UnicodeString& appendTo, | | UnicodeString& appendTo, | |
|
| FieldPositionIterator& posIter, | | FieldPositionIterator* posIter, | |
| | | UErrorCode& status) const; | |
| | | | |
| | | /** | |
| | | * Format a decimal number. | |
| | | * The number is a DigitList wrapper onto a floating point decimal numb | |
| | | er. | |
| | | * The default implementation in NumberFormat converts the decimal numb | |
| | | er | |
| | | * to a double and formats that. | |
| | | * | |
| | | * @param number The number, a DigitList format Decimal Floating Poi | |
| | | nt. | |
| | | * @param appendTo Output parameter to receive result. | |
| | | * Result is appended to existing contents. | |
| | | * @param posIter On return, can be used to iterate over positions | |
| | | * of fields generated by this format call. | |
| | | * @param status Output param filled with success/failure status. | |
| | | * @return Reference to 'appendTo' parameter. | |
| | | * @internal | |
| | | */ | |
| | | virtual UnicodeString& format(const DigitList &number, | |
| | | UnicodeString& appendTo, | |
| | | FieldPositionIterator* posIter, | |
| | | UErrorCode& status) const; | |
| | | | |
| | | /** | |
| | | * Format a decimal number. | |
| | | * The number is a DigitList wrapper onto a floating point decimal numb | |
| | | er. | |
| | | * The default implementation in NumberFormat converts the decimal numb | |
| | | er | |
| | | * to a double and formats that. | |
| | | * | |
| | | * @param number The number, a DigitList format Decimal Floating Poi | |
| | | nt. | |
| | | * @param appendTo Output parameter to receive result. | |
| | | * Result is appended to existing contents. | |
| | | * @param pos On input: an alignment field, if desired. | |
| | | * On output: the offsets of the alignment field. | |
| | | * @param status Output param filled with success/failure status. | |
| | | * @return Reference to 'appendTo' parameter. | |
| | | * @internal | |
| | | */ | |
| | | virtual UnicodeString& format(const DigitList &number, | |
| | | UnicodeString& appendTo, | |
| | | FieldPosition& pos, | |
| UErrorCode& status) const; | | UErrorCode& status) const; | |
| | | | |
| /** | | /** | |
| * Format a Formattable using base-10 representation. | | * Format a Formattable using base-10 representation. | |
| * | | * | |
| * @param obj The value to be formatted. | | * @param obj The value to be formatted. | |
| * @param appendTo Output parameter to receive result. | | * @param appendTo Output parameter to receive result. | |
| * Result is appended to existing contents. | | * Result is appended to existing contents. | |
| * @param pos On input: an alignment field, if desired. | | * @param pos On input: an alignment field, if desired. | |
| * On output: the offsets of the alignment field. | | * On output: the offsets of the alignment field. | |
| | | | |
| skipping to change at line 1102 | | skipping to change at line 1148 | |
| * by the programmer or user. | | * by the programmer or user. | |
| * @param symbols DecimalFormatSymbols. | | * @param symbols DecimalFormatSymbols. | |
| * @stable ICU 2.0 | | * @stable ICU 2.0 | |
| */ | | */ | |
| virtual void setDecimalFormatSymbols(const DecimalFormatSymbols& symbol
s); | | virtual void setDecimalFormatSymbols(const DecimalFormatSymbols& symbol
s); | |
| | | | |
| /** | | /** | |
| * Returns the currency plural format information, | | * Returns the currency plural format information, | |
| * which is generally not changed by the programmer or user. | | * which is generally not changed by the programmer or user. | |
| * @return desired CurrencyPluralInfo | | * @return desired CurrencyPluralInfo | |
|
| * @stable ICU 4.4 | | * @stable ICU 4.2 | |
| */ | | */ | |
| virtual const CurrencyPluralInfo* getCurrencyPluralInfo(void) const; | | virtual const CurrencyPluralInfo* getCurrencyPluralInfo(void) const; | |
| | | | |
| /** | | /** | |
| * Sets the currency plural format information, | | * Sets the currency plural format information, | |
| * which is generally not changed by the programmer or user. | | * which is generally not changed by the programmer or user. | |
| * @param toAdopt CurrencyPluralInfo to be adopted. | | * @param toAdopt CurrencyPluralInfo to be adopted. | |
|
| * @stable ICU 4.4 | | * @stable ICU 4.2 | |
| */ | | */ | |
| virtual void adoptCurrencyPluralInfo(CurrencyPluralInfo* toAdopt); | | virtual void adoptCurrencyPluralInfo(CurrencyPluralInfo* toAdopt); | |
| | | | |
| /** | | /** | |
| * Sets the currency plural format information, | | * Sets the currency plural format information, | |
| * which is generally not changed by the programmer or user. | | * which is generally not changed by the programmer or user. | |
| * @param info Currency Plural Info. | | * @param info Currency Plural Info. | |
|
| * @stable ICU 4.4 | | * @stable ICU 4.2 | |
| */ | | */ | |
| virtual void setCurrencyPluralInfo(const CurrencyPluralInfo& info); | | virtual void setCurrencyPluralInfo(const CurrencyPluralInfo& info); | |
| | | | |
| /** | | /** | |
| * Get the positive prefix. | | * Get the positive prefix. | |
| * | | * | |
| * @param result Output param which will receive the positive prefix
. | | * @param result Output param which will receive the positive prefix
. | |
| * @return A reference to 'result'. | | * @return A reference to 'result'. | |
| * Examples: +123, $123, sFr123 | | * Examples: +123, $123, sFr123 | |
| * @stable ICU 2.0 | | * @stable ICU 2.0 | |
| | | | |
| skipping to change at line 1799 | | skipping to change at line 1845 | |
| * given class have the same class ID. Objects of | | * given class have the same class ID. Objects of | |
| * other classes have different class IDs. | | * other classes have different class IDs. | |
| * @stable ICU 2.0 | | * @stable ICU 2.0 | |
| */ | | */ | |
| virtual UClassID getDynamicClassID(void) const; | | virtual UClassID getDynamicClassID(void) const; | |
| | | | |
| private: | | private: | |
| | | | |
| DecimalFormat(); // default constructor not implemented | | DecimalFormat(); // default constructor not implemented | |
| | | | |
|
| int32_t precision(UBool isIntegral) const; | | int32_t precision() const; | |
| | | | |
| | | /** | |
| | | * Initialize all fields of a new DecimalFormatter. | |
| | | * Common code for use by constructors. | |
| | | */ | |
| | | void init(); | |
| | | | |
| /** | | /** | |
| * Do real work of constructing a new DecimalFormat. | | * Do real work of constructing a new DecimalFormat. | |
| */ | | */ | |
| void construct(UErrorCode& status, | | void construct(UErrorCode& status, | |
| UParseError& parseErr, | | UParseError& parseErr, | |
| const UnicodeString* pattern = 0, | | const UnicodeString* pattern = 0, | |
| DecimalFormatSymbols* symbolsToAdopt = 0 | | DecimalFormatSymbols* symbolsToAdopt = 0 | |
| ); | | ); | |
| | | | |
| | | | |
| skipping to change at line 1967 | | skipping to change at line 2019 | |
| | | | |
| void expandAffix(const UnicodeString& pattern, | | void expandAffix(const UnicodeString& pattern, | |
| UnicodeString& affix, | | UnicodeString& affix, | |
| double number, | | double number, | |
| FieldPositionHandler& handler, | | FieldPositionHandler& handler, | |
| UBool doFormat, | | UBool doFormat, | |
| const UnicodeString* pluralCount) const; | | const UnicodeString* pluralCount) const; | |
| | | | |
| void expandAffixes(const UnicodeString* pluralCount); | | void expandAffixes(const UnicodeString* pluralCount); | |
| | | | |
|
| static double round(double a, ERoundingMode mode, UBool isNegative); | | | |
| | | | |
| void addPadding(UnicodeString& appendTo, | | void addPadding(UnicodeString& appendTo, | |
| FieldPositionHandler& handler, | | FieldPositionHandler& handler, | |
| int32_t prefixLen, int32_t suffixLen) const; | | int32_t prefixLen, int32_t suffixLen) const; | |
| | | | |
| UBool isGroupingPosition(int32_t pos) const; | | UBool isGroupingPosition(int32_t pos) const; | |
| | | | |
| void setCurrencyForSymbols(); | | void setCurrencyForSymbols(); | |
| | | | |
| // similar to setCurrency without re-compute the affixes for currency. | | // similar to setCurrency without re-compute the affixes for currency. | |
| // If currency changes, the affix pattern for currency is not changed, | | // If currency changes, the affix pattern for currency is not changed, | |
| | | | |
| skipping to change at line 2016 | | skipping to change at line 2066 | |
| Hashtable* target, UErrorCode& status); | | Hashtable* target, UErrorCode& status); | |
| void copyHashForAffix(const Hashtable* source, | | void copyHashForAffix(const Hashtable* source, | |
| Hashtable* target, UErrorCode& status); | | Hashtable* target, UErrorCode& status); | |
| | | | |
| UnicodeString& _format(int64_t number, | | UnicodeString& _format(int64_t number, | |
| UnicodeString& appendTo, | | UnicodeString& appendTo, | |
| FieldPositionHandler& handler) const; | | FieldPositionHandler& handler) const; | |
| UnicodeString& _format(double number, | | UnicodeString& _format(double number, | |
| UnicodeString& appendTo, | | UnicodeString& appendTo, | |
| FieldPositionHandler& handler) const; | | FieldPositionHandler& handler) const; | |
|
| | | UnicodeString& _format(const DigitList &number, | |
| | | UnicodeString& appendTo, | |
| | | FieldPositionHandler& handler, | |
| | | UErrorCode &status) const; | |
| | | | |
| // currency sign count | | // currency sign count | |
| enum { | | enum { | |
| fgCurrencySignCountZero, | | fgCurrencySignCountZero, | |
| fgCurrencySignCountInSymbolFormat, | | fgCurrencySignCountInSymbolFormat, | |
| fgCurrencySignCountInISOFormat, | | fgCurrencySignCountInISOFormat, | |
| fgCurrencySignCountInPluralFormat | | fgCurrencySignCountInPluralFormat | |
| } CurrencySignCount; | | } CurrencySignCount; | |
| | | | |
| /** | | /** | |
| * Constants. | | * Constants. | |
| */ | | */ | |
|
| //static const int8_t fgMaxDigit; // The largest digit, in this case 9 | | | |
| | | | |
| /*transient*/ //DigitList* fDigitList; | | | |
| | | | |
| UnicodeString fPositivePrefix; | | UnicodeString fPositivePrefix; | |
| UnicodeString fPositiveSuffix; | | UnicodeString fPositiveSuffix; | |
| UnicodeString fNegativePrefix; | | UnicodeString fNegativePrefix; | |
| UnicodeString fNegativeSuffix; | | UnicodeString fNegativeSuffix; | |
| UnicodeString* fPosPrefixPattern; | | UnicodeString* fPosPrefixPattern; | |
| UnicodeString* fPosSuffixPattern; | | UnicodeString* fPosSuffixPattern; | |
| UnicodeString* fNegPrefixPattern; | | UnicodeString* fNegPrefixPattern; | |
| UnicodeString* fNegSuffixPattern; | | UnicodeString* fNegSuffixPattern; | |
| | | | |
| /** | | /** | |
| * Formatter for ChoiceFormat-based currency names. If this field | | * Formatter for ChoiceFormat-based currency names. If this field | |
| * is not null, then delegate to it to format currency symbols. | | * is not null, then delegate to it to format currency symbols. | |
| * @since ICU 2.6 | | * @since ICU 2.6 | |
| */ | | */ | |
| ChoiceFormat* fCurrencyChoice; | | ChoiceFormat* fCurrencyChoice; | |
| | | | |
|
| int32_t fMultiplier; | | DigitList * fMultiplier; // NULL for multiplier of one | |
| int32_t fGroupingSize; | | int32_t fGroupingSize; | |
| int32_t fGroupingSize2; | | int32_t fGroupingSize2; | |
| UBool fDecimalSeparatorAlwaysShown; | | UBool fDecimalSeparatorAlwaysShown; | |
| DecimalFormatSymbols* fSymbols; | | DecimalFormatSymbols* fSymbols; | |
| | | | |
| UBool fUseSignificantDigits; | | UBool fUseSignificantDigits; | |
| int32_t fMinSignificantDigits; | | int32_t fMinSignificantDigits; | |
| int32_t fMaxSignificantDigits; | | int32_t fMaxSignificantDigits; | |
| | | | |
| UBool fUseExponentialNotation; | | UBool fUseExponentialNotation; | |
| int8_t fMinExponentDigits; | | int8_t fMinExponentDigits; | |
| UBool fExponentSignAlwaysShown; | | UBool fExponentSignAlwaysShown; | |
| | | | |
|
| /* If fRoundingIncrement is NULL, there is no rounding. Otherwise, rou | | DigitList* fRoundingIncrement; // NULL if no rounding inc | |
| nd to | | rement specified. | |
| * fRoundingIncrement.getDouble(). Since this operation may be expensi | | | |
| ve, | | | |
| * we cache the result in fRoundingDouble. All methods that update | | | |
| * fRoundingIncrement also update fRoundingDouble. */ | | | |
| DigitList* fRoundingIncrement; | | | |
| /*transient*/ double fRoundingDouble; | | | |
| ERoundingMode fRoundingMode; | | ERoundingMode fRoundingMode; | |
| | | | |
| UChar32 fPad; | | UChar32 fPad; | |
| int32_t fFormatWidth; | | int32_t fFormatWidth; | |
| EPadPosition fPadPosition; | | EPadPosition fPadPosition; | |
| | | | |
| /* | | /* | |
| * Following are used for currency format | | * Following are used for currency format | |
| */ | | */ | |
| // pattern used in this formatter | | // pattern used in this formatter | |
| | | | |
End of changes. 20 change blocks. |
| 24 lines changed or deleted | | 75 lines changed or added | |
|
| regex.h | | regex.h | |
| /* | | /* | |
| ********************************************************************** | | ********************************************************************** | |
|
| * Copyright (C) 2002-2009, International Business Machines | | * Copyright (C) 2002-2010, International Business Machines | |
| * Corporation and others. All Rights Reserved. | | * Corporation and others. All Rights Reserved. | |
| ********************************************************************** | | ********************************************************************** | |
| * file name: regex.h | | * file name: regex.h | |
| * encoding: US-ASCII | | * encoding: US-ASCII | |
| * indentation:4 | | * indentation:4 | |
| * | | * | |
| * created on: 2002oct22 | | * created on: 2002oct22 | |
| * created by: Andy Heninger | | * created by: Andy Heninger | |
| * | | * | |
| * ICU Regular Expressions, API for C++ | | * ICU Regular Expressions, API for C++ | |
| | | | |
| skipping to change at line 51 | | skipping to change at line 51 | |
| * need for <code>RegexPattern</code> objects can usually be eliminated. | | * need for <code>RegexPattern</code> objects can usually be eliminated. | |
| * </p> | | * </p> | |
| */ | | */ | |
| | | | |
| #include "unicode/utypes.h" | | #include "unicode/utypes.h" | |
| | | | |
| #if !UCONFIG_NO_REGULAR_EXPRESSIONS | | #if !UCONFIG_NO_REGULAR_EXPRESSIONS | |
| | | | |
| #include "unicode/uobject.h" | | #include "unicode/uobject.h" | |
| #include "unicode/unistr.h" | | #include "unicode/unistr.h" | |
|
| | | #include "unicode/utext.h" | |
| #include "unicode/parseerr.h" | | #include "unicode/parseerr.h" | |
| | | | |
| #include "unicode/uregex.h" | | #include "unicode/uregex.h" | |
| | | | |
| U_NAMESPACE_BEGIN | | U_NAMESPACE_BEGIN | |
| | | | |
| // Forward Declarations... | | // Forward Declarations... | |
| | | | |
| class RegexMatcher; | | class RegexMatcher; | |
| class RegexPattern; | | class RegexPattern; | |
| class UVector; | | class UVector; | |
| class UVector32; | | class UVector32; | |
|
| | | class UVector64; | |
| class UnicodeSet; | | class UnicodeSet; | |
| struct REStackFrame; | | struct REStackFrame; | |
| struct Regex8BitSet; | | struct Regex8BitSet; | |
| class RuleBasedBreakIterator; | | class RuleBasedBreakIterator; | |
| class RegexCImpl; | | class RegexCImpl; | |
| | | | |
| /** | | /** | |
| * RBBIPatternDump Debug function, displays the compiled form of a patt
ern. | | * RBBIPatternDump Debug function, displays the compiled form of a patt
ern. | |
| * @internal | | * @internal | |
| */ | | */ | |
| | | | |
| skipping to change at line 185 | | skipping to change at line 187 | |
| * @return A regexPattern object for the compiled pattern. | | * @return A regexPattern object for the compiled pattern. | |
| * | | * | |
| * @stable ICU 2.4 | | * @stable ICU 2.4 | |
| */ | | */ | |
| static RegexPattern * U_EXPORT2 compile( const UnicodeString ®ex, | | static RegexPattern * U_EXPORT2 compile( const UnicodeString ®ex, | |
| UParseError &pe, | | UParseError &pe, | |
| UErrorCode &status); | | UErrorCode &status); | |
| | | | |
| /** | | /** | |
| * Compiles the regular expression in string form into a RegexPattern | | * Compiles the regular expression in string form into a RegexPattern | |
|
| | | * object. These compile methods, rather than the constructors, are the | |
| | | usual | |
| | | * way that RegexPattern objects are created. | |
| | | * | |
| | | * <p>Note that RegexPattern objects must not be deleted while RegexMatc | |
| | | her | |
| | | * objects created from the pattern are active. RegexMatchers keep a po | |
| | | inter | |
| | | * back to their pattern, so premature deletion of the pattern is a | |
| | | * catastrophic error.</p> | |
| | | * | |
| | | * <p>All pattern match mode flags are set to their default values.</p> | |
| | | * | |
| | | * <p>Note that it is often more convenient to construct a RegexMatcher | |
| | | directly | |
| | | * from a pattern string rather than separately compiling the pattern | |
| | | and | |
| | | * then creating a RegexMatcher object from the pattern.</p> | |
| | | * | |
| | | * @param regex The regular expression to be compiled. Note, the text re | |
| | | ferred | |
| | | * to by this UText must not be deleted during the lifetime | |
| | | of the | |
| | | * RegexPattern object or any RegexMatcher object created f | |
| | | rom it. | |
| | | * @param pe Receives the position (line and column nubers) of any er | |
| | | ror | |
| | | * within the regular expression.) | |
| | | * @param status A reference to a UErrorCode to receive any errors. | |
| | | * @return A regexPattern object for the compiled pattern. | |
| | | * | |
| | | * @internal ICU 4.4 technology preview | |
| | | */ | |
| | | static RegexPattern * U_EXPORT2 compile( UText *regex, | |
| | | UParseError &pe, | |
| | | UErrorCode &status); | |
| | | | |
| | | /** | |
| | | * Compiles the regular expression in string form into a RegexPattern | |
| * object using the specified match mode flags. These compile methods, | | * object using the specified match mode flags. These compile methods, | |
| * rather than the constructors, are the usual way that RegexPattern obj
ects | | * rather than the constructors, are the usual way that RegexPattern obj
ects | |
| * are created. | | * are created. | |
| * | | * | |
| * <p>Note that RegexPattern objects must not be deleted while RegexMatc
her | | * <p>Note that RegexPattern objects must not be deleted while RegexMatc
her | |
| * objects created from the pattern are active. RegexMatchers keep a po
inter | | * objects created from the pattern are active. RegexMatchers keep a po
inter | |
| * back to their pattern, so premature deletion of the pattern is a | | * back to their pattern, so premature deletion of the pattern is a | |
| * catastrophic error.</p> | | * catastrophic error.</p> | |
| * | | * | |
| * <p>Note that it is often more convenient to construct a RegexMatcher
directly | | * <p>Note that it is often more convenient to construct a RegexMatcher
directly | |
| * from a pattern string instead of than separately compiling the pat
tern and | | * from a pattern string instead of than separately compiling the pat
tern and | |
| * then creating a RegexMatcher object from the pattern.</p> | | * then creating a RegexMatcher object from the pattern.</p> | |
| * | | * | |
| * @param regex The regular expression to be compiled. | | * @param regex The regular expression to be compiled. | |
| * @param flags The match mode flags to be used. | | * @param flags The match mode flags to be used. | |
|
| * @param pe Receives the position (line and column nubers) of any er
ror | | * @param pe Receives the position (line and column numbers) of any e
rror | |
| * within the regular expression.) | | * within the regular expression.) | |
| * @param status A reference to a UErrorCode to receive any errors. | | * @param status A reference to a UErrorCode to receive any errors. | |
| * @return A regexPattern object for the compiled pattern. | | * @return A regexPattern object for the compiled pattern. | |
| * | | * | |
| * @stable ICU 2.4 | | * @stable ICU 2.4 | |
| */ | | */ | |
| static RegexPattern * U_EXPORT2 compile( const UnicodeString ®ex, | | static RegexPattern * U_EXPORT2 compile( const UnicodeString ®ex, | |
| uint32_t flags, | | uint32_t flags, | |
| UParseError &pe, | | UParseError &pe, | |
| UErrorCode &status); | | UErrorCode &status); | |
| | | | |
| skipping to change at line 227 | | skipping to change at line 259 | |
| * | | * | |
| * <p>Note that RegexPattern objects must not be deleted while RegexMatc
her | | * <p>Note that RegexPattern objects must not be deleted while RegexMatc
her | |
| * objects created from the pattern are active. RegexMatchers keep a po
inter | | * objects created from the pattern are active. RegexMatchers keep a po
inter | |
| * back to their pattern, so premature deletion of the pattern is a | | * back to their pattern, so premature deletion of the pattern is a | |
| * catastrophic error.</p> | | * catastrophic error.</p> | |
| * | | * | |
| * <p>Note that it is often more convenient to construct a RegexMatcher
directly | | * <p>Note that it is often more convenient to construct a RegexMatcher
directly | |
| * from a pattern string instead of than separately compiling the pat
tern and | | * from a pattern string instead of than separately compiling the pat
tern and | |
| * then creating a RegexMatcher object from the pattern.</p> | | * then creating a RegexMatcher object from the pattern.</p> | |
| * | | * | |
|
| | | * @param regex The regular expression to be compiled. Note, the text re | |
| | | ferred | |
| | | * to by this UText must not be deleted during the lifetime | |
| | | of the | |
| | | * RegexPattern object or any RegexMatcher object created f | |
| | | rom it. | |
| | | * @param flags The match mode flags to be used. | |
| | | * @param pe Receives the position (line and column numbers) of any e | |
| | | rror | |
| | | * within the regular expression.) | |
| | | * @param status A reference to a UErrorCode to receive any errors. | |
| | | * @return A regexPattern object for the compiled pattern. | |
| | | * | |
| | | * @internal ICU 4.4 technology preview | |
| | | */ | |
| | | static RegexPattern * U_EXPORT2 compile( UText *regex, | |
| | | uint32_t flags, | |
| | | UParseError &pe, | |
| | | UErrorCode &status); | |
| | | | |
| | | /** | |
| | | * Compiles the regular expression in string form into a RegexPattern | |
| | | * object using the specified match mode flags. These compile methods, | |
| | | * rather than the constructors, are the usual way that RegexPattern obj | |
| | | ects | |
| | | * are created. | |
| | | * | |
| | | * <p>Note that RegexPattern objects must not be deleted while RegexMatc | |
| | | her | |
| | | * objects created from the pattern are active. RegexMatchers keep a po | |
| | | inter | |
| | | * back to their pattern, so premature deletion of the pattern is a | |
| | | * catastrophic error.</p> | |
| | | * | |
| | | * <p>Note that it is often more convenient to construct a RegexMatcher | |
| | | directly | |
| | | * from a pattern string instead of than separately compiling the pat | |
| | | tern and | |
| | | * then creating a RegexMatcher object from the pattern.</p> | |
| | | * | |
| * @param regex The regular expression to be compiled. | | * @param regex The regular expression to be compiled. | |
| * @param flags The match mode flags to be used. | | * @param flags The match mode flags to be used. | |
| * @param status A reference to a UErrorCode to receive any errors. | | * @param status A reference to a UErrorCode to receive any errors. | |
| * @return A regexPattern object for the compiled pattern. | | * @return A regexPattern object for the compiled pattern. | |
| * | | * | |
| * @stable ICU 2.6 | | * @stable ICU 2.6 | |
| */ | | */ | |
| static RegexPattern * U_EXPORT2 compile( const UnicodeString ®ex, | | static RegexPattern * U_EXPORT2 compile( const UnicodeString ®ex, | |
| uint32_t flags, | | uint32_t flags, | |
| UErrorCode &status); | | UErrorCode &status); | |
| | | | |
| /** | | /** | |
|
| | | * Compiles the regular expression in string form into a RegexPattern | |
| | | * object using the specified match mode flags. These compile methods, | |
| | | * rather than the constructors, are the usual way that RegexPattern obj | |
| | | ects | |
| | | * are created. | |
| | | * | |
| | | * <p>Note that RegexPattern objects must not be deleted while RegexMatc | |
| | | her | |
| | | * objects created from the pattern are active. RegexMatchers keep a po | |
| | | inter | |
| | | * back to their pattern, so premature deletion of the pattern is a | |
| | | * catastrophic error.</p> | |
| | | * | |
| | | * <p>Note that it is often more convenient to construct a RegexMatcher | |
| | | directly | |
| | | * from a pattern string instead of than separately compiling the pat | |
| | | tern and | |
| | | * then creating a RegexMatcher object from the pattern.</p> | |
| | | * | |
| | | * @param regex The regular expression to be compiled. Note, the text re | |
| | | ferred | |
| | | * to by this UText must not be deleted during the lifetime | |
| | | of the | |
| | | * RegexPattern object or any RegexMatcher object created f | |
| | | rom it. | |
| | | * @param flags The match mode flags to be used. | |
| | | * @param status A reference to a UErrorCode to receive any errors. | |
| | | * @return A regexPattern object for the compiled pattern. | |
| | | * | |
| | | * @internal ICU 4.4 technology preview | |
| | | */ | |
| | | static RegexPattern * U_EXPORT2 compile( UText *regex, | |
| | | uint32_t flags, | |
| | | UErrorCode &status); | |
| | | | |
| | | /** | |
| * Get the match mode flags that were used when compiling this pattern. | | * Get the match mode flags that were used when compiling this pattern. | |
| * @return the match mode flags | | * @return the match mode flags | |
| * @stable ICU 2.4 | | * @stable ICU 2.4 | |
| */ | | */ | |
| virtual uint32_t flags() const; | | virtual uint32_t flags() const; | |
| | | | |
| /** | | /** | |
| * Creates a RegexMatcher that will match the given input against this p
attern. The | | * Creates a RegexMatcher that will match the given input against this p
attern. The | |
| * RegexMatcher can then be used to perform match, find or replace opera
tions | | * RegexMatcher can then be used to perform match, find or replace opera
tions | |
| * on the input. Note that a RegexPattern object must not be deleted wh
ile | | * on the input. Note that a RegexPattern object must not be deleted wh
ile | |
| | | | |
| skipping to change at line 265 | | skipping to change at line 356 | |
| * | | * | |
| * @param input The input string to which the regular expression will
be applied. | | * @param input The input string to which the regular expression will
be applied. | |
| * @param status A reference to a UErrorCode to receive any errors. | | * @param status A reference to a UErrorCode to receive any errors. | |
| * @return A RegexMatcher object for this pattern and input. | | * @return A RegexMatcher object for this pattern and input. | |
| * | | * | |
| * @stable ICU 2.4 | | * @stable ICU 2.4 | |
| */ | | */ | |
| virtual RegexMatcher *matcher(const UnicodeString &input, | | virtual RegexMatcher *matcher(const UnicodeString &input, | |
| UErrorCode &status) const; | | UErrorCode &status) const; | |
| | | | |
|
| | | /** | |
| | | * Flag to disambiguate RegexPattern::matcher signature | |
| | | * @internal ICU 4.4 technology preview | |
| | | */ | |
| | | enum PatternIsUTextFlag { PATTERN_IS_UTEXT }; | |
| | | | |
| | | /** | |
| | | * Creates a RegexMatcher that will match the given input against this p | |
| | | attern. The | |
| | | * RegexMatcher can then be used to perform match, find or replace opera | |
| | | tions | |
| | | * on the input. Note that a RegexPattern object must not be deleted wh | |
| | | ile | |
| | | * RegexMatchers created from it still exist and might possibly be used | |
| | | again. | |
| | | * <p> | |
| | | * The matcher will make a shallow clone of the supplied input text, and | |
| | | all regexp | |
| | | * pattern matching operations happen on this clone. While read-only op | |
| | | erations on | |
| | | * the supplied text are permitted, it is critical that the underlying s | |
| | | tring not be | |
| | | * altered or deleted before use by the regular expression operations is | |
| | | complete. | |
| | | * | |
| | | * @param input The input text to which the regular expression will b | |
| | | e applied. | |
| | | * @param flag Must be RegexPattern::PATTERN_IS_UTEXT; used to disam | |
| | | biguate | |
| | | * method signature. | |
| | | * @param status A reference to a UErrorCode to receive any errors. | |
| | | * @return A RegexMatcher object for this pattern and input. | |
| | | * | |
| | | * @internal ICU 4.4 technology preview | |
| | | */ | |
| | | virtual RegexMatcher *matcher(UText *input, | |
| | | PatternIsUTextFlag flag, | |
| | | UErrorCode &status) const; | |
| | | | |
| private: | | private: | |
| /** | | /** | |
| * Cause a compilation error if an application accidently attempts to | | * Cause a compilation error if an application accidently attempts to | |
| * create a matcher with a (UChar *) string as input rather than | | * create a matcher with a (UChar *) string as input rather than | |
| * a UnicodeString. Avoids a dangling reference to a temporary strin
g. | | * a UnicodeString. Avoids a dangling reference to a temporary strin
g. | |
| * <p> | | * <p> | |
| * To efficiently work with UChar *strings, wrap the data in a UnicodeS
tring | | * To efficiently work with UChar *strings, wrap the data in a UnicodeS
tring | |
| * using one of the aliasing constructors, such as | | * using one of the aliasing constructors, such as | |
| * <code>UnicodeString(UBool isTerminated, const UChar *text, int32_t t
extLength);</code> | | * <code>UnicodeString(UBool isTerminated, const UChar *text, int32_t t
extLength);</code> | |
|
| | | * or in a UText, using | |
| | | * <code>utext_openUChars(UText *ut, const UChar *text, int64_t textLen | |
| | | gth, UErrorCode *status);</code> | |
| * | | * | |
| * @internal | | * @internal | |
| */ | | */ | |
| RegexMatcher *matcher(const UChar *input, | | RegexMatcher *matcher(const UChar *input, | |
| UErrorCode &status) const; | | UErrorCode &status) const; | |
| public: | | public: | |
| | | | |
| /** | | /** | |
| * Creates a RegexMatcher that will match against this pattern. The | | * Creates a RegexMatcher that will match against this pattern. The | |
| * RegexMatcher can be used to perform match, find or replace operations
. | | * RegexMatcher can be used to perform match, find or replace operations
. | |
| | | | |
| skipping to change at line 310 | | skipping to change at line 432 | |
| * @param regex The regular expression | | * @param regex The regular expression | |
| * @param input The string data to be matched | | * @param input The string data to be matched | |
| * @param pe Receives the position of any syntax errors within the regul
ar expression | | * @param pe Receives the position of any syntax errors within the regul
ar expression | |
| * @param status A reference to a UErrorCode to receive any errors. | | * @param status A reference to a UErrorCode to receive any errors. | |
| * @return True if the regular expression exactly matches the full input
string. | | * @return True if the regular expression exactly matches the full input
string. | |
| * | | * | |
| * @stable ICU 2.4 | | * @stable ICU 2.4 | |
| */ | | */ | |
| static UBool U_EXPORT2 matches(const UnicodeString ®ex, | | static UBool U_EXPORT2 matches(const UnicodeString ®ex, | |
| const UnicodeString &input, | | const UnicodeString &input, | |
|
| | | UParseError &pe, | |
| | | UErrorCode &status); | |
| | | | |
| | | /** | |
| | | * Test whether a string matches a regular expression. This convenience | |
| | | function | |
| | | * both compiles the reguluar expression and applies it in a single oper | |
| | | ation. | |
| | | * Note that if the same pattern needs to be applied repeatedly, this me | |
| | | thod will be | |
| | | * less efficient than creating and reusing a RegexMatcher object. | |
| | | * | |
| | | * @param regex The regular expression | |
| | | * @param input The string data to be matched | |
| | | * @param pe Receives the position of any syntax errors within the regul | |
| | | ar expression | |
| | | * @param status A reference to a UErrorCode to receive any errors. | |
| | | * @return True if the regular expression exactly matches the full input | |
| | | string. | |
| | | * | |
| | | * @internal ICU 4.4 technology preview | |
| | | */ | |
| | | static UBool U_EXPORT2 matches(UText *regex, | |
| | | UText *input, | |
| UParseError &pe, | | UParseError &pe, | |
| UErrorCode &status); | | UErrorCode &status); | |
| | | | |
| /** | | /** | |
|
| * Returns the regular expression from which this pattern was compile | | * Returns the regular expression from which this pattern was compiled. | |
| d. | | This method will work | |
| * @stable ICU 2.4 | | * even if the pattern was compiled from a UText. | |
| | | * | |
| | | * Note: If the pattern was originally compiled from a UText, and that U | |
| | | Text was modified, | |
| | | * the returned string may no longer reflect the RegexPattern object. | |
| | | * @stable ICU 2.4 | |
| */ | | */ | |
| virtual UnicodeString pattern() const; | | virtual UnicodeString pattern() const; | |
| | | | |
|
| | | /** | |
| | | * Returns the regular expression from which this pattern was compiled. | |
| | | This method will work | |
| | | * even if the pattern was compiled from a UnicodeString. | |
| | | * | |
| | | * Note: This is the original input, not a clone. If the pattern was ori | |
| | | ginally compiled from a | |
| | | * UText, and that UText was modified, the returned UText may no longer | |
| | | reflect the RegexPattern | |
| | | * object. | |
| | | * | |
| | | * @internal ICU 4.4 technology preview | |
| | | */ | |
| | | virtual UText *patternText() const; | |
| | | | |
| /** | | /** | |
| * Split a string into fields. Somewhat like split() from Perl. | | * Split a string into fields. Somewhat like split() from Perl. | |
| * The pattern matches identify delimiters that separate the input | | * The pattern matches identify delimiters that separate the input | |
| * into fields. The input data between the matches becomes the | | * into fields. The input data between the matches becomes the | |
| * fields themselves. | | * fields themselves. | |
| * <p> | | * <p> | |
| * For the best performance on split() operations, | | * For the best performance on split() operations, | |
| * <code>RegexMatcher::split</code> is perferable to this function | | * <code>RegexMatcher::split</code> is perferable to this function | |
| * | | * | |
| * @param input The string to be split into fields. The field delimi
ters | | * @param input The string to be split into fields. The field delimi
ters | |
| | | | |
| skipping to change at line 350 | | skipping to change at line 507 | |
| * @param status A reference to a UErrorCode to receive any errors. | | * @param status A reference to a UErrorCode to receive any errors. | |
| * @return The number of fields into which the input string was
split. | | * @return The number of fields into which the input string was
split. | |
| * @stable ICU 2.4 | | * @stable ICU 2.4 | |
| */ | | */ | |
| virtual int32_t split(const UnicodeString &input, | | virtual int32_t split(const UnicodeString &input, | |
| UnicodeString dest[], | | UnicodeString dest[], | |
| int32_t destCapacity, | | int32_t destCapacity, | |
| UErrorCode &status) const; | | UErrorCode &status) const; | |
| | | | |
| /** | | /** | |
|
| | | * Split a string into fields. Somewhat like split() from Perl. | |
| | | * The pattern matches identify delimiters that separate the input | |
| | | * into fields. The input data between the matches becomes the | |
| | | * fields themselves. | |
| | | * <p> | |
| | | * For the best performance on split() operations, | |
| | | * <code>RegexMatcher::split</code> is perferable to this function | |
| | | * | |
| | | * @param input The string to be split into fields. The field delimi | |
| | | ters | |
| | | * match the pattern (in the "this" object) | |
| | | * @param dest An array of mutable UText structs to receive the resu | |
| | | lts of the split. | |
| | | * If a field is NULL, a new UText is allocated to conta | |
| | | in the results for | |
| | | * that field. This new UText is not guaranteed to be mu | |
| | | table. | |
| | | * @param destCapacity The number of elements in the destination array | |
| | | . | |
| | | * If the number of fields found is less than destCapaci | |
| | | ty, the | |
| | | * extra strings in the destination array are not altere | |
| | | d. | |
| | | * If the number of destination strings is less than the | |
| | | number | |
| | | * of fields, the trailing part of the input string, inc | |
| | | luding any | |
| | | * field delimiters, is placed in the last destination s | |
| | | tring. | |
| | | * @param status A reference to a UErrorCode to receive any errors. | |
| | | * @return The number of fields into which the input string was | |
| | | split. | |
| | | * | |
| | | * @internal ICU 4.4 technology preview | |
| | | */ | |
| | | virtual int32_t split(UText *input, | |
| | | UText *dest[], | |
| | | int32_t destCapacity, | |
| | | UErrorCode &status) const; | |
| | | | |
| | | /** | |
| * ICU "poor man's RTTI", returns a UClassID for the actual class. | | * ICU "poor man's RTTI", returns a UClassID for the actual class. | |
| * | | * | |
| * @stable ICU 2.4 | | * @stable ICU 2.4 | |
| */ | | */ | |
| virtual UClassID getDynamicClassID() const; | | virtual UClassID getDynamicClassID() const; | |
| | | | |
| /** | | /** | |
| * ICU "poor man's RTTI", returns a UClassID for this class. | | * ICU "poor man's RTTI", returns a UClassID for this class. | |
| * | | * | |
| * @stable ICU 2.4 | | * @stable ICU 2.4 | |
| */ | | */ | |
| static UClassID U_EXPORT2 getStaticClassID(); | | static UClassID U_EXPORT2 getStaticClassID(); | |
| | | | |
| private: | | private: | |
| // | | // | |
| // Implementation Data | | // Implementation Data | |
| // | | // | |
|
| UnicodeString fPattern; // The original pattern string. | | UText *fPattern; // The original pattern string. | |
| | | UnicodeString *fPatternString; // The original pattern UncodeString if | |
| | | relevant | |
| uint32_t fFlags; // The flags used when compiling the pat
tern. | | uint32_t fFlags; // The flags used when compiling the pat
tern. | |
| // | | // | |
|
| UVector32 *fCompiledPat; // The compiled pattern p-code. | | UVector64 *fCompiledPat; // The compiled pattern p-code. | |
| UnicodeString fLiteralText; // Any literal string data from the patt
ern, | | UnicodeString fLiteralText; // Any literal string data from the patt
ern, | |
| // after un-escaping, for use during t
he match. | | // after un-escaping, for use during t
he match. | |
| | | | |
| UVector *fSets; // Any UnicodeSets referenced from the p
attern. | | UVector *fSets; // Any UnicodeSets referenced from the p
attern. | |
| Regex8BitSet *fSets8; // (and fast sets for latin-1 range
.) | | Regex8BitSet *fSets8; // (and fast sets for latin-1 range
.) | |
| | | | |
| UErrorCode fDeferredStatus; // status if some prior error has left
this | | UErrorCode fDeferredStatus; // status if some prior error has left
this | |
| // RegexPattern in an unusable state. | | // RegexPattern in an unusable state. | |
| | | | |
| int32_t fMinMatchLen; // Minimum Match Length. All matches wi
ll have length | | int32_t fMinMatchLen; // Minimum Match Length. All matches wi
ll have length | |
| | | | |
| skipping to change at line 409 | | skipping to change at line 597 | |
| | | | |
| Regex8BitSet *fStaticSets8; // Ptr to the static (shared) latin-1 on
ly | | Regex8BitSet *fStaticSets8; // Ptr to the static (shared) latin-1 on
ly | |
| // sets for predefined regex classes. | | // sets for predefined regex classes. | |
| | | | |
| int32_t fStartType; // Info on how a match must start. | | int32_t fStartType; // Info on how a match must start. | |
| int32_t fInitialStringIdx; // | | int32_t fInitialStringIdx; // | |
| int32_t fInitialStringLen; | | int32_t fInitialStringLen; | |
| UnicodeSet *fInitialChars; | | UnicodeSet *fInitialChars; | |
| UChar32 fInitialChar; | | UChar32 fInitialChar; | |
| Regex8BitSet *fInitialChars8; | | Regex8BitSet *fInitialChars8; | |
|
| | | UBool fNeedsAltInput; | |
| | | | |
| friend class RegexCompile; | | friend class RegexCompile; | |
| friend class RegexMatcher; | | friend class RegexMatcher; | |
| friend class RegexCImpl; | | friend class RegexCImpl; | |
| | | | |
| // | | // | |
| // Implementation Methods | | // Implementation Methods | |
| // | | // | |
| void init(); // Common initialization, for use by con
structors. | | void init(); // Common initialization, for use by con
structors. | |
| void zap(); // Common cleanup | | void zap(); // Common cleanup | |
| | | | |
| skipping to change at line 461 | | skipping to change at line 650 | |
| */ | | */ | |
| RegexMatcher(const UnicodeString ®exp, uint32_t flags, UErrorCode &s
tatus); | | RegexMatcher(const UnicodeString ®exp, uint32_t flags, UErrorCode &s
tatus); | |
| | | | |
| /** | | /** | |
| * Construct a RegexMatcher for a regular expression. | | * Construct a RegexMatcher for a regular expression. | |
| * This is a convenience method that avoids the need to explicitly cre
ate | | * This is a convenience method that avoids the need to explicitly cre
ate | |
| * a RegexPattern object. Note that if several RegexMatchers need to
be | | * a RegexPattern object. Note that if several RegexMatchers need to
be | |
| * created for the same expression, it will be more efficient to | | * created for the same expression, it will be more efficient to | |
| * separately create and cache a RegexPattern object, and use | | * separately create and cache a RegexPattern object, and use | |
| * its matcher() method to create the RegexMatcher objects. | | * its matcher() method to create the RegexMatcher objects. | |
|
| | | * | |
| | | * @param regexp The regular expression to be compiled. | |
| | | * @param flags Regular expression options, such as case insensitive | |
| | | matching. | |
| | | * @see UREGEX_CASE_INSENSITIVE | |
| | | * @param status Any errors are reported by setting this UErrorCode v | |
| | | ariable. | |
| | | * | |
| | | * @internal ICU 4.4 technology preview | |
| | | */ | |
| | | RegexMatcher(UText *regexp, uint32_t flags, UErrorCode &status); | |
| | | | |
| | | /** | |
| | | * Construct a RegexMatcher for a regular expression. | |
| | | * This is a convenience method that avoids the need to explicitly cre | |
| | | ate | |
| | | * a RegexPattern object. Note that if several RegexMatchers need to | |
| | | be | |
| | | * created for the same expression, it will be more efficient to | |
| | | * separately create and cache a RegexPattern object, and use | |
| | | * its matcher() method to create the RegexMatcher objects. | |
| * <p> | | * <p> | |
| * The matcher will retain a reference to the supplied input string, a
nd all regexp | | * The matcher will retain a reference to the supplied input string, a
nd all regexp | |
| * pattern matching operations happen directly on the original string.
It is | | * pattern matching operations happen directly on the original string.
It is | |
| * critical that the string not be altered or deleted before use by th
e regular | | * critical that the string not be altered or deleted before use by th
e regular | |
| * expression operations is complete. | | * expression operations is complete. | |
| * | | * | |
| * @param regexp The Regular Expression to be compiled. | | * @param regexp The Regular Expression to be compiled. | |
| * @param input The string to match. The matcher retains a referenc
e to the | | * @param input The string to match. The matcher retains a referenc
e to the | |
| * caller's string; mo copy is made. | | * caller's string; mo copy is made. | |
| * @param flags Regular expression options, such as case insensitive
matching. | | * @param flags Regular expression options, such as case insensitive
matching. | |
| * @see UREGEX_CASE_INSENSITIVE | | * @see UREGEX_CASE_INSENSITIVE | |
| * @param status Any errors are reported by setting this UErrorCode v
ariable. | | * @param status Any errors are reported by setting this UErrorCode v
ariable. | |
| * @stable ICU 2.6 | | * @stable ICU 2.6 | |
| */ | | */ | |
| RegexMatcher(const UnicodeString ®exp, const UnicodeString &input, | | RegexMatcher(const UnicodeString ®exp, const UnicodeString &input, | |
| uint32_t flags, UErrorCode &status); | | uint32_t flags, UErrorCode &status); | |
| | | | |
|
| | | /** | |
| | | * Construct a RegexMatcher for a regular expression. | |
| | | * This is a convenience method that avoids the need to explicitly cre | |
| | | ate | |
| | | * a RegexPattern object. Note that if several RegexMatchers need to | |
| | | be | |
| | | * created for the same expression, it will be more efficient to | |
| | | * separately create and cache a RegexPattern object, and use | |
| | | * its matcher() method to create the RegexMatcher objects. | |
| | | * <p> | |
| | | * The matcher will make a shallow clone of the supplied input text, a | |
| | | nd all regexp | |
| | | * pattern matching operations happen on this clone. While read-only | |
| | | operations on | |
| | | * the supplied text are permitted, it is critical that the underlying | |
| | | string not be | |
| | | * altered or deleted before use by the regular expression operations | |
| | | is complete. | |
| | | * | |
| | | * @param regexp The Regular Expression to be compiled. | |
| | | * @param input The string to match. The matcher retains a shallow | |
| | | clone of the text. | |
| | | * @param flags Regular expression options, such as case insensitive | |
| | | matching. | |
| | | * @see UREGEX_CASE_INSENSITIVE | |
| | | * @param status Any errors are reported by setting this UErrorCode v | |
| | | ariable. | |
| | | * | |
| | | * @internal ICU 4.4 technology preview | |
| | | */ | |
| | | RegexMatcher(UText *regexp, UText *input, | |
| | | uint32_t flags, UErrorCode &status); | |
| | | | |
| private: | | private: | |
| /** | | /** | |
| * Cause a compilation error if an application accidently attempts to | | * Cause a compilation error if an application accidently attempts to | |
| * create a matcher with a (UChar *) string as input rather than | | * create a matcher with a (UChar *) string as input rather than | |
| * a UnicodeString. Avoids a dangling reference to a temporary str
ing. | | * a UnicodeString. Avoids a dangling reference to a temporary str
ing. | |
| * <p> | | * <p> | |
| * To efficiently work with UChar *strings, wrap the data in a UnicodeS
tring | | * To efficiently work with UChar *strings, wrap the data in a UnicodeS
tring | |
| * using one of the aliasing constructors, such as | | * using one of the aliasing constructors, such as | |
| * <code>UnicodeString(UBool isTerminated, const UChar *text, int32_t t
extLength);</code> | | * <code>UnicodeString(UBool isTerminated, const UChar *text, int32_t t
extLength);</code> | |
|
| | | * or in a UText, using | |
| | | * <code>utext_openUChars(UText *ut, const UChar *text, int64_t textLen | |
| | | gth, UErrorCode *status);</code> | |
| * | | * | |
| * @internal | | * @internal | |
| */ | | */ | |
| RegexMatcher(const UnicodeString ®exp, const UChar *input, | | RegexMatcher(const UnicodeString ®exp, const UChar *input, | |
| uint32_t flags, UErrorCode &status); | | uint32_t flags, UErrorCode &status); | |
| public: | | public: | |
| | | | |
| /** | | /** | |
| * Destructor. | | * Destructor. | |
| * | | * | |
| | | | |
| skipping to change at line 588 | | skipping to change at line 820 | |
| * If the pattern can match an empty string, an empty string may be re
turned. | | * If the pattern can match an empty string, an empty string may be re
turned. | |
| * @param status A reference to a UErrorCode to receive any err
ors. | | * @param status A reference to a UErrorCode to receive any err
ors. | |
| * Possible errors are U_REGEX_INVALID_STATE if
no match | | * Possible errors are U_REGEX_INVALID_STATE if
no match | |
| * has been attempted or the last match failed. | | * has been attempted or the last match failed. | |
| * @return a string containing the matched input text. | | * @return a string containing the matched input text. | |
| * @stable ICU 2.4 | | * @stable ICU 2.4 | |
| */ | | */ | |
| virtual UnicodeString group(UErrorCode &status) const; | | virtual UnicodeString group(UErrorCode &status) const; | |
| | | | |
| /** | | /** | |
|
| | | * Flag to disambiguate RegexMatcher::group signature | |
| | | * @internal ICU 4.4 technology preview | |
| | | */ | |
| | | enum MatcherDestIsUTextFlag { MATCHER_DEST_IS_UTEXT }; | |
| | | | |
| | | /** | |
| | | * Returns a string containing the text matched by the previous match. | |
| | | * If the pattern can match an empty string, an empty string may be re | |
| | | turned. | |
| | | * @param dest A mutable UText in which the matching text is | |
| | | placed. | |
| | | * If NULL, a new UText will be created (which ma | |
| | | y not be mutable). | |
| | | * @param flag Must be RegexMatcher::MATCHER_DEST_IS_UTEXT; u | |
| | | sed to | |
| | | * disambiguate method signature. | |
| | | * @param status A reference to a UErrorCode to receive any err | |
| | | ors. | |
| | | * Possible errors are U_REGEX_INVALID_STATE if | |
| | | no match | |
| | | * has been attempted or the last match failed. | |
| | | * @return A string containing the matched input text. If a pre-alloc | |
| | | ated UText | |
| | | * was provided, it will always be used and returned. | |
| | | * | |
| | | * @internal ICU 4.4 technology preview | |
| | | */ | |
| | | virtual UText *group(UText *dest, MatcherDestIsUTextFlag flag, UErrorCo | |
| | | de &status) const; | |
| | | | |
| | | /** | |
| * Returns a string containing the text captured by the given group | | * Returns a string containing the text captured by the given group | |
| * during the previous match operation. Group(0) is the entire match
. | | * during the previous match operation. Group(0) is the entire match
. | |
| * | | * | |
| * @param groupNum the capture group number | | * @param groupNum the capture group number | |
| * @param status A reference to a UErrorCode to receive any err
ors. | | * @param status A reference to a UErrorCode to receive any err
ors. | |
| * Possible errors are U_REGEX_INVALID_STATE if
no match | | * Possible errors are U_REGEX_INVALID_STATE if
no match | |
| * has been attempted or the last match failed an
d | | * has been attempted or the last match failed an
d | |
| * U_INDEX_OUTOFBOUNDS_ERROR for a bad capture gr
oup number. | | * U_INDEX_OUTOFBOUNDS_ERROR for a bad capture gr
oup number. | |
| * @return the captured text | | * @return the captured text | |
| * @stable ICU 2.4 | | * @stable ICU 2.4 | |
| */ | | */ | |
| virtual UnicodeString group(int32_t groupNum, UErrorCode &status) const
; | | virtual UnicodeString group(int32_t groupNum, UErrorCode &status) const
; | |
| | | | |
| /** | | /** | |
|
| | | * Returns a string containing the text captured by the given group | |
| | | * during the previous match operation. Group(0) is the entire match. | |
| | | * | |
| | | * @param groupNum the capture group number | |
| | | * @param dest A mutable UText in which the matching text is | |
| | | placed. | |
| | | * If NULL, a new UText will be created (which ma | |
| | | y not be mutable). | |
| | | * @param status A reference to a UErrorCode to receive any err | |
| | | ors. | |
| | | * Possible errors are U_REGEX_INVALID_STATE if | |
| | | no match | |
| | | * has been attempted or the last match failed. | |
| | | * @return A string containing the matched input text. If a pre-alloc | |
| | | ated UText | |
| | | * was provided, it will always be used and returned. | |
| | | * | |
| | | * @internal ICU 4.4 technology preview | |
| | | */ | |
| | | virtual UText *group(int32_t groupNum, UText *dest, UErrorCode &status) | |
| | | const; | |
| | | | |
| | | /** | |
| * Returns the number of capturing groups in this matcher's pattern. | | * Returns the number of capturing groups in this matcher's pattern. | |
| * @return the number of capture groups | | * @return the number of capture groups | |
| * @stable ICU 2.4 | | * @stable ICU 2.4 | |
| */ | | */ | |
| virtual int32_t groupCount() const; | | virtual int32_t groupCount() const; | |
| | | | |
| /** | | /** | |
| * Returns the index in the input string of the start of the text matc
hed | | * Returns the index in the input string of the start of the text matc
hed | |
| * during the previous match operation. | | * during the previous match operation. | |
| * @param status a reference to a UErrorCode to receive any er
rors. | | * @param status a reference to a UErrorCode to receive any er
rors. | |
| | | | |
| skipping to change at line 695 | | skipping to change at line 967 | |
| /** | | /** | |
| * Resets this matcher with a new input string. This allows instances
of RegexMatcher | | * Resets this matcher with a new input string. This allows instances
of RegexMatcher | |
| * to be reused, which is more efficient than creating a new RegexMa
tcher for | | * to be reused, which is more efficient than creating a new RegexMa
tcher for | |
| * each input string to be processed. | | * each input string to be processed. | |
| * @param input The new string on which subsequent pattern matches wil
l operate. | | * @param input The new string on which subsequent pattern matches wil
l operate. | |
| * The matcher retains a reference to the callers string,
and operates | | * The matcher retains a reference to the callers string,
and operates | |
| * directly on that. Ownership of the string remains wit
h the caller. | | * directly on that. Ownership of the string remains wit
h the caller. | |
| * Because no copy of the string is made, it is essential
that the | | * Because no copy of the string is made, it is essential
that the | |
| * caller not delete the string until after regexp operat
ions on it | | * caller not delete the string until after regexp operat
ions on it | |
| * are done. | | * are done. | |
|
| | | * Note that while a reset on the matcher with an input s | |
| | | tring that is then | |
| | | * modified across/during matcher operations may be suppo | |
| | | rted currently for UnicodeString, | |
| | | * this was not originally intended behavior, and support | |
| | | for this is not guaranteed | |
| | | * in upcoming versions of ICU. | |
| * @return this RegexMatcher. | | * @return this RegexMatcher. | |
| * @stable ICU 2.4 | | * @stable ICU 2.4 | |
| */ | | */ | |
| virtual RegexMatcher &reset(const UnicodeString &input); | | virtual RegexMatcher &reset(const UnicodeString &input); | |
| | | | |
|
| | | /** | |
| | | * Resets this matcher with a new input string. This allows instances | |
| | | of RegexMatcher | |
| | | * to be reused, which is more efficient than creating a new RegexMa | |
| | | tcher for | |
| | | * each input string to be processed. | |
| | | * @param input The new string on which subsequent pattern matches wil | |
| | | l operate. | |
| | | * The matcher makes a shallow clone of the given text; o | |
| | | wnership of the | |
| | | * original string remains with the caller. Because no de | |
| | | ep copy of the | |
| | | * text is made, it is essential that the caller not modi | |
| | | fy the string | |
| | | * until after regexp operations on it are done. | |
| | | * @return this RegexMatcher. | |
| | | * | |
| | | * @internal ICU 4.4 technology preview | |
| | | */ | |
| | | virtual RegexMatcher &reset(UText *input); | |
| | | | |
| private: | | private: | |
| /** | | /** | |
| * Cause a compilation error if an application accidently attempts to | | * Cause a compilation error if an application accidently attempts to | |
| * reset a matcher with a (UChar *) string as input rather than | | * reset a matcher with a (UChar *) string as input rather than | |
| * a UnicodeString. Avoids a dangling reference to a temporary str
ing. | | * a UnicodeString. Avoids a dangling reference to a temporary str
ing. | |
| * <p> | | * <p> | |
| * To efficiently work with UChar *strings, wrap the data in a UnicodeS
tring | | * To efficiently work with UChar *strings, wrap the data in a UnicodeS
tring | |
| * using one of the aliasing constructors, such as | | * using one of the aliasing constructors, such as | |
| * <code>UnicodeString(UBool isTerminated, const UChar *text, int32_t t
extLength);</code> | | * <code>UnicodeString(UBool isTerminated, const UChar *text, int32_t t
extLength);</code> | |
|
| | | * or in a UText, using | |
| | | * <code>utext_openUChars(UText *ut, const UChar *text, int64_t textLen | |
| | | gth, UErrorCode *status);</code> | |
| * | | * | |
| * @internal | | * @internal | |
| */ | | */ | |
| RegexMatcher &reset(const UChar *input); | | RegexMatcher &reset(const UChar *input); | |
| public: | | public: | |
| | | | |
| /** | | /** | |
|
| * Returns the input string being matched. The returned string is not | | * Returns the input string being matched. Ownership of the string be | |
| a copy, | | longs to | |
| * but the live input string. It should not be altered or deleted. | | * the matcher; it should not be altered or deleted. This method will | |
| | | work even if the input | |
| | | * was originally supplied as a UText. | |
| * @return the input string | | * @return the input string | |
| * @stable ICU 2.4 | | * @stable ICU 2.4 | |
| */ | | */ | |
| virtual const UnicodeString &input() const; | | virtual const UnicodeString &input() const; | |
| | | | |
|
| | | /** | |
| | | * Returns the input string being matched. This is the live input tex | |
| | | t; it should not be | |
| | | * altered or deleted. This method will work even if the input was ori | |
| | | ginally supplied as | |
| | | * a UnicodeString. | |
| | | * @return the input text | |
| | | * | |
| | | * @internal ICU 4.4 technology preview | |
| | | */ | |
| | | virtual UText *inputText() const; | |
| | | | |
| | | /** | |
| | | * Returns the input string being matched, either by copying it into t | |
| | | he provided | |
| | | * UText parameter or by returning a shallow clone of the live input. | |
| | | Note that copying | |
| | | * the entire input may cause significant performance and memory issue | |
| | | s. | |
| | | * @param dest The UText into which the input should be copied, or NUL | |
| | | L to create a new UText | |
| | | * @return dest if non-NULL, a shallow copy of the input text otherwis | |
| | | e | |
| | | * | |
| | | * @internal ICU 4.4 technology preview | |
| | | */ | |
| | | virtual UText *getInput(UText *dest) const; | |
| | | | |
| /** Sets the limits of this matcher's region. | | /** Sets the limits of this matcher's region. | |
| * The region is the part of the input string that will be searched to
find a match. | | * The region is the part of the input string that will be searched to
find a match. | |
| * Invoking this method resets the matcher, and then sets the region to
start | | * Invoking this method resets the matcher, and then sets the region to
start | |
| * at the index specified by the start parameter and end at the index s
pecified | | * at the index specified by the start parameter and end at the index s
pecified | |
| * by the end parameter. | | * by the end parameter. | |
| * | | * | |
| * Depending on the transparency and anchoring being used (see useTrans
parentBounds | | * Depending on the transparency and anchoring being used (see useTrans
parentBounds | |
| * and useAnchoringBounds), certain constructs such as anchors may beha
ve differently | | * and useAnchoringBounds), certain constructs such as anchors may beha
ve differently | |
| * at or around the boundaries of the region | | * at or around the boundaries of the region | |
| * | | * | |
| | | | |
| skipping to change at line 867 | | skipping to change at line 1182 | |
| * capture groups. | | * capture groups. | |
| * | | * | |
| * @param replacement a string containing the replacement text. | | * @param replacement a string containing the replacement text. | |
| * @param status a reference to a UErrorCode to receive any er
rors. | | * @param status a reference to a UErrorCode to receive any er
rors. | |
| * @return a string containing the results of the find a
nd replace. | | * @return a string containing the results of the find a
nd replace. | |
| * @stable ICU 2.4 | | * @stable ICU 2.4 | |
| */ | | */ | |
| virtual UnicodeString replaceAll(const UnicodeString &replacement, UErr
orCode &status); | | virtual UnicodeString replaceAll(const UnicodeString &replacement, UErr
orCode &status); | |
| | | | |
| /** | | /** | |
|
| | | * Replaces every substring of the input that matches the pattern | |
| | | * with the given replacement string. This is a convenience function | |
| | | that | |
| | | * provides a complete find-and-replace-all operation. | |
| | | * | |
| | | * This method first resets this matcher. It then scans the input str | |
| | | ing | |
| | | * looking for matches of the pattern. Input that is not part of any | |
| | | * match is left unchanged; each match is replaced in the result by t | |
| | | he | |
| | | * replacement string. The replacement string may contain references | |
| | | to | |
| | | * capture groups. | |
| | | * | |
| | | * @param replacement a string containing the replacement text. | |
| | | * @param dest a mutable UText in which the results are plac | |
| | | ed. | |
| | | * If NULL, a new UText will be created (which | |
| | | may not be mutable). | |
| | | * @param status a reference to a UErrorCode to receive any er | |
| | | rors. | |
| | | * @return a string containing the results of the find a | |
| | | nd replace. | |
| | | * If a pre-allocated UText was provided, it wi | |
| | | ll always be used and returned. | |
| | | * | |
| | | * @internal ICU 4.4 technology preview | |
| | | */ | |
| | | virtual UText *replaceAll(UText *replacement, UText *dest, UErrorCode & | |
| | | status); | |
| | | | |
| | | /** | |
| * Replaces the first substring of the input that matches | | * Replaces the first substring of the input that matches | |
| * the pattern with the replacement string. This is a convenience | | * the pattern with the replacement string. This is a convenience | |
| * function that provides a complete find-and-replace operation. | | * function that provides a complete find-and-replace operation. | |
| * | | * | |
| * <p>This function first resets this RegexMatcher. It then scans the in
put string | | * <p>This function first resets this RegexMatcher. It then scans the in
put string | |
| * looking for a match of the pattern. Input that is not part | | * looking for a match of the pattern. Input that is not part | |
| * of the match is appended directly to the result string; the match is
replaced | | * of the match is appended directly to the result string; the match is
replaced | |
| * in the result by the replacement string. The replacement string may c
ontain | | * in the result by the replacement string. The replacement string may c
ontain | |
| * references to captured groups.</p> | | * references to captured groups.</p> | |
| * | | * | |
| | | | |
| skipping to change at line 889 | | skipping to change at line 1226 | |
| * RegexMatcher should be reset before doing additional find() operat
ions.</p> | | * RegexMatcher should be reset before doing additional find() operat
ions.</p> | |
| * | | * | |
| * @param replacement a string containing the replacement text. | | * @param replacement a string containing the replacement text. | |
| * @param status a reference to a UErrorCode to receive any er
rors. | | * @param status a reference to a UErrorCode to receive any er
rors. | |
| * @return a string containing the results of the find a
nd replace. | | * @return a string containing the results of the find a
nd replace. | |
| * @stable ICU 2.4 | | * @stable ICU 2.4 | |
| */ | | */ | |
| virtual UnicodeString replaceFirst(const UnicodeString &replacement, UE
rrorCode &status); | | virtual UnicodeString replaceFirst(const UnicodeString &replacement, UE
rrorCode &status); | |
| | | | |
| /** | | /** | |
|
| | | * Replaces the first substring of the input that matches | |
| | | * the pattern with the replacement string. This is a convenience | |
| | | * function that provides a complete find-and-replace operation. | |
| | | * | |
| | | * <p>This function first resets this RegexMatcher. It then scans the in | |
| | | put string | |
| | | * looking for a match of the pattern. Input that is not part | |
| | | * of the match is appended directly to the result string; the match is | |
| | | replaced | |
| | | * in the result by the replacement string. The replacement string may c | |
| | | ontain | |
| | | * references to captured groups.</p> | |
| | | * | |
| | | * <p>The state of the matcher (the position at which a subsequent find( | |
| | | ) | |
| | | * would begin) after completing a replaceFirst() is not specified. | |
| | | The | |
| | | * RegexMatcher should be reset before doing additional find() operat | |
| | | ions.</p> | |
| | | * | |
| | | * @param replacement a string containing the replacement text. | |
| | | * @param dest a mutable UText in which the results are plac | |
| | | ed. | |
| | | * If NULL, a new UText will be created (which | |
| | | may not be mutable). | |
| | | * @param status a reference to a UErrorCode to receive any er | |
| | | rors. | |
| | | * @return a string containing the results of the find a | |
| | | nd replace. | |
| | | * If a pre-allocated UText was provided, it wi | |
| | | ll always be used and returned. | |
| | | * | |
| | | * @internal ICU 4.4 technology preview | |
| | | */ | |
| | | virtual UText *replaceFirst(UText *replacement, UText *dest, UErrorCode | |
| | | &status); | |
| | | | |
| | | /** | |
| * Implements a replace operation intended to be used as part of an | | * Implements a replace operation intended to be used as part of an | |
| * incremental find-and-replace. | | * incremental find-and-replace. | |
| * | | * | |
| * <p>The input string, starting from the end of the previous replacem
ent and ending at | | * <p>The input string, starting from the end of the previous replacem
ent and ending at | |
| * the start of the current match, is appended to the destination stri
ng. Then the | | * the start of the current match, is appended to the destination stri
ng. Then the | |
| * replacement string is appended to the output string, | | * replacement string is appended to the output string, | |
| * including handling any substitutions of captured text.</p> | | * including handling any substitutions of captured text.</p> | |
| * | | * | |
| * <p>For simple, prepackaged, non-incremental find-and-replace | | * <p>For simple, prepackaged, non-incremental find-and-replace | |
| * operations, see replaceFirst() or replaceAll().</p> | | * operations, see replaceFirst() or replaceAll().</p> | |
| | | | |
| skipping to change at line 919 | | skipping to change at line 1282 | |
| * does not exist in the pattern. | | * does not exist in the pattern. | |
| * | | * | |
| * @return this RegexMatcher | | * @return this RegexMatcher | |
| * @stable ICU 2.4 | | * @stable ICU 2.4 | |
| * | | * | |
| */ | | */ | |
| virtual RegexMatcher &appendReplacement(UnicodeString &dest, | | virtual RegexMatcher &appendReplacement(UnicodeString &dest, | |
| const UnicodeString &replacement, UErrorCode &status); | | const UnicodeString &replacement, UErrorCode &status); | |
| | | | |
| /** | | /** | |
|
| | | * Implements a replace operation intended to be used as part of an | |
| | | * incremental find-and-replace. | |
| | | * | |
| | | * <p>The input string, starting from the end of the previous replacem | |
| | | ent and ending at | |
| | | * the start of the current match, is appended to the destination stri | |
| | | ng. Then the | |
| | | * replacement string is appended to the output string, | |
| | | * including handling any substitutions of captured text.</p> | |
| | | * | |
| | | * <p>For simple, prepackaged, non-incremental find-and-replace | |
| | | * operations, see replaceFirst() or replaceAll().</p> | |
| | | * | |
| | | * @param dest A mutable UText to which the results of the fi | |
| | | nd-and-replace are appended. | |
| | | * Must not be NULL. | |
| | | * @param replacement A UText that provides the text to be substitut | |
| | | ed for | |
| | | * the input text that matched the regexp pattern | |
| | | . The replacement | |
| | | * text may contain references to captured text f | |
| | | rom the input. | |
| | | * @param status A reference to a UErrorCode to receive any err | |
| | | ors. Possible | |
| | | * errors are U_REGEX_INVALID_STATE if no match | |
| | | has been | |
| | | * attempted or the last match failed, and U_INDE | |
| | | X_OUTOFBOUNDS_ERROR | |
| | | * if the replacement text specifies a capture gr | |
| | | oup that | |
| | | * does not exist in the pattern. | |
| | | * | |
| | | * @return this RegexMatcher | |
| | | * | |
| | | * @internal ICU 4.4 technology preview | |
| | | */ | |
| | | virtual RegexMatcher &appendReplacement(UText *dest, | |
| | | UText *replacement, UErrorCode &status); | |
| | | | |
| | | /** | |
| * As the final step in a find-and-replace operation, append the remaind
er | | * As the final step in a find-and-replace operation, append the remaind
er | |
| * of the input string, starting at the position following the last appe
ndReplacement(), | | * of the input string, starting at the position following the last appe
ndReplacement(), | |
| * to the destination string. <code>appendTail()</code> is intended to b
e invoked after one | | * to the destination string. <code>appendTail()</code> is intended to b
e invoked after one | |
| * or more invocations of the <code>RegexMatcher::appendReplacement()</c
ode>. | | * or more invocations of the <code>RegexMatcher::appendReplacement()</c
ode>. | |
| * | | * | |
| * @param dest A UnicodeString to which the results of the find-and-rep
lace are appended. | | * @param dest A UnicodeString to which the results of the find-and-rep
lace are appended. | |
| * @return the destination string. | | * @return the destination string. | |
| * @stable ICU 2.4 | | * @stable ICU 2.4 | |
| */ | | */ | |
| virtual UnicodeString &appendTail(UnicodeString &dest); | | virtual UnicodeString &appendTail(UnicodeString &dest); | |
| | | | |
|
| | | /** | |
| | | * As the final step in a find-and-replace operation, append the remaind | |
| | | er | |
| | | * of the input string, starting at the position following the last appe | |
| | | ndReplacement(), | |
| | | * to the destination string. <code>appendTail()</code> is intended to b | |
| | | e invoked after one | |
| | | * or more invocations of the <code>RegexMatcher::appendReplacement()</c | |
| | | ode>. | |
| | | * | |
| | | * @param dest A mutable UText to which the results of the find-and-rep | |
| | | lace are appended. | |
| | | * Must not be NULL. | |
| | | * @return the destination string. | |
| | | * | |
| | | * @internal ICU 4.4 technology preview | |
| | | */ | |
| | | virtual UText *appendTail(UText *dest); | |
| | | | |
| /** | | /** | |
| * Split a string into fields. Somewhat like split() from Perl. | | * Split a string into fields. Somewhat like split() from Perl. | |
| * The pattern matches identify delimiters that separate the input | | * The pattern matches identify delimiters that separate the input | |
| * into fields. The input data between the matches becomes the | | * into fields. The input data between the matches becomes the | |
| * fields themselves. | | * fields themselves. | |
|
| * <p> | | | |
| * | | * | |
| * @param input The string to be split into fields. The field delimi
ters | | * @param input The string to be split into fields. The field delimi
ters | |
| * match the pattern (in the "this" object). This match
er | | * match the pattern (in the "this" object). This match
er | |
| * will be reset to this input string. | | * will be reset to this input string. | |
| * @param dest An array of UnicodeStrings to receive the results of
the split. | | * @param dest An array of UnicodeStrings to receive the results of
the split. | |
| * This is an array of actual UnicodeString objects, not
an | | * This is an array of actual UnicodeString objects, not
an | |
| * array of pointers to strings. Local (stack based) ar
rays can | | * array of pointers to strings. Local (stack based) ar
rays can | |
| * work well here. | | * work well here. | |
| * @param destCapacity The number of elements in the destination array
. | | * @param destCapacity The number of elements in the destination array
. | |
| * If the number of fields found is less than destCapaci
ty, the | | * If the number of fields found is less than destCapaci
ty, the | |
| | | | |
| skipping to change at line 959 | | skipping to change at line 1365 | |
| * field delimiters, is placed in the last destination s
tring. | | * field delimiters, is placed in the last destination s
tring. | |
| * @param status A reference to a UErrorCode to receive any errors. | | * @param status A reference to a UErrorCode to receive any errors. | |
| * @return The number of fields into which the input string was
split. | | * @return The number of fields into which the input string was
split. | |
| * @stable ICU 2.6 | | * @stable ICU 2.6 | |
| */ | | */ | |
| virtual int32_t split(const UnicodeString &input, | | virtual int32_t split(const UnicodeString &input, | |
| UnicodeString dest[], | | UnicodeString dest[], | |
| int32_t destCapacity, | | int32_t destCapacity, | |
| UErrorCode &status); | | UErrorCode &status); | |
| | | | |
|
| | | /** | |
| | | * Split a string into fields. Somewhat like split() from Perl. | |
| | | * The pattern matches identify delimiters that separate the input | |
| | | * into fields. The input data between the matches becomes the | |
| | | * fields themselves. | |
| | | * | |
| | | * @param input The string to be split into fields. The field delimi | |
| | | ters | |
| | | * match the pattern (in the "this" object). This match | |
| | | er | |
| | | * will be reset to this input string. | |
| | | * @param dest An array of mutable UText structs to receive the resu | |
| | | lts of the split. | |
| | | * If a field is NULL, a new UText is allocated to conta | |
| | | in the results for | |
| | | * that field. This new UText is not guaranteed to be mu | |
| | | table. | |
| | | * @param destCapacity The number of elements in the destination array | |
| | | . | |
| | | * If the number of fields found is less than destCapaci | |
| | | ty, the | |
| | | * extra strings in the destination array are not altere | |
| | | d. | |
| | | * If the number of destination strings is less than the | |
| | | number | |
| | | * of fields, the trailing part of the input string, inc | |
| | | luding any | |
| | | * field delimiters, is placed in the last destination s | |
| | | tring. | |
| | | * @param status A reference to a UErrorCode to receive any errors. | |
| | | * @return The number of fields into which the input string was | |
| | | split. | |
| | | * | |
| | | * @internal ICU 4.4 technology preview | |
| | | */ | |
| | | virtual int32_t split(UText *input, | |
| | | UText *dest[], | |
| | | int32_t destCapacity, | |
| | | UErrorCode &status); | |
| | | | |
| /** | | /** | |
| * Set a processing time limit for match operations with this Matcher. | | * Set a processing time limit for match operations with this Matcher. | |
| * | | * | |
| * Some patterns, when matching certain strings, can run in exponentia
l time. | | * Some patterns, when matching certain strings, can run in exponentia
l time. | |
| * For practical purposes, the match operation may appear to be in an | | * For practical purposes, the match operation may appear to be in an | |
| * infinite loop. | | * infinite loop. | |
| * When a limit is set a match operation will fail with an error if th
e | | * When a limit is set a match operation will fail with an error if th
e | |
| * limit is exceeded. | | * limit is exceeded. | |
| * <p> | | * <p> | |
| * The units of the limit are steps of the match engine. | | * The units of the limit are steps of the match engine. | |
| | | | |
| skipping to change at line 1082 | | skipping to change at line 1516 | |
| virtual UClassID getDynamicClassID() const; | | virtual UClassID getDynamicClassID() const; | |
| | | | |
| private: | | private: | |
| // Constructors and other object boilerplate are private. | | // Constructors and other object boilerplate are private. | |
| // Instances of RegexMatcher can not be assigned, copied, cloned, etc. | | // Instances of RegexMatcher can not be assigned, copied, cloned, etc. | |
| RegexMatcher(); // default constructor not implemented | | RegexMatcher(); // default constructor not implemented | |
| RegexMatcher(const RegexPattern *pat); | | RegexMatcher(const RegexPattern *pat); | |
| RegexMatcher(const RegexMatcher &other); | | RegexMatcher(const RegexMatcher &other); | |
| RegexMatcher &operator =(const RegexMatcher &rhs); | | RegexMatcher &operator =(const RegexMatcher &rhs); | |
| void init(UErrorCode &status); // Common initializ
ation | | void init(UErrorCode &status); // Common initializ
ation | |
|
| void init2(const UnicodeString &s, UErrorCode &e); // Common initializ
ation, part 2. | | void init2(UText *t, UErrorCode &e); // Common initialization, part 2. | |
| | | | |
| friend class RegexPattern; | | friend class RegexPattern; | |
| friend class RegexCImpl; | | friend class RegexCImpl; | |
| public: | | public: | |
| /** @internal */ | | /** @internal */ | |
| void resetPreserveRegion(); // Reset matcher state, but preserve any r
egion. | | void resetPreserveRegion(); // Reset matcher state, but preserve any r
egion. | |
| private: | | private: | |
| | | | |
| // | | // | |
| // MatchAt This is the internal interface to the match engine itself
. | | // MatchAt This is the internal interface to the match engine itself
. | |
| // Match status comes back in matcher member variables. | | // Match status comes back in matcher member variables. | |
| // | | // | |
|
| void MatchAt(int32_t startIdx, UBool toEnd, UErrorCode | | void MatchAt(int64_t startIdx, UBool toEnd, UErrorCode | |
| &status); | | &status); | |
| inline void backTrack(int32_t &inputIdx, int32_t &patIdx); | | inline void backTrack(int64_t &inputIdx, int32_t &patIdx); | |
| UBool isWordBoundary(int32_t pos); // perform Pe | | UBool isWordBoundary(int64_t pos); // perform Pe | |
| rl-like \b test | | rl-like \b test | |
| UBool isUWordBoundary(int32_t pos); // perform RB | | UBool isUWordBoundary(int64_t pos); // perform RB | |
| BI based \b test | | BI based \b test | |
| REStackFrame *resetStack(); | | REStackFrame *resetStack(); | |
|
| inline REStackFrame *StateSave(REStackFrame *fp, int32_t savePatIdx, UE
rrorCode &status); | | inline REStackFrame *StateSave(REStackFrame *fp, int64_t savePatIdx, UE
rrorCode &status); | |
| void IncrementTime(UErrorCode &status); | | void IncrementTime(UErrorCode &status); | |
| | | | |
|
| | | int64_t appendGroup(int32_t groupNum, UText *dest, UErrorC | |
| | | ode &status) const; | |
| | | | |
| | | UBool findUsingChunk(); | |
| | | void MatchChunkAt(int32_t startIdx, UBool toEnd, UError | |
| | | Code &status); | |
| | | UBool isChunkWordBoundary(int32_t pos); | |
| | | | |
| const RegexPattern *fPattern; | | const RegexPattern *fPattern; | |
| RegexPattern *fPatternOwned; // Non-NULL if this matcher owns
the pattern, and | | RegexPattern *fPatternOwned; // Non-NULL if this matcher owns
the pattern, and | |
| // should delete it when throu
gh. | | // should delete it when throu
gh. | |
| | | | |
|
| const UnicodeString *fInput; // The text being matched. Is ne | | const UnicodeString *fInput; // The string being matched. Onl | |
| ver NULL. | | y used for input() | |
| | | UText *fInputText; // The text being matched. Is ne | |
| | | ver NULL. | |
| | | UText *fAltInputText; // A shallow copy of the text be | |
| | | ing matched. | |
| | | // Only created if the pattern | |
| | | contains backreferences. | |
| | | int64_t fInputLength; // Full length of the input text | |
| | | . | |
| int32_t fFrameSize; // The size of a frame in the ba
cktrack stack. | | int32_t fFrameSize; // The size of a frame in the ba
cktrack stack. | |
| | | | |
|
| int32_t fRegionStart; // Start of the input region, de | | int64_t fRegionStart; // Start of the input region, de | |
| fault = 0. | | fault = 0. | |
| int32_t fRegionLimit; // End of input region, default | | int64_t fRegionLimit; // End of input region, default | |
| to input.length. | | to input.length. | |
| | | | |
|
| int32_t fAnchorStart; // Region bounds for anchoring o | | int64_t fAnchorStart; // Region bounds for anchoring o | |
| perations (^ or $). | | perations (^ or $). | |
| int32_t fAnchorLimit; // See useAnchoringBounds | | int64_t fAnchorLimit; // See useAnchoringBounds | |
| | | | |
|
| int32_t fLookStart; // Region bounds for look-ahead/ | | int64_t fLookStart; // Region bounds for look-ahead/ | |
| behind and | | behind and | |
| int32_t fLookLimit; // and other boundary tests. | | int64_t fLookLimit; // and other boundary tests. | |
| See | | See | |
| // useTransparentBounds | | // useTransparentBounds | |
| | | | |
|
| int32_t fActiveStart; // Currently active bounds for m | | int64_t fActiveStart; // Currently active bounds for m | |
| atching. | | atching. | |
| int32_t fActiveLimit; // Usually is the same as regi | | int64_t fActiveLimit; // Usually is the same as regi | |
| on, but | | on, but | |
| // is changed to fLookStart/Li
mit when | | // is changed to fLookStart/Li
mit when | |
| // entering look around region
s. | | // entering look around region
s. | |
| | | | |
| UBool fTransparentBounds; // True if using transparent
bounds. | | UBool fTransparentBounds; // True if using transparent
bounds. | |
| UBool fAnchoringBounds; // True if using anchoring bound
s. | | UBool fAnchoringBounds; // True if using anchoring bound
s. | |
| | | | |
| UBool fMatch; // True if the last attempted ma
tch was successful. | | UBool fMatch; // True if the last attempted ma
tch was successful. | |
|
| int32_t fMatchStart; // Position of the start of the | | int64_t fMatchStart; // Position of the start of the | |
| most recent match | | most recent match | |
| int32_t fMatchEnd; // First position after the end | | int64_t fMatchEnd; // First position after the end | |
| of the most recent match | | of the most recent match | |
| // Zero if no previous match,
even when a region | | // Zero if no previous match,
even when a region | |
| // is active. | | // is active. | |
|
| int32_t fLastMatchEnd; // First position after the end
of the previous match, | | int64_t fLastMatchEnd; // First position after the end
of the previous match, | |
| // or -1 if there was no previ
ous match. | | // or -1 if there was no previ
ous match. | |
|
| int32_t fAppendPosition; // First position after the end
of the previous | | int64_t fAppendPosition; // First position after the end
of the previous | |
| // appendReplacement(). As de
scribed by the | | // appendReplacement(). As de
scribed by the | |
| // JavaDoc for Java Matcher, w
here it is called | | // JavaDoc for Java Matcher, w
here it is called | |
| // "append position" | | // "append position" | |
| UBool fHitEnd; // True if the last match touche
d the end of input. | | UBool fHitEnd; // True if the last match touche
d the end of input. | |
| UBool fRequireEnd; // True if the last match requir
ed end-of-input | | UBool fRequireEnd; // True if the last match requir
ed end-of-input | |
| // (matched $ or Z) | | // (matched $ or Z) | |
| | | | |
|
| UVector32 *fStack; | | UVector64 *fStack; | |
| REStackFrame *fFrame; // After finding a match, the la
st active stack frame, | | REStackFrame *fFrame; // After finding a match, the la
st active stack frame, | |
| // which will contain the capt
ure group results. | | // which will contain the capt
ure group results. | |
| // NOT valid while match engin
e is running. | | // NOT valid while match engin
e is running. | |
| | | | |
|
| int32_t *fData; // Data area for use by the comp | | int64_t *fData; // Data area for use by the comp | |
| iled pattern. | | iled pattern. | |
| int32_t fSmallData[8]; // Use this for data if it's e | | int64_t fSmallData[8]; // Use this for data if it's e | |
| nough. | | nough. | |
| | | | |
| int32_t fTimeLimit; // Max time (in arbitrary steps)
to let the | | int32_t fTimeLimit; // Max time (in arbitrary steps)
to let the | |
| // match engine run. Zero for
unlimited. | | // match engine run. Zero for
unlimited. | |
| | | | |
| int32_t fTime; // Match time, accumulates while
matching. | | int32_t fTime; // Match time, accumulates while
matching. | |
| int32_t fTickCounter; // Low bits counter for time. C
ounts down StateSaves. | | int32_t fTickCounter; // Low bits counter for time. C
ounts down StateSaves. | |
| // Kept separately from fTime
to keep as much | | // Kept separately from fTime
to keep as much | |
| // code as possible out of the
inline | | // code as possible out of the
inline | |
| // StateSave function. | | // StateSave function. | |
| | | | |
| int32_t fStackLimit; // Maximum memory size to use fo
r the backtrack | | int32_t fStackLimit; // Maximum memory size to use fo
r the backtrack | |
| // stack, in bytes. Zero for
unlimited. | | // stack, in bytes. Zero for
unlimited. | |
| | | | |
| URegexMatchCallback *fCallbackFn; // Pointer to match progress ca
llback funct. | | URegexMatchCallback *fCallbackFn; // Pointer to match progress ca
llback funct. | |
| // NULL if there is no callbac
k. | | // NULL if there is no callbac
k. | |
| const void *fCallbackContext; // User Context ptr for callback
function. | | const void *fCallbackContext; // User Context ptr for callback
function. | |
| | | | |
|
| | | UBool fInputUniStrMaybeMutable; // Set when fInputText w | |
| | | raps a UnicodeString that may be mutable - compatibility. | |
| | | | |
| UBool fTraceDebug; // Set true for debug tracing of
match engine. | | UBool fTraceDebug; // Set true for debug tracing of
match engine. | |
| | | | |
| UErrorCode fDeferredStatus; // Save error state that cannot
be immediately | | UErrorCode fDeferredStatus; // Save error state that cannot
be immediately | |
| // reported, or that permanent
ly disables this matcher. | | // reported, or that permanent
ly disables this matcher. | |
| | | | |
| RuleBasedBreakIterator *fWordBreakItr; | | RuleBasedBreakIterator *fWordBreakItr; | |
| | | | |
| }; | | }; | |
| | | | |
| U_NAMESPACE_END | | U_NAMESPACE_END | |
| | | | |
End of changes. 47 change blocks. |
| 48 lines changed or deleted | | 654 lines changed or added | |
|
| udatpg.h | | udatpg.h | |
| /* | | /* | |
| ***************************************************************************
**** | | ***************************************************************************
**** | |
| * | | * | |
|
| * Copyright (C) 2007-2009, International Business Machines | | * Copyright (C) 2007-2010, International Business Machines | |
| * Corporation and others. All Rights Reserved. | | * Corporation and others. All Rights Reserved. | |
| * | | * | |
| ***************************************************************************
**** | | ***************************************************************************
**** | |
| * file name: udatpg.h | | * file name: udatpg.h | |
| * encoding: US-ASCII | | * encoding: US-ASCII | |
| * tab size: 8 (not used) | | * tab size: 8 (not used) | |
| * indentation:4 | | * indentation:4 | |
| * | | * | |
| * created on: 2007jul30 | | * created on: 2007jul30 | |
| * created by: Markus W. Scherer | | * created by: Markus W. Scherer | |
| | | | |
| skipping to change at line 102 | | skipping to change at line 102 | |
| * pattern to match those in the skeleton (when this would not happen | | * pattern to match those in the skeleton (when this would not happen | |
| * otherwise). These may be combined to force the length of multiple fields
. | | * otherwise). These may be combined to force the length of multiple fields
. | |
| * Used with udatpg_getBestPatternWithOptions, udatpg_replaceFieldTypesWith
Options. | | * Used with udatpg_getBestPatternWithOptions, udatpg_replaceFieldTypesWith
Options. | |
| * @draft ICU 4.4 | | * @draft ICU 4.4 | |
| */ | | */ | |
| typedef enum UDateTimePatternMatchOptions { | | typedef enum UDateTimePatternMatchOptions { | |
| /** @draft ICU 4.4 */ | | /** @draft ICU 4.4 */ | |
| UDATPG_MATCH_NO_OPTIONS = 0, | | UDATPG_MATCH_NO_OPTIONS = 0, | |
| /** @draft ICU 4.4 */ | | /** @draft ICU 4.4 */ | |
| UDATPG_MATCH_HOUR_FIELD_LENGTH = 1 << UDATPG_HOUR_FIELD, | | UDATPG_MATCH_HOUR_FIELD_LENGTH = 1 << UDATPG_HOUR_FIELD, | |
|
| | | /** @internal ICU 4.4 */ | |
| | | UDATPG_MATCH_MINUTE_FIELD_LENGTH = 1 << UDATPG_MINUTE_FIELD, | |
| | | /** @internal ICU 4.4 */ | |
| | | UDATPG_MATCH_SECOND_FIELD_LENGTH = 1 << UDATPG_SECOND_FIELD, | |
| /** @draft ICU 4.4 */ | | /** @draft ICU 4.4 */ | |
| UDATPG_MATCH_ALL_FIELDS_LENGTH = (1 << UDATPG_FIELD_COUNT) - 1 | | UDATPG_MATCH_ALL_FIELDS_LENGTH = (1 << UDATPG_FIELD_COUNT) - 1 | |
| } UDateTimePatternMatchOptions; | | } UDateTimePatternMatchOptions; | |
| | | | |
| /** | | /** | |
| * Status return values from udatpg_addPattern(). | | * Status return values from udatpg_addPattern(). | |
| * @stable ICU 3.8 | | * @stable ICU 3.8 | |
| */ | | */ | |
| typedef enum UDateTimePatternConflict { | | typedef enum UDateTimePatternConflict { | |
| /** @stable ICU 3.8 */ | | /** @stable ICU 3.8 */ | |
| | | | |
| skipping to change at line 129 | | skipping to change at line 133 | |
| } UDateTimePatternConflict; | | } UDateTimePatternConflict; | |
| | | | |
| /** | | /** | |
| * Open a generator according to a given locale. | | * Open a generator according to a given locale. | |
| * @param locale | | * @param locale | |
| * @param pErrorCode a pointer to the UErrorCode which must not indicate a | | * @param pErrorCode a pointer to the UErrorCode which must not indicate a | |
| * failure before the function call. | | * failure before the function call. | |
| * @return a pointer to UDateTimePatternGenerator. | | * @return a pointer to UDateTimePatternGenerator. | |
| * @stable ICU 3.8 | | * @stable ICU 3.8 | |
| */ | | */ | |
|
| U_DRAFT UDateTimePatternGenerator * U_EXPORT2 | | U_STABLE UDateTimePatternGenerator * U_EXPORT2 | |
| udatpg_open(const char *locale, UErrorCode *pErrorCode); | | udatpg_open(const char *locale, UErrorCode *pErrorCode); | |
| | | | |
| /** | | /** | |
| * Open an empty generator, to be constructed with udatpg_addPattern(...)
etc. | | * Open an empty generator, to be constructed with udatpg_addPattern(...)
etc. | |
| * @param pErrorCode a pointer to the UErrorCode which must not indicate a | | * @param pErrorCode a pointer to the UErrorCode which must not indicate a | |
| * failure before the function call. | | * failure before the function call. | |
| * @return a pointer to UDateTimePatternGenerator. | | * @return a pointer to UDateTimePatternGenerator. | |
| * @stable ICU 3.8 | | * @stable ICU 3.8 | |
| */ | | */ | |
|
| U_DRAFT UDateTimePatternGenerator * U_EXPORT2 | | U_STABLE UDateTimePatternGenerator * U_EXPORT2 | |
| udatpg_openEmpty(UErrorCode *pErrorCode); | | udatpg_openEmpty(UErrorCode *pErrorCode); | |
| | | | |
| /** | | /** | |
| * Close a generator. | | * Close a generator. | |
| * @param dtpg a pointer to UDateTimePatternGenerator. | | * @param dtpg a pointer to UDateTimePatternGenerator. | |
| * @stable ICU 3.8 | | * @stable ICU 3.8 | |
| */ | | */ | |
|
| U_DRAFT void U_EXPORT2 | | U_STABLE void U_EXPORT2 | |
| udatpg_close(UDateTimePatternGenerator *dtpg); | | udatpg_close(UDateTimePatternGenerator *dtpg); | |
| | | | |
| #if U_SHOW_CPLUSPLUS_API | | #if U_SHOW_CPLUSPLUS_API | |
| | | | |
| U_NAMESPACE_BEGIN | | U_NAMESPACE_BEGIN | |
| | | | |
| /** | | /** | |
| * \class LocalUDateTimePatternGeneratorPointer | | * \class LocalUDateTimePatternGeneratorPointer | |
| * "Smart pointer" class, closes a UDateTimePatternGenerator via udatpg_clo
se(). | | * "Smart pointer" class, closes a UDateTimePatternGenerator via udatpg_clo
se(). | |
| * For most methods see the LocalPointerBase base class. | | * For most methods see the LocalPointerBase base class. | |
| | | | |
| skipping to change at line 177 | | skipping to change at line 181 | |
| #endif | | #endif | |
| | | | |
| /** | | /** | |
| * Create a copy pf a generator. | | * Create a copy pf a generator. | |
| * @param dtpg a pointer to UDateTimePatternGenerator to be copied. | | * @param dtpg a pointer to UDateTimePatternGenerator to be copied. | |
| * @param pErrorCode a pointer to the UErrorCode which must not indicate a | | * @param pErrorCode a pointer to the UErrorCode which must not indicate a | |
| * failure before the function call. | | * failure before the function call. | |
| * @return a pointer to a new UDateTimePatternGenerator. | | * @return a pointer to a new UDateTimePatternGenerator. | |
| * @stable ICU 3.8 | | * @stable ICU 3.8 | |
| */ | | */ | |
|
| U_DRAFT UDateTimePatternGenerator * U_EXPORT2 | | U_STABLE UDateTimePatternGenerator * U_EXPORT2 | |
| udatpg_clone(const UDateTimePatternGenerator *dtpg, UErrorCode *pErrorCode)
; | | udatpg_clone(const UDateTimePatternGenerator *dtpg, UErrorCode *pErrorCode)
; | |
| | | | |
| /** | | /** | |
| * Get the best pattern matching the input skeleton. It is guaranteed to | | * Get the best pattern matching the input skeleton. It is guaranteed to | |
| * have all of the fields in the skeleton. | | * have all of the fields in the skeleton. | |
| * | | * | |
| * Note that this function uses a non-const UDateTimePatternGenerator: | | * Note that this function uses a non-const UDateTimePatternGenerator: | |
| * It uses a stateful pattern parser which is set up for each generator obj
ect, | | * It uses a stateful pattern parser which is set up for each generator obj
ect, | |
| * rather than creating one for each function call. | | * rather than creating one for each function call. | |
| * Consecutive calls to this function do not affect each other, | | * Consecutive calls to this function do not affect each other, | |
| | | | |
| skipping to change at line 203 | | skipping to change at line 207 | |
| * For example, "MMMdd" and "mmhh" are skeletons. | | * For example, "MMMdd" and "mmhh" are skeletons. | |
| * @param length the length of skeleton | | * @param length the length of skeleton | |
| * @param bestPattern | | * @param bestPattern | |
| * The best pattern found from the given skeleton. | | * The best pattern found from the given skeleton. | |
| * @param capacity the capacity of bestPattern. | | * @param capacity the capacity of bestPattern. | |
| * @param pErrorCode a pointer to the UErrorCode which must not indicate a | | * @param pErrorCode a pointer to the UErrorCode which must not indicate a | |
| * failure before the function call. | | * failure before the function call. | |
| * @return the length of bestPattern. | | * @return the length of bestPattern. | |
| * @stable ICU 3.8 | | * @stable ICU 3.8 | |
| */ | | */ | |
|
| U_DRAFT int32_t U_EXPORT2 | | U_STABLE int32_t U_EXPORT2 | |
| udatpg_getBestPattern(UDateTimePatternGenerator *dtpg, | | udatpg_getBestPattern(UDateTimePatternGenerator *dtpg, | |
| const UChar *skeleton, int32_t length, | | const UChar *skeleton, int32_t length, | |
| UChar *bestPattern, int32_t capacity, | | UChar *bestPattern, int32_t capacity, | |
| UErrorCode *pErrorCode); | | UErrorCode *pErrorCode); | |
| | | | |
| /** | | /** | |
| * Get the best pattern matching the input skeleton. It is guaranteed to | | * Get the best pattern matching the input skeleton. It is guaranteed to | |
| * have all of the fields in the skeleton. | | * have all of the fields in the skeleton. | |
| * | | * | |
| * Note that this function uses a non-const UDateTimePatternGenerator: | | * Note that this function uses a non-const UDateTimePatternGenerator: | |
| | | | |
| skipping to change at line 266 | | skipping to change at line 270 | |
| * @param dtpg a pointer to UDateTimePatternGenerator. | | * @param dtpg a pointer to UDateTimePatternGenerator. | |
| * @param pattern input pattern, such as "dd/MMM". | | * @param pattern input pattern, such as "dd/MMM". | |
| * @param length the length of pattern. | | * @param length the length of pattern. | |
| * @param skeleton such as "MMMdd" | | * @param skeleton such as "MMMdd" | |
| * @param capacity the capacity of skeleton. | | * @param capacity the capacity of skeleton. | |
| * @param pErrorCode a pointer to the UErrorCode which must not indicate a | | * @param pErrorCode a pointer to the UErrorCode which must not indicate a | |
| * failure before the function call. | | * failure before the function call. | |
| * @return the length of skeleton. | | * @return the length of skeleton. | |
| * @stable ICU 3.8 | | * @stable ICU 3.8 | |
| */ | | */ | |
|
| U_DRAFT int32_t U_EXPORT2 | | U_STABLE int32_t U_EXPORT2 | |
| udatpg_getSkeleton(UDateTimePatternGenerator *dtpg, | | udatpg_getSkeleton(UDateTimePatternGenerator *dtpg, | |
| const UChar *pattern, int32_t length, | | const UChar *pattern, int32_t length, | |
| UChar *skeleton, int32_t capacity, | | UChar *skeleton, int32_t capacity, | |
| UErrorCode *pErrorCode); | | UErrorCode *pErrorCode); | |
| | | | |
| /** | | /** | |
| * Get a unique base skeleton from a given pattern. This is the same | | * Get a unique base skeleton from a given pattern. This is the same | |
| * as the skeleton, except that differences in length are minimized so | | * as the skeleton, except that differences in length are minimized so | |
| * as to only preserve the difference between string and numeric form. So | | * as to only preserve the difference between string and numeric form. So | |
| * for example, both "MMM-dd" and "d/MMM" produce the skeleton "MMMd" | | * for example, both "MMM-dd" and "d/MMM" produce the skeleton "MMMd" | |
| | | | |
| skipping to change at line 295 | | skipping to change at line 299 | |
| * @param dtpg a pointer to UDateTimePatternGenerator. | | * @param dtpg a pointer to UDateTimePatternGenerator. | |
| * @param pattern input pattern, such as "dd/MMM". | | * @param pattern input pattern, such as "dd/MMM". | |
| * @param length the length of pattern. | | * @param length the length of pattern. | |
| * @param baseSkeleton such as "Md" | | * @param baseSkeleton such as "Md" | |
| * @param capacity the capacity of base skeleton. | | * @param capacity the capacity of base skeleton. | |
| * @param pErrorCode a pointer to the UErrorCode which must not indicate a | | * @param pErrorCode a pointer to the UErrorCode which must not indicate a | |
| * failure before the function call. | | * failure before the function call. | |
| * @return the length of baseSkeleton. | | * @return the length of baseSkeleton. | |
| * @stable ICU 3.8 | | * @stable ICU 3.8 | |
| */ | | */ | |
|
| U_DRAFT int32_t U_EXPORT2 | | U_STABLE int32_t U_EXPORT2 | |
| udatpg_getBaseSkeleton(UDateTimePatternGenerator *dtpg, | | udatpg_getBaseSkeleton(UDateTimePatternGenerator *dtpg, | |
| const UChar *pattern, int32_t length, | | const UChar *pattern, int32_t length, | |
| UChar *baseSkeleton, int32_t capacity, | | UChar *baseSkeleton, int32_t capacity, | |
| UErrorCode *pErrorCode); | | UErrorCode *pErrorCode); | |
| | | | |
| /** | | /** | |
| * Adds a pattern to the generator. If the pattern has the same skeleton as | | * Adds a pattern to the generator. If the pattern has the same skeleton as | |
| * an existing pattern, and the override parameter is set, then the previou
s | | * an existing pattern, and the override parameter is set, then the previou
s | |
| * value is overriden. Otherwise, the previous value is retained. In either | | * value is overriden. Otherwise, the previous value is retained. In either | |
| * case, the conflicting status is set and previous vale is stored in | | * case, the conflicting status is set and previous vale is stored in | |
| | | | |
| skipping to change at line 325 | | skipping to change at line 329 | |
| * otherwise use false. | | * otherwise use false. | |
| * @param conflictingPattern Previous pattern with the same skeleton. | | * @param conflictingPattern Previous pattern with the same skeleton. | |
| * @param capacity the capacity of conflictingPattern. | | * @param capacity the capacity of conflictingPattern. | |
| * @param pLength a pointer to the length of conflictingPattern. | | * @param pLength a pointer to the length of conflictingPattern. | |
| * @param pErrorCode a pointer to the UErrorCode which must not indicate a | | * @param pErrorCode a pointer to the UErrorCode which must not indicate a | |
| * failure before the function call. | | * failure before the function call. | |
| * @return conflicting status. The value could be UDATPG_NO_CONFLICT, | | * @return conflicting status. The value could be UDATPG_NO_CONFLICT, | |
| * UDATPG_BASE_CONFLICT or UDATPG_CONFLICT. | | * UDATPG_BASE_CONFLICT or UDATPG_CONFLICT. | |
| * @stable ICU 3.8 | | * @stable ICU 3.8 | |
| */ | | */ | |
|
| U_DRAFT UDateTimePatternConflict U_EXPORT2 | | U_STABLE UDateTimePatternConflict U_EXPORT2 | |
| udatpg_addPattern(UDateTimePatternGenerator *dtpg, | | udatpg_addPattern(UDateTimePatternGenerator *dtpg, | |
| const UChar *pattern, int32_t patternLength, | | const UChar *pattern, int32_t patternLength, | |
| UBool override, | | UBool override, | |
| UChar *conflictingPattern, int32_t capacity, int32_t *pLe
ngth, | | UChar *conflictingPattern, int32_t capacity, int32_t *pLe
ngth, | |
| UErrorCode *pErrorCode); | | UErrorCode *pErrorCode); | |
| | | | |
| /** | | /** | |
| * An AppendItem format is a pattern used to append a field if there is no | | * An AppendItem format is a pattern used to append a field if there is no | |
| * good match. For example, suppose that the input skeleton is "GyyyyMMMd"
, | | * good match. For example, suppose that the input skeleton is "GyyyyMMMd"
, | |
| * and there is no matching pattern internally, but there is a pattern | | * and there is no matching pattern internally, but there is a pattern | |
| | | | |
| skipping to change at line 352 | | skipping to change at line 356 | |
| * {1} is the element we are adding, and {2} is the name of the element. | | * {1} is the element we are adding, and {2} is the name of the element. | |
| * <p> | | * <p> | |
| * This reflects the way that the CLDR data is organized. | | * This reflects the way that the CLDR data is organized. | |
| * | | * | |
| * @param dtpg a pointer to UDateTimePatternGenerator. | | * @param dtpg a pointer to UDateTimePatternGenerator. | |
| * @param field UDateTimePatternField, such as UDATPG_ERA_FIELD | | * @param field UDateTimePatternField, such as UDATPG_ERA_FIELD | |
| * @param value pattern, such as "{0}, {1}" | | * @param value pattern, such as "{0}, {1}" | |
| * @param length the length of value. | | * @param length the length of value. | |
| * @stable ICU 3.8 | | * @stable ICU 3.8 | |
| */ | | */ | |
|
| U_DRAFT void U_EXPORT2 | | U_STABLE void U_EXPORT2 | |
| udatpg_setAppendItemFormat(UDateTimePatternGenerator *dtpg, | | udatpg_setAppendItemFormat(UDateTimePatternGenerator *dtpg, | |
| UDateTimePatternField field, | | UDateTimePatternField field, | |
| const UChar *value, int32_t length); | | const UChar *value, int32_t length); | |
| | | | |
| /** | | /** | |
| * Getter corresponding to setAppendItemFormat. Values below 0 or at or | | * Getter corresponding to setAppendItemFormat. Values below 0 or at or | |
| * above UDATPG_FIELD_COUNT are illegal arguments. | | * above UDATPG_FIELD_COUNT are illegal arguments. | |
| * | | * | |
| * @param dtpg A pointer to UDateTimePatternGenerator. | | * @param dtpg A pointer to UDateTimePatternGenerator. | |
| * @param field UDateTimePatternField, such as UDATPG_ERA_FIELD | | * @param field UDateTimePatternField, such as UDATPG_ERA_FIELD | |
| * @param pLength A pointer that will receive the length of appendItemForma
t. | | * @param pLength A pointer that will receive the length of appendItemForma
t. | |
| * @return appendItemFormat for field. | | * @return appendItemFormat for field. | |
| * @stable ICU 3.8 | | * @stable ICU 3.8 | |
| */ | | */ | |
|
| U_DRAFT const UChar * U_EXPORT2 | | U_STABLE const UChar * U_EXPORT2 | |
| udatpg_getAppendItemFormat(const UDateTimePatternGenerator *dtpg, | | udatpg_getAppendItemFormat(const UDateTimePatternGenerator *dtpg, | |
| UDateTimePatternField field, | | UDateTimePatternField field, | |
| int32_t *pLength); | | int32_t *pLength); | |
| | | | |
| /** | | /** | |
| * Set the name of field, eg "era" in English for ERA. These are only | | * Set the name of field, eg "era" in English for ERA. These are only | |
| * used if the corresponding AppendItemFormat is used, and if it contains
a | | * used if the corresponding AppendItemFormat is used, and if it contains
a | |
| * {2} variable. | | * {2} variable. | |
| * <p> | | * <p> | |
| * This reflects the way that the CLDR data is organized. | | * This reflects the way that the CLDR data is organized. | |
| * | | * | |
| * @param dtpg a pointer to UDateTimePatternGenerator. | | * @param dtpg a pointer to UDateTimePatternGenerator. | |
| * @param field UDateTimePatternField | | * @param field UDateTimePatternField | |
| * @param value name for the field. | | * @param value name for the field. | |
| * @param length the length of value. | | * @param length the length of value. | |
| * @stable ICU 3.8 | | * @stable ICU 3.8 | |
| */ | | */ | |
|
| U_DRAFT void U_EXPORT2 | | U_STABLE void U_EXPORT2 | |
| udatpg_setAppendItemName(UDateTimePatternGenerator *dtpg, | | udatpg_setAppendItemName(UDateTimePatternGenerator *dtpg, | |
| UDateTimePatternField field, | | UDateTimePatternField field, | |
| const UChar *value, int32_t length); | | const UChar *value, int32_t length); | |
| | | | |
| /** | | /** | |
| * Getter corresponding to setAppendItemNames. Values below 0 or at or abov
e | | * Getter corresponding to setAppendItemNames. Values below 0 or at or abov
e | |
| * UDATPG_FIELD_COUNT are illegal arguments. | | * UDATPG_FIELD_COUNT are illegal arguments. | |
| * | | * | |
| * @param dtpg a pointer to UDateTimePatternGenerator. | | * @param dtpg a pointer to UDateTimePatternGenerator. | |
| * @param field UDateTimePatternField, such as UDATPG_ERA_FIELD | | * @param field UDateTimePatternField, such as UDATPG_ERA_FIELD | |
| * @param pLength A pointer that will receive the length of the name for fi
eld. | | * @param pLength A pointer that will receive the length of the name for fi
eld. | |
| * @return name for field | | * @return name for field | |
| * @stable ICU 3.8 | | * @stable ICU 3.8 | |
| */ | | */ | |
|
| U_DRAFT const UChar * U_EXPORT2 | | U_STABLE const UChar * U_EXPORT2 | |
| udatpg_getAppendItemName(const UDateTimePatternGenerator *dtpg, | | udatpg_getAppendItemName(const UDateTimePatternGenerator *dtpg, | |
| UDateTimePatternField field, | | UDateTimePatternField field, | |
| int32_t *pLength); | | int32_t *pLength); | |
| | | | |
| /** | | /** | |
| * The date time format is a message format pattern used to compose date an
d | | * The date time format is a message format pattern used to compose date an
d | |
| * time patterns. The default value is "{0} {1}", where {0} will be replace
d | | * time patterns. The default value is "{0} {1}", where {0} will be replace
d | |
| * by the date pattern and {1} will be replaced by the time pattern. | | * by the date pattern and {1} will be replaced by the time pattern. | |
| * <p> | | * <p> | |
| * This is used when the input skeleton contains both date and time fields, | | * This is used when the input skeleton contains both date and time fields, | |
| | | | |
| skipping to change at line 426 | | skipping to change at line 430 | |
| * for those two skeletons, so the result is put together with this pattern
, | | * for those two skeletons, so the result is put together with this pattern
, | |
| * resulting in "d-MMM h:mm". | | * resulting in "d-MMM h:mm". | |
| * | | * | |
| * @param dtpg a pointer to UDateTimePatternGenerator. | | * @param dtpg a pointer to UDateTimePatternGenerator. | |
| * @param dtFormat | | * @param dtFormat | |
| * message format pattern, here {0} will be replaced by the date | | * message format pattern, here {0} will be replaced by the date | |
| * pattern and {1} will be replaced by the time pattern. | | * pattern and {1} will be replaced by the time pattern. | |
| * @param length the length of dtFormat. | | * @param length the length of dtFormat. | |
| * @stable ICU 3.8 | | * @stable ICU 3.8 | |
| */ | | */ | |
|
| U_DRAFT void U_EXPORT2 | | U_STABLE void U_EXPORT2 | |
| udatpg_setDateTimeFormat(const UDateTimePatternGenerator *dtpg, | | udatpg_setDateTimeFormat(const UDateTimePatternGenerator *dtpg, | |
| const UChar *dtFormat, int32_t length); | | const UChar *dtFormat, int32_t length); | |
| | | | |
| /** | | /** | |
| * Getter corresponding to setDateTimeFormat. | | * Getter corresponding to setDateTimeFormat. | |
| * @param dtpg a pointer to UDateTimePatternGenerator. | | * @param dtpg a pointer to UDateTimePatternGenerator. | |
| * @param pLength A pointer that will receive the length of the format | | * @param pLength A pointer that will receive the length of the format | |
| * @return dateTimeFormat. | | * @return dateTimeFormat. | |
| * @stable ICU 3.8 | | * @stable ICU 3.8 | |
| */ | | */ | |
|
| U_DRAFT const UChar * U_EXPORT2 | | U_STABLE const UChar * U_EXPORT2 | |
| udatpg_getDateTimeFormat(const UDateTimePatternGenerator *dtpg, | | udatpg_getDateTimeFormat(const UDateTimePatternGenerator *dtpg, | |
| int32_t *pLength); | | int32_t *pLength); | |
| | | | |
| /** | | /** | |
| * The decimal value is used in formatting fractions of seconds. If the | | * The decimal value is used in formatting fractions of seconds. If the | |
| * skeleton contains fractional seconds, then this is used with the | | * skeleton contains fractional seconds, then this is used with the | |
| * fractional seconds. For example, suppose that the input pattern is | | * fractional seconds. For example, suppose that the input pattern is | |
| * "hhmmssSSSS", and the best matching pattern internally is "H:mm:ss", and | | * "hhmmssSSSS", and the best matching pattern internally is "H:mm:ss", and | |
| * the decimal string is ",". Then the resulting pattern is modified to be | | * the decimal string is ",". Then the resulting pattern is modified to be | |
| * "H:mm:ss,SSSS" | | * "H:mm:ss,SSSS" | |
| * | | * | |
| * @param dtpg a pointer to UDateTimePatternGenerator. | | * @param dtpg a pointer to UDateTimePatternGenerator. | |
| * @param decimal | | * @param decimal | |
| * @param length the length of decimal. | | * @param length the length of decimal. | |
| * @stable ICU 3.8 | | * @stable ICU 3.8 | |
| */ | | */ | |
|
| U_DRAFT void U_EXPORT2 | | U_STABLE void U_EXPORT2 | |
| udatpg_setDecimal(UDateTimePatternGenerator *dtpg, | | udatpg_setDecimal(UDateTimePatternGenerator *dtpg, | |
| const UChar *decimal, int32_t length); | | const UChar *decimal, int32_t length); | |
| | | | |
| /** | | /** | |
| * Getter corresponding to setDecimal. | | * Getter corresponding to setDecimal. | |
| * | | * | |
| * @param dtpg a pointer to UDateTimePatternGenerator. | | * @param dtpg a pointer to UDateTimePatternGenerator. | |
| * @param pLength A pointer that will receive the length of the decimal str
ing. | | * @param pLength A pointer that will receive the length of the decimal str
ing. | |
| * @return corresponding to the decimal point. | | * @return corresponding to the decimal point. | |
| * @stable ICU 3.8 | | * @stable ICU 3.8 | |
| */ | | */ | |
|
| U_DRAFT const UChar * U_EXPORT2 | | U_STABLE const UChar * U_EXPORT2 | |
| udatpg_getDecimal(const UDateTimePatternGenerator *dtpg, | | udatpg_getDecimal(const UDateTimePatternGenerator *dtpg, | |
| int32_t *pLength); | | int32_t *pLength); | |
| | | | |
| /** | | /** | |
| * Adjusts the field types (width and subtype) of a pattern to match what i
s | | * Adjusts the field types (width and subtype) of a pattern to match what i
s | |
| * in a skeleton. That is, if you supply a pattern like "d-M H:m", and a | | * in a skeleton. That is, if you supply a pattern like "d-M H:m", and a | |
| * skeleton of "MMMMddhhmm", then the input pattern is adjusted to be | | * skeleton of "MMMMddhhmm", then the input pattern is adjusted to be | |
| * "dd-MMMM hh:mm". This is used internally to get the best match for the | | * "dd-MMMM hh:mm". This is used internally to get the best match for the | |
| * input skeleton, but can also be used externally. | | * input skeleton, but can also be used externally. | |
| * | | * | |
| | | | |
| skipping to change at line 495 | | skipping to change at line 499 | |
| * @param patternLength the length of input pattern. | | * @param patternLength the length of input pattern. | |
| * @param skeleton | | * @param skeleton | |
| * @param skeletonLength the length of input skeleton. | | * @param skeletonLength the length of input skeleton. | |
| * @param dest pattern adjusted to match the skeleton fields widths and su
btypes. | | * @param dest pattern adjusted to match the skeleton fields widths and su
btypes. | |
| * @param destCapacity the capacity of dest. | | * @param destCapacity the capacity of dest. | |
| * @param pErrorCode a pointer to the UErrorCode which must not indicate a | | * @param pErrorCode a pointer to the UErrorCode which must not indicate a | |
| * failure before the function call. | | * failure before the function call. | |
| * @return the length of dest. | | * @return the length of dest. | |
| * @stable ICU 3.8 | | * @stable ICU 3.8 | |
| */ | | */ | |
|
| U_DRAFT int32_t U_EXPORT2 | | U_STABLE int32_t U_EXPORT2 | |
| udatpg_replaceFieldTypes(UDateTimePatternGenerator *dtpg, | | udatpg_replaceFieldTypes(UDateTimePatternGenerator *dtpg, | |
| const UChar *pattern, int32_t patternLength, | | const UChar *pattern, int32_t patternLength, | |
| const UChar *skeleton, int32_t skeletonLength, | | const UChar *skeleton, int32_t skeletonLength, | |
| UChar *dest, int32_t destCapacity, | | UChar *dest, int32_t destCapacity, | |
| UErrorCode *pErrorCode); | | UErrorCode *pErrorCode); | |
| | | | |
| /** | | /** | |
| * Adjusts the field types (width and subtype) of a pattern to match what i
s | | * Adjusts the field types (width and subtype) of a pattern to match what i
s | |
| * in a skeleton. That is, if you supply a pattern like "d-M H:m", and a | | * in a skeleton. That is, if you supply a pattern like "d-M H:m", and a | |
| * skeleton of "MMMMddhhmm", then the input pattern is adjusted to be | | * skeleton of "MMMMddhhmm", then the input pattern is adjusted to be | |
| | | | |
| skipping to change at line 551 | | skipping to change at line 555 | |
| * Return a UEnumeration list of all the skeletons in canonical form. | | * Return a UEnumeration list of all the skeletons in canonical form. | |
| * Call udatpg_getPatternForSkeleton() to get the corresponding pattern. | | * Call udatpg_getPatternForSkeleton() to get the corresponding pattern. | |
| * | | * | |
| * @param dtpg a pointer to UDateTimePatternGenerator. | | * @param dtpg a pointer to UDateTimePatternGenerator. | |
| * @param pErrorCode a pointer to the UErrorCode which must not indicate a | | * @param pErrorCode a pointer to the UErrorCode which must not indicate a | |
| * failure before the function call | | * failure before the function call | |
| * @return a UEnumeration list of all the skeletons | | * @return a UEnumeration list of all the skeletons | |
| * The caller must close the object. | | * The caller must close the object. | |
| * @stable ICU 3.8 | | * @stable ICU 3.8 | |
| */ | | */ | |
|
| U_DRAFT UEnumeration * U_EXPORT2 | | U_STABLE UEnumeration * U_EXPORT2 | |
| udatpg_openSkeletons(const UDateTimePatternGenerator *dtpg, UErrorCode *pEr
rorCode); | | udatpg_openSkeletons(const UDateTimePatternGenerator *dtpg, UErrorCode *pEr
rorCode); | |
| | | | |
| /** | | /** | |
| * Return a UEnumeration list of all the base skeletons in canonical form. | | * Return a UEnumeration list of all the base skeletons in canonical form. | |
| * | | * | |
| * @param dtpg a pointer to UDateTimePatternGenerator. | | * @param dtpg a pointer to UDateTimePatternGenerator. | |
| * @param pErrorCode a pointer to the UErrorCode which must not indicate a | | * @param pErrorCode a pointer to the UErrorCode which must not indicate a | |
| * failure before the function call. | | * failure before the function call. | |
| * @return a UEnumeration list of all the base skeletons | | * @return a UEnumeration list of all the base skeletons | |
| * The caller must close the object. | | * The caller must close the object. | |
| * @stable ICU 3.8 | | * @stable ICU 3.8 | |
| */ | | */ | |
|
| U_DRAFT UEnumeration * U_EXPORT2 | | U_STABLE UEnumeration * U_EXPORT2 | |
| udatpg_openBaseSkeletons(const UDateTimePatternGenerator *dtpg, UErrorCode
*pErrorCode); | | udatpg_openBaseSkeletons(const UDateTimePatternGenerator *dtpg, UErrorCode
*pErrorCode); | |
| | | | |
| /** | | /** | |
| * Get the pattern corresponding to a given skeleton. | | * Get the pattern corresponding to a given skeleton. | |
| * | | * | |
| * @param dtpg a pointer to UDateTimePatternGenerator. | | * @param dtpg a pointer to UDateTimePatternGenerator. | |
| * @param skeleton | | * @param skeleton | |
| * @param skeletonLength pointer to the length of skeleton. | | * @param skeletonLength pointer to the length of skeleton. | |
| * @param pLength pointer to the length of return pattern. | | * @param pLength pointer to the length of return pattern. | |
| * @return pattern corresponding to a given skeleton. | | * @return pattern corresponding to a given skeleton. | |
| * @stable ICU 3.8 | | * @stable ICU 3.8 | |
| */ | | */ | |
|
| U_DRAFT const UChar * U_EXPORT2 | | U_STABLE const UChar * U_EXPORT2 | |
| udatpg_getPatternForSkeleton(const UDateTimePatternGenerator *dtpg, | | udatpg_getPatternForSkeleton(const UDateTimePatternGenerator *dtpg, | |
| const UChar *skeleton, int32_t skeletonLength, | | const UChar *skeleton, int32_t skeletonLength, | |
| int32_t *pLength); | | int32_t *pLength); | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 22 change blocks. |
| 21 lines changed or deleted | | 25 lines changed or added | |
|
| uintrnal.h | | uintrnal.h | |
| /* | | /* | |
| ***************************************************************************
**** | | ***************************************************************************
**** | |
|
| * Copyright (C) 2004-2009, International Business Machines | | * Copyright (C) 2004-2010, International Business Machines | |
| * Corporation and others. All Rights Reserved. | | * Corporation and others. All Rights Reserved. | |
| ***************************************************************************
**** | | ***************************************************************************
**** | |
| * | | * | |
| * file name: uintrnal.h | | * file name: uintrnal.h | |
| * encoding: US-ASCII | | * encoding: US-ASCII | |
| * tab size: 8 (not used) | | * tab size: 8 (not used) | |
| * indentation:4 | | * indentation:4 | |
| * | | * | |
| * Created by: genheaders.pl, a perl script written by Ram Viswanadha | | * Created by: genheaders.pl, a perl script written by Ram Viswanadha | |
| * | | * | |
| | | | |
| skipping to change at line 28 | | skipping to change at line 28 | |
| * YOU ARE DOING, OTHERWISE VERY BAD THINGS WILL HAPPEN! | | * YOU ARE DOING, OTHERWISE VERY BAD THINGS WILL HAPPEN! | |
| */ | | */ | |
| | | | |
| #ifndef UINTRNAL_H | | #ifndef UINTRNAL_H | |
| #define UINTRNAL_H | | #define UINTRNAL_H | |
| | | | |
| #ifdef U_HIDE_INTERNAL_API | | #ifdef U_HIDE_INTERNAL_API | |
| | | | |
| # if U_DISABLE_RENAMING | | # if U_DISABLE_RENAMING | |
| # define RegexPatternDump RegexPatternDump_INTERNAL_API_DO_NOT_USE | | # define RegexPatternDump RegexPatternDump_INTERNAL_API_DO_NOT_USE | |
|
| | | # define bms_close bms_close_INTERNAL_API_DO_NOT_USE | |
| # define bms_empty bms_empty_INTERNAL_API_DO_NOT_USE | | # define bms_empty bms_empty_INTERNAL_API_DO_NOT_USE | |
| # define bms_getData bms_getData_INTERNAL_API_DO_NOT_USE | | # define bms_getData bms_getData_INTERNAL_API_DO_NOT_USE | |
| # define bms_open bms_open_INTERNAL_API_DO_NOT_USE | | # define bms_open bms_open_INTERNAL_API_DO_NOT_USE | |
| # define bms_search bms_search_INTERNAL_API_DO_NOT_USE | | # define bms_search bms_search_INTERNAL_API_DO_NOT_USE | |
| # define bms_setTargetString bms_setTargetString_INTERNAL_API_DO_NOT
_USE | | # define bms_setTargetString bms_setTargetString_INTERNAL_API_DO_NOT
_USE | |
|
| # define decimfmtAffixPatternValueComparator decimfmtAffixPatternVal | | | |
| ueComparator_INTERNAL_API_DO_NOT_USE | | | |
| # define decimfmtAffixValueComparator decimfmtAffixValueComparator_I | | | |
| NTERNAL_API_DO_NOT_USE | | | |
| # define dtitvinfHashTableValueComparator dtitvinfHashTableValueComp | | | |
| arator_INTERNAL_API_DO_NOT_USE | | | |
| # define pl_addFontRun pl_addFontRun_INTERNAL_API_DO_NOT_USE | | # define pl_addFontRun pl_addFontRun_INTERNAL_API_DO_NOT_USE | |
| # define pl_addLocaleRun pl_addLocaleRun_INTERNAL_API_DO_NOT_USE | | # define pl_addLocaleRun pl_addLocaleRun_INTERNAL_API_DO_NOT_USE | |
| # define pl_addValueRun pl_addValueRun_INTERNAL_API_DO_NOT_USE | | # define pl_addValueRun pl_addValueRun_INTERNAL_API_DO_NOT_USE | |
| # define pl_close pl_close_INTERNAL_API_DO_NOT_USE | | # define pl_close pl_close_INTERNAL_API_DO_NOT_USE | |
| # define pl_closeFontRuns pl_closeFontRuns_INTERNAL_API_DO_NOT_USE | | # define pl_closeFontRuns pl_closeFontRuns_INTERNAL_API_DO_NOT_USE | |
| # define pl_closeLine pl_closeLine_INTERNAL_API_DO_NOT_USE | | # define pl_closeLine pl_closeLine_INTERNAL_API_DO_NOT_USE | |
| # define pl_closeLocaleRuns pl_closeLocaleRuns_INTERNAL_API_DO_NOT_U
SE | | # define pl_closeLocaleRuns pl_closeLocaleRuns_INTERNAL_API_DO_NOT_U
SE | |
| # define pl_closeValueRuns pl_closeValueRuns_INTERNAL_API_DO_NOT_USE | | # define pl_closeValueRuns pl_closeValueRuns_INTERNAL_API_DO_NOT_USE | |
| # define pl_countLineRuns pl_countLineRuns_INTERNAL_API_DO_NOT_USE | | # define pl_countLineRuns pl_countLineRuns_INTERNAL_API_DO_NOT_USE | |
| # define pl_create pl_create_INTERNAL_API_DO_NOT_USE | | # define pl_create pl_create_INTERNAL_API_DO_NOT_USE | |
| | | | |
| skipping to change at line 108 | | skipping to change at line 106 | |
| # define ucol_forceHanImplicit ucol_forceHanImplicit_INTERNAL_API_DO
_NOT_USE | | # define ucol_forceHanImplicit ucol_forceHanImplicit_INTERNAL_API_DO
_NOT_USE | |
| # define ucol_forgetUCA ucol_forgetUCA_INTERNAL_API_DO_NOT_USE | | # define ucol_forgetUCA ucol_forgetUCA_INTERNAL_API_DO_NOT_USE | |
| # define ucol_getAttributeOrDefault ucol_getAttributeOrDefault_INTER
NAL_API_DO_NOT_USE | | # define ucol_getAttributeOrDefault ucol_getAttributeOrDefault_INTER
NAL_API_DO_NOT_USE | |
| # define ucol_getUnsafeSet ucol_getUnsafeSet_INTERNAL_API_DO_NOT_USE | | # define ucol_getUnsafeSet ucol_getUnsafeSet_INTERNAL_API_DO_NOT_USE | |
| # define ucol_nextProcessed ucol_nextProcessed_INTERNAL_API_DO_NOT_U
SE | | # define ucol_nextProcessed ucol_nextProcessed_INTERNAL_API_DO_NOT_U
SE | |
| # define ucol_prepareShortStringOpen ucol_prepareShortStringOpen_INT
ERNAL_API_DO_NOT_USE | | # define ucol_prepareShortStringOpen ucol_prepareShortStringOpen_INT
ERNAL_API_DO_NOT_USE | |
| # define ucol_previousProcessed ucol_previousProcessed_INTERNAL_API_
DO_NOT_USE | | # define ucol_previousProcessed ucol_previousProcessed_INTERNAL_API_
DO_NOT_USE | |
| # define udat_applyPatternRelative udat_applyPatternRelative_INTERNA
L_API_DO_NOT_USE | | # define udat_applyPatternRelative udat_applyPatternRelative_INTERNA
L_API_DO_NOT_USE | |
| # define udat_toPatternRelativeDate udat_toPatternRelativeDate_INTER
NAL_API_DO_NOT_USE | | # define udat_toPatternRelativeDate udat_toPatternRelativeDate_INTER
NAL_API_DO_NOT_USE | |
| # define udat_toPatternRelativeTime udat_toPatternRelativeTime_INTER
NAL_API_DO_NOT_USE | | # define udat_toPatternRelativeTime udat_toPatternRelativeTime_INTER
NAL_API_DO_NOT_USE | |
|
| | | # define uplug_getConfiguration uplug_getConfiguration_INTERNAL_API_ | |
| | | DO_NOT_USE | |
| | | # define uplug_getContext uplug_getContext_INTERNAL_API_DO_NOT_USE | |
| | | # define uplug_getCurrentLevel uplug_getCurrentLevel_INTERNAL_API_DO | |
| | | _NOT_USE | |
| | | # define uplug_getLibrary uplug_getLibrary_INTERNAL_API_DO_NOT_USE | |
| | | # define uplug_getLibraryName uplug_getLibraryName_INTERNAL_API_DO_N | |
| | | OT_USE | |
| | | # define uplug_getPlugLevel uplug_getPlugLevel_INTERNAL_API_DO_NOT_U | |
| | | SE | |
| | | # define uplug_getPlugLoadStatus uplug_getPlugLoadStatus_INTERNAL_AP | |
| | | I_DO_NOT_USE | |
| | | # define uplug_getPlugName uplug_getPlugName_INTERNAL_API_DO_NOT_USE | |
| | | # define uplug_getSymbolName uplug_getSymbolName_INTERNAL_API_DO_NOT | |
| | | _USE | |
| | | # define uplug_loadPlugFromEntrypoint uplug_loadPlugFromEntrypoint_I | |
| | | NTERNAL_API_DO_NOT_USE | |
| | | # define uplug_loadPlugFromLibrary uplug_loadPlugFromLibrary_INTERNA | |
| | | L_API_DO_NOT_USE | |
| | | # define uplug_nextPlug uplug_nextPlug_INTERNAL_API_DO_NOT_USE | |
| | | # define uplug_removePlug uplug_removePlug_INTERNAL_API_DO_NOT_USE | |
| | | # define uplug_setContext uplug_setContext_INTERNAL_API_DO_NOT_USE | |
| | | # define uplug_setPlugLevel uplug_setPlugLevel_INTERNAL_API_DO_NOT_U | |
| | | SE | |
| | | # define uplug_setPlugName uplug_setPlugName_INTERNAL_API_DO_NOT_USE | |
| | | # define uplug_setPlugNoUnload uplug_setPlugNoUnload_INTERNAL_API_DO | |
| | | _NOT_USE | |
| # define uprv_getDefaultCodepage uprv_getDefaultCodepage_INTERNAL_AP
I_DO_NOT_USE | | # define uprv_getDefaultCodepage uprv_getDefaultCodepage_INTERNAL_AP
I_DO_NOT_USE | |
| # define uprv_getDefaultLocaleID uprv_getDefaultLocaleID_INTERNAL_AP
I_DO_NOT_USE | | # define uprv_getDefaultLocaleID uprv_getDefaultLocaleID_INTERNAL_AP
I_DO_NOT_USE | |
|
| | | # define uregex_appendReplacementUText uregex_appendReplacementUText | |
| | | _INTERNAL_API_DO_NOT_USE | |
| | | # define uregex_appendTailUText uregex_appendTailUText_INTERNAL_API_ | |
| | | DO_NOT_USE | |
| | | # define uregex_getUText uregex_getUText_INTERNAL_API_DO_NOT_USE | |
| | | # define uregex_groupUText uregex_groupUText_INTERNAL_API_DO_NOT_USE | |
| | | # define uregex_openUText uregex_openUText_INTERNAL_API_DO_NOT_USE | |
| | | # define uregex_patternUText uregex_patternUText_INTERNAL_API_DO_NOT | |
| | | _USE | |
| | | # define uregex_replaceAllUText uregex_replaceAllUText_INTERNAL_API_ | |
| | | DO_NOT_USE | |
| | | # define uregex_replaceFirstUText uregex_replaceFirstUText_INTERNAL_ | |
| | | API_DO_NOT_USE | |
| | | # define uregex_setUText uregex_setUText_INTERNAL_API_DO_NOT_USE | |
| | | # define uregex_splitUText uregex_splitUText_INTERNAL_API_DO_NOT_USE | |
| # define ures_openFillIn ures_openFillIn_INTERNAL_API_DO_NOT_USE | | # define ures_openFillIn ures_openFillIn_INTERNAL_API_DO_NOT_USE | |
| # define usearch_search usearch_search_INTERNAL_API_DO_NOT_USE | | # define usearch_search usearch_search_INTERNAL_API_DO_NOT_USE | |
| # define usearch_searchBackwards usearch_searchBackwards_INTERNAL_AP
I_DO_NOT_USE | | # define usearch_searchBackwards usearch_searchBackwards_INTERNAL_AP
I_DO_NOT_USE | |
|
| | | # define utext_caseCompare utext_caseCompare_INTERNAL_API_DO_NOT_USE | |
| | | # define utext_caseCompareNativeLimit utext_caseCompareNativeLimit_I | |
| | | NTERNAL_API_DO_NOT_USE | |
| | | # define utext_compare utext_compare_INTERNAL_API_DO_NOT_USE | |
| | | # define utext_compareNativeLimit utext_compareNativeLimit_INTERNAL_ | |
| | | API_DO_NOT_USE | |
| # define utf8_appendCharSafeBody utf8_appendCharSafeBody_INTERNAL_AP
I_DO_NOT_USE | | # define utf8_appendCharSafeBody utf8_appendCharSafeBody_INTERNAL_AP
I_DO_NOT_USE | |
| # define utf8_back1SafeBody utf8_back1SafeBody_INTERNAL_API_DO_NOT_U
SE | | # define utf8_back1SafeBody utf8_back1SafeBody_INTERNAL_API_DO_NOT_U
SE | |
| # define utf8_countTrailBytes utf8_countTrailBytes_INTERNAL_API_DO_N
OT_USE | | # define utf8_countTrailBytes utf8_countTrailBytes_INTERNAL_API_DO_N
OT_USE | |
| # define utf8_nextCharSafeBody utf8_nextCharSafeBody_INTERNAL_API_DO
_NOT_USE | | # define utf8_nextCharSafeBody utf8_nextCharSafeBody_INTERNAL_API_DO
_NOT_USE | |
| # define utf8_prevCharSafeBody utf8_prevCharSafeBody_INTERNAL_API_DO
_NOT_USE | | # define utf8_prevCharSafeBody utf8_prevCharSafeBody_INTERNAL_API_DO
_NOT_USE | |
| # else | | # else | |
|
| # define RegexPatternDump_4_2 RegexPatternDump_INTERNAL_API_DO_NOT_U | | # define RegexPatternDump_4_4 RegexPatternDump_INTERNAL_API_DO_NOT_U | |
| SE | | SE | |
| # define bms_empty_4_2 bms_empty_INTERNAL_API_DO_NOT_USE | | # define bms_close_4_4 bms_close_INTERNAL_API_DO_NOT_USE | |
| # define bms_getData_4_2 bms_getData_INTERNAL_API_DO_NOT_USE | | # define bms_empty_4_4 bms_empty_INTERNAL_API_DO_NOT_USE | |
| # define bms_open_4_2 bms_open_INTERNAL_API_DO_NOT_USE | | # define bms_getData_4_4 bms_getData_INTERNAL_API_DO_NOT_USE | |
| # define bms_search_4_2 bms_search_INTERNAL_API_DO_NOT_USE | | # define bms_open_4_4 bms_open_INTERNAL_API_DO_NOT_USE | |
| # define bms_setTargetString_4_2 bms_setTargetString_INTERNAL_API_DO | | # define bms_search_4_4 bms_search_INTERNAL_API_DO_NOT_USE | |
| _NOT_USE | | # define bms_setTargetString_4_4 bms_setTargetString_INTERNAL_API_DO | |
| # define decimfmtAffixPatternValueComparator_4_2 decimfmtAffixPatter | | _NOT_USE | |
| nValueComparator_INTERNAL_API_DO_NOT_USE | | # define pl_addFontRun_4_4 pl_addFontRun_INTERNAL_API_DO_NOT_USE | |
| # define decimfmtAffixValueComparator_4_2 decimfmtAffixValueComparat | | # define pl_addLocaleRun_4_4 pl_addLocaleRun_INTERNAL_API_DO_NOT_USE | |
| or_INTERNAL_API_DO_NOT_USE | | # define pl_addValueRun_4_4 pl_addValueRun_INTERNAL_API_DO_NOT_USE | |
| # define dtitvinfHashTableValueComparator_4_2 dtitvinfHashTableValue | | # define pl_closeFontRuns_4_4 pl_closeFontRuns_INTERNAL_API_DO_NOT_U | |
| Comparator_INTERNAL_API_DO_NOT_USE | | SE | |
| # define pl_addFontRun_4_2 pl_addFontRun_INTERNAL_API_DO_NOT_USE | | # define pl_closeLine_4_4 pl_closeLine_INTERNAL_API_DO_NOT_USE | |
| # define pl_addLocaleRun_4_2 pl_addLocaleRun_INTERNAL_API_DO_NOT_USE | | # define pl_closeLocaleRuns_4_4 pl_closeLocaleRuns_INTERNAL_API_DO_N | |
| # define pl_addValueRun_4_2 pl_addValueRun_INTERNAL_API_DO_NOT_USE | | OT_USE | |
| # define pl_closeFontRuns_4_2 pl_closeFontRuns_INTERNAL_API_DO_NOT_U | | # define pl_closeValueRuns_4_4 pl_closeValueRuns_INTERNAL_API_DO_NOT | |
| SE | | _USE | |
| # define pl_closeLine_4_2 pl_closeLine_INTERNAL_API_DO_NOT_USE | | # define pl_close_4_4 pl_close_INTERNAL_API_DO_NOT_USE | |
| # define pl_closeLocaleRuns_4_2 pl_closeLocaleRuns_INTERNAL_API_DO_N | | # define pl_countLineRuns_4_4 pl_countLineRuns_INTERNAL_API_DO_NOT_U | |
| OT_USE | | SE | |
| # define pl_closeValueRuns_4_2 pl_closeValueRuns_INTERNAL_API_DO_NOT | | # define pl_create_4_4 pl_create_INTERNAL_API_DO_NOT_USE | |
| _USE | | # define pl_getAscent_4_4 pl_getAscent_INTERNAL_API_DO_NOT_USE | |
| # define pl_close_4_2 pl_close_INTERNAL_API_DO_NOT_USE | | # define pl_getDescent_4_4 pl_getDescent_INTERNAL_API_DO_NOT_USE | |
| # define pl_countLineRuns_4_2 pl_countLineRuns_INTERNAL_API_DO_NOT_U | | # define pl_getFontRunCount_4_4 pl_getFontRunCount_INTERNAL_API_DO_N | |
| SE | | OT_USE | |
| # define pl_create_4_2 pl_create_INTERNAL_API_DO_NOT_USE | | # define pl_getFontRunFont_4_4 pl_getFontRunFont_INTERNAL_API_DO_NOT | |
| # define pl_getAscent_4_2 pl_getAscent_INTERNAL_API_DO_NOT_USE | | _USE | |
| # define pl_getDescent_4_2 pl_getDescent_INTERNAL_API_DO_NOT_USE | | # define pl_getFontRunLastLimit_4_4 pl_getFontRunLastLimit_INTERNAL_ | |
| # define pl_getFontRunCount_4_2 pl_getFontRunCount_INTERNAL_API_DO_N | | API_DO_NOT_USE | |
| OT_USE | | # define pl_getFontRunLimit_4_4 pl_getFontRunLimit_INTERNAL_API_DO_N | |
| # define pl_getFontRunFont_4_2 pl_getFontRunFont_INTERNAL_API_DO_NOT | | OT_USE | |
| _USE | | # define pl_getLeading_4_4 pl_getLeading_INTERNAL_API_DO_NOT_USE | |
| # define pl_getFontRunLastLimit_4_2 pl_getFontRunLastLimit_INTERNAL_ | | # define pl_getLineAscent_4_4 pl_getLineAscent_INTERNAL_API_DO_NOT_U | |
| API_DO_NOT_USE | | SE | |
| # define pl_getFontRunLimit_4_2 pl_getFontRunLimit_INTERNAL_API_DO_N | | # define pl_getLineDescent_4_4 pl_getLineDescent_INTERNAL_API_DO_NOT | |
| OT_USE | | _USE | |
| # define pl_getLeading_4_2 pl_getLeading_INTERNAL_API_DO_NOT_USE | | # define pl_getLineLeading_4_4 pl_getLineLeading_INTERNAL_API_DO_NOT | |
| # define pl_getLineAscent_4_2 pl_getLineAscent_INTERNAL_API_DO_NOT_U | | _USE | |
| SE | | # define pl_getLineVisualRun_4_4 pl_getLineVisualRun_INTERNAL_API_DO | |
| # define pl_getLineDescent_4_2 pl_getLineDescent_INTERNAL_API_DO_NOT | | _NOT_USE | |
| _USE | | # define pl_getLineWidth_4_4 pl_getLineWidth_INTERNAL_API_DO_NOT_USE | |
| # define pl_getLineLeading_4_2 pl_getLineLeading_INTERNAL_API_DO_NOT | | # define pl_getLocaleRunCount_4_4 pl_getLocaleRunCount_INTERNAL_API_ | |
| _USE | | DO_NOT_USE | |
| # define pl_getLineVisualRun_4_2 pl_getLineVisualRun_INTERNAL_API_DO | | # define pl_getLocaleRunLastLimit_4_4 pl_getLocaleRunLastLimit_INTER | |
| _NOT_USE | | NAL_API_DO_NOT_USE | |
| # define pl_getLineWidth_4_2 pl_getLineWidth_INTERNAL_API_DO_NOT_USE | | # define pl_getLocaleRunLimit_4_4 pl_getLocaleRunLimit_INTERNAL_API_ | |
| # define pl_getLocaleRunCount_4_2 pl_getLocaleRunCount_INTERNAL_API_ | | DO_NOT_USE | |
| DO_NOT_USE | | # define pl_getLocaleRunLocale_4_4 pl_getLocaleRunLocale_INTERNAL_AP | |
| # define pl_getLocaleRunLastLimit_4_2 pl_getLocaleRunLastLimit_INTER | | I_DO_NOT_USE | |
| NAL_API_DO_NOT_USE | | # define pl_getParagraphLevel_4_4 pl_getParagraphLevel_INTERNAL_API_ | |
| # define pl_getLocaleRunLimit_4_2 pl_getLocaleRunLimit_INTERNAL_API_ | | DO_NOT_USE | |
| DO_NOT_USE | | # define pl_getTextDirection_4_4 pl_getTextDirection_INTERNAL_API_DO | |
| # define pl_getLocaleRunLocale_4_2 pl_getLocaleRunLocale_INTERNAL_AP | | _NOT_USE | |
| I_DO_NOT_USE | | # define pl_getValueRunCount_4_4 pl_getValueRunCount_INTERNAL_API_DO | |
| # define pl_getParagraphLevel_4_2 pl_getParagraphLevel_INTERNAL_API_ | | _NOT_USE | |
| DO_NOT_USE | | # define pl_getValueRunLastLimit_4_4 pl_getValueRunLastLimit_INTERNA | |
| # define pl_getTextDirection_4_2 pl_getTextDirection_INTERNAL_API_DO | | L_API_DO_NOT_USE | |
| _NOT_USE | | # define pl_getValueRunLimit_4_4 pl_getValueRunLimit_INTERNAL_API_DO | |
| # define pl_getValueRunCount_4_2 pl_getValueRunCount_INTERNAL_API_DO | | _NOT_USE | |
| _NOT_USE | | # define pl_getValueRunValue_4_4 pl_getValueRunValue_INTERNAL_API_DO | |
| # define pl_getValueRunLastLimit_4_2 pl_getValueRunLastLimit_INTERNA | | _NOT_USE | |
| L_API_DO_NOT_USE | | # define pl_getVisualRunAscent_4_4 pl_getVisualRunAscent_INTERNAL_AP | |
| # define pl_getValueRunLimit_4_2 pl_getValueRunLimit_INTERNAL_API_DO | | I_DO_NOT_USE | |
| _NOT_USE | | # define pl_getVisualRunDescent_4_4 pl_getVisualRunDescent_INTERNAL_ | |
| # define pl_getValueRunValue_4_2 pl_getValueRunValue_INTERNAL_API_DO | | API_DO_NOT_USE | |
| _NOT_USE | | # define pl_getVisualRunDirection_4_4 pl_getVisualRunDirection_INTER | |
| # define pl_getVisualRunAscent_4_2 pl_getVisualRunAscent_INTERNAL_AP | | NAL_API_DO_NOT_USE | |
| I_DO_NOT_USE | | # define pl_getVisualRunFont_4_4 pl_getVisualRunFont_INTERNAL_API_DO | |
| # define pl_getVisualRunDescent_4_2 pl_getVisualRunDescent_INTERNAL_ | | _NOT_USE | |
| API_DO_NOT_USE | | # define pl_getVisualRunGlyphCount_4_4 pl_getVisualRunGlyphCount_INT | |
| # define pl_getVisualRunDirection_4_2 pl_getVisualRunDirection_INTER | | ERNAL_API_DO_NOT_USE | |
| NAL_API_DO_NOT_USE | | # define pl_getVisualRunGlyphToCharMap_4_4 pl_getVisualRunGlyphToCha | |
| # define pl_getVisualRunFont_4_2 pl_getVisualRunFont_INTERNAL_API_DO | | rMap_INTERNAL_API_DO_NOT_USE | |
| _NOT_USE | | # define pl_getVisualRunGlyphs_4_4 pl_getVisualRunGlyphs_INTERNAL_AP | |
| # define pl_getVisualRunGlyphCount_4_2 pl_getVisualRunGlyphCount_INT | | I_DO_NOT_USE | |
| ERNAL_API_DO_NOT_USE | | # define pl_getVisualRunLeading_4_4 pl_getVisualRunLeading_INTERNAL_ | |
| # define pl_getVisualRunGlyphToCharMap_4_2 pl_getVisualRunGlyphToCha | | API_DO_NOT_USE | |
| rMap_INTERNAL_API_DO_NOT_USE | | # define pl_getVisualRunPositions_4_4 pl_getVisualRunPositions_INTER | |
| # define pl_getVisualRunGlyphs_4_2 pl_getVisualRunGlyphs_INTERNAL_AP | | NAL_API_DO_NOT_USE | |
| I_DO_NOT_USE | | # define pl_isComplex_4_4 pl_isComplex_INTERNAL_API_DO_NOT_USE | |
| # define pl_getVisualRunLeading_4_2 pl_getVisualRunLeading_INTERNAL_ | | # define pl_line_4_4 pl_line_INTERNAL_API_DO_NOT_USE | |
| API_DO_NOT_USE | | # define pl_nextLine_4_4 pl_nextLine_INTERNAL_API_DO_NOT_USE | |
| # define pl_getVisualRunPositions_4_2 pl_getVisualRunPositions_INTER | | # define pl_openEmptyFontRuns_4_4 pl_openEmptyFontRuns_INTERNAL_API_ | |
| NAL_API_DO_NOT_USE | | DO_NOT_USE | |
| # define pl_isComplex_4_2 pl_isComplex_INTERNAL_API_DO_NOT_USE | | # define pl_openEmptyLocaleRuns_4_4 pl_openEmptyLocaleRuns_INTERNAL_ | |
| # define pl_line_4_2 pl_line_INTERNAL_API_DO_NOT_USE | | API_DO_NOT_USE | |
| # define pl_nextLine_4_2 pl_nextLine_INTERNAL_API_DO_NOT_USE | | # define pl_openEmptyValueRuns_4_4 pl_openEmptyValueRuns_INTERNAL_AP | |
| # define pl_openEmptyFontRuns_4_2 pl_openEmptyFontRuns_INTERNAL_API_ | | I_DO_NOT_USE | |
| DO_NOT_USE | | # define pl_openFontRuns_4_4 pl_openFontRuns_INTERNAL_API_DO_NOT_USE | |
| # define pl_openEmptyLocaleRuns_4_2 pl_openEmptyLocaleRuns_INTERNAL_ | | # define pl_openLocaleRuns_4_4 pl_openLocaleRuns_INTERNAL_API_DO_NOT | |
| API_DO_NOT_USE | | _USE | |
| # define pl_openEmptyValueRuns_4_2 pl_openEmptyValueRuns_INTERNAL_AP | | # define pl_openValueRuns_4_4 pl_openValueRuns_INTERNAL_API_DO_NOT_U | |
| I_DO_NOT_USE | | SE | |
| # define pl_openFontRuns_4_2 pl_openFontRuns_INTERNAL_API_DO_NOT_USE | | # define pl_paragraph_4_4 pl_paragraph_INTERNAL_API_DO_NOT_USE | |
| # define pl_openLocaleRuns_4_2 pl_openLocaleRuns_INTERNAL_API_DO_NOT | | # define pl_reflow_4_4 pl_reflow_INTERNAL_API_DO_NOT_USE | |
| _USE | | # define pl_resetFontRuns_4_4 pl_resetFontRuns_INTERNAL_API_DO_NOT_U | |
| # define pl_openValueRuns_4_2 pl_openValueRuns_INTERNAL_API_DO_NOT_U | | SE | |
| SE | | # define pl_resetLocaleRuns_4_4 pl_resetLocaleRuns_INTERNAL_API_DO_N | |
| # define pl_paragraph_4_2 pl_paragraph_INTERNAL_API_DO_NOT_USE | | OT_USE | |
| # define pl_reflow_4_2 pl_reflow_INTERNAL_API_DO_NOT_USE | | # define pl_resetValueRuns_4_4 pl_resetValueRuns_INTERNAL_API_DO_NOT | |
| # define pl_resetFontRuns_4_2 pl_resetFontRuns_INTERNAL_API_DO_NOT_U | | _USE | |
| SE | | # define pl_visualRun_4_4 pl_visualRun_INTERNAL_API_DO_NOT_USE | |
| # define pl_resetLocaleRuns_4_2 pl_resetLocaleRuns_INTERNAL_API_DO_N | | # define ucd_close_4_4 ucd_close_INTERNAL_API_DO_NOT_USE | |
| OT_USE | | # define ucd_flushCache_4_4 ucd_flushCache_INTERNAL_API_DO_NOT_USE | |
| # define pl_resetValueRuns_4_2 pl_resetValueRuns_INTERNAL_API_DO_NOT | | # define ucd_freeCache_4_4 ucd_freeCache_INTERNAL_API_DO_NOT_USE | |
| _USE | | # define ucd_getCollator_4_4 ucd_getCollator_INTERNAL_API_DO_NOT_USE | |
| # define pl_visualRun_4_2 pl_visualRun_INTERNAL_API_DO_NOT_USE | | # define ucd_open_4_4 ucd_open_INTERNAL_API_DO_NOT_USE | |
| # define ucd_close_4_2 ucd_close_INTERNAL_API_DO_NOT_USE | | # define ucol_equals_4_4 ucol_equals_INTERNAL_API_DO_NOT_USE | |
| # define ucd_flushCache_4_2 ucd_flushCache_INTERNAL_API_DO_NOT_USE | | # define ucol_forceHanImplicit_4_4 ucol_forceHanImplicit_INTERNAL_AP | |
| # define ucd_freeCache_4_2 ucd_freeCache_INTERNAL_API_DO_NOT_USE | | I_DO_NOT_USE | |
| # define ucd_getCollator_4_2 ucd_getCollator_INTERNAL_API_DO_NOT_USE | | # define ucol_forgetUCA_4_4 ucol_forgetUCA_INTERNAL_API_DO_NOT_USE | |
| # define ucd_open_4_2 ucd_open_INTERNAL_API_DO_NOT_USE | | # define ucol_getAttributeOrDefault_4_4 ucol_getAttributeOrDefault_I | |
| # define ucol_equals_4_2 ucol_equals_INTERNAL_API_DO_NOT_USE | | NTERNAL_API_DO_NOT_USE | |
| # define ucol_forceHanImplicit_4_2 ucol_forceHanImplicit_INTERNAL_AP | | # define ucol_getUnsafeSet_4_4 ucol_getUnsafeSet_INTERNAL_API_DO_NOT | |
| I_DO_NOT_USE | | _USE | |
| # define ucol_forgetUCA_4_2 ucol_forgetUCA_INTERNAL_API_DO_NOT_USE | | # define ucol_nextProcessed_4_4 ucol_nextProcessed_INTERNAL_API_DO_N | |
| # define ucol_getAttributeOrDefault_4_2 ucol_getAttributeOrDefault_I | | OT_USE | |
| NTERNAL_API_DO_NOT_USE | | # define ucol_prepareShortStringOpen_4_4 ucol_prepareShortStringOpen | |
| # define ucol_getUnsafeSet_4_2 ucol_getUnsafeSet_INTERNAL_API_DO_NOT | | _INTERNAL_API_DO_NOT_USE | |
| _USE | | # define ucol_previousProcessed_4_4 ucol_previousProcessed_INTERNAL_ | |
| # define ucol_nextProcessed_4_2 ucol_nextProcessed_INTERNAL_API_DO_N | | API_DO_NOT_USE | |
| OT_USE | | # define udat_applyPatternRelative_4_4 udat_applyPatternRelative_INT | |
| # define ucol_prepareShortStringOpen_4_2 ucol_prepareShortStringOpen | | ERNAL_API_DO_NOT_USE | |
| _INTERNAL_API_DO_NOT_USE | | # define udat_toPatternRelativeDate_4_4 udat_toPatternRelativeDate_I | |
| # define ucol_previousProcessed_4_2 ucol_previousProcessed_INTERNAL_ | | NTERNAL_API_DO_NOT_USE | |
| API_DO_NOT_USE | | # define udat_toPatternRelativeTime_4_4 udat_toPatternRelativeTime_I | |
| # define udat_applyPatternRelative_4_2 udat_applyPatternRelative_INT | | NTERNAL_API_DO_NOT_USE | |
| ERNAL_API_DO_NOT_USE | | # define uplug_getConfiguration_4_4 uplug_getConfiguration_INTERNAL_ | |
| # define udat_toPatternRelativeDate_4_2 udat_toPatternRelativeDate_I | | API_DO_NOT_USE | |
| NTERNAL_API_DO_NOT_USE | | # define uplug_getContext_4_4 uplug_getContext_INTERNAL_API_DO_NOT_U | |
| # define udat_toPatternRelativeTime_4_2 udat_toPatternRelativeTime_I | | SE | |
| NTERNAL_API_DO_NOT_USE | | # define uplug_getCurrentLevel_4_4 uplug_getCurrentLevel_INTERNAL_AP | |
| # define uprv_getDefaultCodepage_4_2 uprv_getDefaultCodepage_INTERNA | | I_DO_NOT_USE | |
| L_API_DO_NOT_USE | | # define uplug_getLibraryName_4_4 uplug_getLibraryName_INTERNAL_API_ | |
| # define uprv_getDefaultLocaleID_4_2 uprv_getDefaultLocaleID_INTERNA | | DO_NOT_USE | |
| L_API_DO_NOT_USE | | # define uplug_getLibrary_4_4 uplug_getLibrary_INTERNAL_API_DO_NOT_U | |
| # define ures_openFillIn_4_2 ures_openFillIn_INTERNAL_API_DO_NOT_USE | | SE | |
| # define usearch_searchBackwards_4_2 usearch_searchBackwards_INTERNA | | # define uplug_getPlugLevel_4_4 uplug_getPlugLevel_INTERNAL_API_DO_N | |
| L_API_DO_NOT_USE | | OT_USE | |
| # define usearch_search_4_2 usearch_search_INTERNAL_API_DO_NOT_USE | | # define uplug_getPlugLoadStatus_4_4 uplug_getPlugLoadStatus_INTERNA | |
| # define utf8_appendCharSafeBody_4_2 utf8_appendCharSafeBody_INTERNA | | L_API_DO_NOT_USE | |
| L_API_DO_NOT_USE | | # define uplug_getPlugName_4_4 uplug_getPlugName_INTERNAL_API_DO_NOT | |
| # define utf8_back1SafeBody_4_2 utf8_back1SafeBody_INTERNAL_API_DO_N | | _USE | |
| OT_USE | | # define uplug_getSymbolName_4_4 uplug_getSymbolName_INTERNAL_API_DO | |
| # define utf8_countTrailBytes_4_2 utf8_countTrailBytes_INTERNAL_API_ | | _NOT_USE | |
| DO_NOT_USE | | # define uplug_loadPlugFromEntrypoint_4_4 uplug_loadPlugFromEntrypoi | |
| # define utf8_nextCharSafeBody_4_2 utf8_nextCharSafeBody_INTERNAL_AP | | nt_INTERNAL_API_DO_NOT_USE | |
| I_DO_NOT_USE | | # define uplug_loadPlugFromLibrary_4_4 uplug_loadPlugFromLibrary_INT | |
| # define utf8_prevCharSafeBody_4_2 utf8_prevCharSafeBody_INTERNAL_AP | | ERNAL_API_DO_NOT_USE | |
| I_DO_NOT_USE | | # define uplug_nextPlug_4_4 uplug_nextPlug_INTERNAL_API_DO_NOT_USE | |
| | | # define uplug_removePlug_4_4 uplug_removePlug_INTERNAL_API_DO_NOT_U | |
| | | SE | |
| | | # define uplug_setContext_4_4 uplug_setContext_INTERNAL_API_DO_NOT_U | |
| | | SE | |
| | | # define uplug_setPlugLevel_4_4 uplug_setPlugLevel_INTERNAL_API_DO_N | |
| | | OT_USE | |
| | | # define uplug_setPlugName_4_4 uplug_setPlugName_INTERNAL_API_DO_NOT | |
| | | _USE | |
| | | # define uplug_setPlugNoUnload_4_4 uplug_setPlugNoUnload_INTERNAL_AP | |
| | | I_DO_NOT_USE | |
| | | # define uprv_getDefaultCodepage_4_4 uprv_getDefaultCodepage_INTERNA | |
| | | L_API_DO_NOT_USE | |
| | | # define uprv_getDefaultLocaleID_4_4 uprv_getDefaultLocaleID_INTERNA | |
| | | L_API_DO_NOT_USE | |
| | | # define uregex_appendReplacementUText_4_4 uregex_appendReplacementU | |
| | | Text_INTERNAL_API_DO_NOT_USE | |
| | | # define uregex_appendTailUText_4_4 uregex_appendTailUText_INTERNAL_ | |
| | | API_DO_NOT_USE | |
| | | # define uregex_getUText_4_4 uregex_getUText_INTERNAL_API_DO_NOT_USE | |
| | | # define uregex_groupUText_4_4 uregex_groupUText_INTERNAL_API_DO_NOT | |
| | | _USE | |
| | | # define uregex_openUText_4_4 uregex_openUText_INTERNAL_API_DO_NOT_U | |
| | | SE | |
| | | # define uregex_patternUText_4_4 uregex_patternUText_INTERNAL_API_DO | |
| | | _NOT_USE | |
| | | # define uregex_replaceAllUText_4_4 uregex_replaceAllUText_INTERNAL_ | |
| | | API_DO_NOT_USE | |
| | | # define uregex_replaceFirstUText_4_4 uregex_replaceFirstUText_INTER | |
| | | NAL_API_DO_NOT_USE | |
| | | # define uregex_setUText_4_4 uregex_setUText_INTERNAL_API_DO_NOT_USE | |
| | | # define uregex_splitUText_4_4 uregex_splitUText_INTERNAL_API_DO_NOT | |
| | | _USE | |
| | | # define ures_openFillIn_4_4 ures_openFillIn_INTERNAL_API_DO_NOT_USE | |
| | | # define usearch_searchBackwards_4_4 usearch_searchBackwards_INTERNA | |
| | | L_API_DO_NOT_USE | |
| | | # define usearch_search_4_4 usearch_search_INTERNAL_API_DO_NOT_USE | |
| | | # define utext_caseCompareNativeLimit_4_4 utext_caseCompareNativeLim | |
| | | it_INTERNAL_API_DO_NOT_USE | |
| | | # define utext_caseCompare_4_4 utext_caseCompare_INTERNAL_API_DO_NOT | |
| | | _USE | |
| | | # define utext_compareNativeLimit_4_4 utext_compareNativeLimit_INTER | |
| | | NAL_API_DO_NOT_USE | |
| | | # define utext_compare_4_4 utext_compare_INTERNAL_API_DO_NOT_USE | |
| | | # define utf8_appendCharSafeBody_4_4 utf8_appendCharSafeBody_INTERNA | |
| | | L_API_DO_NOT_USE | |
| | | # define utf8_back1SafeBody_4_4 utf8_back1SafeBody_INTERNAL_API_DO_N | |
| | | OT_USE | |
| | | # define utf8_countTrailBytes_4_4 utf8_countTrailBytes_INTERNAL_API_ | |
| | | DO_NOT_USE | |
| | | # define utf8_nextCharSafeBody_4_4 utf8_nextCharSafeBody_INTERNAL_AP | |
| | | I_DO_NOT_USE | |
| | | # define utf8_prevCharSafeBody_4_4 utf8_prevCharSafeBody_INTERNAL_AP | |
| | | I_DO_NOT_USE | |
| # endif /* U_DISABLE_RENAMING */ | | # endif /* U_DISABLE_RENAMING */ | |
| | | | |
| #endif /* U_HIDE_INTERNAL_API */ | | #endif /* U_HIDE_INTERNAL_API */ | |
| #endif /* UINTRNAL_H */ | | #endif /* UINTRNAL_H */ | |
| | | | |
End of changes. 7 change blocks. |
| 159 lines changed or deleted | | 255 lines changed or added | |
|
| uregex.h | | uregex.h | |
| /* | | /* | |
| ********************************************************************** | | ********************************************************************** | |
|
| * Copyright (C) 2004-2009, International Business Machines | | * Copyright (C) 2004-2010, International Business Machines | |
| * Corporation and others. All Rights Reserved. | | * Corporation and others. All Rights Reserved. | |
| ********************************************************************** | | ********************************************************************** | |
|
| * file name: regex.h | | * file name: uregex.h | |
| * encoding: US-ASCII | | * encoding: US-ASCII | |
| * indentation:4 | | * indentation:4 | |
| * | | * | |
| * created on: 2004mar09 | | * created on: 2004mar09 | |
| * created by: Andy Heninger | | * created by: Andy Heninger | |
| * | | * | |
| * ICU Regular Expressions, API for C | | * ICU Regular Expressions, API for C | |
| */ | | */ | |
| | | | |
| /** | | /** | |
| * \file | | * \file | |
| * \brief C API: Regular Expressions | | * \brief C API: Regular Expressions | |
| * | | * | |
| * <p>This is a C wrapper around the C++ RegexPattern and RegexMatcher clas
ses.</p> | | * <p>This is a C wrapper around the C++ RegexPattern and RegexMatcher clas
ses.</p> | |
| */ | | */ | |
| | | | |
| #ifndef UREGEX_H | | #ifndef UREGEX_H | |
| #define UREGEX_H | | #define UREGEX_H | |
| | | | |
|
| | | #include "unicode/utext.h" | |
| #include "unicode/utypes.h" | | #include "unicode/utypes.h" | |
| | | | |
| #if !UCONFIG_NO_REGULAR_EXPRESSIONS | | #if !UCONFIG_NO_REGULAR_EXPRESSIONS | |
| | | | |
| #include "unicode/localpointer.h" | | #include "unicode/localpointer.h" | |
| #include "unicode/parseerr.h" | | #include "unicode/parseerr.h" | |
| | | | |
| struct URegularExpression; | | struct URegularExpression; | |
| /** | | /** | |
| * Structure representing a compiled regular rexpression, plus the results | | * Structure representing a compiled regular rexpression, plus the results | |
| | | | |
| skipping to change at line 65 | | skipping to change at line 66 | |
| | | | |
| /** Allow white space and comments within patterns @stable ICU 2.4 */ | | /** Allow white space and comments within patterns @stable ICU 2.4 */ | |
| UREGEX_COMMENTS = 4, | | UREGEX_COMMENTS = 4, | |
| | | | |
| /** If set, '.' matches line terminators, otherwise '.' matching stop
s at line end. | | /** If set, '.' matches line terminators, otherwise '.' matching stop
s at line end. | |
| * @stable ICU 2.4 */ | | * @stable ICU 2.4 */ | |
| UREGEX_DOTALL = 32, | | UREGEX_DOTALL = 32, | |
| | | | |
| /** If set, treat the entire pattern as a literal string. | | /** If set, treat the entire pattern as a literal string. | |
| * Metacharacters or escape sequences in the input sequence will be g
iven | | * Metacharacters or escape sequences in the input sequence will be g
iven | |
|
| * no special meaning. | | * no special meaning. Not implemented yet as of ICU 4.4. | |
| * | | * | |
| * The flags CASE_INSENSITIVE and UNICODE_CASE retain their impact | | * The flags CASE_INSENSITIVE and UNICODE_CASE retain their impact | |
| * on matching when used in conjunction with this flag. | | * on matching when used in conjunction with this flag. | |
| * The other flags become superfluous. | | * The other flags become superfluous. | |
| * TODO: say which escapes are still handled; anything Java does | | * TODO: say which escapes are still handled; anything Java does | |
| * early (\\u) we should still do. | | * early (\\u) we should still do. | |
| * @stable ICU 4.0 | | * @stable ICU 4.0 | |
| */ | | */ | |
| UREGEX_LITERAL = 16, | | UREGEX_LITERAL = 16, | |
| | | | |
| | | | |
| skipping to change at line 115 | | skipping to change at line 116 | |
| UREGEX_ERROR_ON_UNKNOWN_ESCAPES = 512 | | UREGEX_ERROR_ON_UNKNOWN_ESCAPES = 512 | |
| | | | |
| } URegexpFlag; | | } URegexpFlag; | |
| | | | |
| /** | | /** | |
| * Open (compile) an ICU regular expression. Compiles the regular expres
sion in | | * Open (compile) an ICU regular expression. Compiles the regular expres
sion in | |
| * string form into an internal representation using the specified match
mode flags. | | * string form into an internal representation using the specified match
mode flags. | |
| * The resulting regular expression handle can then be used to perform va
rious | | * The resulting regular expression handle can then be used to perform va
rious | |
| * matching operations. | | * matching operations. | |
| * | | * | |
|
| | | * | |
| * @param pattern The Regular Expression pattern to be compiled. | | * @param pattern The Regular Expression pattern to be compiled. | |
| * @param patternLength The length of the pattern, or -1 if the pattern i
s | | * @param patternLength The length of the pattern, or -1 if the pattern i
s | |
| * NUL termintated. | | * NUL termintated. | |
| * @param flags Flags that alter the default matching behavior fo
r | | * @param flags Flags that alter the default matching behavior fo
r | |
| * the regular expression, UREGEX_CASE_INSENSITIVE,
for | | * the regular expression, UREGEX_CASE_INSENSITIVE,
for | |
| * example. For default behavior, set this paramete
r to zero. | | * example. For default behavior, set this paramete
r to zero. | |
| * See <code>enum URegexpFlag</code>. All desired f
lags | | * See <code>enum URegexpFlag</code>. All desired f
lags | |
| * are bitwise-ORed together. | | * are bitwise-ORed together. | |
| * @param pe Receives the position (line and column nubers) of
any syntax | | * @param pe Receives the position (line and column nubers) of
any syntax | |
| * error within the source regular expression string
. If this | | * error within the source regular expression string
. If this | |
| | | | |
| skipping to change at line 138 | | skipping to change at line 140 | |
| * | | * | |
| */ | | */ | |
| U_STABLE URegularExpression * U_EXPORT2 | | U_STABLE URegularExpression * U_EXPORT2 | |
| uregex_open( const UChar *pattern, | | uregex_open( const UChar *pattern, | |
| int32_t patternLength, | | int32_t patternLength, | |
| uint32_t flags, | | uint32_t flags, | |
| UParseError *pe, | | UParseError *pe, | |
| UErrorCode *status); | | UErrorCode *status); | |
| | | | |
| /** | | /** | |
|
| | | * Open (compile) an ICU regular expression. Compiles the regular expres | |
| | | sion in | |
| | | * string form into an internal representation using the specified match | |
| | | mode flags. | |
| | | * The resulting regular expression handle can then be used to perform va | |
| | | rious | |
| | | * matching operations. | |
| | | * <p> | |
| | | * The contents of the pattern UText will be extracted and saved. Ownersh | |
| | | ip of the | |
| | | * UText struct itself remains with the caller. This is to match the beh | |
| | | avior of | |
| | | * uregex_open(). | |
| | | * | |
| | | * @param pattern The Regular Expression pattern to be compiled. | |
| | | * @param flags Flags that alter the default matching behavior fo | |
| | | r | |
| | | * the regular expression, UREGEX_CASE_INSENSITIVE, | |
| | | for | |
| | | * example. For default behavior, set this paramete | |
| | | r to zero. | |
| | | * See <code>enum URegexpFlag</code>. All desired f | |
| | | lags | |
| | | * are bitwise-ORed together. | |
| | | * @param pe Receives the position (line and column nubers) of | |
| | | any syntax | |
| | | * error within the source regular expression string | |
| | | . If this | |
| | | * information is not wanted, pass NULL for this par | |
| | | ameter. | |
| | | * @param status Receives error detected by this function. | |
| | | * | |
| | | * @internal ICU 4.4 technology preview | |
| | | */ | |
| | | U_INTERNAL URegularExpression * U_EXPORT2 | |
| | | uregex_openUText(UText *pattern, | |
| | | uint32_t flags, | |
| | | UParseError *pe, | |
| | | UErrorCode *status); | |
| | | | |
| | | /** | |
| * Open (compile) an ICU regular expression. The resulting regular expre
ssion | | * Open (compile) an ICU regular expression. The resulting regular expre
ssion | |
| * handle can then be used to perform various matching operations. | | * handle can then be used to perform various matching operations. | |
| * <p> | | * <p> | |
| * This function is the same as uregex_open, except that the pattern | | * This function is the same as uregex_open, except that the pattern | |
| * is supplied as an 8 bit char * string in the default code page. | | * is supplied as an 8 bit char * string in the default code page. | |
| * | | * | |
| * @param pattern The Regular Expression pattern to be compiled, | | * @param pattern The Regular Expression pattern to be compiled, | |
| * NUL termintated. | | * NUL termintated. | |
| * @param flags Flags that alter the default matching behavior fo
r | | * @param flags Flags that alter the default matching behavior fo
r | |
| * the regular expression, UREGEX_CASE_INSENSITIVE,
for | | * the regular expression, UREGEX_CASE_INSENSITIVE,
for | |
| | | | |
| skipping to change at line 219 | | skipping to change at line 250 | |
| * | | * | |
| * @param regexp The compiled regular expression to be cloned. | | * @param regexp The compiled regular expression to be cloned. | |
| * @param status Receives indication of any errors encountered | | * @param status Receives indication of any errors encountered | |
| * @return the cloned copy of the compiled regular expression. | | * @return the cloned copy of the compiled regular expression. | |
| * @stable ICU 3.0 | | * @stable ICU 3.0 | |
| */ | | */ | |
| U_STABLE URegularExpression * U_EXPORT2 | | U_STABLE URegularExpression * U_EXPORT2 | |
| uregex_clone(const URegularExpression *regexp, UErrorCode *status); | | uregex_clone(const URegularExpression *regexp, UErrorCode *status); | |
| | | | |
| /** | | /** | |
|
| * Return a pointer to the source form of the pattern for this regular exp | | * Returns a pointer to the source form of the pattern for this regular ex | |
| ression. | | pression. | |
| | | * This function will work even if the pattern was originally specified as | |
| | | a UText. | |
| * | | * | |
| * @param regexp The compiled regular expression. | | * @param regexp The compiled regular expression. | |
| * @param patLength This output parameter will be set to the length of the | | * @param patLength This output parameter will be set to the length of the | |
| * pattern string. A NULL pointer may be used here if th
e | | * pattern string. A NULL pointer may be used here if th
e | |
| * pattern length is not needed, as would be the case if | | * pattern length is not needed, as would be the case if | |
| * the pattern is known in advance to be a NUL terminated | | * the pattern is known in advance to be a NUL terminated | |
| * string. | | * string. | |
| * @param status Receives errors detected by this function. | | * @param status Receives errors detected by this function. | |
| * @return a pointer to the pattern string. The storage for the string is | | * @return a pointer to the pattern string. The storage for the string is | |
| * owned by the regular expression object, and must not b
e | | * owned by the regular expression object, and must not b
e | |
| * altered or deleted by the application. The returned s
tring | | * altered or deleted by the application. The returned s
tring | |
| * will remain valid until the regular expression is clos
ed. | | * will remain valid until the regular expression is clos
ed. | |
| * @stable ICU 3.0 | | * @stable ICU 3.0 | |
| */ | | */ | |
| U_STABLE const UChar * U_EXPORT2 | | U_STABLE const UChar * U_EXPORT2 | |
|
| uregex_pattern(const URegularExpression *regexp, | | uregex_pattern(const URegularExpression *regexp, | |
| int32_t *patLength, | | int32_t *patLength, | |
| UErrorCode *status); | | UErrorCode *status); | |
| | | | |
| | | /** | |
| | | * Returns the source text of the pattern for this regular expression. | |
| | | * This function will work even if the pattern was originally specified as | |
| | | a UChar string. | |
| | | * | |
| | | * @param regexp The compiled regular expression. | |
| | | * @param status Receives errors detected by this function. | |
| | | * @return the pattern text. The storage for the text is owned by the regu | |
| | | lar expression | |
| | | * object, and must not be altered or deleted. | |
| | | * | |
| | | * @internal ICU 4.4 technology preview | |
| | | */ | |
| | | U_INTERNAL UText * U_EXPORT2 | |
| | | uregex_patternUText(const URegularExpression *regexp, | |
| | | UErrorCode *status); | |
| | | | |
| /** | | /** | |
| * Get the match mode flags that were specified when compiling this regula
r expression. | | * Get the match mode flags that were specified when compiling this regula
r expression. | |
| * @param status Receives errors detected by this function. | | * @param status Receives errors detected by this function. | |
| * @param regexp The compiled regular expression. | | * @param regexp The compiled regular expression. | |
| * @return The match mode flags | | * @return The match mode flags | |
| * @see URegexpFlag | | * @see URegexpFlag | |
| * @stable ICU 3.0 | | * @stable ICU 3.0 | |
| */ | | */ | |
| U_STABLE int32_t U_EXPORT2 | | U_STABLE int32_t U_EXPORT2 | |
| | | | |
| skipping to change at line 278 | | skipping to change at line 325 | |
| * @param status Receives errors detected by this function. | | * @param status Receives errors detected by this function. | |
| * @stable ICU 3.0 | | * @stable ICU 3.0 | |
| */ | | */ | |
| U_STABLE void U_EXPORT2 | | U_STABLE void U_EXPORT2 | |
| uregex_setText(URegularExpression *regexp, | | uregex_setText(URegularExpression *regexp, | |
| const UChar *text, | | const UChar *text, | |
| int32_t textLength, | | int32_t textLength, | |
| UErrorCode *status); | | UErrorCode *status); | |
| | | | |
| /** | | /** | |
|
| | | * Set the subject text string upon which the regular expression will loo | |
| | | k for matches. | |
| | | * This function may be called any number of times, allowing the regular | |
| | | * expression pattern to be applied to different strings. | |
| | | * <p> | |
| | | * Regular expression matching operations work directly on the applicatio | |
| | | n's | |
| | | * string data; only a shallow clone is made. The subject string data mu | |
| | | st not be | |
| | | * altered after calling this function until after all regular expression | |
| | | * operations involving this string data are completed. | |
| | | * | |
| | | * @param regexp The compiled regular expression. | |
| | | * @param text The subject text string. | |
| | | * @param status Receives errors detected by this function. | |
| | | * | |
| | | * @internal ICU 4.4 technology preview | |
| | | */ | |
| | | U_INTERNAL void U_EXPORT2 | |
| | | uregex_setUText(URegularExpression *regexp, | |
| | | UText *text, | |
| | | UErrorCode *status); | |
| | | | |
| | | /** | |
| * Get the subject text that is currently associated with this | | * Get the subject text that is currently associated with this | |
|
| * regular expression object. This simply returns whatever string | | * regular expression object. If the input was supplied using uregex_se | |
| * pointer was previously supplied via uregex_setText(). | | tText(), | |
| | | * that pointer will be returned. Otherwise, the characters in the inpu | |
| | | t will | |
| | | * be extracted to a buffer and returned. In either case, ownership rem | |
| | | ains | |
| | | * with the regular expression object. | |
| | | * | |
| | | * This function will work even if the input was originally specified as | |
| | | a UText. | |
| * | | * | |
| * @param regexp The compiled regular expression. | | * @param regexp The compiled regular expression. | |
| * @param textLength The length of the string is returned in this output
parameter. | | * @param textLength The length of the string is returned in this output
parameter. | |
| * A NULL pointer may be used here if the | | * A NULL pointer may be used here if the | |
| * text length is not needed, as would be the case if | | * text length is not needed, as would be the case if | |
| * the text is known in advance to be a NUL terminated | | * the text is known in advance to be a NUL terminated | |
| * string. | | * string. | |
| * @param status Receives errors detected by this function. | | * @param status Receives errors detected by this function. | |
|
| * @return Poiner to the subject text string currently associat
ed with | | * @return Pointer to the subject text string currently associa
ted with | |
| * this regular expression. | | * this regular expression. | |
| * @stable ICU 3.0 | | * @stable ICU 3.0 | |
| */ | | */ | |
| U_STABLE const UChar * U_EXPORT2 | | U_STABLE const UChar * U_EXPORT2 | |
| uregex_getText(URegularExpression *regexp, | | uregex_getText(URegularExpression *regexp, | |
| int32_t *textLength, | | int32_t *textLength, | |
| UErrorCode *status); | | UErrorCode *status); | |
| | | | |
| /** | | /** | |
|
| | | * Get the subject text that is currently associated with this | |
| | | * regular expression object. | |
| | | * | |
| | | * This function will work even if the input was originally specified as | |
| | | a UChar string. | |
| | | * | |
| | | * @param regexp The compiled regular expression. | |
| | | * @param dest A mutable UText in which to store the current input. | |
| | | * If NULL, a new UText will be created as an immutable | |
| | | shallow clone | |
| | | * of the actual input string. | |
| | | * @param status Receives errors detected by this function. | |
| | | * @return The subject text currently associated with this regu | |
| | | lar expression. | |
| | | * If a pre-allocated UText was provided, it will alway | |
| | | s be used and returned. | |
| | | * | |
| | | * @internal ICU 4.4 technology preview | |
| | | */ | |
| | | U_INTERNAL UText * U_EXPORT2 | |
| | | uregex_getUText(URegularExpression *regexp, | |
| | | UText *dest, | |
| | | UErrorCode *status); | |
| | | | |
| | | /** | |
| * Attempts to match the input string against the pattern. | | * Attempts to match the input string against the pattern. | |
| * To succeed, the match must extend to the end of the string, | | * To succeed, the match must extend to the end of the string, | |
| * or cover the complete match region. | | * or cover the complete match region. | |
| * | | * | |
| * If startIndex >= zero the match operation starts at the specified | | * If startIndex >= zero the match operation starts at the specified | |
| * index and must extend to the end of the input string. Any region | | * index and must extend to the end of the input string. Any region | |
| * that has been specified is reset. | | * that has been specified is reset. | |
| * | | * | |
| * If startIndex == -1 the match must cover the input region, or the ent
ire | | * If startIndex == -1 the match must cover the input region, or the ent
ire | |
| * input string if no region has been set. This directly corresponds to | | * input string if no region has been set. This directly corresponds to | |
| | | | |
| skipping to change at line 426 | | skipping to change at line 519 | |
| * or -1 if no applicable match. | | * or -1 if no applicable match. | |
| * @stable ICU 3.0 | | * @stable ICU 3.0 | |
| */ | | */ | |
| U_STABLE int32_t U_EXPORT2 | | U_STABLE int32_t U_EXPORT2 | |
| uregex_group(URegularExpression *regexp, | | uregex_group(URegularExpression *regexp, | |
| int32_t groupNum, | | int32_t groupNum, | |
| UChar *dest, | | UChar *dest, | |
| int32_t destCapacity, | | int32_t destCapacity, | |
| UErrorCode *status); | | UErrorCode *status); | |
| | | | |
|
| | | /** Extract the string for the specified matching expression or subexpressi | |
| | | on. | |
| | | * Group #0 is the complete string of matched text. | |
| | | * Group #1 is the text matched by the first set of capturing parentheses. | |
| | | * | |
| | | * @param regexp The compiled regular expression. | |
| | | * @param groupNum The capture group to extract. Group 0 is the c | |
| | | omplete | |
| | | * match. The value of this parameter must be | |
| | | * less than or equal to the number of capture gro | |
| | | ups in | |
| | | * the pattern. | |
| | | * @param dest Mutable UText to receive the matching string da | |
| | | ta. | |
| | | * If NULL, a new UText will be created (which may | |
| | | not be mutable). | |
| | | * @param status A reference to a UErrorCode to receive any erro | |
| | | rs. | |
| | | * @return The matching string data. If a pre-allocated UT | |
| | | ext was provided, | |
| | | * it will always be used and returned. | |
| | | * | |
| | | * @internal ICU 4.4 technology preview | |
| | | */ | |
| | | U_INTERNAL UText * U_EXPORT2 | |
| | | uregex_groupUText(URegularExpression *regexp, | |
| | | int32_t groupNum, | |
| | | UText *dest, | |
| | | UErrorCode *status); | |
| | | | |
| /** | | /** | |
| * Returns the index in the input string of the start of the text matche
d by the | | * Returns the index in the input string of the start of the text matche
d by the | |
| * specified capture group during the previous match operation. Return
-1 if | | * specified capture group during the previous match operation. Return
-1 if | |
| * the capture group was not part of the last match. | | * the capture group was not part of the last match. | |
| * Group #0 refers to the complete range of matched text. | | * Group #0 refers to the complete range of matched text. | |
| * Group #1 refers to the text matched by the first set of capturing par
entheses. | | * Group #1 refers to the text matched by the first set of capturing par
entheses. | |
| * | | * | |
| * @param regexp The compiled regular expression. | | * @param regexp The compiled regular expression. | |
| * @param groupNum The capture group number | | * @param groupNum The capture group number | |
| * @param status A reference to a UErrorCode to receive any erro
rs. | | * @param status A reference to a UErrorCode to receive any erro
rs. | |
| | | | |
| skipping to change at line 500 | | skipping to change at line 616 | |
| * | | * | |
| * The function will fail if start is greater than limit, or if either ind
ex | | * The function will fail if start is greater than limit, or if either ind
ex | |
| * is less than zero or greater than the length of the string being match
ed. | | * is less than zero or greater than the length of the string being match
ed. | |
| * | | * | |
| * @param regexp The compiled regular expression. | | * @param regexp The compiled regular expression. | |
| * @param regionStart The index to begin searches at. | | * @param regionStart The index to begin searches at. | |
| * @param regionLimit The index to end searches at (exclusive). | | * @param regionLimit The index to end searches at (exclusive). | |
| * @param status A pointer to a UErrorCode to receive any errors. | | * @param status A pointer to a UErrorCode to receive any errors. | |
| * @stable ICU 4.0 | | * @stable ICU 4.0 | |
| */ | | */ | |
|
| U_DRAFT void U_EXPORT2 | | U_STABLE void U_EXPORT2 | |
| uregex_setRegion(URegularExpression *regexp, | | uregex_setRegion(URegularExpression *regexp, | |
| int32_t regionStart, | | int32_t regionStart, | |
| int32_t regionLimit, | | int32_t regionLimit, | |
| UErrorCode *status); | | UErrorCode *status); | |
| | | | |
| /** | | /** | |
| * Reports the start index of the matching region. Any matches found are l
imited to | | * Reports the start index of the matching region. Any matches found are l
imited to | |
| * to the region bounded by regionStart (inclusive) and regionEnd (exclusi
ve). | | * to the region bounded by regionStart (inclusive) and regionEnd (exclusi
ve). | |
| * | | * | |
| * @param regexp The compiled regular expression. | | * @param regexp The compiled regular expression. | |
| * @param status A pointer to a UErrorCode to receive any errors. | | * @param status A pointer to a UErrorCode to receive any errors. | |
| * @return The starting index of this matcher's region. | | * @return The starting index of this matcher's region. | |
| * @stable ICU 4.0 | | * @stable ICU 4.0 | |
| */ | | */ | |
|
| U_DRAFT int32_t U_EXPORT2 | | U_STABLE int32_t U_EXPORT2 | |
| uregex_regionStart(const URegularExpression *regexp, | | uregex_regionStart(const URegularExpression *regexp, | |
| UErrorCode *status); | | UErrorCode *status); | |
| | | | |
| /** | | /** | |
| * Reports the end index (exclusive) of the matching region for this URegu
larExpression. | | * Reports the end index (exclusive) of the matching region for this URegu
larExpression. | |
| * Any matches found are limited to to the region bounded by regionStart (
inclusive) | | * Any matches found are limited to to the region bounded by regionStart (
inclusive) | |
| * and regionEnd (exclusive). | | * and regionEnd (exclusive). | |
| * | | * | |
| * @param regexp The compiled regular expression. | | * @param regexp The compiled regular expression. | |
| * @param status A pointer to a UErrorCode to receive any errors. | | * @param status A pointer to a UErrorCode to receive any errors. | |
| * @return The ending point of this matcher's region. | | * @return The ending point of this matcher's region. | |
| * @stable ICU 4.0 | | * @stable ICU 4.0 | |
| */ | | */ | |
|
| U_DRAFT int32_t U_EXPORT2 | | U_STABLE int32_t U_EXPORT2 | |
| uregex_regionEnd(const URegularExpression *regexp, | | uregex_regionEnd(const URegularExpression *regexp, | |
| UErrorCode *status); | | UErrorCode *status); | |
| | | | |
| /** | | /** | |
| * Queries the transparency of region bounds for this URegularExpression. | | * Queries the transparency of region bounds for this URegularExpression. | |
| * See useTransparentBounds for a description of transparent and opaque bo
unds. | | * See useTransparentBounds for a description of transparent and opaque bo
unds. | |
| * By default, matching boundaries are opaque. | | * By default, matching boundaries are opaque. | |
| * | | * | |
| * @param regexp The compiled regular expression. | | * @param regexp The compiled regular expression. | |
| * @param status A pointer to a UErrorCode to receive any errors. | | * @param status A pointer to a UErrorCode to receive any errors. | |
| * @return TRUE if this matcher is using opaque bounds, false if it is not
. | | * @return TRUE if this matcher is using opaque bounds, false if it is not
. | |
| * @stable ICU 4.0 | | * @stable ICU 4.0 | |
| */ | | */ | |
|
| U_DRAFT UBool U_EXPORT2 | | U_STABLE UBool U_EXPORT2 | |
| uregex_hasTransparentBounds(const URegularExpression *regexp, | | uregex_hasTransparentBounds(const URegularExpression *regexp, | |
| UErrorCode *status); | | UErrorCode *status); | |
| | | | |
| /** | | /** | |
| * Sets the transparency of region bounds for this URegularExpression. | | * Sets the transparency of region bounds for this URegularExpression. | |
| * Invoking this function with an argument of TRUE will set matches to use
transparent bounds. | | * Invoking this function with an argument of TRUE will set matches to use
transparent bounds. | |
| * If the boolean argument is FALSE, then opaque bounds will be used. | | * If the boolean argument is FALSE, then opaque bounds will be used. | |
| * | | * | |
| * Using transparent bounds, the boundaries of the matching region are tra
nsparent | | * Using transparent bounds, the boundaries of the matching region are tra
nsparent | |
| * to lookahead, lookbehind, and boundary matching constructs. Those const
ructs can | | * to lookahead, lookbehind, and boundary matching constructs. Those const
ructs can | |
| | | | |
| skipping to change at line 566 | | skipping to change at line 682 | |
| * With opaque bounds, no text outside of the matching region is visible t
o lookahead, | | * With opaque bounds, no text outside of the matching region is visible t
o lookahead, | |
| * lookbehind, and boundary matching constructs. | | * lookbehind, and boundary matching constructs. | |
| * | | * | |
| * By default, opaque bounds are used. | | * By default, opaque bounds are used. | |
| * | | * | |
| * @param regexp The compiled regular expression. | | * @param regexp The compiled regular expression. | |
| * @param b TRUE for transparent bounds; FALSE for opaque bounds | | * @param b TRUE for transparent bounds; FALSE for opaque bounds | |
| * @param status A pointer to a UErrorCode to receive any errors. | | * @param status A pointer to a UErrorCode to receive any errors. | |
| * @stable ICU 4.0 | | * @stable ICU 4.0 | |
| **/ | | **/ | |
|
| U_DRAFT void U_EXPORT2 | | U_STABLE void U_EXPORT2 | |
| uregex_useTransparentBounds(URegularExpression *regexp, | | uregex_useTransparentBounds(URegularExpression *regexp, | |
| UBool b, | | UBool b, | |
| UErrorCode *status); | | UErrorCode *status); | |
| | | | |
| /** | | /** | |
| * Return true if this URegularExpression is using anchoring bounds. | | * Return true if this URegularExpression is using anchoring bounds. | |
| * By default, anchoring region bounds are used. | | * By default, anchoring region bounds are used. | |
| * | | * | |
| * @param regexp The compiled regular expression. | | * @param regexp The compiled regular expression. | |
| * @param status A pointer to a UErrorCode to receive any errors. | | * @param status A pointer to a UErrorCode to receive any errors. | |
| * @return TRUE if this matcher is using anchoring bounds. | | * @return TRUE if this matcher is using anchoring bounds. | |
| * @stable ICU 4.0 | | * @stable ICU 4.0 | |
| */ | | */ | |
|
| U_DRAFT UBool U_EXPORT2 | | U_STABLE UBool U_EXPORT2 | |
| uregex_hasAnchoringBounds(const URegularExpression *regexp, | | uregex_hasAnchoringBounds(const URegularExpression *regexp, | |
| UErrorCode *status); | | UErrorCode *status); | |
| | | | |
| /** | | /** | |
| * Set whether this URegularExpression is using Anchoring Bounds for its r
egion. | | * Set whether this URegularExpression is using Anchoring Bounds for its r
egion. | |
| * With anchoring bounds, pattern anchors such as ^ and $ will match at th
e start | | * With anchoring bounds, pattern anchors such as ^ and $ will match at th
e start | |
| * and end of the region. Without Anchoring Bounds, anchors will only mat
ch at | | * and end of the region. Without Anchoring Bounds, anchors will only mat
ch at | |
| * the positions they would in the complete text. | | * the positions they would in the complete text. | |
| * | | * | |
| * Anchoring Bounds are the default for regions. | | * Anchoring Bounds are the default for regions. | |
| * | | * | |
| * @param regexp The compiled regular expression. | | * @param regexp The compiled regular expression. | |
| * @param b TRUE if to enable anchoring bounds; FALSE to disable them
. | | * @param b TRUE if to enable anchoring bounds; FALSE to disable them
. | |
| * @param status A pointer to a UErrorCode to receive any errors. | | * @param status A pointer to a UErrorCode to receive any errors. | |
| * @stable ICU 4.0 | | * @stable ICU 4.0 | |
| */ | | */ | |
|
| U_DRAFT void U_EXPORT2 | | U_STABLE void U_EXPORT2 | |
| uregex_useAnchoringBounds(URegularExpression *regexp, | | uregex_useAnchoringBounds(URegularExpression *regexp, | |
| UBool b, | | UBool b, | |
| UErrorCode *status); | | UErrorCode *status); | |
| | | | |
| /** | | /** | |
| * Return TRUE if the most recent matching operation touched the | | * Return TRUE if the most recent matching operation touched the | |
| * end of the text being processed. In this case, additional input text
could | | * end of the text being processed. In this case, additional input text
could | |
| * change the results of that match. | | * change the results of that match. | |
| * | | * | |
| * @param regexp The compiled regular expression. | | * @param regexp The compiled regular expression. | |
| * @param status A pointer to a UErrorCode to receive any errors. | | * @param status A pointer to a UErrorCode to receive any errors. | |
| * @return TRUE if the most recent match hit the end of input | | * @return TRUE if the most recent match hit the end of input | |
| * @stable ICU 4.0 | | * @stable ICU 4.0 | |
| */ | | */ | |
|
| U_DRAFT UBool U_EXPORT2 | | U_STABLE UBool U_EXPORT2 | |
| uregex_hitEnd(const URegularExpression *regexp, | | uregex_hitEnd(const URegularExpression *regexp, | |
| UErrorCode *status); | | UErrorCode *status); | |
| | | | |
| /** | | /** | |
| * Return TRUE the most recent match succeeded and additional input could
cause | | * Return TRUE the most recent match succeeded and additional input could
cause | |
| * it to fail. If this function returns false and a match was found, then
more input | | * it to fail. If this function returns false and a match was found, then
more input | |
| * might change the match but the match won't be lost. If a match was not
found, | | * might change the match but the match won't be lost. If a match was not
found, | |
| * then requireEnd has no meaning. | | * then requireEnd has no meaning. | |
| * | | * | |
| * @param regexp The compiled regular expression. | | * @param regexp The compiled regular expression. | |
| * @param status A pointer to a UErrorCode to receive any errors. | | * @param status A pointer to a UErrorCode to receive any errors. | |
| * @return TRUE if more input could cause the most recent match to no lon
ger match. | | * @return TRUE if more input could cause the most recent match to no lon
ger match. | |
| * @stable ICU 4.0 | | * @stable ICU 4.0 | |
| */ | | */ | |
|
| U_DRAFT UBool U_EXPORT2 | | U_STABLE UBool U_EXPORT2 | |
| uregex_requireEnd(const URegularExpression *regexp, | | uregex_requireEnd(const URegularExpression *regexp, | |
| UErrorCode *status); | | UErrorCode *status); | |
| | | | |
| /** | | /** | |
| * Replaces every substring of the input that matches the pattern | | * Replaces every substring of the input that matches the pattern | |
| * with the given replacement string. This is a convenience function t
hat | | * with the given replacement string. This is a convenience function t
hat | |
| * provides a complete find-and-replace-all operation. | | * provides a complete find-and-replace-all operation. | |
| * | | * | |
| * This method scans the input string looking for matches of the patter
n. | | * This method scans the input string looking for matches of the patter
n. | |
| * Input that is not part of any match is copied unchanged to the | | * Input that is not part of any match is copied unchanged to the | |
| | | | |
| skipping to change at line 664 | | skipping to change at line 780 | |
| */ | | */ | |
| U_STABLE int32_t U_EXPORT2 | | U_STABLE int32_t U_EXPORT2 | |
| uregex_replaceAll(URegularExpression *regexp, | | uregex_replaceAll(URegularExpression *regexp, | |
| const UChar *replacementText, | | const UChar *replacementText, | |
| int32_t replacementLength, | | int32_t replacementLength, | |
| UChar *destBuf, | | UChar *destBuf, | |
| int32_t destCapacity, | | int32_t destCapacity, | |
| UErrorCode *status); | | UErrorCode *status); | |
| | | | |
| /** | | /** | |
|
| | | * Replaces every substring of the input that matches the pattern | |
| | | * with the given replacement string. This is a convenience function t | |
| | | hat | |
| | | * provides a complete find-and-replace-all operation. | |
| | | * | |
| | | * This method scans the input string looking for matches of the patter | |
| | | n. | |
| | | * Input that is not part of any match is copied unchanged to the | |
| | | * destination buffer. Matched regions are replaced in the output | |
| | | * buffer by the replacement string. The replacement string may conta | |
| | | in | |
| | | * references to capture groups; these take the form of $1, $2, etc. | |
| | | * | |
| | | * @param regexp The compiled regular expression. | |
| | | * @param replacement A string containing the replacement text. | |
| | | * @param dest A mutable UText that will receive the result | |
| | | . | |
| | | * If NULL, a new UText will be created (which | |
| | | may not be mutable). | |
| | | * @param status A reference to a UErrorCode to receive any e | |
| | | rrors. | |
| | | * @return A UText containing the results of the find a | |
| | | nd replace. | |
| | | * If a pre-allocated UText was provided, it w | |
| | | ill always be used and returned. | |
| | | * | |
| | | * @internal ICU 4.4 technology preview | |
| | | */ | |
| | | U_INTERNAL UText * U_EXPORT2 | |
| | | uregex_replaceAllUText(URegularExpression *regexp, | |
| | | UText *replacement, | |
| | | UText *dest, | |
| | | UErrorCode *status); | |
| | | | |
| | | /** | |
| * Replaces the first substring of the input that matches the pattern | | * Replaces the first substring of the input that matches the pattern | |
| * with the given replacement string. This is a convenience function t
hat | | * with the given replacement string. This is a convenience function t
hat | |
| * provides a complete find-and-replace operation. | | * provides a complete find-and-replace operation. | |
| * | | * | |
| * This method scans the input string looking for a match of the patter
n. | | * This method scans the input string looking for a match of the patter
n. | |
| * All input that is not part of the match is copied unchanged to the | | * All input that is not part of the match is copied unchanged to the | |
| * destination buffer. The matched region is replaced in the output | | * destination buffer. The matched region is replaced in the output | |
| * buffer by the replacement string. The replacement string may conta
in | | * buffer by the replacement string. The replacement string may conta
in | |
| * references to capture groups; these take the form of $1, $2, etc. | | * references to capture groups; these take the form of $1, $2, etc. | |
| * | | * | |
| | | | |
| skipping to change at line 696 | | skipping to change at line 839 | |
| */ | | */ | |
| U_STABLE int32_t U_EXPORT2 | | U_STABLE int32_t U_EXPORT2 | |
| uregex_replaceFirst(URegularExpression *regexp, | | uregex_replaceFirst(URegularExpression *regexp, | |
| const UChar *replacementText, | | const UChar *replacementText, | |
| int32_t replacementLength, | | int32_t replacementLength, | |
| UChar *destBuf, | | UChar *destBuf, | |
| int32_t destCapacity, | | int32_t destCapacity, | |
| UErrorCode *status); | | UErrorCode *status); | |
| | | | |
| /** | | /** | |
|
| | | * Replaces the first substring of the input that matches the pattern | |
| | | * with the given replacement string. This is a convenience function t | |
| | | hat | |
| | | * provides a complete find-and-replace operation. | |
| | | * | |
| | | * This method scans the input string looking for a match of the patter | |
| | | n. | |
| | | * All input that is not part of the match is copied unchanged to the | |
| | | * destination buffer. The matched region is replaced in the output | |
| | | * buffer by the replacement string. The replacement string may conta | |
| | | in | |
| | | * references to capture groups; these take the form of $1, $2, etc. | |
| | | * | |
| | | * @param regexp The compiled regular expression. | |
| | | * @param replacement A string containing the replacement text. | |
| | | * @param dest A mutable UText that will receive the result | |
| | | . | |
| | | * If NULL, a new UText will be created (which | |
| | | may not be mutable). | |
| | | * @param status A reference to a UErrorCode to receive any e | |
| | | rrors. | |
| | | * @return A UText containing the results of the find a | |
| | | nd replace. | |
| | | * If a pre-allocated UText was provided, it w | |
| | | ill always be used and returned. | |
| | | * | |
| | | * @internal ICU 4.4 technology preview | |
| | | */ | |
| | | U_INTERNAL UText * U_EXPORT2 | |
| | | uregex_replaceFirstUText(URegularExpression *regexp, | |
| | | UText *replacement, | |
| | | UText *dest, | |
| | | UErrorCode *status); | |
| | | | |
| | | /** | |
| * Implements a replace operation intended to be used as part of an | | * Implements a replace operation intended to be used as part of an | |
| * incremental find-and-replace. | | * incremental find-and-replace. | |
| * | | * | |
| * <p>The input string, starting from the end of the previous match and
ending at | | * <p>The input string, starting from the end of the previous match and
ending at | |
| * the start of the current match, is appended to the destination string
. Then the | | * the start of the current match, is appended to the destination string
. Then the | |
| * replacement string is appended to the output string, | | * replacement string is appended to the output string, | |
| * including handling any substitutions of captured text.</p> | | * including handling any substitutions of captured text.</p> | |
| * | | * | |
| * <p>A note on preflight computation of buffersize and error handling: | | * <p>A note on preflight computation of buffersize and error handling: | |
| * Calls to uregex_appendReplacement() and uregex_appendTail() are | | * Calls to uregex_appendReplacement() and uregex_appendTail() are | |
| | | | |
| skipping to change at line 743 | | skipping to change at line 913 | |
| * @param status A reference to a UErrorCode to receive any error
s. | | * @param status A reference to a UErrorCode to receive any error
s. | |
| * @return The length of the result string. In the event t
hat | | * @return The length of the result string. In the event t
hat | |
| * destCapacity is inadequate, the full length of t
he | | * destCapacity is inadequate, the full length of t
he | |
| * untruncated output string is returned. | | * untruncated output string is returned. | |
| * | | * | |
| * @stable ICU 3.0 | | * @stable ICU 3.0 | |
| * | | * | |
| */ | | */ | |
| U_STABLE int32_t U_EXPORT2 | | U_STABLE int32_t U_EXPORT2 | |
| uregex_appendReplacement(URegularExpression *regexp, | | uregex_appendReplacement(URegularExpression *regexp, | |
|
| const UChar *replacementText, | | const UChar *replacementText, | |
| int32_t replacementLength, | | int32_t replacementLength, | |
| UChar **destBuf, | | UChar **destBuf, | |
| int32_t *destCapacity, | | int32_t *destCapacity, | |
| UErrorCode *status); | | UErrorCode *status); | |
| | | | |
| | | /** | |
| | | * Implements a replace operation intended to be used as part of an | |
| | | * incremental find-and-replace. | |
| | | * | |
| | | * <p>The input string, starting from the end of the previous match and | |
| | | ending at | |
| | | * the start of the current match, is appended to the destination string | |
| | | . Then the | |
| | | * replacement string is appended to the output string, | |
| | | * including handling any substitutions of captured text.</p> | |
| | | * | |
| | | * <p>For simple, prepackaged, non-incremental find-and-replace | |
| | | * operations, see replaceFirst() or replaceAll().</p> | |
| | | * | |
| | | * @param regexp The regular expression object. | |
| | | * @param replacementText The string that will replace the matched por | |
| | | tion of the | |
| | | * input string as it is copied to the destination | |
| | | buffer. | |
| | | * The replacement text may contain references ($1, | |
| | | for | |
| | | * example) to capture groups from the match. | |
| | | * @param dest A mutable UText that will receive the result. Mu | |
| | | st not be NULL. | |
| | | * @param status A reference to a UErrorCode to receive any error | |
| | | s. | |
| | | * | |
| | | * @internal ICU 4.4 technology preview | |
| | | */ | |
| | | U_INTERNAL void U_EXPORT2 | |
| | | uregex_appendReplacementUText(URegularExpression *regexp, | |
| | | UText *replacementText, | |
| | | UText *dest, | |
| | | UErrorCode *status); | |
| | | | |
| /** | | /** | |
| * As the final step in a find-and-replace operation, append the remainder | | * As the final step in a find-and-replace operation, append the remainder | |
| * of the input string, starting at the position following the last match, | | * of the input string, starting at the position following the last match, | |
| * to the destination string. <code>uregex_appendTail()</code> is intended | | * to the destination string. <code>uregex_appendTail()</code> is intended | |
| * to be invoked after one or more invocations of the | | * to be invoked after one or more invocations of the | |
| * <code>uregex_appendReplacement()</code> function. | | * <code>uregex_appendReplacement()</code> function. | |
| * | | * | |
| * @param regexp The regular expression object. This is needed t
o | | * @param regexp The regular expression object. This is needed t
o | |
| * obtain the input string and with the position | | * obtain the input string and with the position | |
| | | | |
| skipping to change at line 779 | | skipping to change at line 977 | |
| * untruncated output string is returned. | | * untruncated output string is returned. | |
| * | | * | |
| * @stable ICU 3.0 | | * @stable ICU 3.0 | |
| */ | | */ | |
| U_STABLE int32_t U_EXPORT2 | | U_STABLE int32_t U_EXPORT2 | |
| uregex_appendTail(URegularExpression *regexp, | | uregex_appendTail(URegularExpression *regexp, | |
| UChar **destBuf, | | UChar **destBuf, | |
| int32_t *destCapacity, | | int32_t *destCapacity, | |
| UErrorCode *status); | | UErrorCode *status); | |
| | | | |
|
| | | /** | |
| | | * As the final step in a find-and-replace operation, append the remainder | |
| | | * of the input string, starting at the position following the last match, | |
| | | * to the destination string. <code>uregex_appendTailUText()</code> is int | |
| | | ended | |
| | | * to be invoked after one or more invocations of the | |
| | | * <code>uregex_appendReplacementUText()</code> function. | |
| | | * | |
| | | * @param regexp The regular expression object. This is needed t | |
| | | o | |
| | | * obtain the input string and with the position | |
| | | * of the last match within it. | |
| | | * @param dest A mutable UText that will receive the result. Mu | |
| | | st not be NULL. | |
| | | * @return The destination UText. | |
| | | * | |
| | | * @internal ICU 4.4 technology preview | |
| | | */ | |
| | | U_INTERNAL UText * U_EXPORT2 | |
| | | uregex_appendTailUText(URegularExpression *regexp, | |
| | | UText *dest); | |
| | | | |
| /** | | /** | |
| * Split a string into fields. Somewhat like split() from Perl. | | * Split a string into fields. Somewhat like split() from Perl. | |
| * The pattern matches identify delimiters that separate the input | | * The pattern matches identify delimiters that separate the input | |
| * into fields. The input data between the matches becomes the | | * into fields. The input data between the matches becomes the | |
| * fields themselves. | | * fields themselves. | |
| * <p> | | * <p> | |
| * Each of the fields is copied from the input string to the destination | | * Each of the fields is copied from the input string to the destination | |
| * buffer, and NUL terminated. The position of each field within | | * buffer, and NUL terminated. The position of each field within | |
| * the destination buffer is returned in the destFields array. | | * the destination buffer is returned in the destFields array. | |
| * | | * | |
|
| | | * Note: another choice for the design of this function would be to not | |
| | | * copy the resulting fields at all, but to return indexes and | |
| | | * lengths within the source text. | |
| | | * Advantages would be | |
| | | * o Faster. No Copying. | |
| | | * o Nothing extra needed when field data may contain embedd | |
| | | ed NUL chars. | |
| | | * o Less memory needed if working on large data. | |
| | | * Disadvantages | |
| | | * o Less consistent with C++ split, which copies into an | |
| | | * array of UnicodeStrings. | |
| | | * o No NUL termination, extracted fields would be less conv | |
| | | enient | |
| | | * to use in most cases. | |
| | | * o Possible problems in the future, when support Unicode N | |
| | | ormalization | |
| | | * could cause the fields to not correspond exactly to | |
| | | * a range of the source text. | |
| | | * | |
| * @param regexp The compiled regular expression. | | * @param regexp The compiled regular expression. | |
| * @param destBuf A (UChar *) buffer to receive the fields that | | * @param destBuf A (UChar *) buffer to receive the fields that | |
| * are extracted from the input string. These | | * are extracted from the input string. These | |
| * field pointers will refer to positions within
the | | * field pointers will refer to positions within
the | |
| * destination buffer supplied by the caller. An
y | | * destination buffer supplied by the caller. An
y | |
| * extra positions within the destFields array wi
ll be | | * extra positions within the destFields array wi
ll be | |
| * set to NULL. | | * set to NULL. | |
| * @param destCapacity The capacity of the destBuf. | | * @param destCapacity The capacity of the destBuf. | |
| * @param requiredCapacity The actual capacity required of the dest
Buf. | | * @param requiredCapacity The actual capacity required of the dest
Buf. | |
| * If destCapacity is too small, requiredCapacity
will return | | * If destCapacity is too small, requiredCapacity
will return | |
| | | | |
| skipping to change at line 826 | | skipping to change at line 1059 | |
| */ | | */ | |
| U_STABLE int32_t U_EXPORT2 | | U_STABLE int32_t U_EXPORT2 | |
| uregex_split( URegularExpression *regexp, | | uregex_split( URegularExpression *regexp, | |
| UChar *destBuf, | | UChar *destBuf, | |
| int32_t destCapacity, | | int32_t destCapacity, | |
| int32_t *requiredCapacity, | | int32_t *requiredCapacity, | |
| UChar *destFields[], | | UChar *destFields[], | |
| int32_t destFieldsCapacity, | | int32_t destFieldsCapacity, | |
| UErrorCode *status); | | UErrorCode *status); | |
| | | | |
|
| | | /** | |
| | | * Split a string into fields. Somewhat like split() from Perl. | |
| | | * The pattern matches identify delimiters that separate the input | |
| | | * into fields. The input data between the matches becomes the | |
| | | * fields themselves. | |
| | | * <p> | |
| | | * The behavior of this function is not very closely aligned with uregex_ | |
| | | split(); | |
| | | * instead, it is based on (and implemented directly on top of) the C++ s | |
| | | plit method. | |
| | | * | |
| | | * @param regexp The compiled regular expression. | |
| | | * @param destFields An array of mutable UText structs to receive the | |
| | | results of the split. | |
| | | * If a field is NULL, a new UText is allocated to contain | |
| | | the results for | |
| | | * that field. This new UText is not guaranteed to be muta | |
| | | ble. | |
| | | * @param destFieldsCapacity The number of elements in the destination a | |
| | | rray. | |
| | | * If the number of fields found is less than destCapacity | |
| | | , the | |
| | | * extra strings in the destination array are not altered. | |
| | | * If the number of destination strings is less than the n | |
| | | umber | |
| | | * of fields, the trailing part of the input string, inclu | |
| | | ding any | |
| | | * field delimiters, is placed in the last destination str | |
| | | ing. | |
| | | * This behavior mimics that of Perl. It is not an error | |
| | | condition, and no | |
| | | * error status is returned when all destField positions a | |
| | | re used. | |
| | | * @param status A reference to a UErrorCode to receive any errors. | |
| | | * @return The number of fields into which the input string was sp | |
| | | lit. | |
| | | * | |
| | | * @internal ICU 4.4 technology preview | |
| | | */ | |
| | | U_INTERNAL int32_t U_EXPORT2 | |
| | | uregex_splitUText(URegularExpression *regexp, | |
| | | UText *destFields[], | |
| | | int32_t destFieldsCapacity, | |
| | | UErrorCode *status); | |
| | | | |
| /** | | /** | |
| * Set a processing time limit for match operations with this URegularExpre
ssion. | | * Set a processing time limit for match operations with this URegularExpre
ssion. | |
| * | | * | |
| * Some patterns, when matching certain strings, can run in exponential tim
e. | | * Some patterns, when matching certain strings, can run in exponential tim
e. | |
| * For practical purposes, the match operation may appear to be in an | | * For practical purposes, the match operation may appear to be in an | |
| * infinite loop. | | * infinite loop. | |
| * When a limit is set a match operation will fail with an error if the | | * When a limit is set a match operation will fail with an error if the | |
| * limit is exceeded. | | * limit is exceeded. | |
| * <p> | | * <p> | |
| * The units of the limit are steps of the match engine. | | * The units of the limit are steps of the match engine. | |
| | | | |
| skipping to change at line 848 | | skipping to change at line 1113 | |
| * typically be on the order of milliseconds. | | * typically be on the order of milliseconds. | |
| * <p> | | * <p> | |
| * By default, the matching time is not limited. | | * By default, the matching time is not limited. | |
| * <p> | | * <p> | |
| * | | * | |
| * @param regexp The compiled regular expression. | | * @param regexp The compiled regular expression. | |
| * @param limit The limit value, or 0 for no limit. | | * @param limit The limit value, or 0 for no limit. | |
| * @param status A reference to a UErrorCode to receive any errors. | | * @param status A reference to a UErrorCode to receive any errors. | |
| * @stable ICU 4.0 | | * @stable ICU 4.0 | |
| */ | | */ | |
|
| U_DRAFT void U_EXPORT2 | | U_STABLE void U_EXPORT2 | |
| uregex_setTimeLimit(URegularExpression *regexp, | | uregex_setTimeLimit(URegularExpression *regexp, | |
| int32_t limit, | | int32_t limit, | |
| UErrorCode *status); | | UErrorCode *status); | |
| | | | |
| /** | | /** | |
| * Get the time limit for for matches with this URegularExpression. | | * Get the time limit for for matches with this URegularExpression. | |
| * A return value of zero indicates that there is no limit. | | * A return value of zero indicates that there is no limit. | |
| * | | * | |
| * @param regexp The compiled regular expression. | | * @param regexp The compiled regular expression. | |
| * @param status A reference to a UErrorCode to receive any errors. | | * @param status A reference to a UErrorCode to receive any errors. | |
| * @return the maximum allowed time for a match, in units of processing ste
ps. | | * @return the maximum allowed time for a match, in units of processing ste
ps. | |
| * @stable ICU 4.0 | | * @stable ICU 4.0 | |
| */ | | */ | |
|
| U_DRAFT int32_t U_EXPORT2 | | U_STABLE int32_t U_EXPORT2 | |
| uregex_getTimeLimit(const URegularExpression *regexp, | | uregex_getTimeLimit(const URegularExpression *regexp, | |
| UErrorCode *status); | | UErrorCode *status); | |
| | | | |
| /** | | /** | |
| * Set the amount of heap storage avaliable for use by the match backtracki
ng stack. | | * Set the amount of heap storage avaliable for use by the match backtracki
ng stack. | |
| * <p> | | * <p> | |
| * ICU uses a backtracking regular expression engine, with the backtrack st
ack | | * ICU uses a backtracking regular expression engine, with the backtrack st
ack | |
| * maintained on the heap. This function sets the limit to the amount of m
emory | | * maintained on the heap. This function sets the limit to the amount of m
emory | |
| * that can be used for this purpose. A backtracking stack overflow will | | * that can be used for this purpose. A backtracking stack overflow will | |
| * result in an error from the match operation that caused it. | | * result in an error from the match operation that caused it. | |
| | | | |
| skipping to change at line 886 | | skipping to change at line 1151 | |
| * by default. | | * by default. | |
| * <p> | | * <p> | |
| * @param regexp The compiled regular expression. | | * @param regexp The compiled regular expression. | |
| * @param limit The maximum size, in bytes, of the matching backtra
ck stack. | | * @param limit The maximum size, in bytes, of the matching backtra
ck stack. | |
| * A value of -1 means no limit. | | * A value of -1 means no limit. | |
| * The limit must be greater than zero, or -1. | | * The limit must be greater than zero, or -1. | |
| * @param status A reference to a UErrorCode to receive any errors. | | * @param status A reference to a UErrorCode to receive any errors. | |
| * | | * | |
| * @stable ICU 4.0 | | * @stable ICU 4.0 | |
| */ | | */ | |
|
| U_DRAFT void U_EXPORT2 | | U_STABLE void U_EXPORT2 | |
| uregex_setStackLimit(URegularExpression *regexp, | | uregex_setStackLimit(URegularExpression *regexp, | |
| int32_t limit, | | int32_t limit, | |
| UErrorCode *status); | | UErrorCode *status); | |
| | | | |
| /** | | /** | |
| * Get the size of the heap storage available for use by the back tracking
stack. | | * Get the size of the heap storage available for use by the back tracking
stack. | |
| * | | * | |
| * @return the maximum backtracking stack size, in bytes, or zero if the | | * @return the maximum backtracking stack size, in bytes, or zero if the | |
| * stack size is unlimited. | | * stack size is unlimited. | |
| * @stable ICU 4.0 | | * @stable ICU 4.0 | |
| */ | | */ | |
|
| U_DRAFT int32_t U_EXPORT2 | | U_STABLE int32_t U_EXPORT2 | |
| uregex_getStackLimit(const URegularExpression *regexp, | | uregex_getStackLimit(const URegularExpression *regexp, | |
| UErrorCode *status); | | UErrorCode *status); | |
| | | | |
| /** | | /** | |
| * Function pointer for a regular expression matching callback function. | | * Function pointer for a regular expression matching callback function. | |
| * When set, a callback function will be called periodically during matchin
g | | * When set, a callback function will be called periodically during matchin
g | |
| * operations. If the call back function returns FALSE, the matching | | * operations. If the call back function returns FALSE, the matching | |
| * operation will be terminated early. | | * operation will be terminated early. | |
| * | | * | |
| * Note: the callback function must not call other functions on this | | * Note: the callback function must not call other functions on this | |
| | | | |
| skipping to change at line 940 | | skipping to change at line 1205 | |
| * match. | | * match. | |
| * | | * | |
| * @param regexp The compiled regular expression. | | * @param regexp The compiled regular expression. | |
| * @param callback A pointer to the user-supplied callback function. | | * @param callback A pointer to the user-supplied callback function. | |
| * @param context User context pointer. The value supplied at the | | * @param context User context pointer. The value supplied at the | |
| * time the callback function is set will be saved | | * time the callback function is set will be saved | |
| * and passed to the callback each time that it is cal
led. | | * and passed to the callback each time that it is cal
led. | |
| * @param status A reference to a UErrorCode to receive any errors. | | * @param status A reference to a UErrorCode to receive any errors. | |
| * @stable ICU 4.0 | | * @stable ICU 4.0 | |
| */ | | */ | |
|
| U_DRAFT void U_EXPORT2 | | U_STABLE void U_EXPORT2 | |
| uregex_setMatchCallback(URegularExpression *regexp, | | uregex_setMatchCallback(URegularExpression *regexp, | |
| URegexMatchCallback *callback, | | URegexMatchCallback *callback, | |
| const void *context, | | const void *context, | |
| UErrorCode *status); | | UErrorCode *status); | |
| | | | |
| /** | | /** | |
| * Get the callback function for this URegularExpression. | | * Get the callback function for this URegularExpression. | |
| * | | * | |
| * @param regexp The compiled regular expression. | | * @param regexp The compiled regular expression. | |
| * @param callback Out paramater, receives a pointer to the user-suppl
ied | | * @param callback Out paramater, receives a pointer to the user-suppl
ied | |
| * callback function. | | * callback function. | |
| * @param context Out parameter, receives the user context pointer th
at | | * @param context Out parameter, receives the user context pointer th
at | |
| * was set when uregex_setMatchCallback() was called. | | * was set when uregex_setMatchCallback() was called. | |
| * @param status A reference to a UErrorCode to receive any errors. | | * @param status A reference to a UErrorCode to receive any errors. | |
| * @stable ICU 4.0 | | * @stable ICU 4.0 | |
| */ | | */ | |
|
| U_DRAFT void U_EXPORT2 | | U_STABLE void U_EXPORT2 | |
| uregex_getMatchCallback(const URegularExpression *regexp, | | uregex_getMatchCallback(const URegularExpression *regexp, | |
| URegexMatchCallback **callback, | | URegexMatchCallback **callback, | |
| const void **context, | | const void **context, | |
| UErrorCode *status); | | UErrorCode *status); | |
| | | | |
| #endif /* !UCONFIG_NO_REGULAR_EXPRESSIONS */ | | #endif /* !UCONFIG_NO_REGULAR_EXPRESSIONS */ | |
| #endif /* UREGEX_H */ | | #endif /* UREGEX_H */ | |
| | | | |
End of changes. 34 change blocks. |
| 31 lines changed or deleted | | 371 lines changed or added | |
|
| urename.h | | urename.h | |
| /* | | /* | |
| ***************************************************************************
**** | | ***************************************************************************
**** | |
|
| * Copyright (C) 2002-2009, International Business Machines | | * Copyright (C) 2002-2010, International Business Machines | |
| * Corporation and others. All Rights Reserved. | | * Corporation and others. All Rights Reserved. | |
| ***************************************************************************
**** | | ***************************************************************************
**** | |
| * | | * | |
| * file name: urename.h | | * file name: urename.h | |
| * encoding: US-ASCII | | * encoding: US-ASCII | |
| * tab size: 8 (not used) | | * tab size: 8 (not used) | |
| * indentation:4 | | * indentation:4 | |
| * | | * | |
| * Created by: Perl script written by Vladimir Weinstein | | * Created by: Perl script written by Vladimir Weinstein | |
| * | | * | |
| | | | |
| skipping to change at line 50 | | skipping to change at line 50 | |
| #include "unicode/uvernum.h" | | #include "unicode/uvernum.h" | |
| #endif | | #endif | |
| | | | |
| /* Error out before the following defines cause very strange and unexpected
code breakage */ | | /* Error out before the following defines cause very strange and unexpected
code breakage */ | |
| #ifndef U_ICU_ENTRY_POINT_RENAME | | #ifndef U_ICU_ENTRY_POINT_RENAME | |
| #error U_ICU_ENTRY_POINT_RENAME is not defined - cannot continue. Consider
defining U_DISABLE_RENAMING if renaming should not be used. | | #error U_ICU_ENTRY_POINT_RENAME is not defined - cannot continue. Consider
defining U_DISABLE_RENAMING if renaming should not be used. | |
| #endif | | #endif | |
| | | | |
| /* C exports renaming data */ | | /* C exports renaming data */ | |
| | | | |
|
| | | #define DECPOWERS U_ICU_ENTRY_POINT_RENAME(DECPOWERS) | |
| | | #define DECSTICKYTAB U_ICU_ENTRY_POINT_RENAME(DECSTICKYTAB) | |
| | | #define LNnn U_ICU_ENTRY_POINT_RENAME(LNnn) | |
| #define T_CString_int64ToString U_ICU_ENTRY_POINT_RENAME(T_CString_int64ToS
tring) | | #define T_CString_int64ToString U_ICU_ENTRY_POINT_RENAME(T_CString_int64ToS
tring) | |
| #define T_CString_integerToString U_ICU_ENTRY_POINT_RENAME(T_CString_intege
rToString) | | #define T_CString_integerToString U_ICU_ENTRY_POINT_RENAME(T_CString_intege
rToString) | |
| #define T_CString_stricmp U_ICU_ENTRY_POINT_RENAME(T_CString_stricmp) | | #define T_CString_stricmp U_ICU_ENTRY_POINT_RENAME(T_CString_stricmp) | |
| #define T_CString_stringToInteger U_ICU_ENTRY_POINT_RENAME(T_CString_string
ToInteger) | | #define T_CString_stringToInteger U_ICU_ENTRY_POINT_RENAME(T_CString_string
ToInteger) | |
| #define T_CString_strnicmp U_ICU_ENTRY_POINT_RENAME(T_CString_strnicmp) | | #define T_CString_strnicmp U_ICU_ENTRY_POINT_RENAME(T_CString_strnicmp) | |
| #define T_CString_toLowerCase U_ICU_ENTRY_POINT_RENAME(T_CString_toLowerCas
e) | | #define T_CString_toLowerCase U_ICU_ENTRY_POINT_RENAME(T_CString_toLowerCas
e) | |
| #define T_CString_toUpperCase U_ICU_ENTRY_POINT_RENAME(T_CString_toUpperCas
e) | | #define T_CString_toUpperCase U_ICU_ENTRY_POINT_RENAME(T_CString_toUpperCas
e) | |
| #define UCNV_FROM_U_CALLBACK_ESCAPE U_ICU_ENTRY_POINT_RENAME(UCNV_FROM_U_CA
LLBACK_ESCAPE) | | #define UCNV_FROM_U_CALLBACK_ESCAPE U_ICU_ENTRY_POINT_RENAME(UCNV_FROM_U_CA
LLBACK_ESCAPE) | |
| #define UCNV_FROM_U_CALLBACK_SKIP U_ICU_ENTRY_POINT_RENAME(UCNV_FROM_U_CALL
BACK_SKIP) | | #define UCNV_FROM_U_CALLBACK_SKIP U_ICU_ENTRY_POINT_RENAME(UCNV_FROM_U_CALL
BACK_SKIP) | |
| #define UCNV_FROM_U_CALLBACK_STOP U_ICU_ENTRY_POINT_RENAME(UCNV_FROM_U_CALL
BACK_STOP) | | #define UCNV_FROM_U_CALLBACK_STOP U_ICU_ENTRY_POINT_RENAME(UCNV_FROM_U_CALL
BACK_STOP) | |
| | | | |
| skipping to change at line 110 | | skipping to change at line 113 | |
| #define _UTF8Data U_ICU_ENTRY_POINT_RENAME(_UTF8Data) | | #define _UTF8Data U_ICU_ENTRY_POINT_RENAME(_UTF8Data) | |
| #define bms_close U_ICU_ENTRY_POINT_RENAME(bms_close) | | #define bms_close U_ICU_ENTRY_POINT_RENAME(bms_close) | |
| #define bms_empty U_ICU_ENTRY_POINT_RENAME(bms_empty) | | #define bms_empty U_ICU_ENTRY_POINT_RENAME(bms_empty) | |
| #define bms_getData U_ICU_ENTRY_POINT_RENAME(bms_getData) | | #define bms_getData U_ICU_ENTRY_POINT_RENAME(bms_getData) | |
| #define bms_open U_ICU_ENTRY_POINT_RENAME(bms_open) | | #define bms_open U_ICU_ENTRY_POINT_RENAME(bms_open) | |
| #define bms_search U_ICU_ENTRY_POINT_RENAME(bms_search) | | #define bms_search U_ICU_ENTRY_POINT_RENAME(bms_search) | |
| #define bms_setTargetString U_ICU_ENTRY_POINT_RENAME(bms_setTargetString) | | #define bms_setTargetString U_ICU_ENTRY_POINT_RENAME(bms_setTargetString) | |
| #define buildWSConfusableData U_ICU_ENTRY_POINT_RENAME(buildWSConfusableDat
a) | | #define buildWSConfusableData U_ICU_ENTRY_POINT_RENAME(buildWSConfusableDat
a) | |
| #define cmemory_cleanup U_ICU_ENTRY_POINT_RENAME(cmemory_cleanup) | | #define cmemory_cleanup U_ICU_ENTRY_POINT_RENAME(cmemory_cleanup) | |
| #define cmemory_inUse U_ICU_ENTRY_POINT_RENAME(cmemory_inUse) | | #define cmemory_inUse U_ICU_ENTRY_POINT_RENAME(cmemory_inUse) | |
|
| #define decimfmtAffixPatternValueComparator U_ICU_ENTRY_POINT_RENAME(decimf | | #define d2utable U_ICU_ENTRY_POINT_RENAME(d2utable) | |
| mtAffixPatternValueComparator) | | | |
| #define decimfmtAffixValueComparator U_ICU_ENTRY_POINT_RENAME(decimfmtAffix | | | |
| ValueComparator) | | | |
| #define deleteCEList U_ICU_ENTRY_POINT_RENAME(deleteCEList) | | #define deleteCEList U_ICU_ENTRY_POINT_RENAME(deleteCEList) | |
| #define deleteChars U_ICU_ENTRY_POINT_RENAME(deleteChars) | | #define deleteChars U_ICU_ENTRY_POINT_RENAME(deleteChars) | |
| #define deleteCollDataCacheEntry U_ICU_ENTRY_POINT_RENAME(deleteCollDataCac
heEntry) | | #define deleteCollDataCacheEntry U_ICU_ENTRY_POINT_RENAME(deleteCollDataCac
heEntry) | |
| #define deleteStringList U_ICU_ENTRY_POINT_RENAME(deleteStringList) | | #define deleteStringList U_ICU_ENTRY_POINT_RENAME(deleteStringList) | |
| #define deleteUnicodeStringKey U_ICU_ENTRY_POINT_RENAME(deleteUnicodeString
Key) | | #define deleteUnicodeStringKey U_ICU_ENTRY_POINT_RENAME(deleteUnicodeString
Key) | |
|
| #define dtitvinfHashTableValueComparator U_ICU_ENTRY_POINT_RENAME(dtitvinfH | | #define izrule_clone U_ICU_ENTRY_POINT_RENAME(izrule_clone) | |
| ashTableValueComparator) | | #define izrule_close U_ICU_ENTRY_POINT_RENAME(izrule_close) | |
| | | #define izrule_equals U_ICU_ENTRY_POINT_RENAME(izrule_equals) | |
| | | #define izrule_getDSTSavings U_ICU_ENTRY_POINT_RENAME(izrule_getDSTSavings) | |
| | | #define izrule_getDynamicClassID U_ICU_ENTRY_POINT_RENAME(izrule_getDynamic | |
| | | ClassID) | |
| | | #define izrule_getFinalStart U_ICU_ENTRY_POINT_RENAME(izrule_getFinalStart) | |
| | | #define izrule_getFirstStart U_ICU_ENTRY_POINT_RENAME(izrule_getFirstStart) | |
| | | #define izrule_getName U_ICU_ENTRY_POINT_RENAME(izrule_getName) | |
| | | #define izrule_getNextStart U_ICU_ENTRY_POINT_RENAME(izrule_getNextStart) | |
| | | #define izrule_getPreviousStart U_ICU_ENTRY_POINT_RENAME(izrule_getPrevious | |
| | | Start) | |
| | | #define izrule_getRawOffset U_ICU_ENTRY_POINT_RENAME(izrule_getRawOffset) | |
| | | #define izrule_getStaticClassID U_ICU_ENTRY_POINT_RENAME(izrule_getStaticCl | |
| | | assID) | |
| | | #define izrule_isEquivalentTo U_ICU_ENTRY_POINT_RENAME(izrule_isEquivalentT | |
| | | o) | |
| | | #define izrule_open U_ICU_ENTRY_POINT_RENAME(izrule_open) | |
| #define le_close U_ICU_ENTRY_POINT_RENAME(le_close) | | #define le_close U_ICU_ENTRY_POINT_RENAME(le_close) | |
| #define le_create U_ICU_ENTRY_POINT_RENAME(le_create) | | #define le_create U_ICU_ENTRY_POINT_RENAME(le_create) | |
| #define le_getCharIndices U_ICU_ENTRY_POINT_RENAME(le_getCharIndices) | | #define le_getCharIndices U_ICU_ENTRY_POINT_RENAME(le_getCharIndices) | |
| #define le_getCharIndicesWithBase U_ICU_ENTRY_POINT_RENAME(le_getCharIndice
sWithBase) | | #define le_getCharIndicesWithBase U_ICU_ENTRY_POINT_RENAME(le_getCharIndice
sWithBase) | |
| #define le_getGlyphCount U_ICU_ENTRY_POINT_RENAME(le_getGlyphCount) | | #define le_getGlyphCount U_ICU_ENTRY_POINT_RENAME(le_getGlyphCount) | |
| #define le_getGlyphPosition U_ICU_ENTRY_POINT_RENAME(le_getGlyphPosition) | | #define le_getGlyphPosition U_ICU_ENTRY_POINT_RENAME(le_getGlyphPosition) | |
| #define le_getGlyphPositions U_ICU_ENTRY_POINT_RENAME(le_getGlyphPositions) | | #define le_getGlyphPositions U_ICU_ENTRY_POINT_RENAME(le_getGlyphPositions) | |
| #define le_getGlyphs U_ICU_ENTRY_POINT_RENAME(le_getGlyphs) | | #define le_getGlyphs U_ICU_ENTRY_POINT_RENAME(le_getGlyphs) | |
| #define le_layoutChars U_ICU_ENTRY_POINT_RENAME(le_layoutChars) | | #define le_layoutChars U_ICU_ENTRY_POINT_RENAME(le_layoutChars) | |
| #define le_reset U_ICU_ENTRY_POINT_RENAME(le_reset) | | #define le_reset U_ICU_ENTRY_POINT_RENAME(le_reset) | |
| | | | |
| skipping to change at line 198 | | skipping to change at line 213 | |
| #define res_getBinary U_ICU_ENTRY_POINT_RENAME(res_getBinary) | | #define res_getBinary U_ICU_ENTRY_POINT_RENAME(res_getBinary) | |
| #define res_getIntVector U_ICU_ENTRY_POINT_RENAME(res_getIntVector) | | #define res_getIntVector U_ICU_ENTRY_POINT_RENAME(res_getIntVector) | |
| #define res_getPublicType U_ICU_ENTRY_POINT_RENAME(res_getPublicType) | | #define res_getPublicType U_ICU_ENTRY_POINT_RENAME(res_getPublicType) | |
| #define res_getResource U_ICU_ENTRY_POINT_RENAME(res_getResource) | | #define res_getResource U_ICU_ENTRY_POINT_RENAME(res_getResource) | |
| #define res_getString U_ICU_ENTRY_POINT_RENAME(res_getString) | | #define res_getString U_ICU_ENTRY_POINT_RENAME(res_getString) | |
| #define res_getTableItemByIndex U_ICU_ENTRY_POINT_RENAME(res_getTableItemBy
Index) | | #define res_getTableItemByIndex U_ICU_ENTRY_POINT_RENAME(res_getTableItemBy
Index) | |
| #define res_getTableItemByKey U_ICU_ENTRY_POINT_RENAME(res_getTableItemByKe
y) | | #define res_getTableItemByKey U_ICU_ENTRY_POINT_RENAME(res_getTableItemByKe
y) | |
| #define res_load U_ICU_ENTRY_POINT_RENAME(res_load) | | #define res_load U_ICU_ENTRY_POINT_RENAME(res_load) | |
| #define res_read U_ICU_ENTRY_POINT_RENAME(res_read) | | #define res_read U_ICU_ENTRY_POINT_RENAME(res_read) | |
| #define res_unload U_ICU_ENTRY_POINT_RENAME(res_unload) | | #define res_unload U_ICU_ENTRY_POINT_RENAME(res_unload) | |
|
| #define spacesRelativeToTextBeginEnd U_ICU_ENTRY_POINT_RENAME(spacesRelativ | | | |
| eToTextBeginEnd) | | | |
| #define tailChar U_ICU_ENTRY_POINT_RENAME(tailChar) | | | |
| #define tmutfmtHashTableValueComparator U_ICU_ENTRY_POINT_RENAME(tmutfmtHas | | | |
| hTableValueComparator) | | | |
| #define triedict_swap U_ICU_ENTRY_POINT_RENAME(triedict_swap) | | #define triedict_swap U_ICU_ENTRY_POINT_RENAME(triedict_swap) | |
|
| #define uShapeLamalefBegin U_ICU_ENTRY_POINT_RENAME(uShapeLamalefBegin) | | | |
| #define uShapeLamalefEnd U_ICU_ENTRY_POINT_RENAME(uShapeLamalefEnd) | | | |
| #define uShapeTashkeelBegin U_ICU_ENTRY_POINT_RENAME(uShapeTashkeelBegin) | | | |
| #define uShapeTashkeelEnd U_ICU_ENTRY_POINT_RENAME(uShapeTashkeelEnd) | | | |
| #define u_UCharsToChars U_ICU_ENTRY_POINT_RENAME(u_UCharsToChars) | | #define u_UCharsToChars U_ICU_ENTRY_POINT_RENAME(u_UCharsToChars) | |
| #define u_austrcpy U_ICU_ENTRY_POINT_RENAME(u_austrcpy) | | #define u_austrcpy U_ICU_ENTRY_POINT_RENAME(u_austrcpy) | |
| #define u_austrncpy U_ICU_ENTRY_POINT_RENAME(u_austrncpy) | | #define u_austrncpy U_ICU_ENTRY_POINT_RENAME(u_austrncpy) | |
| #define u_catclose U_ICU_ENTRY_POINT_RENAME(u_catclose) | | #define u_catclose U_ICU_ENTRY_POINT_RENAME(u_catclose) | |
| #define u_catgets U_ICU_ENTRY_POINT_RENAME(u_catgets) | | #define u_catgets U_ICU_ENTRY_POINT_RENAME(u_catgets) | |
| #define u_catopen U_ICU_ENTRY_POINT_RENAME(u_catopen) | | #define u_catopen U_ICU_ENTRY_POINT_RENAME(u_catopen) | |
| #define u_charAge U_ICU_ENTRY_POINT_RENAME(u_charAge) | | #define u_charAge U_ICU_ENTRY_POINT_RENAME(u_charAge) | |
| #define u_charDigitValue U_ICU_ENTRY_POINT_RENAME(u_charDigitValue) | | #define u_charDigitValue U_ICU_ENTRY_POINT_RENAME(u_charDigitValue) | |
| #define u_charDirection U_ICU_ENTRY_POINT_RENAME(u_charDirection) | | #define u_charDirection U_ICU_ENTRY_POINT_RENAME(u_charDirection) | |
| #define u_charFromName U_ICU_ENTRY_POINT_RENAME(u_charFromName) | | #define u_charFromName U_ICU_ENTRY_POINT_RENAME(u_charFromName) | |
| #define u_charMirror U_ICU_ENTRY_POINT_RENAME(u_charMirror) | | #define u_charMirror U_ICU_ENTRY_POINT_RENAME(u_charMirror) | |
| #define u_charName U_ICU_ENTRY_POINT_RENAME(u_charName) | | #define u_charName U_ICU_ENTRY_POINT_RENAME(u_charName) | |
| #define u_charType U_ICU_ENTRY_POINT_RENAME(u_charType) | | #define u_charType U_ICU_ENTRY_POINT_RENAME(u_charType) | |
| #define u_charsToUChars U_ICU_ENTRY_POINT_RENAME(u_charsToUChars) | | #define u_charsToUChars U_ICU_ENTRY_POINT_RENAME(u_charsToUChars) | |
| #define u_cleanup U_ICU_ENTRY_POINT_RENAME(u_cleanup) | | #define u_cleanup U_ICU_ENTRY_POINT_RENAME(u_cleanup) | |
| #define u_countChar32 U_ICU_ENTRY_POINT_RENAME(u_countChar32) | | #define u_countChar32 U_ICU_ENTRY_POINT_RENAME(u_countChar32) | |
| #define u_digit U_ICU_ENTRY_POINT_RENAME(u_digit) | | #define u_digit U_ICU_ENTRY_POINT_RENAME(u_digit) | |
| #define u_enumCharNames U_ICU_ENTRY_POINT_RENAME(u_enumCharNames) | | #define u_enumCharNames U_ICU_ENTRY_POINT_RENAME(u_enumCharNames) | |
| #define u_enumCharTypes U_ICU_ENTRY_POINT_RENAME(u_enumCharTypes) | | #define u_enumCharTypes U_ICU_ENTRY_POINT_RENAME(u_enumCharTypes) | |
| #define u_errorName U_ICU_ENTRY_POINT_RENAME(u_errorName) | | #define u_errorName U_ICU_ENTRY_POINT_RENAME(u_errorName) | |
|
| | | #define u_fadopt U_ICU_ENTRY_POINT_RENAME(u_fadopt) | |
| #define u_fclose U_ICU_ENTRY_POINT_RENAME(u_fclose) | | #define u_fclose U_ICU_ENTRY_POINT_RENAME(u_fclose) | |
| #define u_feof U_ICU_ENTRY_POINT_RENAME(u_feof) | | #define u_feof U_ICU_ENTRY_POINT_RENAME(u_feof) | |
| #define u_fflush U_ICU_ENTRY_POINT_RENAME(u_fflush) | | #define u_fflush U_ICU_ENTRY_POINT_RENAME(u_fflush) | |
| #define u_fgetConverter U_ICU_ENTRY_POINT_RENAME(u_fgetConverter) | | #define u_fgetConverter U_ICU_ENTRY_POINT_RENAME(u_fgetConverter) | |
| #define u_fgetc U_ICU_ENTRY_POINT_RENAME(u_fgetc) | | #define u_fgetc U_ICU_ENTRY_POINT_RENAME(u_fgetc) | |
| #define u_fgetcodepage U_ICU_ENTRY_POINT_RENAME(u_fgetcodepage) | | #define u_fgetcodepage U_ICU_ENTRY_POINT_RENAME(u_fgetcodepage) | |
| #define u_fgetcx U_ICU_ENTRY_POINT_RENAME(u_fgetcx) | | #define u_fgetcx U_ICU_ENTRY_POINT_RENAME(u_fgetcx) | |
| #define u_fgetfile U_ICU_ENTRY_POINT_RENAME(u_fgetfile) | | #define u_fgetfile U_ICU_ENTRY_POINT_RENAME(u_fgetfile) | |
| #define u_fgetlocale U_ICU_ENTRY_POINT_RENAME(u_fgetlocale) | | #define u_fgetlocale U_ICU_ENTRY_POINT_RENAME(u_fgetlocale) | |
| #define u_fgets U_ICU_ENTRY_POINT_RENAME(u_fgets) | | #define u_fgets U_ICU_ENTRY_POINT_RENAME(u_fgets) | |
| | | | |
| skipping to change at line 274 | | skipping to change at line 283 | |
| #define u_getIntPropertyMinValue U_ICU_ENTRY_POINT_RENAME(u_getIntPropertyM
inValue) | | #define u_getIntPropertyMinValue U_ICU_ENTRY_POINT_RENAME(u_getIntPropertyM
inValue) | |
| #define u_getIntPropertyValue U_ICU_ENTRY_POINT_RENAME(u_getIntPropertyValu
e) | | #define u_getIntPropertyValue U_ICU_ENTRY_POINT_RENAME(u_getIntPropertyValu
e) | |
| #define u_getNumericValue U_ICU_ENTRY_POINT_RENAME(u_getNumericValue) | | #define u_getNumericValue U_ICU_ENTRY_POINT_RENAME(u_getNumericValue) | |
| #define u_getPropertyEnum U_ICU_ENTRY_POINT_RENAME(u_getPropertyEnum) | | #define u_getPropertyEnum U_ICU_ENTRY_POINT_RENAME(u_getPropertyEnum) | |
| #define u_getPropertyName U_ICU_ENTRY_POINT_RENAME(u_getPropertyName) | | #define u_getPropertyName U_ICU_ENTRY_POINT_RENAME(u_getPropertyName) | |
| #define u_getPropertyValueEnum U_ICU_ENTRY_POINT_RENAME(u_getPropertyValueE
num) | | #define u_getPropertyValueEnum U_ICU_ENTRY_POINT_RENAME(u_getPropertyValueE
num) | |
| #define u_getPropertyValueName U_ICU_ENTRY_POINT_RENAME(u_getPropertyValueN
ame) | | #define u_getPropertyValueName U_ICU_ENTRY_POINT_RENAME(u_getPropertyValueN
ame) | |
| #define u_getUnicodeProperties U_ICU_ENTRY_POINT_RENAME(u_getUnicodePropert
ies) | | #define u_getUnicodeProperties U_ICU_ENTRY_POINT_RENAME(u_getUnicodePropert
ies) | |
| #define u_getUnicodeVersion U_ICU_ENTRY_POINT_RENAME(u_getUnicodeVersion) | | #define u_getUnicodeVersion U_ICU_ENTRY_POINT_RENAME(u_getUnicodeVersion) | |
| #define u_getVersion U_ICU_ENTRY_POINT_RENAME(u_getVersion) | | #define u_getVersion U_ICU_ENTRY_POINT_RENAME(u_getVersion) | |
|
| #define u_growBufferFromStatic U_ICU_ENTRY_POINT_RENAME(u_growBufferFromSta
tic) | | | |
| #define u_hasBinaryProperty U_ICU_ENTRY_POINT_RENAME(u_hasBinaryProperty) | | #define u_hasBinaryProperty U_ICU_ENTRY_POINT_RENAME(u_hasBinaryProperty) | |
| #define u_init U_ICU_ENTRY_POINT_RENAME(u_init) | | #define u_init U_ICU_ENTRY_POINT_RENAME(u_init) | |
| #define u_isDataOlder U_ICU_ENTRY_POINT_RENAME(u_isDataOlder) | | #define u_isDataOlder U_ICU_ENTRY_POINT_RENAME(u_isDataOlder) | |
| #define u_isIDIgnorable U_ICU_ENTRY_POINT_RENAME(u_isIDIgnorable) | | #define u_isIDIgnorable U_ICU_ENTRY_POINT_RENAME(u_isIDIgnorable) | |
| #define u_isIDPart U_ICU_ENTRY_POINT_RENAME(u_isIDPart) | | #define u_isIDPart U_ICU_ENTRY_POINT_RENAME(u_isIDPart) | |
| #define u_isIDStart U_ICU_ENTRY_POINT_RENAME(u_isIDStart) | | #define u_isIDStart U_ICU_ENTRY_POINT_RENAME(u_isIDStart) | |
| #define u_isISOControl U_ICU_ENTRY_POINT_RENAME(u_isISOControl) | | #define u_isISOControl U_ICU_ENTRY_POINT_RENAME(u_isISOControl) | |
| #define u_isJavaIDPart U_ICU_ENTRY_POINT_RENAME(u_isJavaIDPart) | | #define u_isJavaIDPart U_ICU_ENTRY_POINT_RENAME(u_isJavaIDPart) | |
| #define u_isJavaIDStart U_ICU_ENTRY_POINT_RENAME(u_isJavaIDStart) | | #define u_isJavaIDStart U_ICU_ENTRY_POINT_RENAME(u_isJavaIDStart) | |
| #define u_isJavaSpaceChar U_ICU_ENTRY_POINT_RENAME(u_isJavaSpaceChar) | | #define u_isJavaSpaceChar U_ICU_ENTRY_POINT_RENAME(u_isJavaSpaceChar) | |
| | | | |
| skipping to change at line 345 | | skipping to change at line 353 | |
| #define u_sprintf U_ICU_ENTRY_POINT_RENAME(u_sprintf) | | #define u_sprintf U_ICU_ENTRY_POINT_RENAME(u_sprintf) | |
| #define u_sprintf_u U_ICU_ENTRY_POINT_RENAME(u_sprintf_u) | | #define u_sprintf_u U_ICU_ENTRY_POINT_RENAME(u_sprintf_u) | |
| #define u_sscanf U_ICU_ENTRY_POINT_RENAME(u_sscanf) | | #define u_sscanf U_ICU_ENTRY_POINT_RENAME(u_sscanf) | |
| #define u_sscanf_u U_ICU_ENTRY_POINT_RENAME(u_sscanf_u) | | #define u_sscanf_u U_ICU_ENTRY_POINT_RENAME(u_sscanf_u) | |
| #define u_strCaseCompare U_ICU_ENTRY_POINT_RENAME(u_strCaseCompare) | | #define u_strCaseCompare U_ICU_ENTRY_POINT_RENAME(u_strCaseCompare) | |
| #define u_strCompare U_ICU_ENTRY_POINT_RENAME(u_strCompare) | | #define u_strCompare U_ICU_ENTRY_POINT_RENAME(u_strCompare) | |
| #define u_strCompareIter U_ICU_ENTRY_POINT_RENAME(u_strCompareIter) | | #define u_strCompareIter U_ICU_ENTRY_POINT_RENAME(u_strCompareIter) | |
| #define u_strFindFirst U_ICU_ENTRY_POINT_RENAME(u_strFindFirst) | | #define u_strFindFirst U_ICU_ENTRY_POINT_RENAME(u_strFindFirst) | |
| #define u_strFindLast U_ICU_ENTRY_POINT_RENAME(u_strFindLast) | | #define u_strFindLast U_ICU_ENTRY_POINT_RENAME(u_strFindLast) | |
| #define u_strFoldCase U_ICU_ENTRY_POINT_RENAME(u_strFoldCase) | | #define u_strFoldCase U_ICU_ENTRY_POINT_RENAME(u_strFoldCase) | |
|
| | | #define u_strFromJavaModifiedUTF8WithSub U_ICU_ENTRY_POINT_RENAME(u_strFrom
JavaModifiedUTF8WithSub) | |
| #define u_strFromPunycode U_ICU_ENTRY_POINT_RENAME(u_strFromPunycode) | | #define u_strFromPunycode U_ICU_ENTRY_POINT_RENAME(u_strFromPunycode) | |
| #define u_strFromUTF32 U_ICU_ENTRY_POINT_RENAME(u_strFromUTF32) | | #define u_strFromUTF32 U_ICU_ENTRY_POINT_RENAME(u_strFromUTF32) | |
| #define u_strFromUTF32WithSub U_ICU_ENTRY_POINT_RENAME(u_strFromUTF32WithSu
b) | | #define u_strFromUTF32WithSub U_ICU_ENTRY_POINT_RENAME(u_strFromUTF32WithSu
b) | |
| #define u_strFromUTF8 U_ICU_ENTRY_POINT_RENAME(u_strFromUTF8) | | #define u_strFromUTF8 U_ICU_ENTRY_POINT_RENAME(u_strFromUTF8) | |
| #define u_strFromUTF8Lenient U_ICU_ENTRY_POINT_RENAME(u_strFromUTF8Lenient) | | #define u_strFromUTF8Lenient U_ICU_ENTRY_POINT_RENAME(u_strFromUTF8Lenient) | |
| #define u_strFromUTF8WithSub U_ICU_ENTRY_POINT_RENAME(u_strFromUTF8WithSub) | | #define u_strFromUTF8WithSub U_ICU_ENTRY_POINT_RENAME(u_strFromUTF8WithSub) | |
| #define u_strFromWCS U_ICU_ENTRY_POINT_RENAME(u_strFromWCS) | | #define u_strFromWCS U_ICU_ENTRY_POINT_RENAME(u_strFromWCS) | |
| #define u_strHasMoreChar32Than U_ICU_ENTRY_POINT_RENAME(u_strHasMoreChar32T
han) | | #define u_strHasMoreChar32Than U_ICU_ENTRY_POINT_RENAME(u_strHasMoreChar32T
han) | |
|
| | | #define u_strToJavaModifiedUTF8 U_ICU_ENTRY_POINT_RENAME(u_strToJavaModifie
dUTF8) | |
| #define u_strToLower U_ICU_ENTRY_POINT_RENAME(u_strToLower) | | #define u_strToLower U_ICU_ENTRY_POINT_RENAME(u_strToLower) | |
| #define u_strToPunycode U_ICU_ENTRY_POINT_RENAME(u_strToPunycode) | | #define u_strToPunycode U_ICU_ENTRY_POINT_RENAME(u_strToPunycode) | |
| #define u_strToTitle U_ICU_ENTRY_POINT_RENAME(u_strToTitle) | | #define u_strToTitle U_ICU_ENTRY_POINT_RENAME(u_strToTitle) | |
| #define u_strToUTF32 U_ICU_ENTRY_POINT_RENAME(u_strToUTF32) | | #define u_strToUTF32 U_ICU_ENTRY_POINT_RENAME(u_strToUTF32) | |
| #define u_strToUTF32WithSub U_ICU_ENTRY_POINT_RENAME(u_strToUTF32WithSub) | | #define u_strToUTF32WithSub U_ICU_ENTRY_POINT_RENAME(u_strToUTF32WithSub) | |
| #define u_strToUTF8 U_ICU_ENTRY_POINT_RENAME(u_strToUTF8) | | #define u_strToUTF8 U_ICU_ENTRY_POINT_RENAME(u_strToUTF8) | |
| #define u_strToUTF8WithSub U_ICU_ENTRY_POINT_RENAME(u_strToUTF8WithSub) | | #define u_strToUTF8WithSub U_ICU_ENTRY_POINT_RENAME(u_strToUTF8WithSub) | |
| #define u_strToUpper U_ICU_ENTRY_POINT_RENAME(u_strToUpper) | | #define u_strToUpper U_ICU_ENTRY_POINT_RENAME(u_strToUpper) | |
| #define u_strToWCS U_ICU_ENTRY_POINT_RENAME(u_strToWCS) | | #define u_strToWCS U_ICU_ENTRY_POINT_RENAME(u_strToWCS) | |
| #define u_strcasecmp U_ICU_ENTRY_POINT_RENAME(u_strcasecmp) | | #define u_strcasecmp U_ICU_ENTRY_POINT_RENAME(u_strcasecmp) | |
| | | | |
| skipping to change at line 500 | | skipping to change at line 510 | |
| #define ucal_clearField U_ICU_ENTRY_POINT_RENAME(ucal_clearField) | | #define ucal_clearField U_ICU_ENTRY_POINT_RENAME(ucal_clearField) | |
| #define ucal_clone U_ICU_ENTRY_POINT_RENAME(ucal_clone) | | #define ucal_clone U_ICU_ENTRY_POINT_RENAME(ucal_clone) | |
| #define ucal_close U_ICU_ENTRY_POINT_RENAME(ucal_close) | | #define ucal_close U_ICU_ENTRY_POINT_RENAME(ucal_close) | |
| #define ucal_countAvailable U_ICU_ENTRY_POINT_RENAME(ucal_countAvailable) | | #define ucal_countAvailable U_ICU_ENTRY_POINT_RENAME(ucal_countAvailable) | |
| #define ucal_equivalentTo U_ICU_ENTRY_POINT_RENAME(ucal_equivalentTo) | | #define ucal_equivalentTo U_ICU_ENTRY_POINT_RENAME(ucal_equivalentTo) | |
| #define ucal_get U_ICU_ENTRY_POINT_RENAME(ucal_get) | | #define ucal_get U_ICU_ENTRY_POINT_RENAME(ucal_get) | |
| #define ucal_getAttribute U_ICU_ENTRY_POINT_RENAME(ucal_getAttribute) | | #define ucal_getAttribute U_ICU_ENTRY_POINT_RENAME(ucal_getAttribute) | |
| #define ucal_getAvailable U_ICU_ENTRY_POINT_RENAME(ucal_getAvailable) | | #define ucal_getAvailable U_ICU_ENTRY_POINT_RENAME(ucal_getAvailable) | |
| #define ucal_getCanonicalTimeZoneID U_ICU_ENTRY_POINT_RENAME(ucal_getCanoni
calTimeZoneID) | | #define ucal_getCanonicalTimeZoneID U_ICU_ENTRY_POINT_RENAME(ucal_getCanoni
calTimeZoneID) | |
| #define ucal_getDSTSavings U_ICU_ENTRY_POINT_RENAME(ucal_getDSTSavings) | | #define ucal_getDSTSavings U_ICU_ENTRY_POINT_RENAME(ucal_getDSTSavings) | |
|
| | | #define ucal_getDayOfWeekType U_ICU_ENTRY_POINT_RENAME(ucal_getDayOfWeekTyp
e) | |
| #define ucal_getDefaultTimeZone U_ICU_ENTRY_POINT_RENAME(ucal_getDefaultTim
eZone) | | #define ucal_getDefaultTimeZone U_ICU_ENTRY_POINT_RENAME(ucal_getDefaultTim
eZone) | |
| #define ucal_getGregorianChange U_ICU_ENTRY_POINT_RENAME(ucal_getGregorianC
hange) | | #define ucal_getGregorianChange U_ICU_ENTRY_POINT_RENAME(ucal_getGregorianC
hange) | |
| #define ucal_getKeywordValuesForLocale U_ICU_ENTRY_POINT_RENAME(ucal_getKey
wordValuesForLocale) | | #define ucal_getKeywordValuesForLocale U_ICU_ENTRY_POINT_RENAME(ucal_getKey
wordValuesForLocale) | |
| #define ucal_getLimit U_ICU_ENTRY_POINT_RENAME(ucal_getLimit) | | #define ucal_getLimit U_ICU_ENTRY_POINT_RENAME(ucal_getLimit) | |
| #define ucal_getLocaleByType U_ICU_ENTRY_POINT_RENAME(ucal_getLocaleByType) | | #define ucal_getLocaleByType U_ICU_ENTRY_POINT_RENAME(ucal_getLocaleByType) | |
| #define ucal_getMillis U_ICU_ENTRY_POINT_RENAME(ucal_getMillis) | | #define ucal_getMillis U_ICU_ENTRY_POINT_RENAME(ucal_getMillis) | |
| #define ucal_getNow U_ICU_ENTRY_POINT_RENAME(ucal_getNow) | | #define ucal_getNow U_ICU_ENTRY_POINT_RENAME(ucal_getNow) | |
| #define ucal_getTZDataVersion U_ICU_ENTRY_POINT_RENAME(ucal_getTZDataVersio
n) | | #define ucal_getTZDataVersion U_ICU_ENTRY_POINT_RENAME(ucal_getTZDataVersio
n) | |
| #define ucal_getTimeZoneDisplayName U_ICU_ENTRY_POINT_RENAME(ucal_getTimeZo
neDisplayName) | | #define ucal_getTimeZoneDisplayName U_ICU_ENTRY_POINT_RENAME(ucal_getTimeZo
neDisplayName) | |
| #define ucal_getType U_ICU_ENTRY_POINT_RENAME(ucal_getType) | | #define ucal_getType U_ICU_ENTRY_POINT_RENAME(ucal_getType) | |
|
| | | #define ucal_getWeekendTransition U_ICU_ENTRY_POINT_RENAME(ucal_getWeekendT
ransition) | |
| #define ucal_inDaylightTime U_ICU_ENTRY_POINT_RENAME(ucal_inDaylightTime) | | #define ucal_inDaylightTime U_ICU_ENTRY_POINT_RENAME(ucal_inDaylightTime) | |
| #define ucal_isSet U_ICU_ENTRY_POINT_RENAME(ucal_isSet) | | #define ucal_isSet U_ICU_ENTRY_POINT_RENAME(ucal_isSet) | |
|
| | | #define ucal_isWeekend U_ICU_ENTRY_POINT_RENAME(ucal_isWeekend) | |
| #define ucal_open U_ICU_ENTRY_POINT_RENAME(ucal_open) | | #define ucal_open U_ICU_ENTRY_POINT_RENAME(ucal_open) | |
| #define ucal_openCountryTimeZones U_ICU_ENTRY_POINT_RENAME(ucal_openCountry
TimeZones) | | #define ucal_openCountryTimeZones U_ICU_ENTRY_POINT_RENAME(ucal_openCountry
TimeZones) | |
| #define ucal_openTimeZones U_ICU_ENTRY_POINT_RENAME(ucal_openTimeZones) | | #define ucal_openTimeZones U_ICU_ENTRY_POINT_RENAME(ucal_openTimeZones) | |
| #define ucal_roll U_ICU_ENTRY_POINT_RENAME(ucal_roll) | | #define ucal_roll U_ICU_ENTRY_POINT_RENAME(ucal_roll) | |
| #define ucal_set U_ICU_ENTRY_POINT_RENAME(ucal_set) | | #define ucal_set U_ICU_ENTRY_POINT_RENAME(ucal_set) | |
| #define ucal_setAttribute U_ICU_ENTRY_POINT_RENAME(ucal_setAttribute) | | #define ucal_setAttribute U_ICU_ENTRY_POINT_RENAME(ucal_setAttribute) | |
| #define ucal_setDate U_ICU_ENTRY_POINT_RENAME(ucal_setDate) | | #define ucal_setDate U_ICU_ENTRY_POINT_RENAME(ucal_setDate) | |
| #define ucal_setDateTime U_ICU_ENTRY_POINT_RENAME(ucal_setDateTime) | | #define ucal_setDateTime U_ICU_ENTRY_POINT_RENAME(ucal_setDateTime) | |
| #define ucal_setDefaultTimeZone U_ICU_ENTRY_POINT_RENAME(ucal_setDefaultTim
eZone) | | #define ucal_setDefaultTimeZone U_ICU_ENTRY_POINT_RENAME(ucal_setDefaultTim
eZone) | |
| #define ucal_setGregorianChange U_ICU_ENTRY_POINT_RENAME(ucal_setGregorianC
hange) | | #define ucal_setGregorianChange U_ICU_ENTRY_POINT_RENAME(ucal_setGregorianC
hange) | |
| | | | |
| skipping to change at line 824 | | skipping to change at line 837 | |
| #define udat_getSymbols U_ICU_ENTRY_POINT_RENAME(udat_getSymbols) | | #define udat_getSymbols U_ICU_ENTRY_POINT_RENAME(udat_getSymbols) | |
| #define udat_isLenient U_ICU_ENTRY_POINT_RENAME(udat_isLenient) | | #define udat_isLenient U_ICU_ENTRY_POINT_RENAME(udat_isLenient) | |
| #define udat_open U_ICU_ENTRY_POINT_RENAME(udat_open) | | #define udat_open U_ICU_ENTRY_POINT_RENAME(udat_open) | |
| #define udat_parse U_ICU_ENTRY_POINT_RENAME(udat_parse) | | #define udat_parse U_ICU_ENTRY_POINT_RENAME(udat_parse) | |
| #define udat_parseCalendar U_ICU_ENTRY_POINT_RENAME(udat_parseCalendar) | | #define udat_parseCalendar U_ICU_ENTRY_POINT_RENAME(udat_parseCalendar) | |
| #define udat_set2DigitYearStart U_ICU_ENTRY_POINT_RENAME(udat_set2DigitYear
Start) | | #define udat_set2DigitYearStart U_ICU_ENTRY_POINT_RENAME(udat_set2DigitYear
Start) | |
| #define udat_setCalendar U_ICU_ENTRY_POINT_RENAME(udat_setCalendar) | | #define udat_setCalendar U_ICU_ENTRY_POINT_RENAME(udat_setCalendar) | |
| #define udat_setLenient U_ICU_ENTRY_POINT_RENAME(udat_setLenient) | | #define udat_setLenient U_ICU_ENTRY_POINT_RENAME(udat_setLenient) | |
| #define udat_setNumberFormat U_ICU_ENTRY_POINT_RENAME(udat_setNumberFormat) | | #define udat_setNumberFormat U_ICU_ENTRY_POINT_RENAME(udat_setNumberFormat) | |
| #define udat_setSymbols U_ICU_ENTRY_POINT_RENAME(udat_setSymbols) | | #define udat_setSymbols U_ICU_ENTRY_POINT_RENAME(udat_setSymbols) | |
|
| | | #define udat_toCalendarDateField U_ICU_ENTRY_POINT_RENAME(udat_toCalendarDa
teField) | |
| #define udat_toPattern U_ICU_ENTRY_POINT_RENAME(udat_toPattern) | | #define udat_toPattern U_ICU_ENTRY_POINT_RENAME(udat_toPattern) | |
| #define udat_toPatternRelativeDate U_ICU_ENTRY_POINT_RENAME(udat_toPatternR
elativeDate) | | #define udat_toPatternRelativeDate U_ICU_ENTRY_POINT_RENAME(udat_toPatternR
elativeDate) | |
| #define udat_toPatternRelativeTime U_ICU_ENTRY_POINT_RENAME(udat_toPatternR
elativeTime) | | #define udat_toPatternRelativeTime U_ICU_ENTRY_POINT_RENAME(udat_toPatternR
elativeTime) | |
| #define udata_checkCommonData U_ICU_ENTRY_POINT_RENAME(udata_checkCommonDat
a) | | #define udata_checkCommonData U_ICU_ENTRY_POINT_RENAME(udata_checkCommonDat
a) | |
| #define udata_close U_ICU_ENTRY_POINT_RENAME(udata_close) | | #define udata_close U_ICU_ENTRY_POINT_RENAME(udata_close) | |
| #define udata_closeSwapper U_ICU_ENTRY_POINT_RENAME(udata_closeSwapper) | | #define udata_closeSwapper U_ICU_ENTRY_POINT_RENAME(udata_closeSwapper) | |
| #define udata_getHeaderSize U_ICU_ENTRY_POINT_RENAME(udata_getHeaderSize) | | #define udata_getHeaderSize U_ICU_ENTRY_POINT_RENAME(udata_getHeaderSize) | |
| #define udata_getInfo U_ICU_ENTRY_POINT_RENAME(udata_getInfo) | | #define udata_getInfo U_ICU_ENTRY_POINT_RENAME(udata_getInfo) | |
| #define udata_getInfoSize U_ICU_ENTRY_POINT_RENAME(udata_getInfoSize) | | #define udata_getInfoSize U_ICU_ENTRY_POINT_RENAME(udata_getInfoSize) | |
| #define udata_getLength U_ICU_ENTRY_POINT_RENAME(udata_getLength) | | #define udata_getLength U_ICU_ENTRY_POINT_RENAME(udata_getLength) | |
| | | | |
| skipping to change at line 855 | | skipping to change at line 869 | |
| #define udata_setFileAccess U_ICU_ENTRY_POINT_RENAME(udata_setFileAccess) | | #define udata_setFileAccess U_ICU_ENTRY_POINT_RENAME(udata_setFileAccess) | |
| #define udata_swapDataHeader U_ICU_ENTRY_POINT_RENAME(udata_swapDataHeader) | | #define udata_swapDataHeader U_ICU_ENTRY_POINT_RENAME(udata_swapDataHeader) | |
| #define udata_swapInvStringBlock U_ICU_ENTRY_POINT_RENAME(udata_swapInvStri
ngBlock) | | #define udata_swapInvStringBlock U_ICU_ENTRY_POINT_RENAME(udata_swapInvStri
ngBlock) | |
| #define udatpg_addPattern U_ICU_ENTRY_POINT_RENAME(udatpg_addPattern) | | #define udatpg_addPattern U_ICU_ENTRY_POINT_RENAME(udatpg_addPattern) | |
| #define udatpg_clone U_ICU_ENTRY_POINT_RENAME(udatpg_clone) | | #define udatpg_clone U_ICU_ENTRY_POINT_RENAME(udatpg_clone) | |
| #define udatpg_close U_ICU_ENTRY_POINT_RENAME(udatpg_close) | | #define udatpg_close U_ICU_ENTRY_POINT_RENAME(udatpg_close) | |
| #define udatpg_getAppendItemFormat U_ICU_ENTRY_POINT_RENAME(udatpg_getAppen
dItemFormat) | | #define udatpg_getAppendItemFormat U_ICU_ENTRY_POINT_RENAME(udatpg_getAppen
dItemFormat) | |
| #define udatpg_getAppendItemName U_ICU_ENTRY_POINT_RENAME(udatpg_getAppendI
temName) | | #define udatpg_getAppendItemName U_ICU_ENTRY_POINT_RENAME(udatpg_getAppendI
temName) | |
| #define udatpg_getBaseSkeleton U_ICU_ENTRY_POINT_RENAME(udatpg_getBaseSkele
ton) | | #define udatpg_getBaseSkeleton U_ICU_ENTRY_POINT_RENAME(udatpg_getBaseSkele
ton) | |
| #define udatpg_getBestPattern U_ICU_ENTRY_POINT_RENAME(udatpg_getBestPatter
n) | | #define udatpg_getBestPattern U_ICU_ENTRY_POINT_RENAME(udatpg_getBestPatter
n) | |
|
| | | #define udatpg_getBestPatternWithOptions U_ICU_ENTRY_POINT_RENAME(udatpg_ge
tBestPatternWithOptions) | |
| #define udatpg_getDateTimeFormat U_ICU_ENTRY_POINT_RENAME(udatpg_getDateTim
eFormat) | | #define udatpg_getDateTimeFormat U_ICU_ENTRY_POINT_RENAME(udatpg_getDateTim
eFormat) | |
| #define udatpg_getDecimal U_ICU_ENTRY_POINT_RENAME(udatpg_getDecimal) | | #define udatpg_getDecimal U_ICU_ENTRY_POINT_RENAME(udatpg_getDecimal) | |
| #define udatpg_getPatternForSkeleton U_ICU_ENTRY_POINT_RENAME(udatpg_getPat
ternForSkeleton) | | #define udatpg_getPatternForSkeleton U_ICU_ENTRY_POINT_RENAME(udatpg_getPat
ternForSkeleton) | |
| #define udatpg_getSkeleton U_ICU_ENTRY_POINT_RENAME(udatpg_getSkeleton) | | #define udatpg_getSkeleton U_ICU_ENTRY_POINT_RENAME(udatpg_getSkeleton) | |
| #define udatpg_open U_ICU_ENTRY_POINT_RENAME(udatpg_open) | | #define udatpg_open U_ICU_ENTRY_POINT_RENAME(udatpg_open) | |
| #define udatpg_openBaseSkeletons U_ICU_ENTRY_POINT_RENAME(udatpg_openBaseSk
eletons) | | #define udatpg_openBaseSkeletons U_ICU_ENTRY_POINT_RENAME(udatpg_openBaseSk
eletons) | |
| #define udatpg_openEmpty U_ICU_ENTRY_POINT_RENAME(udatpg_openEmpty) | | #define udatpg_openEmpty U_ICU_ENTRY_POINT_RENAME(udatpg_openEmpty) | |
| #define udatpg_openSkeletons U_ICU_ENTRY_POINT_RENAME(udatpg_openSkeletons) | | #define udatpg_openSkeletons U_ICU_ENTRY_POINT_RENAME(udatpg_openSkeletons) | |
| #define udatpg_replaceFieldTypes U_ICU_ENTRY_POINT_RENAME(udatpg_replaceFie
ldTypes) | | #define udatpg_replaceFieldTypes U_ICU_ENTRY_POINT_RENAME(udatpg_replaceFie
ldTypes) | |
|
| | | #define udatpg_replaceFieldTypesWithOptions U_ICU_ENTRY_POINT_RENAME(udatpg
_replaceFieldTypesWithOptions) | |
| #define udatpg_setAppendItemFormat U_ICU_ENTRY_POINT_RENAME(udatpg_setAppen
dItemFormat) | | #define udatpg_setAppendItemFormat U_ICU_ENTRY_POINT_RENAME(udatpg_setAppen
dItemFormat) | |
| #define udatpg_setAppendItemName U_ICU_ENTRY_POINT_RENAME(udatpg_setAppendI
temName) | | #define udatpg_setAppendItemName U_ICU_ENTRY_POINT_RENAME(udatpg_setAppendI
temName) | |
| #define udatpg_setDateTimeFormat U_ICU_ENTRY_POINT_RENAME(udatpg_setDateTim
eFormat) | | #define udatpg_setDateTimeFormat U_ICU_ENTRY_POINT_RENAME(udatpg_setDateTim
eFormat) | |
| #define udatpg_setDecimal U_ICU_ENTRY_POINT_RENAME(udatpg_setDecimal) | | #define udatpg_setDecimal U_ICU_ENTRY_POINT_RENAME(udatpg_setDecimal) | |
| #define uenum_close U_ICU_ENTRY_POINT_RENAME(uenum_close) | | #define uenum_close U_ICU_ENTRY_POINT_RENAME(uenum_close) | |
| #define uenum_count U_ICU_ENTRY_POINT_RENAME(uenum_count) | | #define uenum_count U_ICU_ENTRY_POINT_RENAME(uenum_count) | |
| #define uenum_next U_ICU_ENTRY_POINT_RENAME(uenum_next) | | #define uenum_next U_ICU_ENTRY_POINT_RENAME(uenum_next) | |
| #define uenum_nextDefault U_ICU_ENTRY_POINT_RENAME(uenum_nextDefault) | | #define uenum_nextDefault U_ICU_ENTRY_POINT_RENAME(uenum_nextDefault) | |
| #define uenum_openCharStringsEnumeration U_ICU_ENTRY_POINT_RENAME(uenum_ope
nCharStringsEnumeration) | | #define uenum_openCharStringsEnumeration U_ICU_ENTRY_POINT_RENAME(uenum_ope
nCharStringsEnumeration) | |
| #define uenum_openFromStringEnumeration U_ICU_ENTRY_POINT_RENAME(uenum_open
FromStringEnumeration) | | #define uenum_openFromStringEnumeration U_ICU_ENTRY_POINT_RENAME(uenum_open
FromStringEnumeration) | |
| | | | |
| skipping to change at line 949 | | skipping to change at line 965 | |
| #define uiter_current32 U_ICU_ENTRY_POINT_RENAME(uiter_current32) | | #define uiter_current32 U_ICU_ENTRY_POINT_RENAME(uiter_current32) | |
| #define uiter_getState U_ICU_ENTRY_POINT_RENAME(uiter_getState) | | #define uiter_getState U_ICU_ENTRY_POINT_RENAME(uiter_getState) | |
| #define uiter_next32 U_ICU_ENTRY_POINT_RENAME(uiter_next32) | | #define uiter_next32 U_ICU_ENTRY_POINT_RENAME(uiter_next32) | |
| #define uiter_previous32 U_ICU_ENTRY_POINT_RENAME(uiter_previous32) | | #define uiter_previous32 U_ICU_ENTRY_POINT_RENAME(uiter_previous32) | |
| #define uiter_setCharacterIterator U_ICU_ENTRY_POINT_RENAME(uiter_setCharac
terIterator) | | #define uiter_setCharacterIterator U_ICU_ENTRY_POINT_RENAME(uiter_setCharac
terIterator) | |
| #define uiter_setReplaceable U_ICU_ENTRY_POINT_RENAME(uiter_setReplaceable) | | #define uiter_setReplaceable U_ICU_ENTRY_POINT_RENAME(uiter_setReplaceable) | |
| #define uiter_setState U_ICU_ENTRY_POINT_RENAME(uiter_setState) | | #define uiter_setState U_ICU_ENTRY_POINT_RENAME(uiter_setState) | |
| #define uiter_setString U_ICU_ENTRY_POINT_RENAME(uiter_setString) | | #define uiter_setString U_ICU_ENTRY_POINT_RENAME(uiter_setString) | |
| #define uiter_setUTF16BE U_ICU_ENTRY_POINT_RENAME(uiter_setUTF16BE) | | #define uiter_setUTF16BE U_ICU_ENTRY_POINT_RENAME(uiter_setUTF16BE) | |
| #define uiter_setUTF8 U_ICU_ENTRY_POINT_RENAME(uiter_setUTF8) | | #define uiter_setUTF8 U_ICU_ENTRY_POINT_RENAME(uiter_setUTF8) | |
|
| | | #define uldn_close U_ICU_ENTRY_POINT_RENAME(uldn_close) | |
| | | #define uldn_getDialectHandling U_ICU_ENTRY_POINT_RENAME(uldn_getDialectHan | |
| | | dling) | |
| | | #define uldn_getLocale U_ICU_ENTRY_POINT_RENAME(uldn_getLocale) | |
| | | #define uldn_keyDisplayName U_ICU_ENTRY_POINT_RENAME(uldn_keyDisplayName) | |
| | | #define uldn_keyValueDisplayName U_ICU_ENTRY_POINT_RENAME(uldn_keyValueDisp | |
| | | layName) | |
| | | #define uldn_languageDisplayName U_ICU_ENTRY_POINT_RENAME(uldn_languageDisp | |
| | | layName) | |
| | | #define uldn_localeDisplayName U_ICU_ENTRY_POINT_RENAME(uldn_localeDisplayN | |
| | | ame) | |
| | | #define uldn_open U_ICU_ENTRY_POINT_RENAME(uldn_open) | |
| | | #define uldn_regionDisplayName U_ICU_ENTRY_POINT_RENAME(uldn_regionDisplayN | |
| | | ame) | |
| | | #define uldn_scriptCodeDisplayName U_ICU_ENTRY_POINT_RENAME(uldn_scriptCode | |
| | | DisplayName) | |
| | | #define uldn_scriptDisplayName U_ICU_ENTRY_POINT_RENAME(uldn_scriptDisplayN | |
| | | ame) | |
| | | #define uldn_variantDisplayName U_ICU_ENTRY_POINT_RENAME(uldn_variantDispla | |
| | | yName) | |
| #define ulist_addItemBeginList U_ICU_ENTRY_POINT_RENAME(ulist_addItemBeginL
ist) | | #define ulist_addItemBeginList U_ICU_ENTRY_POINT_RENAME(ulist_addItemBeginL
ist) | |
| #define ulist_addItemEndList U_ICU_ENTRY_POINT_RENAME(ulist_addItemEndList) | | #define ulist_addItemEndList U_ICU_ENTRY_POINT_RENAME(ulist_addItemEndList) | |
| #define ulist_close_keyword_values_iterator U_ICU_ENTRY_POINT_RENAME(ulist_
close_keyword_values_iterator) | | #define ulist_close_keyword_values_iterator U_ICU_ENTRY_POINT_RENAME(ulist_
close_keyword_values_iterator) | |
| #define ulist_containsString U_ICU_ENTRY_POINT_RENAME(ulist_containsString) | | #define ulist_containsString U_ICU_ENTRY_POINT_RENAME(ulist_containsString) | |
| #define ulist_count_keyword_values U_ICU_ENTRY_POINT_RENAME(ulist_count_key
word_values) | | #define ulist_count_keyword_values U_ICU_ENTRY_POINT_RENAME(ulist_count_key
word_values) | |
| #define ulist_createEmptyList U_ICU_ENTRY_POINT_RENAME(ulist_createEmptyLis
t) | | #define ulist_createEmptyList U_ICU_ENTRY_POINT_RENAME(ulist_createEmptyLis
t) | |
| #define ulist_deleteList U_ICU_ENTRY_POINT_RENAME(ulist_deleteList) | | #define ulist_deleteList U_ICU_ENTRY_POINT_RENAME(ulist_deleteList) | |
| #define ulist_getListFromEnum U_ICU_ENTRY_POINT_RENAME(ulist_getListFromEnu
m) | | #define ulist_getListFromEnum U_ICU_ENTRY_POINT_RENAME(ulist_getListFromEnu
m) | |
| #define ulist_getListSize U_ICU_ENTRY_POINT_RENAME(ulist_getListSize) | | #define ulist_getListSize U_ICU_ENTRY_POINT_RENAME(ulist_getListSize) | |
| #define ulist_getNext U_ICU_ENTRY_POINT_RENAME(ulist_getNext) | | #define ulist_getNext U_ICU_ENTRY_POINT_RENAME(ulist_getNext) | |
| | | | |
| skipping to change at line 972 | | skipping to change at line 1000 | |
| #define uloc_acceptLanguage U_ICU_ENTRY_POINT_RENAME(uloc_acceptLanguage) | | #define uloc_acceptLanguage U_ICU_ENTRY_POINT_RENAME(uloc_acceptLanguage) | |
| #define uloc_acceptLanguageFromHTTP U_ICU_ENTRY_POINT_RENAME(uloc_acceptLan
guageFromHTTP) | | #define uloc_acceptLanguageFromHTTP U_ICU_ENTRY_POINT_RENAME(uloc_acceptLan
guageFromHTTP) | |
| #define uloc_addLikelySubtags U_ICU_ENTRY_POINT_RENAME(uloc_addLikelySubtag
s) | | #define uloc_addLikelySubtags U_ICU_ENTRY_POINT_RENAME(uloc_addLikelySubtag
s) | |
| #define uloc_canonicalize U_ICU_ENTRY_POINT_RENAME(uloc_canonicalize) | | #define uloc_canonicalize U_ICU_ENTRY_POINT_RENAME(uloc_canonicalize) | |
| #define uloc_countAvailable U_ICU_ENTRY_POINT_RENAME(uloc_countAvailable) | | #define uloc_countAvailable U_ICU_ENTRY_POINT_RENAME(uloc_countAvailable) | |
| #define uloc_forLanguageTag U_ICU_ENTRY_POINT_RENAME(uloc_forLanguageTag) | | #define uloc_forLanguageTag U_ICU_ENTRY_POINT_RENAME(uloc_forLanguageTag) | |
| #define uloc_getAvailable U_ICU_ENTRY_POINT_RENAME(uloc_getAvailable) | | #define uloc_getAvailable U_ICU_ENTRY_POINT_RENAME(uloc_getAvailable) | |
| #define uloc_getBaseName U_ICU_ENTRY_POINT_RENAME(uloc_getBaseName) | | #define uloc_getBaseName U_ICU_ENTRY_POINT_RENAME(uloc_getBaseName) | |
| #define uloc_getCharacterOrientation U_ICU_ENTRY_POINT_RENAME(uloc_getChara
cterOrientation) | | #define uloc_getCharacterOrientation U_ICU_ENTRY_POINT_RENAME(uloc_getChara
cterOrientation) | |
| #define uloc_getCountry U_ICU_ENTRY_POINT_RENAME(uloc_getCountry) | | #define uloc_getCountry U_ICU_ENTRY_POINT_RENAME(uloc_getCountry) | |
|
| | | #define uloc_getCurrentCountryID U_ICU_ENTRY_POINT_RENAME(uloc_getCurrentCo | |
| | | untryID) | |
| | | #define uloc_getCurrentLanguageID U_ICU_ENTRY_POINT_RENAME(uloc_getCurrentL | |
| | | anguageID) | |
| #define uloc_getDefault U_ICU_ENTRY_POINT_RENAME(uloc_getDefault) | | #define uloc_getDefault U_ICU_ENTRY_POINT_RENAME(uloc_getDefault) | |
| #define uloc_getDisplayCountry U_ICU_ENTRY_POINT_RENAME(uloc_getDisplayCoun
try) | | #define uloc_getDisplayCountry U_ICU_ENTRY_POINT_RENAME(uloc_getDisplayCoun
try) | |
| #define uloc_getDisplayKeyword U_ICU_ENTRY_POINT_RENAME(uloc_getDisplayKeyw
ord) | | #define uloc_getDisplayKeyword U_ICU_ENTRY_POINT_RENAME(uloc_getDisplayKeyw
ord) | |
| #define uloc_getDisplayKeywordValue U_ICU_ENTRY_POINT_RENAME(uloc_getDispla
yKeywordValue) | | #define uloc_getDisplayKeywordValue U_ICU_ENTRY_POINT_RENAME(uloc_getDispla
yKeywordValue) | |
| #define uloc_getDisplayLanguage U_ICU_ENTRY_POINT_RENAME(uloc_getDisplayLan
guage) | | #define uloc_getDisplayLanguage U_ICU_ENTRY_POINT_RENAME(uloc_getDisplayLan
guage) | |
| #define uloc_getDisplayName U_ICU_ENTRY_POINT_RENAME(uloc_getDisplayName) | | #define uloc_getDisplayName U_ICU_ENTRY_POINT_RENAME(uloc_getDisplayName) | |
| #define uloc_getDisplayScript U_ICU_ENTRY_POINT_RENAME(uloc_getDisplayScrip
t) | | #define uloc_getDisplayScript U_ICU_ENTRY_POINT_RENAME(uloc_getDisplayScrip
t) | |
| #define uloc_getDisplayVariant U_ICU_ENTRY_POINT_RENAME(uloc_getDisplayVari
ant) | | #define uloc_getDisplayVariant U_ICU_ENTRY_POINT_RENAME(uloc_getDisplayVari
ant) | |
| #define uloc_getISO3Country U_ICU_ENTRY_POINT_RENAME(uloc_getISO3Country) | | #define uloc_getISO3Country U_ICU_ENTRY_POINT_RENAME(uloc_getISO3Country) | |
| #define uloc_getISO3Language U_ICU_ENTRY_POINT_RENAME(uloc_getISO3Language) | | #define uloc_getISO3Language U_ICU_ENTRY_POINT_RENAME(uloc_getISO3Language) | |
| #define uloc_getISOCountries U_ICU_ENTRY_POINT_RENAME(uloc_getISOCountries) | | #define uloc_getISOCountries U_ICU_ENTRY_POINT_RENAME(uloc_getISOCountries) | |
| #define uloc_getISOLanguages U_ICU_ENTRY_POINT_RENAME(uloc_getISOLanguages) | | #define uloc_getISOLanguages U_ICU_ENTRY_POINT_RENAME(uloc_getISOLanguages) | |
| #define uloc_getKeywordValue U_ICU_ENTRY_POINT_RENAME(uloc_getKeywordValue) | | #define uloc_getKeywordValue U_ICU_ENTRY_POINT_RENAME(uloc_getKeywordValue) | |
| #define uloc_getLCID U_ICU_ENTRY_POINT_RENAME(uloc_getLCID) | | #define uloc_getLCID U_ICU_ENTRY_POINT_RENAME(uloc_getLCID) | |
| #define uloc_getLanguage U_ICU_ENTRY_POINT_RENAME(uloc_getLanguage) | | #define uloc_getLanguage U_ICU_ENTRY_POINT_RENAME(uloc_getLanguage) | |
| #define uloc_getLineOrientation U_ICU_ENTRY_POINT_RENAME(uloc_getLineOrient
ation) | | #define uloc_getLineOrientation U_ICU_ENTRY_POINT_RENAME(uloc_getLineOrient
ation) | |
| #define uloc_getLocaleForLCID U_ICU_ENTRY_POINT_RENAME(uloc_getLocaleForLCI
D) | | #define uloc_getLocaleForLCID U_ICU_ENTRY_POINT_RENAME(uloc_getLocaleForLCI
D) | |
| #define uloc_getName U_ICU_ENTRY_POINT_RENAME(uloc_getName) | | #define uloc_getName U_ICU_ENTRY_POINT_RENAME(uloc_getName) | |
| #define uloc_getParent U_ICU_ENTRY_POINT_RENAME(uloc_getParent) | | #define uloc_getParent U_ICU_ENTRY_POINT_RENAME(uloc_getParent) | |
| #define uloc_getScript U_ICU_ENTRY_POINT_RENAME(uloc_getScript) | | #define uloc_getScript U_ICU_ENTRY_POINT_RENAME(uloc_getScript) | |
|
| | | #define uloc_getTableStringWithFallback U_ICU_ENTRY_POINT_RENAME(uloc_getTa
bleStringWithFallback) | |
| #define uloc_getVariant U_ICU_ENTRY_POINT_RENAME(uloc_getVariant) | | #define uloc_getVariant U_ICU_ENTRY_POINT_RENAME(uloc_getVariant) | |
| #define uloc_minimizeSubtags U_ICU_ENTRY_POINT_RENAME(uloc_minimizeSubtags) | | #define uloc_minimizeSubtags U_ICU_ENTRY_POINT_RENAME(uloc_minimizeSubtags) | |
| #define uloc_openKeywordList U_ICU_ENTRY_POINT_RENAME(uloc_openKeywordList) | | #define uloc_openKeywordList U_ICU_ENTRY_POINT_RENAME(uloc_openKeywordList) | |
| #define uloc_openKeywords U_ICU_ENTRY_POINT_RENAME(uloc_openKeywords) | | #define uloc_openKeywords U_ICU_ENTRY_POINT_RENAME(uloc_openKeywords) | |
| #define uloc_setDefault U_ICU_ENTRY_POINT_RENAME(uloc_setDefault) | | #define uloc_setDefault U_ICU_ENTRY_POINT_RENAME(uloc_setDefault) | |
| #define uloc_setKeywordValue U_ICU_ENTRY_POINT_RENAME(uloc_setKeywordValue) | | #define uloc_setKeywordValue U_ICU_ENTRY_POINT_RENAME(uloc_setKeywordValue) | |
| #define uloc_toLanguageTag U_ICU_ENTRY_POINT_RENAME(uloc_toLanguageTag) | | #define uloc_toLanguageTag U_ICU_ENTRY_POINT_RENAME(uloc_toLanguageTag) | |
| #define ulocdata_close U_ICU_ENTRY_POINT_RENAME(ulocdata_close) | | #define ulocdata_close U_ICU_ENTRY_POINT_RENAME(ulocdata_close) | |
| #define ulocdata_getCLDRVersion U_ICU_ENTRY_POINT_RENAME(ulocdata_getCLDRVe
rsion) | | #define ulocdata_getCLDRVersion U_ICU_ENTRY_POINT_RENAME(ulocdata_getCLDRVe
rsion) | |
| #define ulocdata_getDelimiter U_ICU_ENTRY_POINT_RENAME(ulocdata_getDelimite
r) | | #define ulocdata_getDelimiter U_ICU_ENTRY_POINT_RENAME(ulocdata_getDelimite
r) | |
| #define ulocdata_getExemplarSet U_ICU_ENTRY_POINT_RENAME(ulocdata_getExempl
arSet) | | #define ulocdata_getExemplarSet U_ICU_ENTRY_POINT_RENAME(ulocdata_getExempl
arSet) | |
| #define ulocdata_getLocaleDisplayPattern U_ICU_ENTRY_POINT_RENAME(ulocdata_
getLocaleDisplayPattern) | | #define ulocdata_getLocaleDisplayPattern U_ICU_ENTRY_POINT_RENAME(ulocdata_
getLocaleDisplayPattern) | |
| #define ulocdata_getLocaleSeparator U_ICU_ENTRY_POINT_RENAME(ulocdata_getLo
caleSeparator) | | #define ulocdata_getLocaleSeparator U_ICU_ENTRY_POINT_RENAME(ulocdata_getLo
caleSeparator) | |
| #define ulocdata_getMeasurementSystem U_ICU_ENTRY_POINT_RENAME(ulocdata_get
MeasurementSystem) | | #define ulocdata_getMeasurementSystem U_ICU_ENTRY_POINT_RENAME(ulocdata_get
MeasurementSystem) | |
| #define ulocdata_getNoSubstitute U_ICU_ENTRY_POINT_RENAME(ulocdata_getNoSub
stitute) | | #define ulocdata_getNoSubstitute U_ICU_ENTRY_POINT_RENAME(ulocdata_getNoSub
stitute) | |
| #define ulocdata_getPaperSize U_ICU_ENTRY_POINT_RENAME(ulocdata_getPaperSiz
e) | | #define ulocdata_getPaperSize U_ICU_ENTRY_POINT_RENAME(ulocdata_getPaperSiz
e) | |
| #define ulocdata_open U_ICU_ENTRY_POINT_RENAME(ulocdata_open) | | #define ulocdata_open U_ICU_ENTRY_POINT_RENAME(ulocdata_open) | |
| #define ulocdata_setNoSubstitute U_ICU_ENTRY_POINT_RENAME(ulocdata_setNoSub
stitute) | | #define ulocdata_setNoSubstitute U_ICU_ENTRY_POINT_RENAME(ulocdata_setNoSub
stitute) | |
|
| | | #define ulocimp_getCountry U_ICU_ENTRY_POINT_RENAME(ulocimp_getCountry) | |
| | | #define ulocimp_getLanguage U_ICU_ENTRY_POINT_RENAME(ulocimp_getLanguage) | |
| | | #define ulocimp_getScript U_ICU_ENTRY_POINT_RENAME(ulocimp_getScript) | |
| #define umsg_applyPattern U_ICU_ENTRY_POINT_RENAME(umsg_applyPattern) | | #define umsg_applyPattern U_ICU_ENTRY_POINT_RENAME(umsg_applyPattern) | |
| #define umsg_autoQuoteApostrophe U_ICU_ENTRY_POINT_RENAME(umsg_autoQuoteApo
strophe) | | #define umsg_autoQuoteApostrophe U_ICU_ENTRY_POINT_RENAME(umsg_autoQuoteApo
strophe) | |
| #define umsg_clone U_ICU_ENTRY_POINT_RENAME(umsg_clone) | | #define umsg_clone U_ICU_ENTRY_POINT_RENAME(umsg_clone) | |
| #define umsg_close U_ICU_ENTRY_POINT_RENAME(umsg_close) | | #define umsg_close U_ICU_ENTRY_POINT_RENAME(umsg_close) | |
| #define umsg_format U_ICU_ENTRY_POINT_RENAME(umsg_format) | | #define umsg_format U_ICU_ENTRY_POINT_RENAME(umsg_format) | |
| #define umsg_getLocale U_ICU_ENTRY_POINT_RENAME(umsg_getLocale) | | #define umsg_getLocale U_ICU_ENTRY_POINT_RENAME(umsg_getLocale) | |
| #define umsg_open U_ICU_ENTRY_POINT_RENAME(umsg_open) | | #define umsg_open U_ICU_ENTRY_POINT_RENAME(umsg_open) | |
| #define umsg_parse U_ICU_ENTRY_POINT_RENAME(umsg_parse) | | #define umsg_parse U_ICU_ENTRY_POINT_RENAME(umsg_parse) | |
| #define umsg_setLocale U_ICU_ENTRY_POINT_RENAME(umsg_setLocale) | | #define umsg_setLocale U_ICU_ENTRY_POINT_RENAME(umsg_setLocale) | |
| #define umsg_toPattern U_ICU_ENTRY_POINT_RENAME(umsg_toPattern) | | #define umsg_toPattern U_ICU_ENTRY_POINT_RENAME(umsg_toPattern) | |
| #define umsg_vformat U_ICU_ENTRY_POINT_RENAME(umsg_vformat) | | #define umsg_vformat U_ICU_ENTRY_POINT_RENAME(umsg_vformat) | |
| #define umsg_vparse U_ICU_ENTRY_POINT_RENAME(umsg_vparse) | | #define umsg_vparse U_ICU_ENTRY_POINT_RENAME(umsg_vparse) | |
| #define umtx_atomic_dec U_ICU_ENTRY_POINT_RENAME(umtx_atomic_dec) | | #define umtx_atomic_dec U_ICU_ENTRY_POINT_RENAME(umtx_atomic_dec) | |
| #define umtx_atomic_inc U_ICU_ENTRY_POINT_RENAME(umtx_atomic_inc) | | #define umtx_atomic_inc U_ICU_ENTRY_POINT_RENAME(umtx_atomic_inc) | |
| #define umtx_cleanup U_ICU_ENTRY_POINT_RENAME(umtx_cleanup) | | #define umtx_cleanup U_ICU_ENTRY_POINT_RENAME(umtx_cleanup) | |
| #define umtx_destroy U_ICU_ENTRY_POINT_RENAME(umtx_destroy) | | #define umtx_destroy U_ICU_ENTRY_POINT_RENAME(umtx_destroy) | |
| #define umtx_init U_ICU_ENTRY_POINT_RENAME(umtx_init) | | #define umtx_init U_ICU_ENTRY_POINT_RENAME(umtx_init) | |
| #define umtx_lock U_ICU_ENTRY_POINT_RENAME(umtx_lock) | | #define umtx_lock U_ICU_ENTRY_POINT_RENAME(umtx_lock) | |
| #define umtx_unlock U_ICU_ENTRY_POINT_RENAME(umtx_unlock) | | #define umtx_unlock U_ICU_ENTRY_POINT_RENAME(umtx_unlock) | |
|
| | | #define uniset_getUnicode32Instance U_ICU_ENTRY_POINT_RENAME(uniset_getUnic | |
| | | ode32Instance) | |
| | | #define unorm2_append U_ICU_ENTRY_POINT_RENAME(unorm2_append) | |
| | | #define unorm2_close U_ICU_ENTRY_POINT_RENAME(unorm2_close) | |
| | | #define unorm2_getInstance U_ICU_ENTRY_POINT_RENAME(unorm2_getInstance) | |
| | | #define unorm2_hasBoundaryAfter U_ICU_ENTRY_POINT_RENAME(unorm2_hasBoundary | |
| | | After) | |
| | | #define unorm2_hasBoundaryBefore U_ICU_ENTRY_POINT_RENAME(unorm2_hasBoundar | |
| | | yBefore) | |
| | | #define unorm2_isInert U_ICU_ENTRY_POINT_RENAME(unorm2_isInert) | |
| | | #define unorm2_isNormalized U_ICU_ENTRY_POINT_RENAME(unorm2_isNormalized) | |
| | | #define unorm2_normalize U_ICU_ENTRY_POINT_RENAME(unorm2_normalize) | |
| | | #define unorm2_normalizeSecondAndAppend U_ICU_ENTRY_POINT_RENAME(unorm2_nor | |
| | | malizeSecondAndAppend) | |
| | | #define unorm2_openFiltered U_ICU_ENTRY_POINT_RENAME(unorm2_openFiltered) | |
| | | #define unorm2_quickCheck U_ICU_ENTRY_POINT_RENAME(unorm2_quickCheck) | |
| | | #define unorm2_spanQuickCheckYes U_ICU_ENTRY_POINT_RENAME(unorm2_spanQuickC | |
| | | heckYes) | |
| | | #define unorm2_swap U_ICU_ENTRY_POINT_RENAME(unorm2_swap) | |
| #define unorm_addPropertyStarts U_ICU_ENTRY_POINT_RENAME(unorm_addPropertyS
tarts) | | #define unorm_addPropertyStarts U_ICU_ENTRY_POINT_RENAME(unorm_addPropertyS
tarts) | |
| #define unorm_closeIter U_ICU_ENTRY_POINT_RENAME(unorm_closeIter) | | #define unorm_closeIter U_ICU_ENTRY_POINT_RENAME(unorm_closeIter) | |
| #define unorm_compare U_ICU_ENTRY_POINT_RENAME(unorm_compare) | | #define unorm_compare U_ICU_ENTRY_POINT_RENAME(unorm_compare) | |
|
| #define unorm_compose U_ICU_ENTRY_POINT_RENAME(unorm_compose) | | | |
| #define unorm_concatenate U_ICU_ENTRY_POINT_RENAME(unorm_concatenate) | | #define unorm_concatenate U_ICU_ENTRY_POINT_RENAME(unorm_concatenate) | |
|
| #define unorm_decompose U_ICU_ENTRY_POINT_RENAME(unorm_decompose) | | | |
| #define unorm_getCanonStartSet U_ICU_ENTRY_POINT_RENAME(unorm_getCanonStart
Set) | | #define unorm_getCanonStartSet U_ICU_ENTRY_POINT_RENAME(unorm_getCanonStart
Set) | |
|
| #define unorm_getCanonicalDecomposition U_ICU_ENTRY_POINT_RENAME(unorm_getC | | | |
| anonicalDecomposition) | | | |
| #define unorm_getDecomposition U_ICU_ENTRY_POINT_RENAME(unorm_getDecomposit | | | |
| ion) | | | |
| #define unorm_getFCD16FromCodePoint U_ICU_ENTRY_POINT_RENAME(unorm_getFCD16 | | | |
| FromCodePoint) | | | |
| #define unorm_getFCDTrieIndex U_ICU_ENTRY_POINT_RENAME(unorm_getFCDTrieInde
x) | | #define unorm_getFCDTrieIndex U_ICU_ENTRY_POINT_RENAME(unorm_getFCDTrieInde
x) | |
|
| #define unorm_getNX U_ICU_ENTRY_POINT_RENAME(unorm_getNX) | | | |
| #define unorm_getQuickCheck U_ICU_ENTRY_POINT_RENAME(unorm_getQuickCheck) | | #define unorm_getQuickCheck U_ICU_ENTRY_POINT_RENAME(unorm_getQuickCheck) | |
|
| #define unorm_getUnicodeVersion U_ICU_ENTRY_POINT_RENAME(unorm_getUnicodeVe
rsion) | | | |
| #define unorm_haveData U_ICU_ENTRY_POINT_RENAME(unorm_haveData) | | #define unorm_haveData U_ICU_ENTRY_POINT_RENAME(unorm_haveData) | |
|
| #define unorm_internalIsFullCompositionExclusion U_ICU_ENTRY_POINT_RENAME(u | | | |
| norm_internalIsFullCompositionExclusion) | | | |
| #define unorm_internalNormalize U_ICU_ENTRY_POINT_RENAME(unorm_internalNorm | | | |
| alize) | | | |
| #define unorm_internalNormalizeWithNX U_ICU_ENTRY_POINT_RENAME(unorm_intern | | | |
| alNormalizeWithNX) | | | |
| #define unorm_internalQuickCheck U_ICU_ENTRY_POINT_RENAME(unorm_internalQui | | | |
| ckCheck) | | | |
| #define unorm_isCanonSafeStart U_ICU_ENTRY_POINT_RENAME(unorm_isCanonSafeSt
art) | | #define unorm_isCanonSafeStart U_ICU_ENTRY_POINT_RENAME(unorm_isCanonSafeSt
art) | |
|
| #define unorm_isNFSkippable U_ICU_ENTRY_POINT_RENAME(unorm_isNFSkippable) | | | |
| #define unorm_isNormalized U_ICU_ENTRY_POINT_RENAME(unorm_isNormalized) | | #define unorm_isNormalized U_ICU_ENTRY_POINT_RENAME(unorm_isNormalized) | |
| #define unorm_isNormalizedWithOptions U_ICU_ENTRY_POINT_RENAME(unorm_isNorm
alizedWithOptions) | | #define unorm_isNormalizedWithOptions U_ICU_ENTRY_POINT_RENAME(unorm_isNorm
alizedWithOptions) | |
| #define unorm_next U_ICU_ENTRY_POINT_RENAME(unorm_next) | | #define unorm_next U_ICU_ENTRY_POINT_RENAME(unorm_next) | |
| #define unorm_normalize U_ICU_ENTRY_POINT_RENAME(unorm_normalize) | | #define unorm_normalize U_ICU_ENTRY_POINT_RENAME(unorm_normalize) | |
| #define unorm_openIter U_ICU_ENTRY_POINT_RENAME(unorm_openIter) | | #define unorm_openIter U_ICU_ENTRY_POINT_RENAME(unorm_openIter) | |
| #define unorm_previous U_ICU_ENTRY_POINT_RENAME(unorm_previous) | | #define unorm_previous U_ICU_ENTRY_POINT_RENAME(unorm_previous) | |
| #define unorm_quickCheck U_ICU_ENTRY_POINT_RENAME(unorm_quickCheck) | | #define unorm_quickCheck U_ICU_ENTRY_POINT_RENAME(unorm_quickCheck) | |
| #define unorm_quickCheckWithOptions U_ICU_ENTRY_POINT_RENAME(unorm_quickChe
ckWithOptions) | | #define unorm_quickCheckWithOptions U_ICU_ENTRY_POINT_RENAME(unorm_quickChe
ckWithOptions) | |
| #define unorm_setIter U_ICU_ENTRY_POINT_RENAME(unorm_setIter) | | #define unorm_setIter U_ICU_ENTRY_POINT_RENAME(unorm_setIter) | |
| #define unum_applyPattern U_ICU_ENTRY_POINT_RENAME(unum_applyPattern) | | #define unum_applyPattern U_ICU_ENTRY_POINT_RENAME(unum_applyPattern) | |
| | | | |
| skipping to change at line 1083 | | skipping to change at line 1119 | |
| #define unum_open U_ICU_ENTRY_POINT_RENAME(unum_open) | | #define unum_open U_ICU_ENTRY_POINT_RENAME(unum_open) | |
| #define unum_parse U_ICU_ENTRY_POINT_RENAME(unum_parse) | | #define unum_parse U_ICU_ENTRY_POINT_RENAME(unum_parse) | |
| #define unum_parseDouble U_ICU_ENTRY_POINT_RENAME(unum_parseDouble) | | #define unum_parseDouble U_ICU_ENTRY_POINT_RENAME(unum_parseDouble) | |
| #define unum_parseDoubleCurrency U_ICU_ENTRY_POINT_RENAME(unum_parseDoubleC
urrency) | | #define unum_parseDoubleCurrency U_ICU_ENTRY_POINT_RENAME(unum_parseDoubleC
urrency) | |
| #define unum_parseInt64 U_ICU_ENTRY_POINT_RENAME(unum_parseInt64) | | #define unum_parseInt64 U_ICU_ENTRY_POINT_RENAME(unum_parseInt64) | |
| #define unum_setAttribute U_ICU_ENTRY_POINT_RENAME(unum_setAttribute) | | #define unum_setAttribute U_ICU_ENTRY_POINT_RENAME(unum_setAttribute) | |
| #define unum_setDoubleAttribute U_ICU_ENTRY_POINT_RENAME(unum_setDoubleAttr
ibute) | | #define unum_setDoubleAttribute U_ICU_ENTRY_POINT_RENAME(unum_setDoubleAttr
ibute) | |
| #define unum_setSymbol U_ICU_ENTRY_POINT_RENAME(unum_setSymbol) | | #define unum_setSymbol U_ICU_ENTRY_POINT_RENAME(unum_setSymbol) | |
| #define unum_setTextAttribute U_ICU_ENTRY_POINT_RENAME(unum_setTextAttribut
e) | | #define unum_setTextAttribute U_ICU_ENTRY_POINT_RENAME(unum_setTextAttribut
e) | |
| #define unum_toPattern U_ICU_ENTRY_POINT_RENAME(unum_toPattern) | | #define unum_toPattern U_ICU_ENTRY_POINT_RENAME(unum_toPattern) | |
|
| | | #define uplug_closeLibrary U_ICU_ENTRY_POINT_RENAME(uplug_closeLibrary) | |
| | | #define uplug_findLibrary U_ICU_ENTRY_POINT_RENAME(uplug_findLibrary) | |
| | | #define uplug_getConfiguration U_ICU_ENTRY_POINT_RENAME(uplug_getConfigurat | |
| | | ion) | |
| | | #define uplug_getContext U_ICU_ENTRY_POINT_RENAME(uplug_getContext) | |
| | | #define uplug_getCurrentLevel U_ICU_ENTRY_POINT_RENAME(uplug_getCurrentLeve | |
| | | l) | |
| | | #define uplug_getLibrary U_ICU_ENTRY_POINT_RENAME(uplug_getLibrary) | |
| | | #define uplug_getLibraryName U_ICU_ENTRY_POINT_RENAME(uplug_getLibraryName) | |
| | | #define uplug_getPlugInternal U_ICU_ENTRY_POINT_RENAME(uplug_getPlugInterna | |
| | | l) | |
| | | #define uplug_getPlugLevel U_ICU_ENTRY_POINT_RENAME(uplug_getPlugLevel) | |
| | | #define uplug_getPlugLoadStatus U_ICU_ENTRY_POINT_RENAME(uplug_getPlugLoadS | |
| | | tatus) | |
| | | #define uplug_getPlugName U_ICU_ENTRY_POINT_RENAME(uplug_getPlugName) | |
| | | #define uplug_getPluginFile U_ICU_ENTRY_POINT_RENAME(uplug_getPluginFile) | |
| | | #define uplug_getSymbolName U_ICU_ENTRY_POINT_RENAME(uplug_getSymbolName) | |
| | | #define uplug_init U_ICU_ENTRY_POINT_RENAME(uplug_init) | |
| | | #define uplug_loadPlugFromEntrypoint U_ICU_ENTRY_POINT_RENAME(uplug_loadPlu | |
| | | gFromEntrypoint) | |
| | | #define uplug_loadPlugFromLibrary U_ICU_ENTRY_POINT_RENAME(uplug_loadPlugFr | |
| | | omLibrary) | |
| | | #define uplug_nextPlug U_ICU_ENTRY_POINT_RENAME(uplug_nextPlug) | |
| | | #define uplug_openLibrary U_ICU_ENTRY_POINT_RENAME(uplug_openLibrary) | |
| | | #define uplug_removePlug U_ICU_ENTRY_POINT_RENAME(uplug_removePlug) | |
| | | #define uplug_setContext U_ICU_ENTRY_POINT_RENAME(uplug_setContext) | |
| | | #define uplug_setPlugLevel U_ICU_ENTRY_POINT_RENAME(uplug_setPlugLevel) | |
| | | #define uplug_setPlugName U_ICU_ENTRY_POINT_RENAME(uplug_setPlugName) | |
| | | #define uplug_setPlugNoUnload U_ICU_ENTRY_POINT_RENAME(uplug_setPlugNoUnloa | |
| | | d) | |
| #define upname_swap U_ICU_ENTRY_POINT_RENAME(upname_swap) | | #define upname_swap U_ICU_ENTRY_POINT_RENAME(upname_swap) | |
| #define uprops_getSource U_ICU_ENTRY_POINT_RENAME(uprops_getSource) | | #define uprops_getSource U_ICU_ENTRY_POINT_RENAME(uprops_getSource) | |
| #define upropsvec_addPropertyStarts U_ICU_ENTRY_POINT_RENAME(upropsvec_addP
ropertyStarts) | | #define upropsvec_addPropertyStarts U_ICU_ENTRY_POINT_RENAME(upropsvec_addP
ropertyStarts) | |
| #define uprv_asciiFromEbcdic U_ICU_ENTRY_POINT_RENAME(uprv_asciiFromEbcdic) | | #define uprv_asciiFromEbcdic U_ICU_ENTRY_POINT_RENAME(uprv_asciiFromEbcdic) | |
| #define uprv_asciitolower U_ICU_ENTRY_POINT_RENAME(uprv_asciitolower) | | #define uprv_asciitolower U_ICU_ENTRY_POINT_RENAME(uprv_asciitolower) | |
| #define uprv_ceil U_ICU_ENTRY_POINT_RENAME(uprv_ceil) | | #define uprv_ceil U_ICU_ENTRY_POINT_RENAME(uprv_ceil) | |
| #define uprv_cnttab_addContraction U_ICU_ENTRY_POINT_RENAME(uprv_cnttab_add
Contraction) | | #define uprv_cnttab_addContraction U_ICU_ENTRY_POINT_RENAME(uprv_cnttab_add
Contraction) | |
| #define uprv_cnttab_changeContraction U_ICU_ENTRY_POINT_RENAME(uprv_cnttab_
changeContraction) | | #define uprv_cnttab_changeContraction U_ICU_ENTRY_POINT_RENAME(uprv_cnttab_
changeContraction) | |
| #define uprv_cnttab_changeLastCE U_ICU_ENTRY_POINT_RENAME(uprv_cnttab_chang
eLastCE) | | #define uprv_cnttab_changeLastCE U_ICU_ENTRY_POINT_RENAME(uprv_cnttab_chang
eLastCE) | |
| #define uprv_cnttab_clone U_ICU_ENTRY_POINT_RENAME(uprv_cnttab_clone) | | #define uprv_cnttab_clone U_ICU_ENTRY_POINT_RENAME(uprv_cnttab_clone) | |
| #define uprv_cnttab_close U_ICU_ENTRY_POINT_RENAME(uprv_cnttab_close) | | #define uprv_cnttab_close U_ICU_ENTRY_POINT_RENAME(uprv_cnttab_close) | |
| #define uprv_cnttab_constructTable U_ICU_ENTRY_POINT_RENAME(uprv_cnttab_con
structTable) | | #define uprv_cnttab_constructTable U_ICU_ENTRY_POINT_RENAME(uprv_cnttab_con
structTable) | |
| #define uprv_cnttab_findCE U_ICU_ENTRY_POINT_RENAME(uprv_cnttab_findCE) | | #define uprv_cnttab_findCE U_ICU_ENTRY_POINT_RENAME(uprv_cnttab_findCE) | |
| #define uprv_cnttab_findCP U_ICU_ENTRY_POINT_RENAME(uprv_cnttab_findCP) | | #define uprv_cnttab_findCP U_ICU_ENTRY_POINT_RENAME(uprv_cnttab_findCP) | |
| #define uprv_cnttab_getCE U_ICU_ENTRY_POINT_RENAME(uprv_cnttab_getCE) | | #define uprv_cnttab_getCE U_ICU_ENTRY_POINT_RENAME(uprv_cnttab_getCE) | |
| #define uprv_cnttab_insertContraction U_ICU_ENTRY_POINT_RENAME(uprv_cnttab_
insertContraction) | | #define uprv_cnttab_insertContraction U_ICU_ENTRY_POINT_RENAME(uprv_cnttab_
insertContraction) | |
| #define uprv_cnttab_isTailored U_ICU_ENTRY_POINT_RENAME(uprv_cnttab_isTailo
red) | | #define uprv_cnttab_isTailored U_ICU_ENTRY_POINT_RENAME(uprv_cnttab_isTailo
red) | |
| #define uprv_cnttab_open U_ICU_ENTRY_POINT_RENAME(uprv_cnttab_open) | | #define uprv_cnttab_open U_ICU_ENTRY_POINT_RENAME(uprv_cnttab_open) | |
| #define uprv_cnttab_setContraction U_ICU_ENTRY_POINT_RENAME(uprv_cnttab_set
Contraction) | | #define uprv_cnttab_setContraction U_ICU_ENTRY_POINT_RENAME(uprv_cnttab_set
Contraction) | |
|
| | | #define uprv_collIterateAtEnd U_ICU_ENTRY_POINT_RENAME(uprv_collIterateAtEn
d) | |
| #define uprv_compareASCIIPropertyNames U_ICU_ENTRY_POINT_RENAME(uprv_compar
eASCIIPropertyNames) | | #define uprv_compareASCIIPropertyNames U_ICU_ENTRY_POINT_RENAME(uprv_compar
eASCIIPropertyNames) | |
| #define uprv_compareEBCDICPropertyNames U_ICU_ENTRY_POINT_RENAME(uprv_compa
reEBCDICPropertyNames) | | #define uprv_compareEBCDICPropertyNames U_ICU_ENTRY_POINT_RENAME(uprv_compa
reEBCDICPropertyNames) | |
| #define uprv_compareInvAscii U_ICU_ENTRY_POINT_RENAME(uprv_compareInvAscii) | | #define uprv_compareInvAscii U_ICU_ENTRY_POINT_RENAME(uprv_compareInvAscii) | |
| #define uprv_compareInvEbcdic U_ICU_ENTRY_POINT_RENAME(uprv_compareInvEbcdi
c) | | #define uprv_compareInvEbcdic U_ICU_ENTRY_POINT_RENAME(uprv_compareInvEbcdi
c) | |
| #define uprv_compareInvEbcdicAsAscii U_ICU_ENTRY_POINT_RENAME(uprv_compareI
nvEbcdicAsAscii) | | #define uprv_compareInvEbcdicAsAscii U_ICU_ENTRY_POINT_RENAME(uprv_compareI
nvEbcdicAsAscii) | |
| #define uprv_convertToLCID U_ICU_ENTRY_POINT_RENAME(uprv_convertToLCID) | | #define uprv_convertToLCID U_ICU_ENTRY_POINT_RENAME(uprv_convertToLCID) | |
| #define uprv_convertToPosix U_ICU_ENTRY_POINT_RENAME(uprv_convertToPosix) | | #define uprv_convertToPosix U_ICU_ENTRY_POINT_RENAME(uprv_convertToPosix) | |
| #define uprv_copyAscii U_ICU_ENTRY_POINT_RENAME(uprv_copyAscii) | | #define uprv_copyAscii U_ICU_ENTRY_POINT_RENAME(uprv_copyAscii) | |
| #define uprv_copyEbcdic U_ICU_ENTRY_POINT_RENAME(uprv_copyEbcdic) | | #define uprv_copyEbcdic U_ICU_ENTRY_POINT_RENAME(uprv_copyEbcdic) | |
|
| | | #define uprv_decContextClearStatus U_ICU_ENTRY_POINT_RENAME(uprv_decContext | |
| | | ClearStatus) | |
| | | #define uprv_decContextDefault U_ICU_ENTRY_POINT_RENAME(uprv_decContextDefa | |
| | | ult) | |
| | | #define uprv_decContextGetRounding U_ICU_ENTRY_POINT_RENAME(uprv_decContext | |
| | | GetRounding) | |
| | | #define uprv_decContextGetStatus U_ICU_ENTRY_POINT_RENAME(uprv_decContextGe | |
| | | tStatus) | |
| | | #define uprv_decContextRestoreStatus U_ICU_ENTRY_POINT_RENAME(uprv_decConte | |
| | | xtRestoreStatus) | |
| | | #define uprv_decContextSaveStatus U_ICU_ENTRY_POINT_RENAME(uprv_decContextS | |
| | | aveStatus) | |
| | | #define uprv_decContextSetRounding U_ICU_ENTRY_POINT_RENAME(uprv_decContext | |
| | | SetRounding) | |
| | | #define uprv_decContextSetStatus U_ICU_ENTRY_POINT_RENAME(uprv_decContextSe | |
| | | tStatus) | |
| | | #define uprv_decContextSetStatusFromString U_ICU_ENTRY_POINT_RENAME(uprv_de | |
| | | cContextSetStatusFromString) | |
| | | #define uprv_decContextSetStatusFromStringQuiet U_ICU_ENTRY_POINT_RENAME(up | |
| | | rv_decContextSetStatusFromStringQuiet) | |
| | | #define uprv_decContextSetStatusQuiet U_ICU_ENTRY_POINT_RENAME(uprv_decCont | |
| | | extSetStatusQuiet) | |
| | | #define uprv_decContextStatusToString U_ICU_ENTRY_POINT_RENAME(uprv_decCont | |
| | | extStatusToString) | |
| | | #define uprv_decContextTestEndian U_ICU_ENTRY_POINT_RENAME(uprv_decContextT | |
| | | estEndian) | |
| | | #define uprv_decContextTestSavedStatus U_ICU_ENTRY_POINT_RENAME(uprv_decCon | |
| | | textTestSavedStatus) | |
| | | #define uprv_decContextTestStatus U_ICU_ENTRY_POINT_RENAME(uprv_decContextT | |
| | | estStatus) | |
| | | #define uprv_decContextZeroStatus U_ICU_ENTRY_POINT_RENAME(uprv_decContextZ | |
| | | eroStatus) | |
| | | #define uprv_decNumberAbs U_ICU_ENTRY_POINT_RENAME(uprv_decNumberAbs) | |
| | | #define uprv_decNumberAdd U_ICU_ENTRY_POINT_RENAME(uprv_decNumberAdd) | |
| | | #define uprv_decNumberAnd U_ICU_ENTRY_POINT_RENAME(uprv_decNumberAnd) | |
| | | #define uprv_decNumberClass U_ICU_ENTRY_POINT_RENAME(uprv_decNumberClass) | |
| | | #define uprv_decNumberClassToString U_ICU_ENTRY_POINT_RENAME(uprv_decNumber | |
| | | ClassToString) | |
| | | #define uprv_decNumberCompare U_ICU_ENTRY_POINT_RENAME(uprv_decNumberCompar | |
| | | e) | |
| | | #define uprv_decNumberCompareSignal U_ICU_ENTRY_POINT_RENAME(uprv_decNumber | |
| | | CompareSignal) | |
| | | #define uprv_decNumberCompareTotal U_ICU_ENTRY_POINT_RENAME(uprv_decNumberC | |
| | | ompareTotal) | |
| | | #define uprv_decNumberCompareTotalMag U_ICU_ENTRY_POINT_RENAME(uprv_decNumb | |
| | | erCompareTotalMag) | |
| | | #define uprv_decNumberCopy U_ICU_ENTRY_POINT_RENAME(uprv_decNumberCopy) | |
| | | #define uprv_decNumberCopyAbs U_ICU_ENTRY_POINT_RENAME(uprv_decNumberCopyAb | |
| | | s) | |
| | | #define uprv_decNumberCopyNegate U_ICU_ENTRY_POINT_RENAME(uprv_decNumberCop | |
| | | yNegate) | |
| | | #define uprv_decNumberCopySign U_ICU_ENTRY_POINT_RENAME(uprv_decNumberCopyS | |
| | | ign) | |
| | | #define uprv_decNumberDivide U_ICU_ENTRY_POINT_RENAME(uprv_decNumberDivide) | |
| | | #define uprv_decNumberDivideInteger U_ICU_ENTRY_POINT_RENAME(uprv_decNumber | |
| | | DivideInteger) | |
| | | #define uprv_decNumberExp U_ICU_ENTRY_POINT_RENAME(uprv_decNumberExp) | |
| | | #define uprv_decNumberFMA U_ICU_ENTRY_POINT_RENAME(uprv_decNumberFMA) | |
| | | #define uprv_decNumberFromInt32 U_ICU_ENTRY_POINT_RENAME(uprv_decNumberFrom | |
| | | Int32) | |
| | | #define uprv_decNumberFromString U_ICU_ENTRY_POINT_RENAME(uprv_decNumberFro | |
| | | mString) | |
| | | #define uprv_decNumberFromUInt32 U_ICU_ENTRY_POINT_RENAME(uprv_decNumberFro | |
| | | mUInt32) | |
| | | #define uprv_decNumberGetBCD U_ICU_ENTRY_POINT_RENAME(uprv_decNumberGetBCD) | |
| | | #define uprv_decNumberInvert U_ICU_ENTRY_POINT_RENAME(uprv_decNumberInvert) | |
| | | #define uprv_decNumberIsNormal U_ICU_ENTRY_POINT_RENAME(uprv_decNumberIsNor | |
| | | mal) | |
| | | #define uprv_decNumberIsSubnormal U_ICU_ENTRY_POINT_RENAME(uprv_decNumberIs | |
| | | Subnormal) | |
| | | #define uprv_decNumberLn U_ICU_ENTRY_POINT_RENAME(uprv_decNumberLn) | |
| | | #define uprv_decNumberLog10 U_ICU_ENTRY_POINT_RENAME(uprv_decNumberLog10) | |
| | | #define uprv_decNumberLogB U_ICU_ENTRY_POINT_RENAME(uprv_decNumberLogB) | |
| | | #define uprv_decNumberMax U_ICU_ENTRY_POINT_RENAME(uprv_decNumberMax) | |
| | | #define uprv_decNumberMaxMag U_ICU_ENTRY_POINT_RENAME(uprv_decNumberMaxMag) | |
| | | #define uprv_decNumberMin U_ICU_ENTRY_POINT_RENAME(uprv_decNumberMin) | |
| | | #define uprv_decNumberMinMag U_ICU_ENTRY_POINT_RENAME(uprv_decNumberMinMag) | |
| | | #define uprv_decNumberMinus U_ICU_ENTRY_POINT_RENAME(uprv_decNumberMinus) | |
| | | #define uprv_decNumberMultiply U_ICU_ENTRY_POINT_RENAME(uprv_decNumberMulti | |
| | | ply) | |
| | | #define uprv_decNumberNextMinus U_ICU_ENTRY_POINT_RENAME(uprv_decNumberNext | |
| | | Minus) | |
| | | #define uprv_decNumberNextPlus U_ICU_ENTRY_POINT_RENAME(uprv_decNumberNextP | |
| | | lus) | |
| | | #define uprv_decNumberNextToward U_ICU_ENTRY_POINT_RENAME(uprv_decNumberNex | |
| | | tToward) | |
| | | #define uprv_decNumberNormalize U_ICU_ENTRY_POINT_RENAME(uprv_decNumberNorm | |
| | | alize) | |
| | | #define uprv_decNumberOr U_ICU_ENTRY_POINT_RENAME(uprv_decNumberOr) | |
| | | #define uprv_decNumberPlus U_ICU_ENTRY_POINT_RENAME(uprv_decNumberPlus) | |
| | | #define uprv_decNumberPower U_ICU_ENTRY_POINT_RENAME(uprv_decNumberPower) | |
| | | #define uprv_decNumberQuantize U_ICU_ENTRY_POINT_RENAME(uprv_decNumberQuant | |
| | | ize) | |
| | | #define uprv_decNumberReduce U_ICU_ENTRY_POINT_RENAME(uprv_decNumberReduce) | |
| | | #define uprv_decNumberRemainder U_ICU_ENTRY_POINT_RENAME(uprv_decNumberRema | |
| | | inder) | |
| | | #define uprv_decNumberRemainderNear U_ICU_ENTRY_POINT_RENAME(uprv_decNumber | |
| | | RemainderNear) | |
| | | #define uprv_decNumberRescale U_ICU_ENTRY_POINT_RENAME(uprv_decNumberRescal | |
| | | e) | |
| | | #define uprv_decNumberRotate U_ICU_ENTRY_POINT_RENAME(uprv_decNumberRotate) | |
| | | #define uprv_decNumberSameQuantum U_ICU_ENTRY_POINT_RENAME(uprv_decNumberSa | |
| | | meQuantum) | |
| | | #define uprv_decNumberScaleB U_ICU_ENTRY_POINT_RENAME(uprv_decNumberScaleB) | |
| | | #define uprv_decNumberSetBCD U_ICU_ENTRY_POINT_RENAME(uprv_decNumberSetBCD) | |
| | | #define uprv_decNumberShift U_ICU_ENTRY_POINT_RENAME(uprv_decNumberShift) | |
| | | #define uprv_decNumberSquareRoot U_ICU_ENTRY_POINT_RENAME(uprv_decNumberSqu | |
| | | areRoot) | |
| | | #define uprv_decNumberSubtract U_ICU_ENTRY_POINT_RENAME(uprv_decNumberSubtr | |
| | | act) | |
| | | #define uprv_decNumberToEngString U_ICU_ENTRY_POINT_RENAME(uprv_decNumberTo | |
| | | EngString) | |
| | | #define uprv_decNumberToInt32 U_ICU_ENTRY_POINT_RENAME(uprv_decNumberToInt3 | |
| | | 2) | |
| | | #define uprv_decNumberToIntegralExact U_ICU_ENTRY_POINT_RENAME(uprv_decNumb | |
| | | erToIntegralExact) | |
| | | #define uprv_decNumberToIntegralValue U_ICU_ENTRY_POINT_RENAME(uprv_decNumb | |
| | | erToIntegralValue) | |
| | | #define uprv_decNumberToString U_ICU_ENTRY_POINT_RENAME(uprv_decNumberToStr | |
| | | ing) | |
| | | #define uprv_decNumberToUInt32 U_ICU_ENTRY_POINT_RENAME(uprv_decNumberToUIn | |
| | | t32) | |
| | | #define uprv_decNumberTrim U_ICU_ENTRY_POINT_RENAME(uprv_decNumberTrim) | |
| | | #define uprv_decNumberVersion U_ICU_ENTRY_POINT_RENAME(uprv_decNumberVersio | |
| | | n) | |
| | | #define uprv_decNumberXor U_ICU_ENTRY_POINT_RENAME(uprv_decNumberXor) | |
| | | #define uprv_decNumberZero U_ICU_ENTRY_POINT_RENAME(uprv_decNumberZero) | |
| | | #define uprv_delete_collIterate U_ICU_ENTRY_POINT_RENAME(uprv_delete_collIt | |
| | | erate) | |
| | | #define uprv_dl_close U_ICU_ENTRY_POINT_RENAME(uprv_dl_close) | |
| | | #define uprv_dl_open U_ICU_ENTRY_POINT_RENAME(uprv_dl_open) | |
| | | #define uprv_dl_sym U_ICU_ENTRY_POINT_RENAME(uprv_dl_sym) | |
| #define uprv_ebcdicFromAscii U_ICU_ENTRY_POINT_RENAME(uprv_ebcdicFromAscii) | | #define uprv_ebcdicFromAscii U_ICU_ENTRY_POINT_RENAME(uprv_ebcdicFromAscii) | |
| #define uprv_ebcdictolower U_ICU_ENTRY_POINT_RENAME(uprv_ebcdictolower) | | #define uprv_ebcdictolower U_ICU_ENTRY_POINT_RENAME(uprv_ebcdictolower) | |
| #define uprv_fabs U_ICU_ENTRY_POINT_RENAME(uprv_fabs) | | #define uprv_fabs U_ICU_ENTRY_POINT_RENAME(uprv_fabs) | |
| #define uprv_floor U_ICU_ENTRY_POINT_RENAME(uprv_floor) | | #define uprv_floor U_ICU_ENTRY_POINT_RENAME(uprv_floor) | |
| #define uprv_fmax U_ICU_ENTRY_POINT_RENAME(uprv_fmax) | | #define uprv_fmax U_ICU_ENTRY_POINT_RENAME(uprv_fmax) | |
| #define uprv_fmin U_ICU_ENTRY_POINT_RENAME(uprv_fmin) | | #define uprv_fmin U_ICU_ENTRY_POINT_RENAME(uprv_fmin) | |
| #define uprv_fmod U_ICU_ENTRY_POINT_RENAME(uprv_fmod) | | #define uprv_fmod U_ICU_ENTRY_POINT_RENAME(uprv_fmod) | |
| #define uprv_free U_ICU_ENTRY_POINT_RENAME(uprv_free) | | #define uprv_free U_ICU_ENTRY_POINT_RENAME(uprv_free) | |
| #define uprv_getCharNameCharacters U_ICU_ENTRY_POINT_RENAME(uprv_getCharNam
eCharacters) | | #define uprv_getCharNameCharacters U_ICU_ENTRY_POINT_RENAME(uprv_getCharNam
eCharacters) | |
| #define uprv_getDefaultCodepage U_ICU_ENTRY_POINT_RENAME(uprv_getDefaultCod
epage) | | #define uprv_getDefaultCodepage U_ICU_ENTRY_POINT_RENAME(uprv_getDefaultCod
epage) | |
| | | | |
| skipping to change at line 1148 | | skipping to change at line 1290 | |
| #define uprv_isRuleWhiteSpace U_ICU_ENTRY_POINT_RENAME(uprv_isRuleWhiteSpac
e) | | #define uprv_isRuleWhiteSpace U_ICU_ENTRY_POINT_RENAME(uprv_isRuleWhiteSpac
e) | |
| #define uprv_itou U_ICU_ENTRY_POINT_RENAME(uprv_itou) | | #define uprv_itou U_ICU_ENTRY_POINT_RENAME(uprv_itou) | |
| #define uprv_log U_ICU_ENTRY_POINT_RENAME(uprv_log) | | #define uprv_log U_ICU_ENTRY_POINT_RENAME(uprv_log) | |
| #define uprv_malloc U_ICU_ENTRY_POINT_RENAME(uprv_malloc) | | #define uprv_malloc U_ICU_ENTRY_POINT_RENAME(uprv_malloc) | |
| #define uprv_mapFile U_ICU_ENTRY_POINT_RENAME(uprv_mapFile) | | #define uprv_mapFile U_ICU_ENTRY_POINT_RENAME(uprv_mapFile) | |
| #define uprv_max U_ICU_ENTRY_POINT_RENAME(uprv_max) | | #define uprv_max U_ICU_ENTRY_POINT_RENAME(uprv_max) | |
| #define uprv_maxMantissa U_ICU_ENTRY_POINT_RENAME(uprv_maxMantissa) | | #define uprv_maxMantissa U_ICU_ENTRY_POINT_RENAME(uprv_maxMantissa) | |
| #define uprv_maximumPtr U_ICU_ENTRY_POINT_RENAME(uprv_maximumPtr) | | #define uprv_maximumPtr U_ICU_ENTRY_POINT_RENAME(uprv_maximumPtr) | |
| #define uprv_min U_ICU_ENTRY_POINT_RENAME(uprv_min) | | #define uprv_min U_ICU_ENTRY_POINT_RENAME(uprv_min) | |
| #define uprv_modf U_ICU_ENTRY_POINT_RENAME(uprv_modf) | | #define uprv_modf U_ICU_ENTRY_POINT_RENAME(uprv_modf) | |
|
| | | #define uprv_new_collIterate U_ICU_ENTRY_POINT_RENAME(uprv_new_collIterate) | |
| #define uprv_openRuleWhiteSpaceSet U_ICU_ENTRY_POINT_RENAME(uprv_openRuleWh
iteSpaceSet) | | #define uprv_openRuleWhiteSpaceSet U_ICU_ENTRY_POINT_RENAME(uprv_openRuleWh
iteSpaceSet) | |
| #define uprv_parseCurrency U_ICU_ENTRY_POINT_RENAME(uprv_parseCurrency) | | #define uprv_parseCurrency U_ICU_ENTRY_POINT_RENAME(uprv_parseCurrency) | |
| #define uprv_pathIsAbsolute U_ICU_ENTRY_POINT_RENAME(uprv_pathIsAbsolute) | | #define uprv_pathIsAbsolute U_ICU_ENTRY_POINT_RENAME(uprv_pathIsAbsolute) | |
| #define uprv_pow U_ICU_ENTRY_POINT_RENAME(uprv_pow) | | #define uprv_pow U_ICU_ENTRY_POINT_RENAME(uprv_pow) | |
| #define uprv_pow10 U_ICU_ENTRY_POINT_RENAME(uprv_pow10) | | #define uprv_pow10 U_ICU_ENTRY_POINT_RENAME(uprv_pow10) | |
| #define uprv_realloc U_ICU_ENTRY_POINT_RENAME(uprv_realloc) | | #define uprv_realloc U_ICU_ENTRY_POINT_RENAME(uprv_realloc) | |
| #define uprv_round U_ICU_ENTRY_POINT_RENAME(uprv_round) | | #define uprv_round U_ICU_ENTRY_POINT_RENAME(uprv_round) | |
| #define uprv_sortArray U_ICU_ENTRY_POINT_RENAME(uprv_sortArray) | | #define uprv_sortArray U_ICU_ENTRY_POINT_RENAME(uprv_sortArray) | |
| #define uprv_strCompare U_ICU_ENTRY_POINT_RENAME(uprv_strCompare) | | #define uprv_strCompare U_ICU_ENTRY_POINT_RENAME(uprv_strCompare) | |
| #define uprv_strdup U_ICU_ENTRY_POINT_RENAME(uprv_strdup) | | #define uprv_strdup U_ICU_ENTRY_POINT_RENAME(uprv_strdup) | |
| | | | |
| skipping to change at line 1190 | | skipping to change at line 1333 | |
| #define upvec_compact U_ICU_ENTRY_POINT_RENAME(upvec_compact) | | #define upvec_compact U_ICU_ENTRY_POINT_RENAME(upvec_compact) | |
| #define upvec_compactToUTrie2Handler U_ICU_ENTRY_POINT_RENAME(upvec_compact
ToUTrie2Handler) | | #define upvec_compactToUTrie2Handler U_ICU_ENTRY_POINT_RENAME(upvec_compact
ToUTrie2Handler) | |
| #define upvec_compactToUTrie2WithRowIndexes U_ICU_ENTRY_POINT_RENAME(upvec_
compactToUTrie2WithRowIndexes) | | #define upvec_compactToUTrie2WithRowIndexes U_ICU_ENTRY_POINT_RENAME(upvec_
compactToUTrie2WithRowIndexes) | |
| #define upvec_compactToUTrieHandler U_ICU_ENTRY_POINT_RENAME(upvec_compactT
oUTrieHandler) | | #define upvec_compactToUTrieHandler U_ICU_ENTRY_POINT_RENAME(upvec_compactT
oUTrieHandler) | |
| #define upvec_getArray U_ICU_ENTRY_POINT_RENAME(upvec_getArray) | | #define upvec_getArray U_ICU_ENTRY_POINT_RENAME(upvec_getArray) | |
| #define upvec_getRow U_ICU_ENTRY_POINT_RENAME(upvec_getRow) | | #define upvec_getRow U_ICU_ENTRY_POINT_RENAME(upvec_getRow) | |
| #define upvec_getValue U_ICU_ENTRY_POINT_RENAME(upvec_getValue) | | #define upvec_getValue U_ICU_ENTRY_POINT_RENAME(upvec_getValue) | |
| #define upvec_open U_ICU_ENTRY_POINT_RENAME(upvec_open) | | #define upvec_open U_ICU_ENTRY_POINT_RENAME(upvec_open) | |
| #define upvec_setValue U_ICU_ENTRY_POINT_RENAME(upvec_setValue) | | #define upvec_setValue U_ICU_ENTRY_POINT_RENAME(upvec_setValue) | |
| #define uregex_appendReplacement U_ICU_ENTRY_POINT_RENAME(uregex_appendRepl
acement) | | #define uregex_appendReplacement U_ICU_ENTRY_POINT_RENAME(uregex_appendRepl
acement) | |
|
| | | #define uregex_appendReplacementUText U_ICU_ENTRY_POINT_RENAME(uregex_appen
dReplacementUText) | |
| #define uregex_appendTail U_ICU_ENTRY_POINT_RENAME(uregex_appendTail) | | #define uregex_appendTail U_ICU_ENTRY_POINT_RENAME(uregex_appendTail) | |
|
| | | #define uregex_appendTailUText U_ICU_ENTRY_POINT_RENAME(uregex_appendTailUT
ext) | |
| #define uregex_clone U_ICU_ENTRY_POINT_RENAME(uregex_clone) | | #define uregex_clone U_ICU_ENTRY_POINT_RENAME(uregex_clone) | |
| #define uregex_close U_ICU_ENTRY_POINT_RENAME(uregex_close) | | #define uregex_close U_ICU_ENTRY_POINT_RENAME(uregex_close) | |
| #define uregex_end U_ICU_ENTRY_POINT_RENAME(uregex_end) | | #define uregex_end U_ICU_ENTRY_POINT_RENAME(uregex_end) | |
| #define uregex_find U_ICU_ENTRY_POINT_RENAME(uregex_find) | | #define uregex_find U_ICU_ENTRY_POINT_RENAME(uregex_find) | |
| #define uregex_findNext U_ICU_ENTRY_POINT_RENAME(uregex_findNext) | | #define uregex_findNext U_ICU_ENTRY_POINT_RENAME(uregex_findNext) | |
| #define uregex_flags U_ICU_ENTRY_POINT_RENAME(uregex_flags) | | #define uregex_flags U_ICU_ENTRY_POINT_RENAME(uregex_flags) | |
| #define uregex_getMatchCallback U_ICU_ENTRY_POINT_RENAME(uregex_getMatchCal
lback) | | #define uregex_getMatchCallback U_ICU_ENTRY_POINT_RENAME(uregex_getMatchCal
lback) | |
| #define uregex_getStackLimit U_ICU_ENTRY_POINT_RENAME(uregex_getStackLimit) | | #define uregex_getStackLimit U_ICU_ENTRY_POINT_RENAME(uregex_getStackLimit) | |
| #define uregex_getText U_ICU_ENTRY_POINT_RENAME(uregex_getText) | | #define uregex_getText U_ICU_ENTRY_POINT_RENAME(uregex_getText) | |
| #define uregex_getTimeLimit U_ICU_ENTRY_POINT_RENAME(uregex_getTimeLimit) | | #define uregex_getTimeLimit U_ICU_ENTRY_POINT_RENAME(uregex_getTimeLimit) | |
|
| | | #define uregex_getUText U_ICU_ENTRY_POINT_RENAME(uregex_getUText) | |
| #define uregex_group U_ICU_ENTRY_POINT_RENAME(uregex_group) | | #define uregex_group U_ICU_ENTRY_POINT_RENAME(uregex_group) | |
| #define uregex_groupCount U_ICU_ENTRY_POINT_RENAME(uregex_groupCount) | | #define uregex_groupCount U_ICU_ENTRY_POINT_RENAME(uregex_groupCount) | |
|
| | | #define uregex_groupUText U_ICU_ENTRY_POINT_RENAME(uregex_groupUText) | |
| #define uregex_hasAnchoringBounds U_ICU_ENTRY_POINT_RENAME(uregex_hasAnchor
ingBounds) | | #define uregex_hasAnchoringBounds U_ICU_ENTRY_POINT_RENAME(uregex_hasAnchor
ingBounds) | |
| #define uregex_hasTransparentBounds U_ICU_ENTRY_POINT_RENAME(uregex_hasTran
sparentBounds) | | #define uregex_hasTransparentBounds U_ICU_ENTRY_POINT_RENAME(uregex_hasTran
sparentBounds) | |
| #define uregex_hitEnd U_ICU_ENTRY_POINT_RENAME(uregex_hitEnd) | | #define uregex_hitEnd U_ICU_ENTRY_POINT_RENAME(uregex_hitEnd) | |
| #define uregex_lookingAt U_ICU_ENTRY_POINT_RENAME(uregex_lookingAt) | | #define uregex_lookingAt U_ICU_ENTRY_POINT_RENAME(uregex_lookingAt) | |
| #define uregex_matches U_ICU_ENTRY_POINT_RENAME(uregex_matches) | | #define uregex_matches U_ICU_ENTRY_POINT_RENAME(uregex_matches) | |
| #define uregex_open U_ICU_ENTRY_POINT_RENAME(uregex_open) | | #define uregex_open U_ICU_ENTRY_POINT_RENAME(uregex_open) | |
| #define uregex_openC U_ICU_ENTRY_POINT_RENAME(uregex_openC) | | #define uregex_openC U_ICU_ENTRY_POINT_RENAME(uregex_openC) | |
|
| | | #define uregex_openUText U_ICU_ENTRY_POINT_RENAME(uregex_openUText) | |
| #define uregex_pattern U_ICU_ENTRY_POINT_RENAME(uregex_pattern) | | #define uregex_pattern U_ICU_ENTRY_POINT_RENAME(uregex_pattern) | |
|
| | | #define uregex_patternUText U_ICU_ENTRY_POINT_RENAME(uregex_patternUText) | |
| #define uregex_regionEnd U_ICU_ENTRY_POINT_RENAME(uregex_regionEnd) | | #define uregex_regionEnd U_ICU_ENTRY_POINT_RENAME(uregex_regionEnd) | |
| #define uregex_regionStart U_ICU_ENTRY_POINT_RENAME(uregex_regionStart) | | #define uregex_regionStart U_ICU_ENTRY_POINT_RENAME(uregex_regionStart) | |
| #define uregex_replaceAll U_ICU_ENTRY_POINT_RENAME(uregex_replaceAll) | | #define uregex_replaceAll U_ICU_ENTRY_POINT_RENAME(uregex_replaceAll) | |
|
| | | #define uregex_replaceAllUText U_ICU_ENTRY_POINT_RENAME(uregex_replaceAllUT
ext) | |
| #define uregex_replaceFirst U_ICU_ENTRY_POINT_RENAME(uregex_replaceFirst) | | #define uregex_replaceFirst U_ICU_ENTRY_POINT_RENAME(uregex_replaceFirst) | |
|
| | | #define uregex_replaceFirstUText U_ICU_ENTRY_POINT_RENAME(uregex_replaceFir
stUText) | |
| #define uregex_requireEnd U_ICU_ENTRY_POINT_RENAME(uregex_requireEnd) | | #define uregex_requireEnd U_ICU_ENTRY_POINT_RENAME(uregex_requireEnd) | |
| #define uregex_reset U_ICU_ENTRY_POINT_RENAME(uregex_reset) | | #define uregex_reset U_ICU_ENTRY_POINT_RENAME(uregex_reset) | |
| #define uregex_setMatchCallback U_ICU_ENTRY_POINT_RENAME(uregex_setMatchCal
lback) | | #define uregex_setMatchCallback U_ICU_ENTRY_POINT_RENAME(uregex_setMatchCal
lback) | |
| #define uregex_setRegion U_ICU_ENTRY_POINT_RENAME(uregex_setRegion) | | #define uregex_setRegion U_ICU_ENTRY_POINT_RENAME(uregex_setRegion) | |
| #define uregex_setStackLimit U_ICU_ENTRY_POINT_RENAME(uregex_setStackLimit) | | #define uregex_setStackLimit U_ICU_ENTRY_POINT_RENAME(uregex_setStackLimit) | |
| #define uregex_setText U_ICU_ENTRY_POINT_RENAME(uregex_setText) | | #define uregex_setText U_ICU_ENTRY_POINT_RENAME(uregex_setText) | |
| #define uregex_setTimeLimit U_ICU_ENTRY_POINT_RENAME(uregex_setTimeLimit) | | #define uregex_setTimeLimit U_ICU_ENTRY_POINT_RENAME(uregex_setTimeLimit) | |
|
| | | #define uregex_setUText U_ICU_ENTRY_POINT_RENAME(uregex_setUText) | |
| #define uregex_split U_ICU_ENTRY_POINT_RENAME(uregex_split) | | #define uregex_split U_ICU_ENTRY_POINT_RENAME(uregex_split) | |
|
| | | #define uregex_splitUText U_ICU_ENTRY_POINT_RENAME(uregex_splitUText) | |
| #define uregex_start U_ICU_ENTRY_POINT_RENAME(uregex_start) | | #define uregex_start U_ICU_ENTRY_POINT_RENAME(uregex_start) | |
|
| | | #define uregex_ucstr_unescape_charAt U_ICU_ENTRY_POINT_RENAME(uregex_ucstr_
unescape_charAt) | |
| #define uregex_useAnchoringBounds U_ICU_ENTRY_POINT_RENAME(uregex_useAnchor
ingBounds) | | #define uregex_useAnchoringBounds U_ICU_ENTRY_POINT_RENAME(uregex_useAnchor
ingBounds) | |
| #define uregex_useTransparentBounds U_ICU_ENTRY_POINT_RENAME(uregex_useTran
sparentBounds) | | #define uregex_useTransparentBounds U_ICU_ENTRY_POINT_RENAME(uregex_useTran
sparentBounds) | |
|
| | | #define uregex_utext_unescape_charAt U_ICU_ENTRY_POINT_RENAME(uregex_utext_
unescape_charAt) | |
| #define ures_close U_ICU_ENTRY_POINT_RENAME(ures_close) | | #define ures_close U_ICU_ENTRY_POINT_RENAME(ures_close) | |
| #define ures_copyResb U_ICU_ENTRY_POINT_RENAME(ures_copyResb) | | #define ures_copyResb U_ICU_ENTRY_POINT_RENAME(ures_copyResb) | |
| #define ures_countArrayItems U_ICU_ENTRY_POINT_RENAME(ures_countArrayItems) | | #define ures_countArrayItems U_ICU_ENTRY_POINT_RENAME(ures_countArrayItems) | |
| #define ures_findResource U_ICU_ENTRY_POINT_RENAME(ures_findResource) | | #define ures_findResource U_ICU_ENTRY_POINT_RENAME(ures_findResource) | |
| #define ures_findSubResource U_ICU_ENTRY_POINT_RENAME(ures_findSubResource) | | #define ures_findSubResource U_ICU_ENTRY_POINT_RENAME(ures_findSubResource) | |
| #define ures_getBinary U_ICU_ENTRY_POINT_RENAME(ures_getBinary) | | #define ures_getBinary U_ICU_ENTRY_POINT_RENAME(ures_getBinary) | |
| #define ures_getByIndex U_ICU_ENTRY_POINT_RENAME(ures_getByIndex) | | #define ures_getByIndex U_ICU_ENTRY_POINT_RENAME(ures_getByIndex) | |
| #define ures_getByKey U_ICU_ENTRY_POINT_RENAME(ures_getByKey) | | #define ures_getByKey U_ICU_ENTRY_POINT_RENAME(ures_getByKey) | |
| #define ures_getByKeyWithFallback U_ICU_ENTRY_POINT_RENAME(ures_getByKeyWit
hFallback) | | #define ures_getByKeyWithFallback U_ICU_ENTRY_POINT_RENAME(ures_getByKeyWit
hFallback) | |
| #define ures_getFunctionalEquivalent U_ICU_ENTRY_POINT_RENAME(ures_getFunct
ionalEquivalent) | | #define ures_getFunctionalEquivalent U_ICU_ENTRY_POINT_RENAME(ures_getFunct
ionalEquivalent) | |
| | | | |
| skipping to change at line 1396 | | skipping to change at line 1551 | |
| #define uspoof_swap U_ICU_ENTRY_POINT_RENAME(uspoof_swap) | | #define uspoof_swap U_ICU_ENTRY_POINT_RENAME(uspoof_swap) | |
| #define usprep_close U_ICU_ENTRY_POINT_RENAME(usprep_close) | | #define usprep_close U_ICU_ENTRY_POINT_RENAME(usprep_close) | |
| #define usprep_open U_ICU_ENTRY_POINT_RENAME(usprep_open) | | #define usprep_open U_ICU_ENTRY_POINT_RENAME(usprep_open) | |
| #define usprep_openByType U_ICU_ENTRY_POINT_RENAME(usprep_openByType) | | #define usprep_openByType U_ICU_ENTRY_POINT_RENAME(usprep_openByType) | |
| #define usprep_prepare U_ICU_ENTRY_POINT_RENAME(usprep_prepare) | | #define usprep_prepare U_ICU_ENTRY_POINT_RENAME(usprep_prepare) | |
| #define usprep_swap U_ICU_ENTRY_POINT_RENAME(usprep_swap) | | #define usprep_swap U_ICU_ENTRY_POINT_RENAME(usprep_swap) | |
| #define ustr_foldCase U_ICU_ENTRY_POINT_RENAME(ustr_foldCase) | | #define ustr_foldCase U_ICU_ENTRY_POINT_RENAME(ustr_foldCase) | |
| #define ustr_toLower U_ICU_ENTRY_POINT_RENAME(ustr_toLower) | | #define ustr_toLower U_ICU_ENTRY_POINT_RENAME(ustr_toLower) | |
| #define ustr_toTitle U_ICU_ENTRY_POINT_RENAME(ustr_toTitle) | | #define ustr_toTitle U_ICU_ENTRY_POINT_RENAME(ustr_toTitle) | |
| #define ustr_toUpper U_ICU_ENTRY_POINT_RENAME(ustr_toUpper) | | #define ustr_toUpper U_ICU_ENTRY_POINT_RENAME(ustr_toUpper) | |
|
| | | #define utext_caseCompare U_ICU_ENTRY_POINT_RENAME(utext_caseCompare) | |
| | | #define utext_caseCompareNativeLimit U_ICU_ENTRY_POINT_RENAME(utext_caseCom | |
| | | pareNativeLimit) | |
| #define utext_char32At U_ICU_ENTRY_POINT_RENAME(utext_char32At) | | #define utext_char32At U_ICU_ENTRY_POINT_RENAME(utext_char32At) | |
| #define utext_clone U_ICU_ENTRY_POINT_RENAME(utext_clone) | | #define utext_clone U_ICU_ENTRY_POINT_RENAME(utext_clone) | |
| #define utext_close U_ICU_ENTRY_POINT_RENAME(utext_close) | | #define utext_close U_ICU_ENTRY_POINT_RENAME(utext_close) | |
|
| | | #define utext_compare U_ICU_ENTRY_POINT_RENAME(utext_compare) | |
| | | #define utext_compareNativeLimit U_ICU_ENTRY_POINT_RENAME(utext_compareNati | |
| | | veLimit) | |
| #define utext_copy U_ICU_ENTRY_POINT_RENAME(utext_copy) | | #define utext_copy U_ICU_ENTRY_POINT_RENAME(utext_copy) | |
| #define utext_current32 U_ICU_ENTRY_POINT_RENAME(utext_current32) | | #define utext_current32 U_ICU_ENTRY_POINT_RENAME(utext_current32) | |
| #define utext_equals U_ICU_ENTRY_POINT_RENAME(utext_equals) | | #define utext_equals U_ICU_ENTRY_POINT_RENAME(utext_equals) | |
| #define utext_extract U_ICU_ENTRY_POINT_RENAME(utext_extract) | | #define utext_extract U_ICU_ENTRY_POINT_RENAME(utext_extract) | |
| #define utext_freeze U_ICU_ENTRY_POINT_RENAME(utext_freeze) | | #define utext_freeze U_ICU_ENTRY_POINT_RENAME(utext_freeze) | |
| #define utext_getNativeIndex U_ICU_ENTRY_POINT_RENAME(utext_getNativeIndex) | | #define utext_getNativeIndex U_ICU_ENTRY_POINT_RENAME(utext_getNativeIndex) | |
| #define utext_getPreviousNativeIndex U_ICU_ENTRY_POINT_RENAME(utext_getPrev
iousNativeIndex) | | #define utext_getPreviousNativeIndex U_ICU_ENTRY_POINT_RENAME(utext_getPrev
iousNativeIndex) | |
| #define utext_hasMetaData U_ICU_ENTRY_POINT_RENAME(utext_hasMetaData) | | #define utext_hasMetaData U_ICU_ENTRY_POINT_RENAME(utext_hasMetaData) | |
| #define utext_isLengthExpensive U_ICU_ENTRY_POINT_RENAME(utext_isLengthExpe
nsive) | | #define utext_isLengthExpensive U_ICU_ENTRY_POINT_RENAME(utext_isLengthExpe
nsive) | |
| #define utext_isWritable U_ICU_ENTRY_POINT_RENAME(utext_isWritable) | | #define utext_isWritable U_ICU_ENTRY_POINT_RENAME(utext_isWritable) | |
| | | | |
| skipping to change at line 1499 | | skipping to change at line 1658 | |
| #define utrie_enum U_ICU_ENTRY_POINT_RENAME(utrie_enum) | | #define utrie_enum U_ICU_ENTRY_POINT_RENAME(utrie_enum) | |
| #define utrie_get32 U_ICU_ENTRY_POINT_RENAME(utrie_get32) | | #define utrie_get32 U_ICU_ENTRY_POINT_RENAME(utrie_get32) | |
| #define utrie_getData U_ICU_ENTRY_POINT_RENAME(utrie_getData) | | #define utrie_getData U_ICU_ENTRY_POINT_RENAME(utrie_getData) | |
| #define utrie_open U_ICU_ENTRY_POINT_RENAME(utrie_open) | | #define utrie_open U_ICU_ENTRY_POINT_RENAME(utrie_open) | |
| #define utrie_serialize U_ICU_ENTRY_POINT_RENAME(utrie_serialize) | | #define utrie_serialize U_ICU_ENTRY_POINT_RENAME(utrie_serialize) | |
| #define utrie_set32 U_ICU_ENTRY_POINT_RENAME(utrie_set32) | | #define utrie_set32 U_ICU_ENTRY_POINT_RENAME(utrie_set32) | |
| #define utrie_setRange32 U_ICU_ENTRY_POINT_RENAME(utrie_setRange32) | | #define utrie_setRange32 U_ICU_ENTRY_POINT_RENAME(utrie_setRange32) | |
| #define utrie_swap U_ICU_ENTRY_POINT_RENAME(utrie_swap) | | #define utrie_swap U_ICU_ENTRY_POINT_RENAME(utrie_swap) | |
| #define utrie_unserialize U_ICU_ENTRY_POINT_RENAME(utrie_unserialize) | | #define utrie_unserialize U_ICU_ENTRY_POINT_RENAME(utrie_unserialize) | |
| #define utrie_unserializeDummy U_ICU_ENTRY_POINT_RENAME(utrie_unserializeDu
mmy) | | #define utrie_unserializeDummy U_ICU_ENTRY_POINT_RENAME(utrie_unserializeDu
mmy) | |
|
| | | #define vzone_clone U_ICU_ENTRY_POINT_RENAME(vzone_clone) | |
| | | #define vzone_close U_ICU_ENTRY_POINT_RENAME(vzone_close) | |
| | | #define vzone_countTransitionRules U_ICU_ENTRY_POINT_RENAME(vzone_countTran | |
| | | sitionRules) | |
| | | #define vzone_equals U_ICU_ENTRY_POINT_RENAME(vzone_equals) | |
| | | #define vzone_getDynamicClassID U_ICU_ENTRY_POINT_RENAME(vzone_getDynamicCl | |
| | | assID) | |
| | | #define vzone_getLastModified U_ICU_ENTRY_POINT_RENAME(vzone_getLastModifie | |
| | | d) | |
| | | #define vzone_getNextTransition U_ICU_ENTRY_POINT_RENAME(vzone_getNextTrans | |
| | | ition) | |
| | | #define vzone_getOffset U_ICU_ENTRY_POINT_RENAME(vzone_getOffset) | |
| | | #define vzone_getOffset2 U_ICU_ENTRY_POINT_RENAME(vzone_getOffset2) | |
| | | #define vzone_getOffset3 U_ICU_ENTRY_POINT_RENAME(vzone_getOffset3) | |
| | | #define vzone_getPreviousTransition U_ICU_ENTRY_POINT_RENAME(vzone_getPrevi | |
| | | ousTransition) | |
| | | #define vzone_getRawOffset U_ICU_ENTRY_POINT_RENAME(vzone_getRawOffset) | |
| | | #define vzone_getStaticClassID U_ICU_ENTRY_POINT_RENAME(vzone_getStaticClas | |
| | | sID) | |
| | | #define vzone_getTZURL U_ICU_ENTRY_POINT_RENAME(vzone_getTZURL) | |
| | | #define vzone_hasSameRules U_ICU_ENTRY_POINT_RENAME(vzone_hasSameRules) | |
| | | #define vzone_inDaylightTime U_ICU_ENTRY_POINT_RENAME(vzone_inDaylightTime) | |
| | | #define vzone_openData U_ICU_ENTRY_POINT_RENAME(vzone_openData) | |
| | | #define vzone_openID U_ICU_ENTRY_POINT_RENAME(vzone_openID) | |
| | | #define vzone_setLastModified U_ICU_ENTRY_POINT_RENAME(vzone_setLastModifie | |
| | | d) | |
| | | #define vzone_setRawOffset U_ICU_ENTRY_POINT_RENAME(vzone_setRawOffset) | |
| | | #define vzone_setTZURL U_ICU_ENTRY_POINT_RENAME(vzone_setTZURL) | |
| | | #define vzone_useDaylightTime U_ICU_ENTRY_POINT_RENAME(vzone_useDaylightTim | |
| | | e) | |
| | | #define vzone_write U_ICU_ENTRY_POINT_RENAME(vzone_write) | |
| | | #define vzone_writeFromStart U_ICU_ENTRY_POINT_RENAME(vzone_writeFromStart) | |
| | | #define vzone_writeSimple U_ICU_ENTRY_POINT_RENAME(vzone_writeSimple) | |
| | | #define zrule_close U_ICU_ENTRY_POINT_RENAME(zrule_close) | |
| | | #define zrule_equals U_ICU_ENTRY_POINT_RENAME(zrule_equals) | |
| | | #define zrule_getDSTSavings U_ICU_ENTRY_POINT_RENAME(zrule_getDSTSavings) | |
| | | #define zrule_getName U_ICU_ENTRY_POINT_RENAME(zrule_getName) | |
| | | #define zrule_getRawOffset U_ICU_ENTRY_POINT_RENAME(zrule_getRawOffset) | |
| | | #define zrule_isEquivalentTo U_ICU_ENTRY_POINT_RENAME(zrule_isEquivalentTo) | |
| | | #define ztrans_adoptFrom U_ICU_ENTRY_POINT_RENAME(ztrans_adoptFrom) | |
| | | #define ztrans_adoptTo U_ICU_ENTRY_POINT_RENAME(ztrans_adoptTo) | |
| | | #define ztrans_clone U_ICU_ENTRY_POINT_RENAME(ztrans_clone) | |
| | | #define ztrans_close U_ICU_ENTRY_POINT_RENAME(ztrans_close) | |
| | | #define ztrans_equals U_ICU_ENTRY_POINT_RENAME(ztrans_equals) | |
| | | #define ztrans_getDynamicClassID U_ICU_ENTRY_POINT_RENAME(ztrans_getDynamic | |
| | | ClassID) | |
| | | #define ztrans_getFrom U_ICU_ENTRY_POINT_RENAME(ztrans_getFrom) | |
| | | #define ztrans_getStaticClassID U_ICU_ENTRY_POINT_RENAME(ztrans_getStaticCl | |
| | | assID) | |
| | | #define ztrans_getTime U_ICU_ENTRY_POINT_RENAME(ztrans_getTime) | |
| | | #define ztrans_getTo U_ICU_ENTRY_POINT_RENAME(ztrans_getTo) | |
| | | #define ztrans_open U_ICU_ENTRY_POINT_RENAME(ztrans_open) | |
| | | #define ztrans_openEmpty U_ICU_ENTRY_POINT_RENAME(ztrans_openEmpty) | |
| | | #define ztrans_setFrom U_ICU_ENTRY_POINT_RENAME(ztrans_setFrom) | |
| | | #define ztrans_setTime U_ICU_ENTRY_POINT_RENAME(ztrans_setTime) | |
| | | #define ztrans_setTo U_ICU_ENTRY_POINT_RENAME(ztrans_setTo) | |
| | | | |
| /* C++ class names renaming defines */ | | /* C++ class names renaming defines */ | |
| | | | |
| #ifdef XP_CPLUSPLUS | | #ifdef XP_CPLUSPLUS | |
| #if !U_HAVE_NAMESPACE | | #if !U_HAVE_NAMESPACE | |
| | | | |
| #define AbsoluteValueSubstitution U_ICU_ENTRY_POINT_RENAME(AbsoluteValueSub
stitution) | | #define AbsoluteValueSubstitution U_ICU_ENTRY_POINT_RENAME(AbsoluteValueSub
stitution) | |
| #define AlternateSubstitutionSubtable U_ICU_ENTRY_POINT_RENAME(AlternateSub
stitutionSubtable) | | #define AlternateSubstitutionSubtable U_ICU_ENTRY_POINT_RENAME(AlternateSub
stitutionSubtable) | |
| #define AnchorTable U_ICU_ENTRY_POINT_RENAME(AnchorTable) | | #define AnchorTable U_ICU_ENTRY_POINT_RENAME(AnchorTable) | |
| #define AndConstraint U_ICU_ENTRY_POINT_RENAME(AndConstraint) | | #define AndConstraint U_ICU_ENTRY_POINT_RENAME(AndConstraint) | |
| #define AnnualTimeZoneRule U_ICU_ENTRY_POINT_RENAME(AnnualTimeZoneRule) | | #define AnnualTimeZoneRule U_ICU_ENTRY_POINT_RENAME(AnnualTimeZoneRule) | |
| #define AnyTransliterator U_ICU_ENTRY_POINT_RENAME(AnyTransliterator) | | #define AnyTransliterator U_ICU_ENTRY_POINT_RENAME(AnyTransliterator) | |
| #define ArabicOpenTypeLayoutEngine U_ICU_ENTRY_POINT_RENAME(ArabicOpenTypeL
ayoutEngine) | | #define ArabicOpenTypeLayoutEngine U_ICU_ENTRY_POINT_RENAME(ArabicOpenTypeL
ayoutEngine) | |
| #define ArabicShaping U_ICU_ENTRY_POINT_RENAME(ArabicShaping) | | #define ArabicShaping U_ICU_ENTRY_POINT_RENAME(ArabicShaping) | |
|
| | | #define ArgExtractor U_ICU_ENTRY_POINT_RENAME(ArgExtractor) | |
| #define BMPSet U_ICU_ENTRY_POINT_RENAME(BMPSet) | | #define BMPSet U_ICU_ENTRY_POINT_RENAME(BMPSet) | |
|
| | | #define BackwardUTrie2StringIterator U_ICU_ENTRY_POINT_RENAME(BackwardUTrie
2StringIterator) | |
| #define BadCharacterTable U_ICU_ENTRY_POINT_RENAME(BadCharacterTable) | | #define BadCharacterTable U_ICU_ENTRY_POINT_RENAME(BadCharacterTable) | |
| #define BasicCalendarFactory U_ICU_ENTRY_POINT_RENAME(BasicCalendarFactory) | | #define BasicCalendarFactory U_ICU_ENTRY_POINT_RENAME(BasicCalendarFactory) | |
| #define BasicTimeZone U_ICU_ENTRY_POINT_RENAME(BasicTimeZone) | | #define BasicTimeZone U_ICU_ENTRY_POINT_RENAME(BasicTimeZone) | |
| #define BinarySearchLookupTable U_ICU_ENTRY_POINT_RENAME(BinarySearchLookup
Table) | | #define BinarySearchLookupTable U_ICU_ENTRY_POINT_RENAME(BinarySearchLookup
Table) | |
| #define BoyerMooreSearch U_ICU_ENTRY_POINT_RENAME(BoyerMooreSearch) | | #define BoyerMooreSearch U_ICU_ENTRY_POINT_RENAME(BoyerMooreSearch) | |
| #define BreakIterator U_ICU_ENTRY_POINT_RENAME(BreakIterator) | | #define BreakIterator U_ICU_ENTRY_POINT_RENAME(BreakIterator) | |
| #define BreakTransliterator U_ICU_ENTRY_POINT_RENAME(BreakTransliterator) | | #define BreakTransliterator U_ICU_ENTRY_POINT_RENAME(BreakTransliterator) | |
| #define BuddhistCalendar U_ICU_ENTRY_POINT_RENAME(BuddhistCalendar) | | #define BuddhistCalendar U_ICU_ENTRY_POINT_RENAME(BuddhistCalendar) | |
| #define BuildCompactTrieHorizontalNode U_ICU_ENTRY_POINT_RENAME(BuildCompac
tTrieHorizontalNode) | | #define BuildCompactTrieHorizontalNode U_ICU_ENTRY_POINT_RENAME(BuildCompac
tTrieHorizontalNode) | |
| #define BuildCompactTrieNode U_ICU_ENTRY_POINT_RENAME(BuildCompactTrieNode) | | #define BuildCompactTrieNode U_ICU_ENTRY_POINT_RENAME(BuildCompactTrieNode) | |
| | | | |
| skipping to change at line 1623 | | skipping to change at line 1830 | |
| #define CollData U_ICU_ENTRY_POINT_RENAME(CollData) | | #define CollData U_ICU_ENTRY_POINT_RENAME(CollData) | |
| #define CollDataCache U_ICU_ENTRY_POINT_RENAME(CollDataCache) | | #define CollDataCache U_ICU_ENTRY_POINT_RENAME(CollDataCache) | |
| #define CollDataCacheEntry U_ICU_ENTRY_POINT_RENAME(CollDataCacheEntry) | | #define CollDataCacheEntry U_ICU_ENTRY_POINT_RENAME(CollDataCacheEntry) | |
| #define CollationElementIterator U_ICU_ENTRY_POINT_RENAME(CollationElementI
terator) | | #define CollationElementIterator U_ICU_ENTRY_POINT_RENAME(CollationElementI
terator) | |
| #define CollationKey U_ICU_ENTRY_POINT_RENAME(CollationKey) | | #define CollationKey U_ICU_ENTRY_POINT_RENAME(CollationKey) | |
| #define CollationLocaleListEnumeration U_ICU_ENTRY_POINT_RENAME(CollationLo
caleListEnumeration) | | #define CollationLocaleListEnumeration U_ICU_ENTRY_POINT_RENAME(CollationLo
caleListEnumeration) | |
| #define Collator U_ICU_ENTRY_POINT_RENAME(Collator) | | #define Collator U_ICU_ENTRY_POINT_RENAME(Collator) | |
| #define CollatorFactory U_ICU_ENTRY_POINT_RENAME(CollatorFactory) | | #define CollatorFactory U_ICU_ENTRY_POINT_RENAME(CollatorFactory) | |
| #define CompactTrieDictionary U_ICU_ENTRY_POINT_RENAME(CompactTrieDictionar
y) | | #define CompactTrieDictionary U_ICU_ENTRY_POINT_RENAME(CompactTrieDictionar
y) | |
| #define CompactTrieEnumeration U_ICU_ENTRY_POINT_RENAME(CompactTrieEnumerat
ion) | | #define CompactTrieEnumeration U_ICU_ENTRY_POINT_RENAME(CompactTrieEnumerat
ion) | |
|
| | | #define ComposeNormalizer2 U_ICU_ENTRY_POINT_RENAME(ComposeNormalizer2) | |
| #define CompoundTransliterator U_ICU_ENTRY_POINT_RENAME(CompoundTranslitera
tor) | | #define CompoundTransliterator U_ICU_ENTRY_POINT_RENAME(CompoundTranslitera
tor) | |
| #define ConfusabledataBuilder U_ICU_ENTRY_POINT_RENAME(ConfusabledataBuilde
r) | | #define ConfusabledataBuilder U_ICU_ENTRY_POINT_RENAME(ConfusabledataBuilde
r) | |
| #define ContextualGlyphSubstitutionProcessor U_ICU_ENTRY_POINT_RENAME(Conte
xtualGlyphSubstitutionProcessor) | | #define ContextualGlyphSubstitutionProcessor U_ICU_ENTRY_POINT_RENAME(Conte
xtualGlyphSubstitutionProcessor) | |
| #define ContextualSubstitutionBase U_ICU_ENTRY_POINT_RENAME(ContextualSubst
itutionBase) | | #define ContextualSubstitutionBase U_ICU_ENTRY_POINT_RENAME(ContextualSubst
itutionBase) | |
| #define ContextualSubstitutionFormat1Subtable U_ICU_ENTRY_POINT_RENAME(Cont
extualSubstitutionFormat1Subtable) | | #define ContextualSubstitutionFormat1Subtable U_ICU_ENTRY_POINT_RENAME(Cont
extualSubstitutionFormat1Subtable) | |
| #define ContextualSubstitutionFormat2Subtable U_ICU_ENTRY_POINT_RENAME(Cont
extualSubstitutionFormat2Subtable) | | #define ContextualSubstitutionFormat2Subtable U_ICU_ENTRY_POINT_RENAME(Cont
extualSubstitutionFormat2Subtable) | |
| #define ContextualSubstitutionFormat3Subtable U_ICU_ENTRY_POINT_RENAME(Cont
extualSubstitutionFormat3Subtable) | | #define ContextualSubstitutionFormat3Subtable U_ICU_ENTRY_POINT_RENAME(Cont
extualSubstitutionFormat3Subtable) | |
| #define ContextualSubstitutionSubtable U_ICU_ENTRY_POINT_RENAME(ContextualS
ubstitutionSubtable) | | #define ContextualSubstitutionSubtable U_ICU_ENTRY_POINT_RENAME(ContextualS
ubstitutionSubtable) | |
| #define CopticCalendar U_ICU_ENTRY_POINT_RENAME(CopticCalendar) | | #define CopticCalendar U_ICU_ENTRY_POINT_RENAME(CopticCalendar) | |
| #define CoverageFormat1Table U_ICU_ENTRY_POINT_RENAME(CoverageFormat1Table) | | #define CoverageFormat1Table U_ICU_ENTRY_POINT_RENAME(CoverageFormat1Table) | |
| | | | |
| skipping to change at line 1652 | | skipping to change at line 1860 | |
| #define DateFormat U_ICU_ENTRY_POINT_RENAME(DateFormat) | | #define DateFormat U_ICU_ENTRY_POINT_RENAME(DateFormat) | |
| #define DateFormatSymbols U_ICU_ENTRY_POINT_RENAME(DateFormatSymbols) | | #define DateFormatSymbols U_ICU_ENTRY_POINT_RENAME(DateFormatSymbols) | |
| #define DateInterval U_ICU_ENTRY_POINT_RENAME(DateInterval) | | #define DateInterval U_ICU_ENTRY_POINT_RENAME(DateInterval) | |
| #define DateIntervalFormat U_ICU_ENTRY_POINT_RENAME(DateIntervalFormat) | | #define DateIntervalFormat U_ICU_ENTRY_POINT_RENAME(DateIntervalFormat) | |
| #define DateIntervalInfo U_ICU_ENTRY_POINT_RENAME(DateIntervalInfo) | | #define DateIntervalInfo U_ICU_ENTRY_POINT_RENAME(DateIntervalInfo) | |
| #define DateTimeMatcher U_ICU_ENTRY_POINT_RENAME(DateTimeMatcher) | | #define DateTimeMatcher U_ICU_ENTRY_POINT_RENAME(DateTimeMatcher) | |
| #define DateTimePatternGenerator U_ICU_ENTRY_POINT_RENAME(DateTimePatternGe
nerator) | | #define DateTimePatternGenerator U_ICU_ENTRY_POINT_RENAME(DateTimePatternGe
nerator) | |
| #define DateTimeRule U_ICU_ENTRY_POINT_RENAME(DateTimeRule) | | #define DateTimeRule U_ICU_ENTRY_POINT_RENAME(DateTimeRule) | |
| #define DecimalFormat U_ICU_ENTRY_POINT_RENAME(DecimalFormat) | | #define DecimalFormat U_ICU_ENTRY_POINT_RENAME(DecimalFormat) | |
| #define DecimalFormatSymbols U_ICU_ENTRY_POINT_RENAME(DecimalFormatSymbols) | | #define DecimalFormatSymbols U_ICU_ENTRY_POINT_RENAME(DecimalFormatSymbols) | |
|
| | | #define DecimalNumberString U_ICU_ENTRY_POINT_RENAME(DecimalNumberString) | |
| | | #define DecomposeNormalizer2 U_ICU_ENTRY_POINT_RENAME(DecomposeNormalizer2) | |
| #define DefaultCalendarFactory U_ICU_ENTRY_POINT_RENAME(DefaultCalendarFact
ory) | | #define DefaultCalendarFactory U_ICU_ENTRY_POINT_RENAME(DefaultCalendarFact
ory) | |
| #define DefaultCharMapper U_ICU_ENTRY_POINT_RENAME(DefaultCharMapper) | | #define DefaultCharMapper U_ICU_ENTRY_POINT_RENAME(DefaultCharMapper) | |
| #define DeviceTable U_ICU_ENTRY_POINT_RENAME(DeviceTable) | | #define DeviceTable U_ICU_ENTRY_POINT_RENAME(DeviceTable) | |
| #define DictionaryBreakEngine U_ICU_ENTRY_POINT_RENAME(DictionaryBreakEngin
e) | | #define DictionaryBreakEngine U_ICU_ENTRY_POINT_RENAME(DictionaryBreakEngin
e) | |
| #define DigitList U_ICU_ENTRY_POINT_RENAME(DigitList) | | #define DigitList U_ICU_ENTRY_POINT_RENAME(DigitList) | |
| #define DistanceInfo U_ICU_ENTRY_POINT_RENAME(DistanceInfo) | | #define DistanceInfo U_ICU_ENTRY_POINT_RENAME(DistanceInfo) | |
| #define EnumToOffset U_ICU_ENTRY_POINT_RENAME(EnumToOffset) | | #define EnumToOffset U_ICU_ENTRY_POINT_RENAME(EnumToOffset) | |
| #define ErrorCode U_ICU_ENTRY_POINT_RENAME(ErrorCode) | | #define ErrorCode U_ICU_ENTRY_POINT_RENAME(ErrorCode) | |
| #define EscapeTransliterator U_ICU_ENTRY_POINT_RENAME(EscapeTransliterator) | | #define EscapeTransliterator U_ICU_ENTRY_POINT_RENAME(EscapeTransliterator) | |
| #define EthiopicCalendar U_ICU_ENTRY_POINT_RENAME(EthiopicCalendar) | | #define EthiopicCalendar U_ICU_ENTRY_POINT_RENAME(EthiopicCalendar) | |
| #define EventListener U_ICU_ENTRY_POINT_RENAME(EventListener) | | #define EventListener U_ICU_ENTRY_POINT_RENAME(EventListener) | |
| #define ExtensionSubtable U_ICU_ENTRY_POINT_RENAME(ExtensionSubtable) | | #define ExtensionSubtable U_ICU_ENTRY_POINT_RENAME(ExtensionSubtable) | |
|
| | | #define FCDNormalizer2 U_ICU_ENTRY_POINT_RENAME(FCDNormalizer2) | |
| | | #define FCDTrieSingleton U_ICU_ENTRY_POINT_RENAME(FCDTrieSingleton) | |
| #define FeatureListTable U_ICU_ENTRY_POINT_RENAME(FeatureListTable) | | #define FeatureListTable U_ICU_ENTRY_POINT_RENAME(FeatureListTable) | |
| #define FieldPosition U_ICU_ENTRY_POINT_RENAME(FieldPosition) | | #define FieldPosition U_ICU_ENTRY_POINT_RENAME(FieldPosition) | |
|
| | | #define FieldPositionHandler U_ICU_ENTRY_POINT_RENAME(FieldPositionHandler) | |
| | | #define FieldPositionIterator U_ICU_ENTRY_POINT_RENAME(FieldPositionIterato | |
| | | r) | |
| | | #define FieldPositionIteratorHandler U_ICU_ENTRY_POINT_RENAME(FieldPosition | |
| | | IteratorHandler) | |
| | | #define FieldPositionOnlyHandler U_ICU_ENTRY_POINT_RENAME(FieldPositionOnly | |
| | | Handler) | |
| | | #define FilteredNormalizer2 U_ICU_ENTRY_POINT_RENAME(FilteredNormalizer2) | |
| #define FontRuns U_ICU_ENTRY_POINT_RENAME(FontRuns) | | #define FontRuns U_ICU_ENTRY_POINT_RENAME(FontRuns) | |
| #define Format U_ICU_ENTRY_POINT_RENAME(Format) | | #define Format U_ICU_ENTRY_POINT_RENAME(Format) | |
| #define Format1AnchorTable U_ICU_ENTRY_POINT_RENAME(Format1AnchorTable) | | #define Format1AnchorTable U_ICU_ENTRY_POINT_RENAME(Format1AnchorTable) | |
| #define Format2AnchorTable U_ICU_ENTRY_POINT_RENAME(Format2AnchorTable) | | #define Format2AnchorTable U_ICU_ENTRY_POINT_RENAME(Format2AnchorTable) | |
| #define Format3AnchorTable U_ICU_ENTRY_POINT_RENAME(Format3AnchorTable) | | #define Format3AnchorTable U_ICU_ENTRY_POINT_RENAME(Format3AnchorTable) | |
| #define FormatNameEnumeration U_ICU_ENTRY_POINT_RENAME(FormatNameEnumeratio
n) | | #define FormatNameEnumeration U_ICU_ENTRY_POINT_RENAME(FormatNameEnumeratio
n) | |
| #define FormatParser U_ICU_ENTRY_POINT_RENAME(FormatParser) | | #define FormatParser U_ICU_ENTRY_POINT_RENAME(FormatParser) | |
| #define Formattable U_ICU_ENTRY_POINT_RENAME(Formattable) | | #define Formattable U_ICU_ENTRY_POINT_RENAME(Formattable) | |
| #define ForwardCharacterIterator U_ICU_ENTRY_POINT_RENAME(ForwardCharacterI
terator) | | #define ForwardCharacterIterator U_ICU_ENTRY_POINT_RENAME(ForwardCharacterI
terator) | |
|
| | | #define ForwardUTrie2StringIterator U_ICU_ENTRY_POINT_RENAME(ForwardUTrie2S
tringIterator) | |
| #define FractionalPartSubstitution U_ICU_ENTRY_POINT_RENAME(FractionalPartS
ubstitution) | | #define FractionalPartSubstitution U_ICU_ENTRY_POINT_RENAME(FractionalPartS
ubstitution) | |
| #define FunctionReplacer U_ICU_ENTRY_POINT_RENAME(FunctionReplacer) | | #define FunctionReplacer U_ICU_ENTRY_POINT_RENAME(FunctionReplacer) | |
| #define GDEFMarkFilter U_ICU_ENTRY_POINT_RENAME(GDEFMarkFilter) | | #define GDEFMarkFilter U_ICU_ENTRY_POINT_RENAME(GDEFMarkFilter) | |
| #define GXLayoutEngine U_ICU_ENTRY_POINT_RENAME(GXLayoutEngine) | | #define GXLayoutEngine U_ICU_ENTRY_POINT_RENAME(GXLayoutEngine) | |
| #define GlyphDefinitionTableHeader U_ICU_ENTRY_POINT_RENAME(GlyphDefinition
TableHeader) | | #define GlyphDefinitionTableHeader U_ICU_ENTRY_POINT_RENAME(GlyphDefinition
TableHeader) | |
| #define GlyphIterator U_ICU_ENTRY_POINT_RENAME(GlyphIterator) | | #define GlyphIterator U_ICU_ENTRY_POINT_RENAME(GlyphIterator) | |
| #define GlyphLookupTableHeader U_ICU_ENTRY_POINT_RENAME(GlyphLookupTableHea
der) | | #define GlyphLookupTableHeader U_ICU_ENTRY_POINT_RENAME(GlyphLookupTableHea
der) | |
| #define GlyphPositionAdjustments U_ICU_ENTRY_POINT_RENAME(GlyphPositionAdju
stments) | | #define GlyphPositionAdjustments U_ICU_ENTRY_POINT_RENAME(GlyphPositionAdju
stments) | |
| #define GlyphPositioningLookupProcessor U_ICU_ENTRY_POINT_RENAME(GlyphPosit
ioningLookupProcessor) | | #define GlyphPositioningLookupProcessor U_ICU_ENTRY_POINT_RENAME(GlyphPosit
ioningLookupProcessor) | |
| #define GlyphPositioningTableHeader U_ICU_ENTRY_POINT_RENAME(GlyphPositioni
ngTableHeader) | | #define GlyphPositioningTableHeader U_ICU_ENTRY_POINT_RENAME(GlyphPositioni
ngTableHeader) | |
| | | | |
| skipping to change at line 1697 | | skipping to change at line 1915 | |
| #define GoodSuffixTable U_ICU_ENTRY_POINT_RENAME(GoodSuffixTable) | | #define GoodSuffixTable U_ICU_ENTRY_POINT_RENAME(GoodSuffixTable) | |
| #define Grego U_ICU_ENTRY_POINT_RENAME(Grego) | | #define Grego U_ICU_ENTRY_POINT_RENAME(Grego) | |
| #define GregorianCalendar U_ICU_ENTRY_POINT_RENAME(GregorianCalendar) | | #define GregorianCalendar U_ICU_ENTRY_POINT_RENAME(GregorianCalendar) | |
| #define HanOpenTypeLayoutEngine U_ICU_ENTRY_POINT_RENAME(HanOpenTypeLayoutE
ngine) | | #define HanOpenTypeLayoutEngine U_ICU_ENTRY_POINT_RENAME(HanOpenTypeLayoutE
ngine) | |
| #define HangulOpenTypeLayoutEngine U_ICU_ENTRY_POINT_RENAME(HangulOpenTypeL
ayoutEngine) | | #define HangulOpenTypeLayoutEngine U_ICU_ENTRY_POINT_RENAME(HangulOpenTypeL
ayoutEngine) | |
| #define HebrewCalendar U_ICU_ENTRY_POINT_RENAME(HebrewCalendar) | | #define HebrewCalendar U_ICU_ENTRY_POINT_RENAME(HebrewCalendar) | |
| #define ICUBreakIteratorFactory U_ICU_ENTRY_POINT_RENAME(ICUBreakIteratorFa
ctory) | | #define ICUBreakIteratorFactory U_ICU_ENTRY_POINT_RENAME(ICUBreakIteratorFa
ctory) | |
| #define ICUBreakIteratorService U_ICU_ENTRY_POINT_RENAME(ICUBreakIteratorSe
rvice) | | #define ICUBreakIteratorService U_ICU_ENTRY_POINT_RENAME(ICUBreakIteratorSe
rvice) | |
| #define ICUCollatorFactory U_ICU_ENTRY_POINT_RENAME(ICUCollatorFactory) | | #define ICUCollatorFactory U_ICU_ENTRY_POINT_RENAME(ICUCollatorFactory) | |
| #define ICUCollatorService U_ICU_ENTRY_POINT_RENAME(ICUCollatorService) | | #define ICUCollatorService U_ICU_ENTRY_POINT_RENAME(ICUCollatorService) | |
|
| | | #define ICUDataTable U_ICU_ENTRY_POINT_RENAME(ICUDataTable) | |
| #define ICULanguageBreakFactory U_ICU_ENTRY_POINT_RENAME(ICULanguageBreakFa
ctory) | | #define ICULanguageBreakFactory U_ICU_ENTRY_POINT_RENAME(ICULanguageBreakFa
ctory) | |
| #define ICULocaleService U_ICU_ENTRY_POINT_RENAME(ICULocaleService) | | #define ICULocaleService U_ICU_ENTRY_POINT_RENAME(ICULocaleService) | |
| #define ICUNotifier U_ICU_ENTRY_POINT_RENAME(ICUNotifier) | | #define ICUNotifier U_ICU_ENTRY_POINT_RENAME(ICUNotifier) | |
| #define ICUNumberFormatFactory U_ICU_ENTRY_POINT_RENAME(ICUNumberFormatFact
ory) | | #define ICUNumberFormatFactory U_ICU_ENTRY_POINT_RENAME(ICUNumberFormatFact
ory) | |
| #define ICUNumberFormatService U_ICU_ENTRY_POINT_RENAME(ICUNumberFormatServ
ice) | | #define ICUNumberFormatService U_ICU_ENTRY_POINT_RENAME(ICUNumberFormatServ
ice) | |
| #define ICUResourceBundleFactory U_ICU_ENTRY_POINT_RENAME(ICUResourceBundle
Factory) | | #define ICUResourceBundleFactory U_ICU_ENTRY_POINT_RENAME(ICUResourceBundle
Factory) | |
| #define ICUService U_ICU_ENTRY_POINT_RENAME(ICUService) | | #define ICUService U_ICU_ENTRY_POINT_RENAME(ICUService) | |
| #define ICUServiceFactory U_ICU_ENTRY_POINT_RENAME(ICUServiceFactory) | | #define ICUServiceFactory U_ICU_ENTRY_POINT_RENAME(ICUServiceFactory) | |
| #define ICUServiceKey U_ICU_ENTRY_POINT_RENAME(ICUServiceKey) | | #define ICUServiceKey U_ICU_ENTRY_POINT_RENAME(ICUServiceKey) | |
| #define ICU_Utility U_ICU_ENTRY_POINT_RENAME(ICU_Utility) | | #define ICU_Utility U_ICU_ENTRY_POINT_RENAME(ICU_Utility) | |
| | | | |
| skipping to change at line 1738 | | skipping to change at line 1957 | |
| #define LEInsertionList U_ICU_ENTRY_POINT_RENAME(LEInsertionList) | | #define LEInsertionList U_ICU_ENTRY_POINT_RENAME(LEInsertionList) | |
| #define LXUtilities U_ICU_ENTRY_POINT_RENAME(LXUtilities) | | #define LXUtilities U_ICU_ENTRY_POINT_RENAME(LXUtilities) | |
| #define LanguageBreakEngine U_ICU_ENTRY_POINT_RENAME(LanguageBreakEngine) | | #define LanguageBreakEngine U_ICU_ENTRY_POINT_RENAME(LanguageBreakEngine) | |
| #define LanguageBreakFactory U_ICU_ENTRY_POINT_RENAME(LanguageBreakFactory) | | #define LanguageBreakFactory U_ICU_ENTRY_POINT_RENAME(LanguageBreakFactory) | |
| #define LayoutEngine U_ICU_ENTRY_POINT_RENAME(LayoutEngine) | | #define LayoutEngine U_ICU_ENTRY_POINT_RENAME(LayoutEngine) | |
| #define LigatureSubstitutionProcessor U_ICU_ENTRY_POINT_RENAME(LigatureSubs
titutionProcessor) | | #define LigatureSubstitutionProcessor U_ICU_ENTRY_POINT_RENAME(LigatureSubs
titutionProcessor) | |
| #define LigatureSubstitutionSubtable U_ICU_ENTRY_POINT_RENAME(LigatureSubst
itutionSubtable) | | #define LigatureSubstitutionSubtable U_ICU_ENTRY_POINT_RENAME(LigatureSubst
itutionSubtable) | |
| #define LocDataParser U_ICU_ENTRY_POINT_RENAME(LocDataParser) | | #define LocDataParser U_ICU_ENTRY_POINT_RENAME(LocDataParser) | |
| #define Locale U_ICU_ENTRY_POINT_RENAME(Locale) | | #define Locale U_ICU_ENTRY_POINT_RENAME(Locale) | |
| #define LocaleBased U_ICU_ENTRY_POINT_RENAME(LocaleBased) | | #define LocaleBased U_ICU_ENTRY_POINT_RENAME(LocaleBased) | |
|
| | | #define LocaleDisplayNames U_ICU_ENTRY_POINT_RENAME(LocaleDisplayNames) | |
| | | #define LocaleDisplayNamesImpl U_ICU_ENTRY_POINT_RENAME(LocaleDisplayNamesI | |
| | | mpl) | |
| #define LocaleKey U_ICU_ENTRY_POINT_RENAME(LocaleKey) | | #define LocaleKey U_ICU_ENTRY_POINT_RENAME(LocaleKey) | |
| #define LocaleKeyFactory U_ICU_ENTRY_POINT_RENAME(LocaleKeyFactory) | | #define LocaleKeyFactory U_ICU_ENTRY_POINT_RENAME(LocaleKeyFactory) | |
| #define LocaleRuns U_ICU_ENTRY_POINT_RENAME(LocaleRuns) | | #define LocaleRuns U_ICU_ENTRY_POINT_RENAME(LocaleRuns) | |
| #define LocaleUtility U_ICU_ENTRY_POINT_RENAME(LocaleUtility) | | #define LocaleUtility U_ICU_ENTRY_POINT_RENAME(LocaleUtility) | |
| #define LocalizationInfo U_ICU_ENTRY_POINT_RENAME(LocalizationInfo) | | #define LocalizationInfo U_ICU_ENTRY_POINT_RENAME(LocalizationInfo) | |
| #define LookupListTable U_ICU_ENTRY_POINT_RENAME(LookupListTable) | | #define LookupListTable U_ICU_ENTRY_POINT_RENAME(LookupListTable) | |
| #define LookupProcessor U_ICU_ENTRY_POINT_RENAME(LookupProcessor) | | #define LookupProcessor U_ICU_ENTRY_POINT_RENAME(LookupProcessor) | |
| #define LookupSubtable U_ICU_ENTRY_POINT_RENAME(LookupSubtable) | | #define LookupSubtable U_ICU_ENTRY_POINT_RENAME(LookupSubtable) | |
| #define LookupTable U_ICU_ENTRY_POINT_RENAME(LookupTable) | | #define LookupTable U_ICU_ENTRY_POINT_RENAME(LookupTable) | |
| #define LowercaseTransliterator U_ICU_ENTRY_POINT_RENAME(LowercaseTranslite
rator) | | #define LowercaseTransliterator U_ICU_ENTRY_POINT_RENAME(LowercaseTranslite
rator) | |
| | | | |
| skipping to change at line 1777 | | skipping to change at line 1998 | |
| #define NFFactory U_ICU_ENTRY_POINT_RENAME(NFFactory) | | #define NFFactory U_ICU_ENTRY_POINT_RENAME(NFFactory) | |
| #define NFKDBuffer U_ICU_ENTRY_POINT_RENAME(NFKDBuffer) | | #define NFKDBuffer U_ICU_ENTRY_POINT_RENAME(NFKDBuffer) | |
| #define NFRule U_ICU_ENTRY_POINT_RENAME(NFRule) | | #define NFRule U_ICU_ENTRY_POINT_RENAME(NFRule) | |
| #define NFRuleSet U_ICU_ENTRY_POINT_RENAME(NFRuleSet) | | #define NFRuleSet U_ICU_ENTRY_POINT_RENAME(NFRuleSet) | |
| #define NFSubstitution U_ICU_ENTRY_POINT_RENAME(NFSubstitution) | | #define NFSubstitution U_ICU_ENTRY_POINT_RENAME(NFSubstitution) | |
| #define NGramParser U_ICU_ENTRY_POINT_RENAME(NGramParser) | | #define NGramParser U_ICU_ENTRY_POINT_RENAME(NGramParser) | |
| #define NameToEnum U_ICU_ENTRY_POINT_RENAME(NameToEnum) | | #define NameToEnum U_ICU_ENTRY_POINT_RENAME(NameToEnum) | |
| #define NameUnicodeTransliterator U_ICU_ENTRY_POINT_RENAME(NameUnicodeTrans
literator) | | #define NameUnicodeTransliterator U_ICU_ENTRY_POINT_RENAME(NameUnicodeTrans
literator) | |
| #define NonContextualGlyphSubstitutionProcessor U_ICU_ENTRY_POINT_RENAME(No
nContextualGlyphSubstitutionProcessor) | | #define NonContextualGlyphSubstitutionProcessor U_ICU_ENTRY_POINT_RENAME(No
nContextualGlyphSubstitutionProcessor) | |
| #define NonContiguousEnumToOffset U_ICU_ENTRY_POINT_RENAME(NonContiguousEnu
mToOffset) | | #define NonContiguousEnumToOffset U_ICU_ENTRY_POINT_RENAME(NonContiguousEnu
mToOffset) | |
|
| | | #define NoopNormalizer2 U_ICU_ENTRY_POINT_RENAME(NoopNormalizer2) | |
| | | #define Norm2AllModes U_ICU_ENTRY_POINT_RENAME(Norm2AllModes) | |
| #define NormalizationTransliterator U_ICU_ENTRY_POINT_RENAME(NormalizationT
ransliterator) | | #define NormalizationTransliterator U_ICU_ENTRY_POINT_RENAME(NormalizationT
ransliterator) | |
| #define Normalizer U_ICU_ENTRY_POINT_RENAME(Normalizer) | | #define Normalizer U_ICU_ENTRY_POINT_RENAME(Normalizer) | |
|
| | | #define Normalizer2 U_ICU_ENTRY_POINT_RENAME(Normalizer2) | |
| | | #define Normalizer2Factory U_ICU_ENTRY_POINT_RENAME(Normalizer2Factory) | |
| | | #define Normalizer2Impl U_ICU_ENTRY_POINT_RENAME(Normalizer2Impl) | |
| | | #define Normalizer2WithImpl U_ICU_ENTRY_POINT_RENAME(Normalizer2WithImpl) | |
| #define NullSubstitution U_ICU_ENTRY_POINT_RENAME(NullSubstitution) | | #define NullSubstitution U_ICU_ENTRY_POINT_RENAME(NullSubstitution) | |
| #define NullTransliterator U_ICU_ENTRY_POINT_RENAME(NullTransliterator) | | #define NullTransliterator U_ICU_ENTRY_POINT_RENAME(NullTransliterator) | |
| #define NumberFormat U_ICU_ENTRY_POINT_RENAME(NumberFormat) | | #define NumberFormat U_ICU_ENTRY_POINT_RENAME(NumberFormat) | |
| #define NumberFormatFactory U_ICU_ENTRY_POINT_RENAME(NumberFormatFactory) | | #define NumberFormatFactory U_ICU_ENTRY_POINT_RENAME(NumberFormatFactory) | |
| #define NumberingSystem U_ICU_ENTRY_POINT_RENAME(NumberingSystem) | | #define NumberingSystem U_ICU_ENTRY_POINT_RENAME(NumberingSystem) | |
| #define NumeratorSubstitution U_ICU_ENTRY_POINT_RENAME(NumeratorSubstitutio
n) | | #define NumeratorSubstitution U_ICU_ENTRY_POINT_RENAME(NumeratorSubstitutio
n) | |
| #define OlsonTimeZone U_ICU_ENTRY_POINT_RENAME(OlsonTimeZone) | | #define OlsonTimeZone U_ICU_ENTRY_POINT_RENAME(OlsonTimeZone) | |
| #define OpenTypeLayoutEngine U_ICU_ENTRY_POINT_RENAME(OpenTypeLayoutEngine) | | #define OpenTypeLayoutEngine U_ICU_ENTRY_POINT_RENAME(OpenTypeLayoutEngine) | |
| #define OpenTypeUtilities U_ICU_ENTRY_POINT_RENAME(OpenTypeUtilities) | | #define OpenTypeUtilities U_ICU_ENTRY_POINT_RENAME(OpenTypeUtilities) | |
| #define OrConstraint U_ICU_ENTRY_POINT_RENAME(OrConstraint) | | #define OrConstraint U_ICU_ENTRY_POINT_RENAME(OrConstraint) | |
| | | | |
| skipping to change at line 1824 | | skipping to change at line 2051 | |
| #define RBBITableBuilder U_ICU_ENTRY_POINT_RENAME(RBBITableBuilder) | | #define RBBITableBuilder U_ICU_ENTRY_POINT_RENAME(RBBITableBuilder) | |
| #define RCEBuffer U_ICU_ENTRY_POINT_RENAME(RCEBuffer) | | #define RCEBuffer U_ICU_ENTRY_POINT_RENAME(RCEBuffer) | |
| #define RangeDescriptor U_ICU_ENTRY_POINT_RENAME(RangeDescriptor) | | #define RangeDescriptor U_ICU_ENTRY_POINT_RENAME(RangeDescriptor) | |
| #define RegexCompile U_ICU_ENTRY_POINT_RENAME(RegexCompile) | | #define RegexCompile U_ICU_ENTRY_POINT_RENAME(RegexCompile) | |
| #define RegexMatcher U_ICU_ENTRY_POINT_RENAME(RegexMatcher) | | #define RegexMatcher U_ICU_ENTRY_POINT_RENAME(RegexMatcher) | |
| #define RegexPattern U_ICU_ENTRY_POINT_RENAME(RegexPattern) | | #define RegexPattern U_ICU_ENTRY_POINT_RENAME(RegexPattern) | |
| #define RegexStaticSets U_ICU_ENTRY_POINT_RENAME(RegexStaticSets) | | #define RegexStaticSets U_ICU_ENTRY_POINT_RENAME(RegexStaticSets) | |
| #define RegularExpression U_ICU_ENTRY_POINT_RENAME(RegularExpression) | | #define RegularExpression U_ICU_ENTRY_POINT_RENAME(RegularExpression) | |
| #define RelativeDateFormat U_ICU_ENTRY_POINT_RENAME(RelativeDateFormat) | | #define RelativeDateFormat U_ICU_ENTRY_POINT_RENAME(RelativeDateFormat) | |
| #define RemoveTransliterator U_ICU_ENTRY_POINT_RENAME(RemoveTransliterator) | | #define RemoveTransliterator U_ICU_ENTRY_POINT_RENAME(RemoveTransliterator) | |
|
| | | #define ReorderingBuffer U_ICU_ENTRY_POINT_RENAME(ReorderingBuffer) | |
| #define Replaceable U_ICU_ENTRY_POINT_RENAME(Replaceable) | | #define Replaceable U_ICU_ENTRY_POINT_RENAME(Replaceable) | |
| #define ReplaceableGlue U_ICU_ENTRY_POINT_RENAME(ReplaceableGlue) | | #define ReplaceableGlue U_ICU_ENTRY_POINT_RENAME(ReplaceableGlue) | |
| #define ResourceBundle U_ICU_ENTRY_POINT_RENAME(ResourceBundle) | | #define ResourceBundle U_ICU_ENTRY_POINT_RENAME(ResourceBundle) | |
| #define RiseSetCoordFunc U_ICU_ENTRY_POINT_RENAME(RiseSetCoordFunc) | | #define RiseSetCoordFunc U_ICU_ENTRY_POINT_RENAME(RiseSetCoordFunc) | |
| #define RuleBasedBreakIterator U_ICU_ENTRY_POINT_RENAME(RuleBasedBreakItera
tor) | | #define RuleBasedBreakIterator U_ICU_ENTRY_POINT_RENAME(RuleBasedBreakItera
tor) | |
| #define RuleBasedCollator U_ICU_ENTRY_POINT_RENAME(RuleBasedCollator) | | #define RuleBasedCollator U_ICU_ENTRY_POINT_RENAME(RuleBasedCollator) | |
| #define RuleBasedNumberFormat U_ICU_ENTRY_POINT_RENAME(RuleBasedNumberForma
t) | | #define RuleBasedNumberFormat U_ICU_ENTRY_POINT_RENAME(RuleBasedNumberForma
t) | |
| #define RuleBasedTimeZone U_ICU_ENTRY_POINT_RENAME(RuleBasedTimeZone) | | #define RuleBasedTimeZone U_ICU_ENTRY_POINT_RENAME(RuleBasedTimeZone) | |
| #define RuleBasedTransliterator U_ICU_ENTRY_POINT_RENAME(RuleBasedTranslite
rator) | | #define RuleBasedTransliterator U_ICU_ENTRY_POINT_RENAME(RuleBasedTranslite
rator) | |
| #define RuleChain U_ICU_ENTRY_POINT_RENAME(RuleChain) | | #define RuleChain U_ICU_ENTRY_POINT_RENAME(RuleChain) | |
| | | | |
| skipping to change at line 1849 | | skipping to change at line 2077 | |
| #define SPUStringPool U_ICU_ENTRY_POINT_RENAME(SPUStringPool) | | #define SPUStringPool U_ICU_ENTRY_POINT_RENAME(SPUStringPool) | |
| #define SafeZoneStringFormatPtr U_ICU_ENTRY_POINT_RENAME(SafeZoneStringForm
atPtr) | | #define SafeZoneStringFormatPtr U_ICU_ENTRY_POINT_RENAME(SafeZoneStringForm
atPtr) | |
| #define SameValueSubstitution U_ICU_ENTRY_POINT_RENAME(SameValueSubstitutio
n) | | #define SameValueSubstitution U_ICU_ENTRY_POINT_RENAME(SameValueSubstitutio
n) | |
| #define ScriptListTable U_ICU_ENTRY_POINT_RENAME(ScriptListTable) | | #define ScriptListTable U_ICU_ENTRY_POINT_RENAME(ScriptListTable) | |
| #define ScriptRunIterator U_ICU_ENTRY_POINT_RENAME(ScriptRunIterator) | | #define ScriptRunIterator U_ICU_ENTRY_POINT_RENAME(ScriptRunIterator) | |
| #define ScriptSet U_ICU_ENTRY_POINT_RENAME(ScriptSet) | | #define ScriptSet U_ICU_ENTRY_POINT_RENAME(ScriptSet) | |
| #define ScriptTable U_ICU_ENTRY_POINT_RENAME(ScriptTable) | | #define ScriptTable U_ICU_ENTRY_POINT_RENAME(ScriptTable) | |
| #define SearchIterator U_ICU_ENTRY_POINT_RENAME(SearchIterator) | | #define SearchIterator U_ICU_ENTRY_POINT_RENAME(SearchIterator) | |
| #define SegmentArrayProcessor U_ICU_ENTRY_POINT_RENAME(SegmentArrayProcesso
r) | | #define SegmentArrayProcessor U_ICU_ENTRY_POINT_RENAME(SegmentArrayProcesso
r) | |
| #define SegmentSingleProcessor U_ICU_ENTRY_POINT_RENAME(SegmentSingleProces
sor) | | #define SegmentSingleProcessor U_ICU_ENTRY_POINT_RENAME(SegmentSingleProces
sor) | |
|
| | | #define SelectFormat U_ICU_ENTRY_POINT_RENAME(SelectFormat) | |
| #define ServiceEnumeration U_ICU_ENTRY_POINT_RENAME(ServiceEnumeration) | | #define ServiceEnumeration U_ICU_ENTRY_POINT_RENAME(ServiceEnumeration) | |
| #define ServiceListener U_ICU_ENTRY_POINT_RENAME(ServiceListener) | | #define ServiceListener U_ICU_ENTRY_POINT_RENAME(ServiceListener) | |
| #define SimpleArrayProcessor U_ICU_ENTRY_POINT_RENAME(SimpleArrayProcessor) | | #define SimpleArrayProcessor U_ICU_ENTRY_POINT_RENAME(SimpleArrayProcessor) | |
| #define SimpleDateFormat U_ICU_ENTRY_POINT_RENAME(SimpleDateFormat) | | #define SimpleDateFormat U_ICU_ENTRY_POINT_RENAME(SimpleDateFormat) | |
| #define SimpleFactory U_ICU_ENTRY_POINT_RENAME(SimpleFactory) | | #define SimpleFactory U_ICU_ENTRY_POINT_RENAME(SimpleFactory) | |
| #define SimpleLocaleKeyFactory U_ICU_ENTRY_POINT_RENAME(SimpleLocaleKeyFact
ory) | | #define SimpleLocaleKeyFactory U_ICU_ENTRY_POINT_RENAME(SimpleLocaleKeyFact
ory) | |
| #define SimpleNumberFormatFactory U_ICU_ENTRY_POINT_RENAME(SimpleNumberForm
atFactory) | | #define SimpleNumberFormatFactory U_ICU_ENTRY_POINT_RENAME(SimpleNumberForm
atFactory) | |
|
| | | #define SimpleSingleton U_ICU_ENTRY_POINT_RENAME(SimpleSingleton) | |
| #define SimpleTimeZone U_ICU_ENTRY_POINT_RENAME(SimpleTimeZone) | | #define SimpleTimeZone U_ICU_ENTRY_POINT_RENAME(SimpleTimeZone) | |
| #define SinglePositioningFormat1Subtable U_ICU_ENTRY_POINT_RENAME(SinglePos
itioningFormat1Subtable) | | #define SinglePositioningFormat1Subtable U_ICU_ENTRY_POINT_RENAME(SinglePos
itioningFormat1Subtable) | |
| #define SinglePositioningFormat2Subtable U_ICU_ENTRY_POINT_RENAME(SinglePos
itioningFormat2Subtable) | | #define SinglePositioningFormat2Subtable U_ICU_ENTRY_POINT_RENAME(SinglePos
itioningFormat2Subtable) | |
| #define SinglePositioningSubtable U_ICU_ENTRY_POINT_RENAME(SinglePositionin
gSubtable) | | #define SinglePositioningSubtable U_ICU_ENTRY_POINT_RENAME(SinglePositionin
gSubtable) | |
| #define SingleSubstitutionFormat1Subtable U_ICU_ENTRY_POINT_RENAME(SingleSu
bstitutionFormat1Subtable) | | #define SingleSubstitutionFormat1Subtable U_ICU_ENTRY_POINT_RENAME(SingleSu
bstitutionFormat1Subtable) | |
| #define SingleSubstitutionFormat2Subtable U_ICU_ENTRY_POINT_RENAME(SingleSu
bstitutionFormat2Subtable) | | #define SingleSubstitutionFormat2Subtable U_ICU_ENTRY_POINT_RENAME(SingleSu
bstitutionFormat2Subtable) | |
| #define SingleSubstitutionSubtable U_ICU_ENTRY_POINT_RENAME(SingleSubstitut
ionSubtable) | | #define SingleSubstitutionSubtable U_ICU_ENTRY_POINT_RENAME(SingleSubstitut
ionSubtable) | |
| #define SingleTableProcessor U_ICU_ENTRY_POINT_RENAME(SingleTableProcessor) | | #define SingleTableProcessor U_ICU_ENTRY_POINT_RENAME(SingleTableProcessor) | |
| #define SpoofData U_ICU_ENTRY_POINT_RENAME(SpoofData) | | #define SpoofData U_ICU_ENTRY_POINT_RENAME(SpoofData) | |
| #define SpoofImpl U_ICU_ENTRY_POINT_RENAME(SpoofImpl) | | #define SpoofImpl U_ICU_ENTRY_POINT_RENAME(SpoofImpl) | |
| | | | |
| skipping to change at line 1912 | | skipping to change at line 2142 | |
| #define TransliterationRule U_ICU_ENTRY_POINT_RENAME(TransliterationRule) | | #define TransliterationRule U_ICU_ENTRY_POINT_RENAME(TransliterationRule) | |
| #define TransliterationRuleData U_ICU_ENTRY_POINT_RENAME(TransliterationRul
eData) | | #define TransliterationRuleData U_ICU_ENTRY_POINT_RENAME(TransliterationRul
eData) | |
| #define TransliterationRuleSet U_ICU_ENTRY_POINT_RENAME(TransliterationRule
Set) | | #define TransliterationRuleSet U_ICU_ENTRY_POINT_RENAME(TransliterationRule
Set) | |
| #define Transliterator U_ICU_ENTRY_POINT_RENAME(Transliterator) | | #define Transliterator U_ICU_ENTRY_POINT_RENAME(Transliterator) | |
| #define TransliteratorAlias U_ICU_ENTRY_POINT_RENAME(TransliteratorAlias) | | #define TransliteratorAlias U_ICU_ENTRY_POINT_RENAME(TransliteratorAlias) | |
| #define TransliteratorEntry U_ICU_ENTRY_POINT_RENAME(TransliteratorEntry) | | #define TransliteratorEntry U_ICU_ENTRY_POINT_RENAME(TransliteratorEntry) | |
| #define TransliteratorIDParser U_ICU_ENTRY_POINT_RENAME(TransliteratorIDPar
ser) | | #define TransliteratorIDParser U_ICU_ENTRY_POINT_RENAME(TransliteratorIDPar
ser) | |
| #define TransliteratorParser U_ICU_ENTRY_POINT_RENAME(TransliteratorParser) | | #define TransliteratorParser U_ICU_ENTRY_POINT_RENAME(TransliteratorParser) | |
| #define TransliteratorRegistry U_ICU_ENTRY_POINT_RENAME(TransliteratorRegis
try) | | #define TransliteratorRegistry U_ICU_ENTRY_POINT_RENAME(TransliteratorRegis
try) | |
| #define TransliteratorSpec U_ICU_ENTRY_POINT_RENAME(TransliteratorSpec) | | #define TransliteratorSpec U_ICU_ENTRY_POINT_RENAME(TransliteratorSpec) | |
|
| | | #define TriStateSingleton U_ICU_ENTRY_POINT_RENAME(TriStateSingleton) | |
| #define TrieWordDictionary U_ICU_ENTRY_POINT_RENAME(TrieWordDictionary) | | #define TrieWordDictionary U_ICU_ENTRY_POINT_RENAME(TrieWordDictionary) | |
| #define TrimmedArrayProcessor U_ICU_ENTRY_POINT_RENAME(TrimmedArrayProcesso
r) | | #define TrimmedArrayProcessor U_ICU_ENTRY_POINT_RENAME(TrimmedArrayProcesso
r) | |
| #define UCharCharacterIterator U_ICU_ENTRY_POINT_RENAME(UCharCharacterItera
tor) | | #define UCharCharacterIterator U_ICU_ENTRY_POINT_RENAME(UCharCharacterItera
tor) | |
| #define UCollationPCE U_ICU_ENTRY_POINT_RENAME(UCollationPCE) | | #define UCollationPCE U_ICU_ENTRY_POINT_RENAME(UCollationPCE) | |
| #define ULocRuns U_ICU_ENTRY_POINT_RENAME(ULocRuns) | | #define ULocRuns U_ICU_ENTRY_POINT_RENAME(ULocRuns) | |
| #define UMemory U_ICU_ENTRY_POINT_RENAME(UMemory) | | #define UMemory U_ICU_ENTRY_POINT_RENAME(UMemory) | |
| #define UObject U_ICU_ENTRY_POINT_RENAME(UObject) | | #define UObject U_ICU_ENTRY_POINT_RENAME(UObject) | |
| #define UStack U_ICU_ENTRY_POINT_RENAME(UStack) | | #define UStack U_ICU_ENTRY_POINT_RENAME(UStack) | |
| #define UStringEnumeration U_ICU_ENTRY_POINT_RENAME(UStringEnumeration) | | #define UStringEnumeration U_ICU_ENTRY_POINT_RENAME(UStringEnumeration) | |
|
| | | #define UTrie2Singleton U_ICU_ENTRY_POINT_RENAME(UTrie2Singleton) | |
| #define UVector U_ICU_ENTRY_POINT_RENAME(UVector) | | #define UVector U_ICU_ENTRY_POINT_RENAME(UVector) | |
| #define UVector32 U_ICU_ENTRY_POINT_RENAME(UVector32) | | #define UVector32 U_ICU_ENTRY_POINT_RENAME(UVector32) | |
|
| | | #define UVector64 U_ICU_ENTRY_POINT_RENAME(UVector64) | |
| #define UnescapeTransliterator U_ICU_ENTRY_POINT_RENAME(UnescapeTranslitera
tor) | | #define UnescapeTransliterator U_ICU_ENTRY_POINT_RENAME(UnescapeTranslitera
tor) | |
| #define UnhandledEngine U_ICU_ENTRY_POINT_RENAME(UnhandledEngine) | | #define UnhandledEngine U_ICU_ENTRY_POINT_RENAME(UnhandledEngine) | |
| #define UnicodeArabicOpenTypeLayoutEngine U_ICU_ENTRY_POINT_RENAME(UnicodeA
rabicOpenTypeLayoutEngine) | | #define UnicodeArabicOpenTypeLayoutEngine U_ICU_ENTRY_POINT_RENAME(UnicodeA
rabicOpenTypeLayoutEngine) | |
| #define UnicodeFilter U_ICU_ENTRY_POINT_RENAME(UnicodeFilter) | | #define UnicodeFilter U_ICU_ENTRY_POINT_RENAME(UnicodeFilter) | |
| #define UnicodeFunctor U_ICU_ENTRY_POINT_RENAME(UnicodeFunctor) | | #define UnicodeFunctor U_ICU_ENTRY_POINT_RENAME(UnicodeFunctor) | |
| #define UnicodeMatcher U_ICU_ENTRY_POINT_RENAME(UnicodeMatcher) | | #define UnicodeMatcher U_ICU_ENTRY_POINT_RENAME(UnicodeMatcher) | |
| #define UnicodeNameTransliterator U_ICU_ENTRY_POINT_RENAME(UnicodeNameTrans
literator) | | #define UnicodeNameTransliterator U_ICU_ENTRY_POINT_RENAME(UnicodeNameTrans
literator) | |
| #define UnicodeReplacer U_ICU_ENTRY_POINT_RENAME(UnicodeReplacer) | | #define UnicodeReplacer U_ICU_ENTRY_POINT_RENAME(UnicodeReplacer) | |
| #define UnicodeSet U_ICU_ENTRY_POINT_RENAME(UnicodeSet) | | #define UnicodeSet U_ICU_ENTRY_POINT_RENAME(UnicodeSet) | |
| #define UnicodeSetIterator U_ICU_ENTRY_POINT_RENAME(UnicodeSetIterator) | | #define UnicodeSetIterator U_ICU_ENTRY_POINT_RENAME(UnicodeSetIterator) | |
| | | | |
End of changes. 64 change blocks. |
| 36 lines changed or deleted | | 349 lines changed or added | |
|
| uspoof.h | | uspoof.h | |
| | | | |
| skipping to change at line 57 | | skipping to change at line 57 | |
| * not be what it appears to be. | | * not be what it appears to be. | |
| * | | * | |
| * Unicode Technical Report #36, http://unicode.org/reports/tr36, and | | * Unicode Technical Report #36, http://unicode.org/reports/tr36, and | |
| * Unicode Technical Standard #39, http://unicode.org/reports/tr39 | | * Unicode Technical Standard #39, http://unicode.org/reports/tr39 | |
| * "Unicode security considerations", give more background on | | * "Unicode security considerations", give more background on | |
| * security an spoofing issues with Unicode identifiers. | | * security an spoofing issues with Unicode identifiers. | |
| * The tests and checks provided by this module implement the recommendatio
ns | | * The tests and checks provided by this module implement the recommendatio
ns | |
| * from these Unicode documents. | | * from these Unicode documents. | |
| * | | * | |
| * The tests available on identifiers fall into two general categories: | | * The tests available on identifiers fall into two general categories: | |
|
| * -# Single identier tests. Check whether an identifier is | | * -# Single identifier tests. Check whether an identifier is | |
| * potentially confusable with any other string, or is suspicious | | * potentially confusable with any other string, or is suspicious | |
| * for other reasons. | | * for other reasons. | |
| * -# Two identifier tests. Check whether two specific identifiers are
confusable. | | * -# Two identifier tests. Check whether two specific identifiers are
confusable. | |
| * This does not consider whether either of strings is potentially | | * This does not consider whether either of strings is potentially | |
| * confusable with any string other than the exact one specified. | | * confusable with any string other than the exact one specified. | |
| * | | * | |
| * The steps to perform confusability testing are | | * The steps to perform confusability testing are | |
| * -# Open a USpoofChecker. | | * -# Open a USpoofChecker. | |
| * -# Configure the USPoofChecker for the desired set of tests. The tes
ts that will | | * -# Configure the USPoofChecker for the desired set of tests. The tes
ts that will | |
| * be performed are specified by a set of USpoofChecks flags. | | * be performed are specified by a set of USpoofChecks flags. | |
| * -# Perform the checks using the pre-configured USpoofChecker. The re
sults indicate | | * -# Perform the checks using the pre-configured USpoofChecker. The re
sults indicate | |
| * which (if any) of the selected tests have identified possible prob
lems with the identifier. | | * which (if any) of the selected tests have identified possible prob
lems with the identifier. | |
| * Results are reported as a set of USpoofChecks flags; this mirrors
the form in which | | * Results are reported as a set of USpoofChecks flags; this mirrors
the form in which | |
|
| * the set of tests to perform was originally specified tothe USpoofC
hecker. | | * the set of tests to perform was originally specified to the USpoof
Checker. | |
| * | | * | |
| * A USpoofChecker may be used repeatedly to perform checks on any number o
f identifiers. | | * A USpoofChecker may be used repeatedly to perform checks on any number o
f identifiers. | |
| * | | * | |
| * Thread Safety: The test functions for checking a single identifier, or f
or testing | | * Thread Safety: The test functions for checking a single identifier, or f
or testing | |
| * whether two identifiers are possible confusable, are thread safe. | | * whether two identifiers are possible confusable, are thread safe. | |
| * They may called concurrently, from multiple threads, using the same USpo
ofChecker instance. | | * They may called concurrently, from multiple threads, using the same USpo
ofChecker instance. | |
| * | | * | |
| * More generally, the standard ICU thread safety rules apply: functions t
hat take a | | * More generally, the standard ICU thread safety rules apply: functions t
hat take a | |
| * const USpoofChecker parameter are thread safe. Those that take a non-co
nst | | * const USpoofChecker parameter are thread safe. Those that take a non-co
nst | |
| * USpoofChecier are not thread safe. | | * USpoofChecier are not thread safe. | |
| * | | * | |
| * | | * | |
| * Descriptions of the available checks. | | * Descriptions of the available checks. | |
| * | | * | |
| * When testing whether pairs of identifiers are confusable, with the uspoo
f_areConfusable() | | * When testing whether pairs of identifiers are confusable, with the uspoo
f_areConfusable() | |
| * family of functions, the relevant tests are | | * family of functions, the relevant tests are | |
| * | | * | |
|
| * -# USPOOF_SINGLE_SCRIPT_CONFUSABLE: All of the characters from the tw
o idenifiers are | | * -# USPOOF_SINGLE_SCRIPT_CONFUSABLE: All of the characters from the tw
o identifiers are | |
| * from a single script, and the two identifiers are visually confusab
le. | | * from a single script, and the two identifiers are visually confusab
le. | |
| * -# USPOOF_MIXED_SCRIPT_CONFUSABLE: At least one of the identifiers co
ntains characters | | * -# USPOOF_MIXED_SCRIPT_CONFUSABLE: At least one of the identifiers co
ntains characters | |
| * from more than one script, and the two identifiers are visually con
fusable. | | * from more than one script, and the two identifiers are visually con
fusable. | |
|
| * -# USPOOF_WHOLE_SCRIPT_CONFUSABLE: Each of the two idenifiers is of a | | * -# USPOOF_WHOLE_SCRIPT_CONFUSABLE: Each of the two identifiers is of a | |
| single script, but | | single script, but | |
| * the the two identifiers are from different scripts, and they are vi | | * the two identifiers are from different scripts, and they are visual | |
| sually confusable. | | ly confusable. | |
| * | | * | |
| * The safest approach is to enable all three of these checks as a group. | | * The safest approach is to enable all three of these checks as a group. | |
| * | | * | |
| * USPOOF_ANY_CASE is a modifier for the above tests. If the identifiers b
eing checked can | | * USPOOF_ANY_CASE is a modifier for the above tests. If the identifiers b
eing checked can | |
| * be of mixed case and are used in a case-sensitive manner, this option sh
ould be specified. | | * be of mixed case and are used in a case-sensitive manner, this option sh
ould be specified. | |
| * | | * | |
|
| * If the identiers being checked are used in a case-insensitive manner, an
d if they are | | * If the identifiers being checked are used in a case-insensitive manner,
and if they are | |
| * displayed to users in lower-case form only, the USPOOF_ANY_CASE option s
hould not be | | * displayed to users in lower-case form only, the USPOOF_ANY_CASE option s
hould not be | |
| * specified. Confusabality issues involving upper case letters will not b
e reported. | | * specified. Confusabality issues involving upper case letters will not b
e reported. | |
| * | | * | |
| * When performing tests on a single identifier, with the uspoof_check() fa
mily of functions, | | * When performing tests on a single identifier, with the uspoof_check() fa
mily of functions, | |
| * the relevant tests are: | | * the relevant tests are: | |
| * | | * | |
| * -# USPOOF_MIXED_SCRIPT_CONFUSABLE: the identifier contains characters
from multiple | | * -# USPOOF_MIXED_SCRIPT_CONFUSABLE: the identifier contains characters
from multiple | |
|
| * scripts, and there exists an identier of a single script that is v
isually confusable. | | * scripts, and there exists an identifier of a single script that is
visually confusable. | |
| * -# USPOOF_WHOLE_SCRIPT_CONFUSABLE: the identifier consists of charact
ers from a single | | * -# USPOOF_WHOLE_SCRIPT_CONFUSABLE: the identifier consists of charact
ers from a single | |
| * script, and there exists a visually confusable identifier. | | * script, and there exists a visually confusable identifier. | |
|
| * The visally confusable identifier also consists of characters from
a single script. | | * The visually confusable identifier also consists of characters fro
m a single script. | |
| * but not the same script as the identifier being checked. | | * but not the same script as the identifier being checked. | |
| * -# USPOOF_ANY_CASE: modifies the mixed script and whole script confus
ables tests. If | | * -# USPOOF_ANY_CASE: modifies the mixed script and whole script confus
ables tests. If | |
| * specified, the checks will confusable characters of any case. If
this flag is not | | * specified, the checks will confusable characters of any case. If
this flag is not | |
| * set, the test is performed assuming case folded identifiers. | | * set, the test is performed assuming case folded identifiers. | |
| * -# USPOOF_SINGLE_SCRIPT: check that the identifier contains only char
acters from a | | * -# USPOOF_SINGLE_SCRIPT: check that the identifier contains only char
acters from a | |
| * single script. (Characters from the 'common' and 'inherited' scri
pts are ignored.) | | * single script. (Characters from the 'common' and 'inherited' scri
pts are ignored.) | |
| * This is not a test for confusable identifiers | | * This is not a test for confusable identifiers | |
| * -# USPOOF_INVISIBLE: check an identifier for the presence of invisibl
e characters, | | * -# USPOOF_INVISIBLE: check an identifier for the presence of invisibl
e characters, | |
| * such as zero-width spaces, or character sequences that are | | * such as zero-width spaces, or character sequences that are | |
|
| * likely not to display, such as multiple occurences of the same | | * likely not to display, such as multiple occurrences of the same | |
| * non-spacing mark. This check does not test the input string as a
whole | | * non-spacing mark. This check does not test the input string as a
whole | |
| * for conformance to any particular syntax for identifiers. | | * for conformance to any particular syntax for identifiers. | |
| * -# USPOOF_CHAR_LIMIT: check that an identifier contains only characte
rs from a specified set | | * -# USPOOF_CHAR_LIMIT: check that an identifier contains only characte
rs from a specified set | |
| * of acceptable characters. See uspoof_setAllowedChars() and | | * of acceptable characters. See uspoof_setAllowedChars() and | |
| * uspoof_setAllowedLocales(). | | * uspoof_setAllowedLocales(). | |
| * | | * | |
| * Note on Scripts: | | * Note on Scripts: | |
|
| * Characters from the Unicode Scripts "Common" and "Inherited" are ign
ored when consdering | | * Characters from the Unicode Scripts "Common" and "Inherited" are ign
ored when considering | |
| * the script of an identifier. Common characters include digits and sy
mbols that | | * the script of an identifier. Common characters include digits and sy
mbols that | |
| * are normally used with text from more than one script. | | * are normally used with text from more than one script. | |
| * | | * | |
|
| | | * Identifier Skeletons: A skeleton is a transformation of an identifier, | |
| | | such that | |
| | | * all identifiers that are confusable with each other have the same skele | |
| | | ton. | |
| | | * Using skeletons, it is possible to build a dictionary data structure fo | |
| | | r | |
| | | * a set of identifiers, and then quickly test whether a new identifier is | |
| | | * confusable with an identifier already in the set. The uspoof_getSkelet | |
| | | on() | |
| | | * family of functions will produce the skeleton from an identifier. | |
| | | * | |
| | | * Note that skeletons are not guaranteed to be stable between versions | |
| | | * of Unicode or ICU, so an applications should not rely on creating a per | |
| | | manent, | |
| | | * or difficult to update, database of skeletons. Instabilities result fr | |
| | | om | |
| | | * identifying new pairs or sequences of characters that are visually | |
| | | * confusable, and thus must be mapped to the same skeleton character(s). | |
| | | * | |
| */ | | */ | |
| | | | |
| struct USpoofChecker; | | struct USpoofChecker; | |
| typedef struct USpoofChecker USpoofChecker; /**< typedef for C of USpoofChe
cker */ | | typedef struct USpoofChecker USpoofChecker; /**< typedef for C of USpoofChe
cker */ | |
| | | | |
| /** | | /** | |
| * Enum for the kinds of checks that USpoofChecker can perform. | | * Enum for the kinds of checks that USpoofChecker can perform. | |
| * These enum values are used both to select the set of checks that | | * These enum values are used both to select the set of checks that | |
| * will be performed, and to report results from the check function. | | * will be performed, and to report results from the check function. | |
| * | | * | |
|
| * @stable ICU 4.4 | | * @stable ICU 4.2 | |
| */ | | */ | |
| typedef enum USpoofChecks { | | typedef enum USpoofChecks { | |
| /** Single script confusable test. | | /** Single script confusable test. | |
| * When testing whether two identifiers are confusable, report that
they are if | | * When testing whether two identifiers are confusable, report that
they are if | |
| * both are from the same script and they are visually confusable. | | * both are from the same script and they are visually confusable. | |
| * Note: this test is not applicable to a check of a single identifi
er. | | * Note: this test is not applicable to a check of a single identifi
er. | |
| */ | | */ | |
| USPOOF_SINGLE_SCRIPT_CONFUSABLE = 1, | | USPOOF_SINGLE_SCRIPT_CONFUSABLE = 1, | |
| | | | |
| /** Mixed script confusable test. | | /** Mixed script confusable test. | |
| * When checking a single identifier, report a problem if | | * When checking a single identifier, report a problem if | |
| * the identifier contains multiple scripts, and | | * the identifier contains multiple scripts, and | |
|
| * is confusable with some other identifer in a single script | | * is confusable with some other identifier in a single script | |
| * When testing whether two identifiers are confusable, report that th
ey are if | | * When testing whether two identifiers are confusable, report that th
ey are if | |
|
| * the two IDs are visually confusable, and | | * the two IDs are visually confusable, | |
| * and at least one contains characters from more than one script. | | * and at least one contains characters from more than one script. | |
| */ | | */ | |
| USPOOF_MIXED_SCRIPT_CONFUSABLE = 2, | | USPOOF_MIXED_SCRIPT_CONFUSABLE = 2, | |
| | | | |
| /** Whole script confusable test. | | /** Whole script confusable test. | |
| * When checking a single identifier, report a problem if | | * When checking a single identifier, report a problem if | |
| * The identifier is of a single script, and | | * The identifier is of a single script, and | |
| * there exists a confusable identifier in another script. | | * there exists a confusable identifier in another script. | |
|
| * When testing whether two identfiers are confusable, report that the
y are if | | * When testing whether two identifiers are confusable, report that th
ey are if | |
| * each is of a single script, | | * each is of a single script, | |
| * the scripts of the two identifiers are different, and | | * the scripts of the two identifiers are different, and | |
| * the identifiers are visually confusable. | | * the identifiers are visually confusable. | |
| */ | | */ | |
| USPOOF_WHOLE_SCRIPT_CONFUSABLE = 4, | | USPOOF_WHOLE_SCRIPT_CONFUSABLE = 4, | |
| | | | |
| /** Any Case Modifier for confusable identifier tests. | | /** Any Case Modifier for confusable identifier tests. | |
| If specified, consider all characters, of any case, when looking fo
r confusables. | | If specified, consider all characters, of any case, when looking fo
r confusables. | |
| If USPOOF_ANY_CASE is not specified, identifiers being checked are
assumed to have been | | If USPOOF_ANY_CASE is not specified, identifiers being checked are
assumed to have been | |
|
| case folded. Upper case conusable characters will not be checked. | | case folded. Upper case confusable characters will not be checked. | |
| Selects between Lower Case Confusable and | | Selects between Lower Case Confusable and | |
| Any Case Confusable. */ | | Any Case Confusable. */ | |
| USPOOF_ANY_CASE = 8, | | USPOOF_ANY_CASE = 8, | |
| | | | |
|
| /** Check that an identifer contains only characters from a | | /** Check that an identifier contains only characters from a | |
| * single script (plus chars from the common and inherited scripts.) | | * single script (plus chars from the common and inherited scripts.) | |
| * Applies to checks of a single identifier check only. | | * Applies to checks of a single identifier check only. | |
| */ | | */ | |
| USPOOF_SINGLE_SCRIPT = 16, | | USPOOF_SINGLE_SCRIPT = 16, | |
| | | | |
|
| /** Check an identifier for the presence of invisble characters, | | /** Check an identifier for the presence of invisible characters, | |
| * such as zero-width spaces, or character sequences that are | | * such as zero-width spaces, or character sequences that are | |
|
| * likely not to display, such as multiple occurences of the same | | * likely not to display, such as multiple occurrences of the same | |
| * non-spacing mark. This check does not test the input string as a w
hole | | * non-spacing mark. This check does not test the input string as a w
hole | |
| * for conformance to any particular syntax for identifiers. | | * for conformance to any particular syntax for identifiers. | |
| */ | | */ | |
| USPOOF_INVISIBLE = 32, | | USPOOF_INVISIBLE = 32, | |
| | | | |
| /** Check that an identifier contains only characters from a specified
set | | /** Check that an identifier contains only characters from a specified
set | |
| * of acceptable characters. See uspoof_setAllowedChars() and | | * of acceptable characters. See uspoof_setAllowedChars() and | |
| * uspoof_setAllowedLocales(). | | * uspoof_setAllowedLocales(). | |
| */ | | */ | |
| USPOOF_CHAR_LIMIT = 64, | | USPOOF_CHAR_LIMIT = 64, | |
| | | | |
| skipping to change at line 214 | | skipping to change at line 227 | |
| } USpoofChecks; | | } USpoofChecks; | |
| | | | |
| /** | | /** | |
| * Create a Unicode Spoof Checker, configured to perform all | | * Create a Unicode Spoof Checker, configured to perform all | |
| * checks except for USPOOF_LOCALE_LIMIT and USPOOF_CHAR_LIMIT. | | * checks except for USPOOF_LOCALE_LIMIT and USPOOF_CHAR_LIMIT. | |
| * Note that additional checks may be added in the future, | | * Note that additional checks may be added in the future, | |
| * resulting in the changes to the default checking behavior. | | * resulting in the changes to the default checking behavior. | |
| * | | * | |
| * @param status The error code, set if this function encounters a proble
m. | | * @param status The error code, set if this function encounters a proble
m. | |
| * @return the newly created Spoof Checker | | * @return the newly created Spoof Checker | |
|
| * @stable ICU 4.4 | | * @stable ICU 4.2 | |
| */ | | */ | |
| U_STABLE USpoofChecker * U_EXPORT2 | | U_STABLE USpoofChecker * U_EXPORT2 | |
| uspoof_open(UErrorCode *status); | | uspoof_open(UErrorCode *status); | |
| | | | |
| /** | | /** | |
| * Open a Spoof checker from its serialized from, stored in 32-bit-aligned
memory. | | * Open a Spoof checker from its serialized from, stored in 32-bit-aligned
memory. | |
| * Inverse of uspoof_serialize(). | | * Inverse of uspoof_serialize(). | |
|
| * The memory containing the serailized data must remain valid and unchange
d | | * The memory containing the serialized data must remain valid and unchange
d | |
| * as long as the spoof checker, or any cloned copies of the spoof checker, | | * as long as the spoof checker, or any cloned copies of the spoof checker, | |
| * are in use. Ownership of the memory remains with the caller. | | * are in use. Ownership of the memory remains with the caller. | |
| * The spoof checker (and any clones) must be closed prior to deleting the | | * The spoof checker (and any clones) must be closed prior to deleting the | |
| * serialized data. | | * serialized data. | |
| * | | * | |
| * @param data a pointer to 32-bit-aligned memory containing the serialized
form of spoof data | | * @param data a pointer to 32-bit-aligned memory containing the serialized
form of spoof data | |
| * @param length the number of bytes available at data; | | * @param length the number of bytes available at data; | |
| * can be more than necessary | | * can be more than necessary | |
| * @param pActualLength receives the actual number of bytes at data taken u
p by the data; | | * @param pActualLength receives the actual number of bytes at data taken u
p by the data; | |
| * can be NULL | | * can be NULL | |
| * @param pErrorCode ICU error code | | * @param pErrorCode ICU error code | |
| * @return the spoof checker. | | * @return the spoof checker. | |
| * | | * | |
| * @see uspoof_open | | * @see uspoof_open | |
| * @see uspoof_serialize | | * @see uspoof_serialize | |
|
| * @stable ICU 4.4 | | * @stable ICU 4.2 | |
| */ | | */ | |
| U_CAPI USpoofChecker * U_EXPORT2 | | U_CAPI USpoofChecker * U_EXPORT2 | |
| uspoof_openFromSerialized(const void *data, int32_t length, int32_t *pActua
lLength, | | uspoof_openFromSerialized(const void *data, int32_t length, int32_t *pActua
lLength, | |
| UErrorCode *pErrorCode); | | UErrorCode *pErrorCode); | |
| | | | |
| /** | | /** | |
| * Open a Spoof Checker from the source form of the spoof data. | | * Open a Spoof Checker from the source form of the spoof data. | |
| * The Three inputs correspond to the Unicode data files confusables.txt | | * The Three inputs correspond to the Unicode data files confusables.txt | |
| * confusablesWholeScript.txt and xidmdifications.txt as described in | | * confusablesWholeScript.txt and xidmdifications.txt as described in | |
| * Unicode UAX 39. The syntax of the source data is as described in UAX 3
9 for | | * Unicode UAX 39. The syntax of the source data is as described in UAX 3
9 for | |
| * these files, and the content of these files is acceptable input. | | * these files, and the content of these files is acceptable input. | |
| * | | * | |
| * The character encoding of the (char *) input text is UTF-8. | | * The character encoding of the (char *) input text is UTF-8. | |
| * | | * | |
| * @param confusables a pointer to the confusable characters definitions, | | * @param confusables a pointer to the confusable characters definitions, | |
| * as found in file confusables.txt from unicode.org. | | * as found in file confusables.txt from unicode.org. | |
| * @param confusablesLen The length of the confusables text, or -1 if the | | * @param confusablesLen The length of the confusables text, or -1 if the | |
| * input string is zero terminated. | | * input string is zero terminated. | |
| * @param confusablesWholeScript | | * @param confusablesWholeScript | |
| * a pointer to the whole script confusables definition
s, | | * a pointer to the whole script confusables definition
s, | |
|
| * as found in the file xonfusablesWholeScript.txt from
unicode.org. | | * as found in the file confusablesWholeScript.txt from
unicode.org. | |
| * @param confusablesWholeScriptLen The length of the whole script confusa
bles text, or | | * @param confusablesWholeScriptLen The length of the whole script confusa
bles text, or | |
| * -1 if the input string is zero terminated. | | * -1 if the input string is zero terminated. | |
| * @param errType In the event of an error in the input, indicates | | * @param errType In the event of an error in the input, indicates | |
| * which of the input files contains the error. | | * which of the input files contains the error. | |
| * The value is one of USPOOF_SINGLE_SCRIPT_CONFUSABLE
or | | * The value is one of USPOOF_SINGLE_SCRIPT_CONFUSABLE
or | |
| * USPOOF_WHOLE_SCRIPT_CONFUSABLE, or | | * USPOOF_WHOLE_SCRIPT_CONFUSABLE, or | |
| * zero if no errors are found. | | * zero if no errors are found. | |
| * @param pe In the event of an error in the input, receives the
position | | * @param pe In the event of an error in the input, receives the
position | |
| * in the input text (line, offset) of the error. | | * in the input text (line, offset) of the error. | |
| * @param status an in/out ICU UErrorCode. Among the possible errors
is | | * @param status an in/out ICU UErrorCode. Among the possible errors
is | |
| * U_PARSE_ERROR, which is used to report syntax errors | | * U_PARSE_ERROR, which is used to report syntax errors | |
| * in the input. | | * in the input. | |
| * @return A spoof checker that uses the rules from the input f
iles. | | * @return A spoof checker that uses the rules from the input f
iles. | |
|
| * @stable ICU 4.4 | | * @stable ICU 4.2 | |
| */ | | */ | |
| U_CAPI USpoofChecker * U_EXPORT2 | | U_CAPI USpoofChecker * U_EXPORT2 | |
| uspoof_openFromSource(const char *confusables, int32_t confusablesLen, | | uspoof_openFromSource(const char *confusables, int32_t confusablesLen, | |
| const char *confusablesWholeScript, int32_t confusabl
esWholeScriptLen, | | const char *confusablesWholeScript, int32_t confusabl
esWholeScriptLen, | |
| int32_t *errType, UParseError *pe, UErrorCode *status
); | | int32_t *errType, UParseError *pe, UErrorCode *status
); | |
| | | | |
| /** | | /** | |
| * Close a Spoof Checker, freeing any memory that was being held by | | * Close a Spoof Checker, freeing any memory that was being held by | |
| * its implementation. | | * its implementation. | |
|
| * @stable ICU 4.4 | | * @stable ICU 4.2 | |
| */ | | */ | |
| U_STABLE void U_EXPORT2 | | U_STABLE void U_EXPORT2 | |
| uspoof_close(USpoofChecker *sc); | | uspoof_close(USpoofChecker *sc); | |
| | | | |
| #if U_SHOW_CPLUSPLUS_API | | #if U_SHOW_CPLUSPLUS_API | |
| | | | |
| U_NAMESPACE_BEGIN | | U_NAMESPACE_BEGIN | |
| | | | |
| /** | | /** | |
| * \class LocalUSpoofCheckerPointer | | * \class LocalUSpoofCheckerPointer | |
| | | | |
| skipping to change at line 314 | | skipping to change at line 327 | |
| | | | |
| #endif | | #endif | |
| | | | |
| /** | | /** | |
| * Clone a Spoof Checker. The clone will be set to perform the same checks | | * Clone a Spoof Checker. The clone will be set to perform the same checks | |
| * as the original source. | | * as the original source. | |
| * | | * | |
| * @param sc The source USpoofChecker | | * @param sc The source USpoofChecker | |
| * @param status The error code, set if this function encounters a proble
m. | | * @param status The error code, set if this function encounters a proble
m. | |
| * @return | | * @return | |
|
| * @stable ICU 4.4 | | * @stable ICU 4.2 | |
| */ | | */ | |
| U_STABLE USpoofChecker * U_EXPORT2 | | U_STABLE USpoofChecker * U_EXPORT2 | |
| uspoof_clone(const USpoofChecker *sc, UErrorCode *status); | | uspoof_clone(const USpoofChecker *sc, UErrorCode *status); | |
| | | | |
| /** | | /** | |
| * Specify the set of checks that will be performed by the check | | * Specify the set of checks that will be performed by the check | |
| * functions of this Spoof Checker. | | * functions of this Spoof Checker. | |
| * | | * | |
| * @param sc The USpoofChecker | | * @param sc The USpoofChecker | |
| * @param checks The set of checks that this spoof checker will per
form. | | * @param checks The set of checks that this spoof checker will per
form. | |
| * The value is a bit set, obtained by OR-ing together | | * The value is a bit set, obtained by OR-ing together | |
| * values from enum USpoofChecks. | | * values from enum USpoofChecks. | |
| * @param status The error code, set if this function encounters a proble
m. | | * @param status The error code, set if this function encounters a proble
m. | |
|
| * @stable ICU 4.4 | | * @stable ICU 4.2 | |
| * | | * | |
| */ | | */ | |
| U_STABLE void U_EXPORT2 | | U_STABLE void U_EXPORT2 | |
| uspoof_setChecks(USpoofChecker *sc, int32_t checks, UErrorCode *status); | | uspoof_setChecks(USpoofChecker *sc, int32_t checks, UErrorCode *status); | |
| | | | |
| /** | | /** | |
| * Get the set of checks that this Spoof Checker has been configured to per
form. | | * Get the set of checks that this Spoof Checker has been configured to per
form. | |
| * | | * | |
| * @param sc The USpoofChecker | | * @param sc The USpoofChecker | |
| * @param status The error code, set if this function encounters a proble
m. | | * @param status The error code, set if this function encounters a proble
m. | |
| * @return The set of checks that this spoof checker will perform. | | * @return The set of checks that this spoof checker will perform. | |
| * The value is a bit set, obtained by OR-ing together | | * The value is a bit set, obtained by OR-ing together | |
| * values from enum USpoofChecks. | | * values from enum USpoofChecks. | |
|
| * @stable ICU 4.4 | | * @stable ICU 4.2 | |
| * | | * | |
| */ | | */ | |
| U_STABLE int32_t U_EXPORT2 | | U_STABLE int32_t U_EXPORT2 | |
| uspoof_getChecks(const USpoofChecker *sc, UErrorCode *status); | | uspoof_getChecks(const USpoofChecker *sc, UErrorCode *status); | |
| | | | |
| /** | | /** | |
| * Limit characters that are acceptable in identifiers being checked to tho
se | | * Limit characters that are acceptable in identifiers being checked to tho
se | |
| * normally used with the languages associated with the specified locales. | | * normally used with the languages associated with the specified locales. | |
| * Any previously specified list of locales is replaced by the new settings
. | | * Any previously specified list of locales is replaced by the new settings
. | |
| * | | * | |
| | | | |
| skipping to change at line 388 | | skipping to change at line 401 | |
| * and associated script are extracted. The locales | | * and associated script are extracted. The locales | |
| * are comma-separated if there is more than one. | | * are comma-separated if there is more than one. | |
| * White space may not appear within an individual loca
le, | | * White space may not appear within an individual loca
le, | |
| * but is ignored otherwise. | | * but is ignored otherwise. | |
| * The locales are syntactically like those from the | | * The locales are syntactically like those from the | |
| * HTTP Accept-Language header. | | * HTTP Accept-Language header. | |
| * If the localesList is empty, no restrictions will be
placed on | | * If the localesList is empty, no restrictions will be
placed on | |
| * the allowed characters. | | * the allowed characters. | |
| * | | * | |
| * @param status The error code, set if this function encounters a pr
oblem. | | * @param status The error code, set if this function encounters a pr
oblem. | |
|
| * @stable ICU 4.4 | | * @stable ICU 4.2 | |
| */ | | */ | |
| U_STABLE void U_EXPORT2 | | U_STABLE void U_EXPORT2 | |
| uspoof_setAllowedLocales(USpoofChecker *sc, const char *localesList, UError
Code *status); | | uspoof_setAllowedLocales(USpoofChecker *sc, const char *localesList, UError
Code *status); | |
| | | | |
| /** | | /** | |
| * Get a list of locales for the scripts that are acceptable in strings | | * Get a list of locales for the scripts that are acceptable in strings | |
| * to be checked. If no limitations on scripts have been specified, | | * to be checked. If no limitations on scripts have been specified, | |
| * an empty string will be returned. | | * an empty string will be returned. | |
| * | | * | |
| * uspoof_setAllowedChars() will reset the list of allowed to be empty. | | * uspoof_setAllowedChars() will reset the list of allowed to be empty. | |
| | | | |
| skipping to change at line 412 | | skipping to change at line 425 | |
| * to the originally specified string; the string may be reformatted, | | * to the originally specified string; the string may be reformatted, | |
| * and information other than languages from | | * and information other than languages from | |
| * the originally specified locales may be omitted. | | * the originally specified locales may be omitted. | |
| * | | * | |
| * @param sc The USpoofChecker | | * @param sc The USpoofChecker | |
| * @param status The error code, set if this function encounters a pr
oblem. | | * @param status The error code, set if this function encounters a pr
oblem. | |
| * @return A string containing a list of locales corresponding | | * @return A string containing a list of locales corresponding | |
| * to the acceptable scripts, formatted like an | | * to the acceptable scripts, formatted like an | |
| * HTTP Accept Language value. | | * HTTP Accept Language value. | |
| * | | * | |
|
| * @stable ICU 4.4 | | * @stable ICU 4.2 | |
| */ | | */ | |
| U_STABLE const char * U_EXPORT2 | | U_STABLE const char * U_EXPORT2 | |
| uspoof_getAllowedLocales(USpoofChecker *sc, UErrorCode *status); | | uspoof_getAllowedLocales(USpoofChecker *sc, UErrorCode *status); | |
| | | | |
| /** | | /** | |
| * Limit the acceptable characters to those specified by a Unicode Set. | | * Limit the acceptable characters to those specified by a Unicode Set. | |
| * Any previously specified character limit is | | * Any previously specified character limit is | |
| * is replaced by the new settings. This includes limits on | | * is replaced by the new settings. This includes limits on | |
| * characters that were set with the uspoof_setAllowedLocales() function. | | * characters that were set with the uspoof_setAllowedLocales() function. | |
| * | | * | |
| * The USPOOF_CHAR_LIMIT test is automatically enabled for this | | * The USPOOF_CHAR_LIMIT test is automatically enabled for this | |
| * USpoofChecker by this function. | | * USpoofChecker by this function. | |
| * | | * | |
| * @param sc The USpoofChecker | | * @param sc The USpoofChecker | |
| * @param chars A Unicode Set containing the list of | | * @param chars A Unicode Set containing the list of | |
|
| * charcters that are permitted. Ownership of the set | | * characters that are permitted. Ownership of the set | |
| * remains with the caller. The incoming set is cloned by | | * remains with the caller. The incoming set is cloned by | |
| * this function, so there are no restrictions on modifying | | * this function, so there are no restrictions on modifying | |
| * or deleting the USet after calling this function. | | * or deleting the USet after calling this function. | |
| * @param status The error code, set if this function encounters a proble
m. | | * @param status The error code, set if this function encounters a proble
m. | |
|
| * @stable ICU 4.4 | | * @stable ICU 4.2 | |
| */ | | */ | |
| U_STABLE void U_EXPORT2 | | U_STABLE void U_EXPORT2 | |
| uspoof_setAllowedChars(USpoofChecker *sc, const USet *chars, UErrorCode *st
atus); | | uspoof_setAllowedChars(USpoofChecker *sc, const USet *chars, UErrorCode *st
atus); | |
| | | | |
| /** | | /** | |
| * Get a USet for the characters permitted in an identifier. | | * Get a USet for the characters permitted in an identifier. | |
| * This corresponds to the limits imposed by the Set Allowed Characters | | * This corresponds to the limits imposed by the Set Allowed Characters | |
| * functions. Limitations imposed by other checks will not be | | * functions. Limitations imposed by other checks will not be | |
| * reflected in the set returned by this function. | | * reflected in the set returned by this function. | |
| * | | * | |
| | | | |
| skipping to change at line 456 | | skipping to change at line 469 | |
| * | | * | |
| * Ownership of the returned set remains with the Spoof Detector. The | | * Ownership of the returned set remains with the Spoof Detector. The | |
| * returned set will become invalid if the spoof detector is closed, | | * returned set will become invalid if the spoof detector is closed, | |
| * or if a new set of allowed characters is specified. | | * or if a new set of allowed characters is specified. | |
| * | | * | |
| * | | * | |
| * @param sc The USpoofChecker | | * @param sc The USpoofChecker | |
| * @param status The error code, set if this function encounters a proble
m. | | * @param status The error code, set if this function encounters a proble
m. | |
| * @return A USet containing the characters that are permitted by | | * @return A USet containing the characters that are permitted by | |
| * the USPOOF_CHAR_LIMIT test. | | * the USPOOF_CHAR_LIMIT test. | |
|
| * @stable ICU 4.4 | | * @stable ICU 4.2 | |
| */ | | */ | |
| U_STABLE const USet * U_EXPORT2 | | U_STABLE const USet * U_EXPORT2 | |
| uspoof_getAllowedChars(const USpoofChecker *sc, UErrorCode *status); | | uspoof_getAllowedChars(const USpoofChecker *sc, UErrorCode *status); | |
| | | | |
| #if U_SHOW_CPLUSPLUS_API | | #if U_SHOW_CPLUSPLUS_API | |
| /** | | /** | |
| * Limit the acceptable characters to those specified by a Unicode Set. | | * Limit the acceptable characters to those specified by a Unicode Set. | |
| * Any previously specified character limit is | | * Any previously specified character limit is | |
| * is replaced by the new settings. This includes limits on | | * is replaced by the new settings. This includes limits on | |
| * characters that were set with the uspoof_setAllowedLocales() function. | | * characters that were set with the uspoof_setAllowedLocales() function. | |
| * | | * | |
| * The USPOOF_CHAR_LIMIT test is automatically enabled for this | | * The USPOOF_CHAR_LIMIT test is automatically enabled for this | |
| * USoofChecker by this function. | | * USoofChecker by this function. | |
| * | | * | |
| * @param sc The USpoofChecker | | * @param sc The USpoofChecker | |
| * @param chars A Unicode Set containing the list of | | * @param chars A Unicode Set containing the list of | |
|
| * charcters that are permitted. Ownership of the set | | * characters that are permitted. Ownership of the set | |
| * remains with the caller. The incoming set is cloned by | | * remains with the caller. The incoming set is cloned by | |
| * this function, so there are no restrictions on modifying | | * this function, so there are no restrictions on modifying | |
| * or deleting the USet after calling this function. | | * or deleting the USet after calling this function. | |
| * @param status The error code, set if this function encounters a proble
m. | | * @param status The error code, set if this function encounters a proble
m. | |
|
| * @stable ICU 4.4 | | * @stable ICU 4.2 | |
| */ | | */ | |
| U_STABLE void U_EXPORT2 | | U_STABLE void U_EXPORT2 | |
| uspoof_setAllowedUnicodeSet(USpoofChecker *sc, const UnicodeSet *chars, UEr
rorCode *status); | | uspoof_setAllowedUnicodeSet(USpoofChecker *sc, const UnicodeSet *chars, UEr
rorCode *status); | |
| | | | |
| /** | | /** | |
| * Get a UnicodeSet for the characters permitted in an identifier. | | * Get a UnicodeSet for the characters permitted in an identifier. | |
| * This corresponds to the limits imposed by the Set Allowed Characters / | | * This corresponds to the limits imposed by the Set Allowed Characters / | |
| * UnicodeSet functions. Limitations imposed by other checks will not be | | * UnicodeSet functions. Limitations imposed by other checks will not be | |
| * reflected in the set returned by this function. | | * reflected in the set returned by this function. | |
| * | | * | |
| | | | |
| skipping to change at line 501 | | skipping to change at line 514 | |
| * | | * | |
| * Ownership of the returned set remains with the Spoof Detector. The | | * Ownership of the returned set remains with the Spoof Detector. The | |
| * returned set will become invalid if the spoof detector is closed, | | * returned set will become invalid if the spoof detector is closed, | |
| * or if a new set of allowed characters is specified. | | * or if a new set of allowed characters is specified. | |
| * | | * | |
| * | | * | |
| * @param sc The USpoofChecker | | * @param sc The USpoofChecker | |
| * @param status The error code, set if this function encounters a proble
m. | | * @param status The error code, set if this function encounters a proble
m. | |
| * @return A UnicodeSet containing the characters that are permitte
d by | | * @return A UnicodeSet containing the characters that are permitte
d by | |
| * the USPOOF_CHAR_LIMIT test. | | * the USPOOF_CHAR_LIMIT test. | |
|
| * @stable ICU 4.4 | | * @stable ICU 4.2 | |
| */ | | */ | |
| U_STABLE const UnicodeSet * U_EXPORT2 | | U_STABLE const UnicodeSet * U_EXPORT2 | |
| uspoof_getAllowedUnicodeSet(const USpoofChecker *sc, UErrorCode *status); | | uspoof_getAllowedUnicodeSet(const USpoofChecker *sc, UErrorCode *status); | |
| #endif | | #endif | |
| | | | |
| /** | | /** | |
| * Check the specified string for possible security issues. | | * Check the specified string for possible security issues. | |
|
| * The text to be checked will typically be an indentifier of some sort. | | * The text to be checked will typically be an identifier of some sort. | |
| * The set of checks to be performed is specified with uspoof_setChecks(). | | * The set of checks to be performed is specified with uspoof_setChecks(). | |
| * | | * | |
| * @param sc The USpoofChecker | | * @param sc The USpoofChecker | |
| * @param text The string to be checked for possible security issues, | | * @param text The string to be checked for possible security issues, | |
| * in UTF-16 format. | | * in UTF-16 format. | |
| * @param length the length of the string to be checked, expressed in | | * @param length the length of the string to be checked, expressed in | |
| * 16 bit UTF-16 code units, or -1 if the string is | | * 16 bit UTF-16 code units, or -1 if the string is | |
| * zero terminated. | | * zero terminated. | |
| * @param position An out parameter that receives the index of the | | * @param position An out parameter that receives the index of the | |
| * first string position that fails the allowed character | | * first string position that fails the allowed character | |
| * limitation checks. | | * limitation checks. | |
| * This parameter may be null if the position information | | * This parameter may be null if the position information | |
| * is not needed. | | * is not needed. | |
| * If the string passes the requested checks the | | * If the string passes the requested checks the | |
| * parameter value will not be set. | | * parameter value will not be set. | |
|
| * @param status The error code, set if an error occured while attempting
to | | * @param status The error code, set if an error occurred while attempting
to | |
| * perform the check. | | * perform the check. | |
| * Spoofing or security issues detected with the input strin
g are | | * Spoofing or security issues detected with the input strin
g are | |
| * not reported here, but through the function's return valu
e. | | * not reported here, but through the function's return valu
e. | |
| * @return An integer value with bits set for any potential security | | * @return An integer value with bits set for any potential security | |
| * or spoofing issues detected. The bits are defined by | | * or spoofing issues detected. The bits are defined by | |
| * enum USpoofChecks. Zero is returned if no issues | | * enum USpoofChecks. Zero is returned if no issues | |
| * are found with the input string. | | * are found with the input string. | |
|
| * @stable ICU 4.4 | | * @stable ICU 4.2 | |
| */ | | */ | |
| U_STABLE int32_t U_EXPORT2 | | U_STABLE int32_t U_EXPORT2 | |
| uspoof_check(const USpoofChecker *sc, | | uspoof_check(const USpoofChecker *sc, | |
| const UChar *text, int32_t length, | | const UChar *text, int32_t length, | |
| int32_t *position, | | int32_t *position, | |
| UErrorCode *status); | | UErrorCode *status); | |
| | | | |
| /** | | /** | |
| * Check the specified string for possible security issues. | | * Check the specified string for possible security issues. | |
|
| * The text to be checked will typically be an indentifier of some sort. | | * The text to be checked will typically be an identifier of some sort. | |
| * The set of checks to be performed is specified with uspoof_setChecks(). | | * The set of checks to be performed is specified with uspoof_setChecks(). | |
| * | | * | |
| * @param sc The USpoofChecker | | * @param sc The USpoofChecker | |
| * @param text A UTF-8 string to be checked for possible security issues
. | | * @param text A UTF-8 string to be checked for possible security issues
. | |
| * @param length the length of the string to be checked, or -1 if the stri
ng is | | * @param length the length of the string to be checked, or -1 if the stri
ng is | |
| * zero terminated. | | * zero terminated. | |
| * @param position An out parameter that receives the index of the | | * @param position An out parameter that receives the index of the | |
| * first string position that fails the allowed character | | * first string position that fails the allowed character | |
| * limitation checks. | | * limitation checks. | |
| * This parameter may be null if the position information | | * This parameter may be null if the position information | |
| * is not needed. | | * is not needed. | |
| * If the string passes the requested checks the | | * If the string passes the requested checks the | |
| * parameter value will not be set. | | * parameter value will not be set. | |
|
| * @param status The error code, set if an error occured while attempting
to | | * @param status The error code, set if an error occurred while attempting
to | |
| * perform the check. | | * perform the check. | |
| * Spoofing or security issues detected with the input strin
g are | | * Spoofing or security issues detected with the input strin
g are | |
| * not reported here, but through the function's return valu
e. | | * not reported here, but through the function's return valu
e. | |
| * If the input contains invalid UTF-8 sequences, | | * If the input contains invalid UTF-8 sequences, | |
| * a status of U_INVALID_CHAR_FOUND will be returned. | | * a status of U_INVALID_CHAR_FOUND will be returned. | |
| * @return An integer value with bits set for any potential security | | * @return An integer value with bits set for any potential security | |
| * or spoofing issues detected. The bits are defined by | | * or spoofing issues detected. The bits are defined by | |
| * enum USpoofChecks. Zero is returned if no issues | | * enum USpoofChecks. Zero is returned if no issues | |
| * are found with the input string. | | * are found with the input string. | |
|
| * @stable ICU 4.4 | | * @stable ICU 4.2 | |
| */ | | */ | |
| U_STABLE int32_t U_EXPORT2 | | U_STABLE int32_t U_EXPORT2 | |
| uspoof_checkUTF8(const USpoofChecker *sc, | | uspoof_checkUTF8(const USpoofChecker *sc, | |
| const char *text, int32_t length, | | const char *text, int32_t length, | |
| int32_t *position, | | int32_t *position, | |
| UErrorCode *status); | | UErrorCode *status); | |
| | | | |
| #if U_SHOW_CPLUSPLUS_API | | #if U_SHOW_CPLUSPLUS_API | |
| /** | | /** | |
| * Check the specified string for possible security issues. | | * Check the specified string for possible security issues. | |
|
| * The text to be checked will typically be an indentifier of some sort. | | * The text to be checked will typically be an identifier of some sort. | |
| * The set of checks to be performed is specified with uspoof_setChecks(). | | * The set of checks to be performed is specified with uspoof_setChecks(). | |
| * | | * | |
| * @param sc The USpoofChecker | | * @param sc The USpoofChecker | |
| * @param text A UnicodeString to be checked for possible security issue
s. | | * @param text A UnicodeString to be checked for possible security issue
s. | |
| * @position An out parameter that receives the index of the | | * @position An out parameter that receives the index of the | |
| * first string position that fails the allowed character | | * first string position that fails the allowed character | |
| * limitation checks. | | * limitation checks. | |
| * This parameter may be null if the position information | | * This parameter may be null if the position information | |
| * is not needed. | | * is not needed. | |
| * If the string passes the requested checks the | | * If the string passes the requested checks the | |
| * parameter value will not be set. | | * parameter value will not be set. | |
|
| * @param status The error code, set if an error occured while attempting
to | | * @param status The error code, set if an error occurred while attempting
to | |
| * perform the check. | | * perform the check. | |
| * Spoofing or security issues detected with the input strin
g are | | * Spoofing or security issues detected with the input strin
g are | |
| * not reported here, but through the function's return valu
e. | | * not reported here, but through the function's return valu
e. | |
| | | | |
| * @return An integer value with bits set for any potential security | | * @return An integer value with bits set for any potential security | |
| * or spoofing issues detected. The bits are defined by | | * or spoofing issues detected. The bits are defined by | |
| * enum USpoofChecks. Zero is returned if no issues | | * enum USpoofChecks. Zero is returned if no issues | |
| * are found with the input string. | | * are found with the input string. | |
|
| * @stable ICU 4.4 | | * @stable ICU 4.2 | |
| */ | | */ | |
| U_STABLE int32_t U_EXPORT2 | | U_STABLE int32_t U_EXPORT2 | |
| uspoof_checkUnicodeString(const USpoofChecker *sc, | | uspoof_checkUnicodeString(const USpoofChecker *sc, | |
| const U_NAMESPACE_QUALIFIER UnicodeString &text, | | const U_NAMESPACE_QUALIFIER UnicodeString &text, | |
| int32_t *position, | | int32_t *position, | |
| UErrorCode *status); | | UErrorCode *status); | |
| | | | |
| #endif | | #endif | |
| | | | |
| /** | | /** | |
| | | | |
| skipping to change at line 638 | | skipping to change at line 651 | |
| * @param s1 The first of the two strings to be compared for | | * @param s1 The first of the two strings to be compared for | |
| * confusability. The strings are in UTF-16 format. | | * confusability. The strings are in UTF-16 format. | |
| * @param length1 the length of the first string, expressed in | | * @param length1 the length of the first string, expressed in | |
| * 16 bit UTF-16 code units, or -1 if the string is | | * 16 bit UTF-16 code units, or -1 if the string is | |
| * zero terminated. | | * zero terminated. | |
| * @param s2 The second of the two strings to be compared for | | * @param s2 The second of the two strings to be compared for | |
| * confusability. The strings are in UTF-16 format. | | * confusability. The strings are in UTF-16 format. | |
| * @param length2 The length of the second string, expressed in | | * @param length2 The length of the second string, expressed in | |
| * 16 bit UTF-16 code units, or -1 if the string is | | * 16 bit UTF-16 code units, or -1 if the string is | |
| * zero terminated. | | * zero terminated. | |
|
| * @param status The error code, set if an error occured while attempting
to | | * @param status The error code, set if an error occurred while attempting
to | |
| * perform the check. | | * perform the check. | |
| * Confusability of the strings is not reported here, | | * Confusability of the strings is not reported here, | |
| * but through this function's return value. | | * but through this function's return value. | |
| * @return An integer value with bit(s) set corresponding to | | * @return An integer value with bit(s) set corresponding to | |
| * the type of confusability found, as defined by | | * the type of confusability found, as defined by | |
| * enum USpoofChecks. Zero is returned if the strings | | * enum USpoofChecks. Zero is returned if the strings | |
| * are not confusable. | | * are not confusable. | |
|
| * @stable ICU 4.4 | | * @stable ICU 4.2 | |
| */ | | */ | |
| U_STABLE int32_t U_EXPORT2 | | U_STABLE int32_t U_EXPORT2 | |
| uspoof_areConfusable(const USpoofChecker *sc, | | uspoof_areConfusable(const USpoofChecker *sc, | |
| const UChar *s1, int32_t length1, | | const UChar *s1, int32_t length1, | |
| const UChar *s2, int32_t length2, | | const UChar *s2, int32_t length2, | |
| UErrorCode *status); | | UErrorCode *status); | |
| | | | |
| /** | | /** | |
| * Check the whether two specified strings are visually confusable. | | * Check the whether two specified strings are visually confusable. | |
| * The types of confusability to be tested - single script, mixed script, | | * The types of confusability to be tested - single script, mixed script, | |
| | | | |
| skipping to change at line 669 | | skipping to change at line 682 | |
| * | | * | |
| * @param sc The USpoofChecker | | * @param sc The USpoofChecker | |
| * @param s1 The first of the two strings to be compared for | | * @param s1 The first of the two strings to be compared for | |
| * confusability. The strings are in UTF-8 format. | | * confusability. The strings are in UTF-8 format. | |
| * @param length1 the length of the first string, in bytes, or -1 | | * @param length1 the length of the first string, in bytes, or -1 | |
| * if the string is zero terminated. | | * if the string is zero terminated. | |
| * @param s2 The second of the two strings to be compared for | | * @param s2 The second of the two strings to be compared for | |
| * confusability. The strings are in UTF-18 format. | | * confusability. The strings are in UTF-18 format. | |
| * @param length2 The length of the second string in bytes, or -1 | | * @param length2 The length of the second string in bytes, or -1 | |
| * if the string is zero terminated. | | * if the string is zero terminated. | |
|
| * @param status The error code, set if an error occured while attempting
to | | * @param status The error code, set if an error occurred while attempting
to | |
| * perform the check. | | * perform the check. | |
| * Confusability of the strings is not reported here, | | * Confusability of the strings is not reported here, | |
| * but through this function's return value. | | * but through this function's return value. | |
| * @return An integer value with bit(s) set corresponding to | | * @return An integer value with bit(s) set corresponding to | |
| * the type of confusability found, as defined by | | * the type of confusability found, as defined by | |
| * enum USpoofChecks. Zero is returned if the strings | | * enum USpoofChecks. Zero is returned if the strings | |
| * are not confusable. | | * are not confusable. | |
|
| * @stable ICU 4.4 | | * @stable ICU 4.2 | |
| */ | | */ | |
| U_STABLE int32_t U_EXPORT2 | | U_STABLE int32_t U_EXPORT2 | |
| uspoof_areConfusableUTF8(const USpoofChecker *sc, | | uspoof_areConfusableUTF8(const USpoofChecker *sc, | |
| const char *s1, int32_t length1, | | const char *s1, int32_t length1, | |
| const char *s2, int32_t length2, | | const char *s2, int32_t length2, | |
| UErrorCode *status); | | UErrorCode *status); | |
| | | | |
| #if U_SHOW_CPLUSPLUS_API | | #if U_SHOW_CPLUSPLUS_API | |
| /** | | /** | |
| * Check the whether two specified strings are visually confusable. | | * Check the whether two specified strings are visually confusable. | |
| * The types of confusability to be tested - single script, mixed script, | | * The types of confusability to be tested - single script, mixed script, | |
| * or whole script - are determined by the check options set for the | | * or whole script - are determined by the check options set for the | |
| * USpoofChecker. | | * USpoofChecker. | |
| * | | * | |
| * @param sc The USpoofChecker | | * @param sc The USpoofChecker | |
| * @param s1 The first of the two strings to be compared for | | * @param s1 The first of the two strings to be compared for | |
| * confusability. The strings are in UTF-8 format. | | * confusability. The strings are in UTF-8 format. | |
| * @param s2 The second of the two strings to be compared for | | * @param s2 The second of the two strings to be compared for | |
| * confusability. The strings are in UTF-18 format. | | * confusability. The strings are in UTF-18 format. | |
|
| * @param status The error code, set if an error occured while attempting
to | | * @param status The error code, set if an error occurred while attempting
to | |
| * perform the check. | | * perform the check. | |
| * Confusability of the strings is not reported here, | | * Confusability of the strings is not reported here, | |
| * but through this function's return value. | | * but through this function's return value. | |
| * @return An integer value with bit(s) set corresponding to | | * @return An integer value with bit(s) set corresponding to | |
| * the type of confusability found, as defined by | | * the type of confusability found, as defined by | |
| * enum USpoofChecks. Zero is returned if the strings | | * enum USpoofChecks. Zero is returned if the strings | |
| * are not confusable. | | * are not confusable. | |
|
| * @stable ICU 4.4 | | * @stable ICU 4.2 | |
| */ | | */ | |
| U_STABLE int32_t U_EXPORT2 | | U_STABLE int32_t U_EXPORT2 | |
| uspoof_areConfusableUnicodeString(const USpoofChecker *sc, | | uspoof_areConfusableUnicodeString(const USpoofChecker *sc, | |
| const U_NAMESPACE_QUALIFIER UnicodeString
&s1, | | const U_NAMESPACE_QUALIFIER UnicodeString
&s1, | |
| const U_NAMESPACE_QUALIFIER UnicodeString
&s2, | | const U_NAMESPACE_QUALIFIER UnicodeString
&s2, | |
| UErrorCode *status); | | UErrorCode *status); | |
| #endif | | #endif | |
| | | | |
| /** | | /** | |
| * Get the "skeleton" for an identifier string. | | * Get the "skeleton" for an identifier string. | |
| | | | |
| skipping to change at line 738 | | skipping to change at line 751 | |
| * The default is Mixed-Script, Lowercase. | | * The default is Mixed-Script, Lowercase. | |
| * Allowed options are USPOOF_SINGLE_SCRIPT_CONFUSABLE and | | * Allowed options are USPOOF_SINGLE_SCRIPT_CONFUSABLE and | |
| * USPOOF_ANY_CASE_CONFUSABLE. The two flags may be ORed. | | * USPOOF_ANY_CASE_CONFUSABLE. The two flags may be ORed. | |
| * @param s The input string whose skeleton will be computed. | | * @param s The input string whose skeleton will be computed. | |
| * @param length The length of the input string, expressed in 16 bit | | * @param length The length of the input string, expressed in 16 bit | |
| * UTF-16 code units, or -1 if the string is zero terminate
d. | | * UTF-16 code units, or -1 if the string is zero terminate
d. | |
| * @param dest The output buffer, to receive the skeleton string. | | * @param dest The output buffer, to receive the skeleton string. | |
| * @param destCapacity The length of the output buffer, in 16 bit units. | | * @param destCapacity The length of the output buffer, in 16 bit units. | |
| * The destCapacity may be zero, in which case the function
will | | * The destCapacity may be zero, in which case the function
will | |
| * return the actual length of the skeleton. | | * return the actual length of the skeleton. | |
|
| * @param status The error code, set if an error occured while attempting
to | | * @param status The error code, set if an error occurred while attemptin
g to | |
| * perform the check. | | * perform the check. | |
| * @return The length of the skeleton string. The returned length | | * @return The length of the skeleton string. The returned length | |
| * is always that of the complete skeleton, even when the | | * is always that of the complete skeleton, even when the | |
| * supplied buffer is too small (or of zero length) | | * supplied buffer is too small (or of zero length) | |
| * | | * | |
|
| * @stable ICU 4.4 | | * @stable ICU 4.2 | |
| */ | | */ | |
| U_STABLE int32_t U_EXPORT2 | | U_STABLE int32_t U_EXPORT2 | |
| uspoof_getSkeleton(const USpoofChecker *sc, | | uspoof_getSkeleton(const USpoofChecker *sc, | |
| uint32_t type, | | uint32_t type, | |
| const UChar *s, int32_t length, | | const UChar *s, int32_t length, | |
| UChar *dest, int32_t destCapacity, | | UChar *dest, int32_t destCapacity, | |
| UErrorCode *status); | | UErrorCode *status); | |
| | | | |
| /** | | /** | |
| * Get the "skeleton" for an identifier string. | | * Get the "skeleton" for an identifier string. | |
| | | | |
| skipping to change at line 777 | | skipping to change at line 790 | |
| * The default is Mixed-Script, Lowercase. | | * The default is Mixed-Script, Lowercase. | |
| * Allowed options are USPOOF_SINGLE_SCRIPT_CONFUSABLE and | | * Allowed options are USPOOF_SINGLE_SCRIPT_CONFUSABLE and | |
| * USPOOF_ANY_CASE. The two flags may be ORed. | | * USPOOF_ANY_CASE. The two flags may be ORed. | |
| * @param s The UTF-8 format input string whose skeleton will be com
puted. | | * @param s The UTF-8 format input string whose skeleton will be com
puted. | |
| * @param length The length of the input string, in bytes, | | * @param length The length of the input string, in bytes, | |
| * or -1 if the string is zero terminated. | | * or -1 if the string is zero terminated. | |
| * @param dest The output buffer, to receive the skeleton string. | | * @param dest The output buffer, to receive the skeleton string. | |
| * @param destCapacity The length of the output buffer, in bytes. | | * @param destCapacity The length of the output buffer, in bytes. | |
| * The destCapacity may be zero, in which case the function
will | | * The destCapacity may be zero, in which case the function
will | |
| * return the actual length of the skeleton. | | * return the actual length of the skeleton. | |
|
| * @param status The error code, set if an error occured while attempting
to | | * @param status The error code, set if an error occurred while attemptin
g to | |
| * perform the check. Possible Errors include U_INVALID_CH
AR_FOUND | | * perform the check. Possible Errors include U_INVALID_CH
AR_FOUND | |
| * for invalid UTF-8 sequences, and | | * for invalid UTF-8 sequences, and | |
| * U_BUFFER_OVERFLOW_ERROR if the destination buffer is
too small | | * U_BUFFER_OVERFLOW_ERROR if the destination buffer is
too small | |
| * to hold the complete skeleton. | | * to hold the complete skeleton. | |
| * @return The length of the skeleton string, in bytes. The return
ed length | | * @return The length of the skeleton string, in bytes. The return
ed length | |
| * is always that of the complete skeleton, even when the | | * is always that of the complete skeleton, even when the | |
| * supplied buffer is too small (or of zero length) | | * supplied buffer is too small (or of zero length) | |
| * | | * | |
|
| * @stable ICU 4.4 | | * @stable ICU 4.2 | |
| */ | | */ | |
| U_STABLE int32_t U_EXPORT2 | | U_STABLE int32_t U_EXPORT2 | |
| uspoof_getSkeletonUTF8(const USpoofChecker *sc, | | uspoof_getSkeletonUTF8(const USpoofChecker *sc, | |
| uint32_t type, | | uint32_t type, | |
| const char *s, int32_t length, | | const char *s, int32_t length, | |
| char *dest, int32_t destCapacity, | | char *dest, int32_t destCapacity, | |
| UErrorCode *status); | | UErrorCode *status); | |
| | | | |
| #if U_SHOW_CPLUSPLUS_API | | #if U_SHOW_CPLUSPLUS_API | |
| /** | | /** | |
| | | | |
| skipping to change at line 818 | | skipping to change at line 831 | |
| * @param type The type of skeleton, corresponding to which | | * @param type The type of skeleton, corresponding to which | |
| * of the Unicode confusable data tables to use. | | * of the Unicode confusable data tables to use. | |
| * The default is Mixed-Script, Lowercase. | | * The default is Mixed-Script, Lowercase. | |
| * Allowed options are USPOOF_SINGLE_SCRIPT_CONFUSABLE and | | * Allowed options are USPOOF_SINGLE_SCRIPT_CONFUSABLE and | |
| * USPOOF_ANY_CASE_CONFUSABLE. The two flags may be ORed. | | * USPOOF_ANY_CASE_CONFUSABLE. The two flags may be ORed. | |
| * @param s The input string whose skeleton will be computed. | | * @param s The input string whose skeleton will be computed. | |
| * @param dest The output string, to receive the skeleton string. | | * @param dest The output string, to receive the skeleton string. | |
| * @param destCapacity The length of the output buffer, in bytes. | | * @param destCapacity The length of the output buffer, in bytes. | |
| * The destCapacity may be zero, in which case the function
will | | * The destCapacity may be zero, in which case the function
will | |
| * return the actual length of the skeleton. | | * return the actual length of the skeleton. | |
|
| * @param status The error code, set if an error occured while attempting
to | | * @param status The error code, set if an error occurred while attemptin
g to | |
| * perform the check. | | * perform the check. | |
| * @return A reference to the destination (skeleton) string. | | * @return A reference to the destination (skeleton) string. | |
| * | | * | |
|
| * @stable ICU 4.4 | | * @stable ICU 4.2 | |
| */ | | */ | |
| U_STABLE UnicodeString & U_EXPORT2 | | U_STABLE UnicodeString & U_EXPORT2 | |
| uspoof_getSkeletonUnicodeString(const USpoofChecker *sc, | | uspoof_getSkeletonUnicodeString(const USpoofChecker *sc, | |
| uint32_t type, | | uint32_t type, | |
| const UnicodeString &s, | | const UnicodeString &s, | |
| UnicodeString &dest, | | UnicodeString &dest, | |
| UErrorCode *status); | | UErrorCode *status); | |
| #endif /* U_SHOW_CPLUSPLUS_API */ | | #endif /* U_SHOW_CPLUSPLUS_API */ | |
| | | | |
| /** | | /** | |
| | | | |
| skipping to change at line 848 | | skipping to change at line 861 | |
| * @param data a pointer to 32-bit-aligned memory to be filled with the dat
a, | | * @param data a pointer to 32-bit-aligned memory to be filled with the dat
a, | |
| * can be NULL if capacity==0 | | * can be NULL if capacity==0 | |
| * @param capacity the number of bytes available at data, | | * @param capacity the number of bytes available at data, | |
| * or 0 for preflighting | | * or 0 for preflighting | |
| * @param status an in/out ICU UErrorCode; possible errors include: | | * @param status an in/out ICU UErrorCode; possible errors include: | |
| * - U_BUFFER_OVERFLOW_ERROR if the data storage block is too small for ser
ialization | | * - U_BUFFER_OVERFLOW_ERROR if the data storage block is too small for ser
ialization | |
| * - U_ILLEGAL_ARGUMENT_ERROR the data or capacity parameters are bad | | * - U_ILLEGAL_ARGUMENT_ERROR the data or capacity parameters are bad | |
| * @return the number of bytes written or needed for the spoof data | | * @return the number of bytes written or needed for the spoof data | |
| * | | * | |
| * @see utrie2_openFromSerialized() | | * @see utrie2_openFromSerialized() | |
|
| * @stable ICU 4.4 | | * @stable ICU 4.2 | |
| */ | | */ | |
| U_CAPI int32_t U_EXPORT2 | | U_CAPI int32_t U_EXPORT2 | |
| uspoof_serialize(USpoofChecker *sc, | | uspoof_serialize(USpoofChecker *sc, | |
| void *data, int32_t capacity, | | void *data, int32_t capacity, | |
| UErrorCode *status); | | UErrorCode *status); | |
| | | | |
| #endif | | #endif | |
| | | | |
| #endif /* USPOOF_H */ | | #endif /* USPOOF_H */ | |
| | | | |
End of changes. 57 change blocks. |
| 59 lines changed or deleted | | 78 lines changed or added | |
|