Lines Matching full:form

26  * Standard CLDR plural form/category constants.
31 enum Form { enum
42 * @return the lowercase CLDR keyword string for the plural form
44 static const char *getKeyword(Form p);
48 * @return the plural form corresponding to the keyword, or OTHER
50 static Form orOtherFromString(const char *keyword) { in orOtherFromString()
51 return static_cast<Form>(indexOrOtherIndexFromString(keyword)); in orOtherFromString()
56 * @return the plural form corresponding to the keyword, or OTHER
58 static Form orOtherFromString(const UnicodeString &keyword) { in orOtherFromString()
59 return static_cast<Form>(indexOrOtherIndexFromString(keyword)); in orOtherFromString()
63 * Sets U_ILLEGAL_ARGUMENT_ERROR if the keyword is not a plural form.
66 * @return the plural form corresponding to the keyword
68 static Form fromString(const char *keyword, UErrorCode &errorCode) { in fromString()
69 return static_cast<Form>(indexFromString(keyword, errorCode)); in fromString()
73 * Sets U_ILLEGAL_ARGUMENT_ERROR if the keyword is not a plural form.
76 * @return the plural form corresponding to the keyword
78 static Form fromString(const UnicodeString &keyword, UErrorCode &errorCode) { in fromString()
79 return static_cast<Form>(indexFromString(keyword, errorCode)); in fromString()
84 * @return the index of the plural form corresponding to the keyword, or a negative value
90 * @return the index of the plural form corresponding to the keyword, or a negative value
96 * @return the index of the plural form corresponding to the keyword, or OTHER
105 * @return the index of the plural form corresponding to the keyword, or OTHER
113 * Sets U_ILLEGAL_ARGUMENT_ERROR if the keyword is not a plural form.
116 * @return the index of the plural form corresponding to the keyword
121 * Sets U_ILLEGAL_ARGUMENT_ERROR if the keyword is not a plural form.
124 * @return the index of the plural form corresponding to the keyword