Home
last modified time | relevance | path

Searched refs:SelectFormat (Results 1 – 14 of 14) sorted by relevance

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DSelectFormatAPITest.java14 import com.ibm.icu.text.SelectFormat;
33 SelectFormat selFmt = new SelectFormat(SIMPLE_PATTERN1); in TestConstructors()
42 SelectFormat selFmt1 = null; in TestEquals()
45 selFmt1 = new SelectFormat(SIMPLE_PATTERN1); in TestEquals()
46 SelectFormat selFmt2 = new SelectFormat(SIMPLE_PATTERN1); in TestEquals()
52 Object selFmt3 = new SelectFormat(SIMPLE_PATTERN1); in TestEquals()
53 Object selFmt4 = new SelectFormat(SIMPLE_PATTERN1); in TestEquals()
54 Object selFmt5 = new SelectFormat(SIMPLE_PATTERN2); in TestEquals()
67 SelectFormat selFmt = null; in TestApplyPatternToPattern()
71 selFmt = new SelectFormat(SIMPLE_PATTERN1); in TestApplyPatternToPattern()
[all …]
DSelectFormatUnitTest.java11 import com.ibm.icu.text.SelectFormat;
41 SelectFormat selFmt = new SelectFormat(SIMPLE_PATTERN); in TestPatternSyntax()
79 SelectFormat selFmt = new SelectFormat(SIMPLE_PATTERN); in TestInvalidKeyword()
137 SelectFormat selFmt = new SelectFormat(SIMPLE_PATTERN); in TestApplyFormat()
DTestAll.java119 public static class SelectFormat extends TestGroup { class in TestAll
120 public SelectFormat() { in SelectFormat() method in TestAll.SelectFormat
/external/icu/icu4c/source/i18n/
Dselfmt.cpp40 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(SelectFormat)
44 SelectFormat::SelectFormat(const UnicodeString& pat, in SelectFormat() function in SelectFormat
49 SelectFormat::SelectFormat(const SelectFormat& other) : Format(other), in SelectFormat() function in SelectFormat
53 SelectFormat::~SelectFormat() { in ~SelectFormat()
57 SelectFormat::applyPattern(const UnicodeString& newPattern, UErrorCode& status) { in applyPattern()
69 SelectFormat::format(const Formattable& obj, in format()
86 SelectFormat::format(const UnicodeString& keyword, in format()
115 SelectFormat::toPattern(UnicodeString& appendTo) { in toPattern()
125 int32_t SelectFormat::findSubMessage(const MessagePattern& pattern, int32_t partIndex, in findSubMessage()
152 Format* SelectFormat::clone() const in clone()
[all …]
Dmsgfmt.cpp1081 dynamic_cast<const SelectFormat*>(formatter)) { in format()
1138 …int32_t subMsgStart = SelectFormat::findSubMessage(msgPattern, i, arg->getString(success), success… in format()
/external/icu/icu4c/source/i18n/unicode/
Dselfmt.h183 class U_I18N_API SelectFormat : public Format {
194 SelectFormat(const UnicodeString& pattern, UErrorCode& status);
200 SelectFormat(const SelectFormat& other);
206 virtual ~SelectFormat();
248 SelectFormat& operator=(const SelectFormat& other);
346 SelectFormat(); // default constructor not implemented.
/external/icu/icu4c/source/test/intltest/
Dselfmts.cpp95 SelectFormat* selFmt = new SelectFormat( SIMPLE_PATTERN , status); in selectFormatUnitTest()
130 selFmt = new SelectFormat( SIMPLE_PATTERN , status); in selectFormatUnitTest()
183 selFmt = new SelectFormat( SIMPLE_PATTERN , status); in selectFormatUnitTest()
205 SelectFormat* selFmt[3] = { NULL, NULL, NULL }; in selectFormatAPITest()
213 selFmt[0]= new SelectFormat(SIMPLE_PATTERN, status[0]); in selectFormatAPITest()
221 SelectFormat fmt = *selFmt[0]; in selectFormatAPITest()
222 SelectFormat* dupPFmt = new SelectFormat(fmt); in selectFormatAPITest()
231 selFmt[1] = (SelectFormat*)selFmt[0]->clone(); in selectFormatAPITest()
247 selFmt[2]= new SelectFormat(SIMPLE_PATTERN, status[2]); in selectFormatAPITest()
266 SelectFormat* selFmt1 = new SelectFormat( SIMPLE_PATTERN , status1); in selectFormatAPITest()
[all …]
Duobjtest.cpp364 …TESTCLASSID_CTOR(SelectFormat, (UnicodeString("feminine {feminineVerbValue} other{otherVerbValue}"… in testIDs()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DSelectFormat.java151 public class SelectFormat extends Format{ class
170 public SelectFormat(String pattern) { in SelectFormat() method in SelectFormat
352 SelectFormat sf = (SelectFormat) obj; in equals()
DMessageFormat.java1679 formatter instanceof SelectFormat) { in format()
1746 int subMsgStart=SelectFormat.findSubMessage(msgPattern, i, arg.toString()); in format()
/external/messageformat/java/com/ibm/icu/text/
DSelectFormat.java151 public class SelectFormat extends Format{ class
170 public SelectFormat(String pattern) { in SelectFormat() method in SelectFormat
352 SelectFormat sf = (SelectFormat) obj; in equals()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DFormatTests.java36 import com.ibm.icu.text.SelectFormat;
2122 SelectFormat[] selfmts = {new SelectFormat("keyword{phrase} other{otherPhrase}")}; in getTestObjects()
2128 SelectFormat sfa = (SelectFormat) a; in hasSameBehavior()
2129 SelectFormat sfb = (SelectFormat) b; in hasSameBehavior()
/external/messageformat/
Dimport.sh12 cp ${TOP}/main/classes/core/src/com/ibm/icu/text/SelectFormat.java java/com/ibm/icu/text
/external/messageformat/java/com/ibm/icu/simple/
DMessageFormat.java43 import com.ibm.icu.text.SelectFormat;
1656 int subMsgStart=SelectFormat.findSubMessage(msgPattern, i, arg.toString()); in format()