Home
last modified time | relevance | path

Searched refs:FieldPosition (Results 1 – 25 of 94) sorted by relevance

1234

/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
DFieldPositionTest.java20 import java.text.FieldPosition;
29 FieldPosition fpos = new FieldPosition(DateFormat.MONTH_FIELD); in test_ConstructorI()
41 FieldPosition fpos = new FieldPosition(DateFormat.Field.MONTH); in test_ConstructorLjava_text_Format$Field()
53 FieldPosition fpos = new FieldPosition(DateFormat.Field.MONTH, in test_ConstructorLjava_text_Format$FieldI()
61 FieldPosition fpos2 = new FieldPosition(DateFormat.Field.HOUR1, in test_ConstructorLjava_text_Format$FieldI()
68 FieldPosition fpos3 = new FieldPosition(DateFormat.Field.TIME_ZONE, in test_ConstructorLjava_text_Format$FieldI()
82 FieldPosition fpos = new FieldPosition(1); in test_equalsLjava_lang_Object()
83 FieldPosition fpos1 = new FieldPosition(1); in test_equalsLjava_lang_Object()
86 FieldPosition fpos2 = new FieldPosition(2); in test_equalsLjava_lang_Object()
99 FieldPosition fpos3 = new FieldPosition(DateFormat.Field.ERA, 1); in test_equalsLjava_lang_Object()
[all …]
DNumberFormatTest.java22 import java.text.FieldPosition;
36 FieldPosition pos; in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition()
41 pos = new FieldPosition(0); in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition()
46 pos = new FieldPosition(0); in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition()
51 pos = new FieldPosition(0); in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition()
57 pos = new FieldPosition(0); in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition()
64 pos = new FieldPosition(0); in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition()
71 pos = new FieldPosition(0); in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition()
78 pos = new FieldPosition(0); in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition()
83 pos = new FieldPosition(0); in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition()
DChoiceFormatTest.java21 import java.text.FieldPosition;
251 FieldPosition field = new FieldPosition(0); in test_formatDLjava_lang_StringBufferLjava_text_FieldPosition()
269 …ls(0, new ChoiceFormat("|").format(Double.NaN, new StringBuffer(), new FieldPosition(6)).length()); in test_formatDLjava_lang_StringBufferLjava_text_FieldPosition()
270 …assertEquals(0, new ChoiceFormat("|").format(1, new StringBuffer(), new FieldPosition(6)).length()… in test_formatDLjava_lang_StringBufferLjava_text_FieldPosition()
282 FieldPosition field = new FieldPosition(0); in test_formatJLjava_lang_StringBufferLjava_text_FieldPosition()
DSupport_Format.java21 import java.text.FieldPosition;
39 FieldPosition pos = new FieldPosition(field); in t_FormatWithField()
/external/icu4c/i18n/unicode/
Dfieldpos.h106 class U_I18N_API FieldPosition : public UObject {
118 FieldPosition() in FieldPosition() function
132 FieldPosition(int32_t field) in FieldPosition() function
140 FieldPosition(const FieldPosition& copy) in FieldPosition() function
147 virtual ~FieldPosition();
154 FieldPosition& operator=(const FieldPosition& copy);
162 UBool operator==(const FieldPosition& that) const;
170 UBool operator!=(const FieldPosition& that) const;
183 FieldPosition *clone() const;
263 inline FieldPosition&
[all …]
Drbnf.h737 FieldPosition& pos) const;
749 FieldPosition& pos) const;
760 FieldPosition& pos) const;
776 FieldPosition& pos,
792 FieldPosition& pos,
808 FieldPosition& pos,
822 FieldPosition& pos,
1023 FieldPosition pos(0); in format()
1029 FieldPosition pos(0); in format()
Dchoicfmt.h370 FieldPosition& pos) const;
384 FieldPosition& pos) const;
399 FieldPosition& pos) const;
418 FieldPosition& pos,
436 FieldPosition& pos,
Dmsgfmt.h640 FieldPosition& ignore,
688 FieldPosition& pos,
957 FieldPosition* pos,
983 FieldPosition* pos,
1014 FieldPosition* updateMetaData(AppendableWrapper& dest, int32_t prevLength,
1015 FieldPosition* fp, const Formattable* argId) const;
1065 FieldPosition&,
Ddtitvfmt.h386 FieldPosition& fieldPosition,
405 FieldPosition& fieldPosition,
432 FieldPosition& fieldPosition,
683 FieldPosition& pos,
Dnumfmt.h235 FieldPosition& pos,
344 FieldPosition& pos) const = 0;
377 FieldPosition& pos) const = 0;
412 FieldPosition& pos) const;
494 FieldPosition& pos,
Dplurfmt.h332 FieldPosition& pos,
353 FieldPosition& pos,
428 FieldPosition& pos,
Dselfmt.h239 FieldPosition& pos,
292 FieldPosition& pos,
Ddecimfmt.h852 FieldPosition& pos) const;
885 FieldPosition& pos) const;
918 FieldPosition& pos) const;
997 FieldPosition& pos,
1015 FieldPosition& pos,
2309 FieldPosition pos(0); in format()
2316 FieldPosition pos(0); in format()
Dsmpdtfmt.h392 FieldPosition& pos) const;
438 FieldPosition& pos,
478 FieldPosition& fieldPosition) const;
1190 FieldPosition& pos, in format()
1212 FieldPosition& fieldPosition) const { in format()
/external/icu4c/i18n/
Dformat.cpp54 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(FieldPosition) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() argument
56 FieldPosition::~FieldPosition() {} in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
58 FieldPosition *
59 FieldPosition::clone() const { in clone()
60 return new FieldPosition(*this); in clone()
111 FieldPosition pos(FieldPosition::DONT_CARE); in format()
Dwinnmfmt.h62 FieldPosition& pos) const;
76 FieldPosition& pos) const;
90 FieldPosition& pos) const;
Dfphdlimp.cpp39 FieldPositionOnlyHandler::FieldPositionOnlyHandler(FieldPosition& _pos) in FieldPositionOnlyHandler()
56 if (delta != 0 && pos.getField() != FieldPosition::DONT_CARE && pos.getBeginIndex() != -1) { in shiftLast()
64 return pos.getField() != FieldPosition::DONT_CARE; in isRecording()
Dfphdlimp.h34 FieldPosition& pos;
37 FieldPositionOnlyHandler(FieldPosition& pos);
Dplurfmt.cpp182 FieldPosition& pos, in format()
197 FieldPosition fpos(0); in format()
204 FieldPosition fpos(0); in format()
213 FieldPosition& pos, in format()
221 FieldPosition& pos, in format()
/external/icu4c/test/intltest/
Dpptest.cpp107 FieldPosition fp( 7 ); in TestFieldPosition()
115 FieldPosition fpc(fp); in TestFieldPosition()
122 FieldPosition fph( 3 ); in TestFieldPosition()
155 FieldPosition *pfp = fp.clone(); in TestFieldPosition()
199 FieldPosition pos(NumberFormat::INTEGER_FIELD); in TestFieldPosition_example()
225 FieldPosition fp(2); in Test4109023()
226 FieldPosition fp2(2); in Test4109023()
Dnumrgts.cpp32 FieldPosition& pos, in format()
41 FieldPosition& pos, in format()
50 FieldPosition& /* pos */) const in format()
80 FieldPosition&) const in format()
85 FieldPosition&) const in format()
289 FieldPosition fp1(0); in Test4088161()
296 FieldPosition fp2(0); in Test4088161()
324 FieldPosition pos(FieldPosition::DONT_CARE); in Test4087245()
349 FieldPosition pos(FieldPosition::DONT_CARE); in Test4087535()
372 FieldPosition fp(FieldPosition::DONT_CARE); in Test4088503()
[all …]
Dmsfmrgts.cpp102 FieldPosition pos(FieldPosition::DONT_CARE); in Test4074764()
196 FieldPosition pos(FieldPosition::DONT_CARE); in Test4031438()
397 FieldPosition pos(FieldPosition::DONT_CARE); in Test4106660()
540 FieldPosition pos(FieldPosition::DONT_CARE); in Test4114739()
592 FieldPosition bogus(FieldPosition::DONT_CARE); in Test4106661()
651 FieldPosition bogus(FieldPosition::DONT_CARE); in Test4094906()
756 FieldPosition pos(FieldPosition::DONT_CARE); in Test4118594()
809 FieldPosition bogus(FieldPosition::DONT_CARE); in Test4105380()
887 FieldPosition pos(FieldPosition::DONT_CARE); in Test4142938()
939 FieldPosition pos(FieldPosition::DONT_CARE); in TestChoicePatternQuote()
Dselfmts.cpp118 FieldPosition format_ignore(FieldPosition::DONT_CARE); in selectFormatUnitTest()
142 FieldPosition ignore(FieldPosition::DONT_CARE); in selectFormatUnitTest()
298 FieldPosition ignore(FieldPosition::DONT_CARE); in selectFormatAPITest()
Dtmsgfmt.cpp138 FieldPosition pos(0); in testBug3()
160 FieldPosition status(0); in testBug1()
323 FieldPosition fieldpos(0); in PatternTest()
383 FieldPosition fieldpos(0); in sample()
473 FieldPosition ignore(FieldPosition::DONT_CARE); in testSimpleFormat()
479 ignore.setField(FieldPosition::DONT_CARE); in testSimpleFormat()
487 ignore.setField(FieldPosition::DONT_CARE); in testSimpleFormat()
510 FieldPosition ignore(FieldPosition::DONT_CARE); in testMsgFormatChoice()
518 ignore.setField(FieldPosition::DONT_CARE); in testMsgFormatChoice()
526 ignore.setField(FieldPosition::DONT_CARE); in testMsgFormatChoice()
[all …]
Ddtfmrgts.cpp85 FieldPosition pos(FieldPosition::DONT_CARE); in Test4029195()
191 FieldPosition pos(i); in Test4052408()
318 FieldPosition poss(FieldPosition::DONT_CARE); in aux917()
713 FieldPosition fp(UDAT_TIMEZONE_FIELD); in Test4101483()
750 FieldPosition pos(FieldPosition::DONT_CARE); in Test4103340()
953 FieldPosition pos(FieldPosition::DONT_CARE); in Test4106807()
1035 FieldPosition pos(FieldPosition::DONT_CARE); in Test4151631()
1068 FieldPosition pos(0); in Test4151706()
1096 FieldPosition pos(0); in Test4162071()

1234