Home
last modified time | relevance | path

Searched refs:propEnum (Results 1 – 9 of 9) sorted by relevance

/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
DICUPropertyFactory.java41 protected int propEnum = Integer.MIN_VALUE; field in ICUPropertyFactory.ICUProperty
43 protected ICUProperty(String propName, int propEnum) { in ICUProperty() argument
45 this.propEnum = propEnum; in ICUProperty()
46 setType(internalGetPropertyType(propEnum)); in ICUProperty()
47 …if (propEnum == UProperty.DEFAULT_IGNORABLE_CODE_POINT || propEnum == UProperty.BIDI_CLASS || prop… in ICUProperty()
57 switch (propEnum) { in _getValue()
116 if (propEnum < UProperty.INT_LIMIT) { in _getValue()
120 enumValue = UCharacter.getIntPropertyValue(codePoint, propEnum); in _getValue()
122 … value = fixedGetPropertyValueName(propEnum, enumValue, UProperty.NameChoice.LONG); in _getValue()
130 } else if (propEnum < UProperty.DOUBLE_LIMIT) { in _getValue()
[all …]
DUnicodePropertySource.java154 protected int propEnum = Integer.MIN_VALUE; field in UnicodePropertySource.ICU
164 propEnum = EXTRA_START + extraPosition; in setPropertyAlias()
166 propEnum = UCharacter.getPropertyEnum(propertyAlias); in setPropertyAlias()
172 if (propEnum < UProperty.INT_LIMIT) { in getPropertyValue()
173 int enumValue = UCharacter.getIntPropertyValue(codePoint, propEnum); in getPropertyValue()
174 return UCharacter.getPropertyValueName(propEnum,enumValue, (int)m_nameChoice); in getPropertyValue()
175 } else if (propEnum < UProperty.DOUBLE_LIMIT) { in getPropertyValue()
178 } else switch(propEnum) { in getPropertyValue()
230 if (propEnum < UProperty.INT_LIMIT) { in getAvailablePropertyValueAliases()
231 int start = UCharacter.getIntPropertyMinValue(propEnum); in getAvailablePropertyValueAliases()
[all …]
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/util/
DICUPropertyFactory.java40 protected int propEnum = Integer.MIN_VALUE; field in ICUPropertyFactory.ICUProperty
42 protected ICUProperty(String propName, int propEnum) { in ICUProperty() argument
44 this.propEnum = propEnum; in ICUProperty()
45 setType(internalGetPropertyType(propEnum)); in ICUProperty()
46 …if (propEnum == UProperty.DEFAULT_IGNORABLE_CODE_POINT || propEnum == UProperty.BIDI_CLASS || prop… in ICUProperty()
56 switch (propEnum) { in _getValue()
115 if (propEnum < UProperty.INT_LIMIT) { in _getValue()
119 enumValue = UCharacter.getIntPropertyValue(codePoint, propEnum); in _getValue()
121 … value = fixedGetPropertyValueName(propEnum, enumValue, UProperty.NameChoice.LONG); in _getValue()
129 } else if (propEnum < UProperty.DOUBLE_LIMIT) { in _getValue()
[all …]
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
DUnicodePropertySource.java153 protected int propEnum = Integer.MIN_VALUE; field in UnicodePropertySource.ICU
163 propEnum = EXTRA_START + extraPosition; in setPropertyAlias()
165 propEnum = UCharacter.getPropertyEnum(propertyAlias); in setPropertyAlias()
171 if (propEnum < UProperty.INT_LIMIT) { in getPropertyValue()
172 int enumValue = UCharacter.getIntPropertyValue(codePoint, propEnum); in getPropertyValue()
173 return UCharacter.getPropertyValueName(propEnum,enumValue, (int)m_nameChoice); in getPropertyValue()
174 } else if (propEnum < UProperty.DOUBLE_LIMIT) { in getPropertyValue()
177 } else switch(propEnum) { in getPropertyValue()
229 if (propEnum < UProperty.INT_LIMIT) { in getAvailablePropertyValueAliases()
230 int start = UCharacter.getIntPropertyMinValue(propEnum); in getAvailablePropertyValueAliases()
[all …]
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/util/
DTestUtilities.java75 int enumValue = UCharacter.getIntPropertyValue(cp, propEnum); in TestUnicodeMap()
77 … String value = UCharacter.getPropertyValueName(propEnum,enumValue, UProperty.NameChoice.LONG); in TestUnicodeMap()
383 int propEnum = UProperty.GENERAL_CATEGORY; field in TestUtilities
398 int enumValue = UCharacter.getIntPropertyValue(cp, propEnum); in _checkSetTime()
400 … String value = UCharacter.getPropertyValueName(propEnum,enumValue, UProperty.NameChoice.LONG); in _checkSetTime()
426 int enumValue = UCharacter.getIntPropertyValue(cp, propEnum); in _checkGetTime()
428 UCharacter.getPropertyValueName(propEnum,enumValue, UProperty.NameChoice.LONG); in _checkGetTime()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DTestUtilities.java79 int enumValue = UCharacter.getIntPropertyValue(cp, propEnum); in TestUnicodeMap()
81 … String value = UCharacter.getPropertyValueName(propEnum,enumValue, UProperty.NameChoice.LONG); in TestUnicodeMap()
387 int propEnum = UProperty.GENERAL_CATEGORY; field in TestUtilities
402 int enumValue = UCharacter.getIntPropertyValue(cp, propEnum); in _checkSetTime()
404 … String value = UCharacter.getPropertyValueName(propEnum,enumValue, UProperty.NameChoice.LONG); in _checkSetTime()
430 int enumValue = UCharacter.getIntPropertyValue(cp, propEnum); in _checkGetTime()
432 UCharacter.getPropertyValueName(propEnum,enumValue, UProperty.NameChoice.LONG); in _checkGetTime()
/external/icu/icu4c/source/test/cintltst/
Dcucdtst.c2943 UProperty propEnum = (UProperty)p; in TestPropertyNames() local
2951 const char* name = u_getPropertyName(propEnum, (UPropertyNameChoice)choice); in TestPropertyNames()
2970 const char* pname = u_getPropertyName(propEnum, U_LONG_PROPERTY_NAME); in TestPropertyNames()
2986 … const char* vname = u_getPropertyValueName(propEnum, v, (UPropertyNameChoice)choice); in TestPropertyNames()
2993 rev = u_getPropertyValueEnum(propEnum, vname); in TestPropertyNames()
3034 UProperty propEnum = (UProperty)p; in TestPropertyValues() local
3035 min = u_getIntPropertyMinValue(propEnum); in TestPropertyValues()
3042 name = u_getPropertyName(propEnum, U_LONG_PROPERTY_NAME); in TestPropertyValues()
/external/icu/android_icu4j/src/main/java/android/icu/lang/
DUCharacter.java3962 int propEnum = UPropertyAliases.INSTANCE.getPropertyEnum(propertyAlias); in getPropertyEnum() local
3963 if (propEnum == UProperty.UNDEFINED) { in getPropertyEnum()
3966 return propEnum; in getPropertyEnum()
4072 int propEnum = UPropertyAliases.INSTANCE.getPropertyValueEnum(property, valueAlias); in getPropertyValueEnum() local
4073 if (propEnum == UProperty.UNDEFINED) { in getPropertyValueEnum()
4076 return propEnum; in getPropertyValueEnum()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/
DUCharacter.java4561 int propEnum = UPropertyAliases.INSTANCE.getPropertyEnum(propertyAlias); in getPropertyEnum() local
4562 if (propEnum == UProperty.UNDEFINED) { in getPropertyEnum()
4565 return propEnum; in getPropertyEnum()
4673 int propEnum = UPropertyAliases.INSTANCE.getPropertyValueEnum(property, valueAlias); in getPropertyValueEnum() local
4674 if (propEnum == UProperty.UNDEFINED) { in getPropertyValueEnum()
4677 return propEnum; in getPropertyValueEnum()