HomeSort by relevance Sort by last modified time
    Searched refs:FieldPosition (Results 1 - 25 of 118) sorted by null

1 2 3 4 5

  /external/icu4c/i18n/unicode/
fieldpos.h 19 // This file was generated from the java source file FieldPosition.java
29 * \brief C++ API: FieldPosition identifies the fields in a formatted output.
39 * <code>FieldPosition</code> is a simple class used by <code>Format</code>
47 * <code>FieldPosition</code> keeps track of the position of the
54 * <code>Format</code> classes requires a <code>FieldPosition</code>
59 * The FieldPosition class is not suitable for subclassing.
62 * Below is an example of using <code>FieldPosition</code> to aid
79 * FieldPosition pos(NumberFormat::INTEGER_FIELD);
106 class U_I18N_API FieldPosition : public UObject {
115 * Creates a FieldPosition object with a non-specified field
    [all...]
choicfmt.h 239 * FieldPosition fp(0);
459 FieldPosition& pos) const;
473 FieldPosition& pos) const;
488 FieldPosition& pos) const;
507 FieldPosition& pos,
525 FieldPosition& pos,
546 * pure virtual format() methods with the default FieldPosition.
560 * pure virtual format() methods with the default FieldPosition.
fpositer.h 24 * \brief C++ API: FieldPosition Iterator.
93 * If the current position is valid, updates the FieldPosition values, advances the iterator,
97 UBool next(FieldPosition& fp);
plurfmt.h 137 * FieldPosition ignore(FieldPosition::DONT_CARE);
364 FieldPosition& pos,
385 FieldPosition& pos,
460 FieldPosition& pos,
540 FieldPosition& pos) const;
rbnf.h     [all...]
selfmt.h 164 * FieldPosition ignore(FieldPosition::DONT_CARE);
240 FieldPosition& pos,
293 FieldPosition& pos,
dtitvfmt.h 210 * FieldPosition pos = 0;
378 * @param fieldPosition On input: an alignment field, if desired.
386 FieldPosition& fieldPosition,
397 * @param fieldPosition On input: an alignment field, if desired.
405 FieldPosition& fieldPosition,
421 * @param fieldPosition On input: an alignment field, if desired.
432 FieldPosition& fieldPosition,
    [all...]
  /external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
FieldPositionTest.java 20 import java.text.FieldPosition;
25 * @tests java.text.FieldPosition#FieldPosition(int)
28 // Test for constructor java.text.FieldPosition(int)
29 FieldPosition fpos = new FieldPosition(DateFormat.MONTH_FIELD);
37 * @tests java.text.FieldPosition#FieldPosition(java.text.Format$Field)
40 // Test for constructor java.text.FieldPosition(Format.Field)
41 FieldPosition fpos = new FieldPosition(DateFormat.Field.MONTH)
    [all...]
NumberFormatTest.java 22 import java.text.FieldPosition;
33 * java.lang.StringBuffer, java.text.FieldPosition)
36 FieldPosition pos;
41 pos = new FieldPosition(0);
46 pos = new FieldPosition(0);
51 pos = new FieldPosition(0);
57 pos = new FieldPosition(0);
64 pos = new FieldPosition(0);
71 pos = new FieldPosition(0);
78 pos = new FieldPosition(0)
    [all...]
  /libcore/luni/src/test/java/libcore/java/text/
OldFieldPositionTest.java 20 import java.text.FieldPosition;
25 // Test for method int java.text.FieldPosition.hashCode()
26 FieldPosition fpos1 = new FieldPosition(1);
27 FieldPosition fpos2 = new FieldPosition(1);
39 FieldPosition fpos3 = new FieldPosition(
47 // Test for method void java.text.FieldPosition.setBeginIndex(int)
48 FieldPosition fpos = new FieldPosition(1)
    [all...]
OldFormatTest.java 21 import java.text.FieldPosition;
32 FieldPosition pos) {
NumberFormatTest.java 22 import java.text.FieldPosition;
28 // NumberFormat.format(Object, StringBuffer, FieldPosition) guarantees it calls doubleValue for
44 // NumberFormat.format(Object, StringBuffer, FieldPosition) guarantees it calls longValue for
48 public StringBuffer format(double value, StringBuffer b, FieldPosition f) {
52 public StringBuffer format(long value, StringBuffer b, FieldPosition f) {
  /libcore/luni/src/main/java/java/text/
FieldPosition.java 21 * Identifies fields in formatted strings. If a {@code FieldPosition} is passed
25 * A {@code FieldPosition} can be created by using the integer constants in the
32 public class FieldPosition {
39 * Constructs a new {@code FieldPosition} for the specified field.
44 public FieldPosition(int field) {
49 * Constructs a new {@code FieldPosition} for the specified {@code Field}
55 public FieldPosition(Format.Field attribute) {
61 * Constructs a new {@code FieldPosition} for the specified {@code Field}
69 public FieldPosition(Format.Field attribute, int field) {
81 * of {@code FieldPosition} with the same field, begin index and end index
    [all...]
Format.java 93 return format(object, new StringBuffer(), new FieldPosition(0))
118 FieldPosition field);
  /external/icu4c/i18n/
format.cpp 54 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(FieldPosition)
56 FieldPosition::~FieldPosition() {}
58 FieldPosition *
59 FieldPosition::clone() const {
60 return new FieldPosition(*this);
111 FieldPosition pos(FieldPosition::DONT_CARE);
fphdlimp.h 34 FieldPosition& pos;
37 FieldPositionOnlyHandler(FieldPosition& pos);
winnmfmt.h 63 FieldPosition& pos) const;
78 FieldPosition& pos) const;
93 FieldPosition& pos) const;
fphdlimp.cpp 39 FieldPositionOnlyHandler::FieldPositionOnlyHandler(FieldPosition& _pos)
56 if (delta != 0 && pos.getField() != FieldPosition::DONT_CARE && pos.getBeginIndex() != -1) {
64 return pos.getField() != FieldPosition::DONT_CARE;
currfmt.h 73 FieldPosition& pos,
reldtfmt.h 101 FieldPosition& pos) const;
119 FieldPosition& pos,
  /external/icu4c/test/intltest/
pptest.cpp 107 FieldPosition fp( 7 );
115 FieldPosition fpc(fp);
122 FieldPosition fph( 3 );
155 FieldPosition *pfp = fp.clone();
157 errln("FieldPosition.clone() failed");
199 FieldPosition pos(NumberFormat::INTEGER_FIELD);
217 * Need to override ParsePosition.equals and FieldPosition.equals.
225 FieldPosition fp(2);
226 FieldPosition fp2(2);
228 errln("Error : FieldPosition.equals() failed")
    [all...]
numrgts.cpp 32 FieldPosition& pos,
41 FieldPosition& pos,
50 FieldPosition& /* pos */) const
80 FieldPosition&) const
85 FieldPosition&) const
288 FieldPosition fp1(0);
295 FieldPosition fp2(0);
323 FieldPosition pos(FieldPosition::DONT_CARE);
348 FieldPosition pos(FieldPosition::DONT_CARE)
    [all...]
  /external/icu4c/samples/msgfmt/answers/
main_2.cpp 25 FieldPosition pos;
main_3.cpp 25 FieldPosition pos;
  /external/icu4c/samples/msgfmt/
main.cpp 25 FieldPosition pos;

Completed in 1920 milliseconds

1 2 3 4 5