Home | History | Annotate | Download | only in unicode

Lines Matching refs:UPluralRules

21  * A UPluralRules object defines rules for mapping non-negative numeric
67 * Opaque UPluralRules object for use in C programs.
70 struct UPluralRules;
71 typedef struct UPluralRules UPluralRules; /**< C typedef for struct UPluralRules. @stable ICU 4.8 */
74 * Opens a new UPluralRules object using the predefined cardinal-number plural rules for a
79 * @return A UPluralRules for the specified locale, or NULL if an error occurred.
82 U_STABLE UPluralRules* U_EXPORT2
86 * Opens a new UPluralRules object using the predefined plural rules for a
91 * @return A UPluralRules for the specified locale, or NULL if an error occurred.
94 U_DRAFT UPluralRules* U_EXPORT2
98 * Closes a UPluralRules object. Once closed it may no longer be used.
99 * @param uplrules The UPluralRules object to close.
103 uplrules_close(UPluralRules *uplrules);
112 * "Smart pointer" class, closes a UPluralRules via uplrules_close().
119 U_DEFINE_LOCAL_OPEN_POINTER(LocalUPluralRulesPointer, UPluralRules, uplrules_close);
128 * applies to the number, according to the supplied UPluralRules object.
129 * @param uplrules The UPluralRules object specifying the rules.
138 uplrules_select(const UPluralRules *uplrules,