/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | SimpleFormatterTest.java | 17 import com.ibm.icu.text.SimpleFormatter; 34 SimpleFormatter fmt = SimpleFormatter.compile("This doesn''t have templates '{0}"); in TestWithNoArguments() 73 SimpleFormatter.compile("{}"); in TestSyntaxErrors() 78 SimpleFormatter.compile("{12d"); in TestSyntaxErrors() 88 SimpleFormatter.compile("{0} meter").format("1")); in TestOneArgument() 93 SimpleFormatter fmt = SimpleFormatter.compile("a{20}c"); in TestBigArgument() 105 SimpleFormatter.compile( in TestGetTextWithNoArguments() 111 SimpleFormatter fmt = SimpleFormatter.compile( in TestTooFewArgumentValues() 137 SimpleFormatter fmt = SimpleFormatter.compile( in TestWithArguments() 162 SimpleFormatter fmt = SimpleFormatter.compile( in TestFormatUseAppendToAsArgument() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | SimpleFormatterTest.java | 18 import android.icu.text.SimpleFormatter; 37 SimpleFormatter fmt = SimpleFormatter.compile("This doesn''t have templates '{0}"); in TestWithNoArguments() 76 SimpleFormatter.compile("{}"); in TestSyntaxErrors() 81 SimpleFormatter.compile("{12d"); in TestSyntaxErrors() 91 SimpleFormatter.compile("{0} meter").format("1")); in TestOneArgument() 96 SimpleFormatter fmt = SimpleFormatter.compile("a{20}c"); in TestBigArgument() 108 SimpleFormatter.compile( in TestGetTextWithNoArguments() 114 SimpleFormatter fmt = SimpleFormatter.compile( in TestTooFewArgumentValues() 140 SimpleFormatter fmt = SimpleFormatter.compile( in TestWithArguments() 165 SimpleFormatter fmt = SimpleFormatter.compile( in TestFormatUseAppendToAsArgument() [all …]
|
/external/icu/icu4c/source/common/unicode/ |
D | simpleformatter.h | 62 class U_COMMON_API SimpleFormatter U_FINAL : public UMemory { 68 SimpleFormatter() : compiledPattern((char16_t)0) {} in SimpleFormatter() function 79 SimpleFormatter(const UnicodeString& pattern, UErrorCode &errorCode) { in SimpleFormatter() function 97 SimpleFormatter(const UnicodeString& pattern, int32_t min, int32_t max, in SimpleFormatter() function 106 SimpleFormatter(const SimpleFormatter& other) in SimpleFormatter() function 113 SimpleFormatter &operator=(const SimpleFormatter& other); 119 ~SimpleFormatter();
|
/external/icu/libicu/cts_headers/unicode/ |
D | simpleformatter.h | 62 class U_COMMON_API SimpleFormatter U_FINAL : public UMemory { 68 SimpleFormatter() : compiledPattern((char16_t)0) {} in SimpleFormatter() function 79 SimpleFormatter(const UnicodeString& pattern, UErrorCode &errorCode) { in SimpleFormatter() function 97 SimpleFormatter(const UnicodeString& pattern, int32_t min, int32_t max, in SimpleFormatter() function 106 SimpleFormatter(const SimpleFormatter& other) in SimpleFormatter() function 113 SimpleFormatter &operator=(const SimpleFormatter& other); 119 ~SimpleFormatter();
|
/external/icu/icu4c/source/test/intltest/ |
D | simpleformattertest.cpp | 69 SimpleFormatter fmt("This doesn''t have templates '{0}", status); in TestNoArguments() 92 SimpleFormatter fmt("{}", status); in TestSyntaxErrors() 101 SimpleFormatter fmt; in TestOneArgument() 114 SimpleFormatter s; in TestOneArgument() 123 SimpleFormatter r(fmt); in TestOneArgument() 134 SimpleFormatter fmt("a{20}c", status); in TestBigArgument() 152 SimpleFormatter fmt; in TestManyArguments() 196 SimpleFormatter s; in TestManyArguments() 211 SimpleFormatter r(fmt); in TestManyArguments() 249 SimpleFormatter fmt("{0} and {1}", status); in TestTooFewArgumentValues() [all …]
|
/external/icu/icu4c/source/common/ |
D | simpleformatter.cpp | 53 SimpleFormatter &SimpleFormatter::operator=(const SimpleFormatter& other) { in operator =() 61 SimpleFormatter::~SimpleFormatter() {} in ~SimpleFormatter() 63 UBool SimpleFormatter::applyPatternMinMaxArguments( in applyPatternMinMaxArguments() 158 UnicodeString& SimpleFormatter::format( in format() 165 UnicodeString& SimpleFormatter::format( in format() 173 UnicodeString& SimpleFormatter::format( in format() 182 UnicodeString& SimpleFormatter::formatAndAppend( in formatAndAppend() 199 UnicodeString &SimpleFormatter::formatAndReplace( in formatAndReplace() 248 UnicodeString SimpleFormatter::getTextWithNoArguments( in getTextWithNoArguments() 274 UnicodeString &SimpleFormatter::format( in format()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | QuantityFormatter.java | 25 private final SimpleFormatter[] templates = 26 new SimpleFormatter[StandardPlural.COUNT]; 45 templates[idx] = SimpleFormatter.compileMinMaxArguments(template, 0, 1); in addIfAbsent() 66 SimpleFormatter formatter = templates[p.ordinal()]; in format() 79 public SimpleFormatter getByVariant(CharSequence variant) { in getByVariant() 82 SimpleFormatter template = templates[idx]; in getByVariant()
|
D | SimpleFormatter.java | 37 public final class SimpleFormatter { class 49 private SimpleFormatter(String compiledPattern) { in SimpleFormatter() method in SimpleFormatter 61 public static SimpleFormatter compile(CharSequence pattern) { in compile() 77 public static SimpleFormatter compileMinMaxArguments(CharSequence pattern, int min, int max) { in compileMinMaxArguments() 80 return new SimpleFormatter(compiledPattern); in compileMinMaxArguments()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | QuantityFormatter.java | 26 private final SimpleFormatter[] templates = 27 new SimpleFormatter[StandardPlural.COUNT]; 46 templates[idx] = SimpleFormatter.compileMinMaxArguments(template, 0, 1); in addIfAbsent() 67 SimpleFormatter formatter = templates[p.ordinal()]; in format() 80 public SimpleFormatter getByVariant(CharSequence variant) { in getByVariant() 83 SimpleFormatter template = templates[idx]; in getByVariant()
|
D | SimpleFormatter.java | 38 public final class SimpleFormatter { class 50 private SimpleFormatter(String compiledPattern) { in SimpleFormatter() method in SimpleFormatter 61 public static SimpleFormatter compile(CharSequence pattern) { in compile() 76 public static SimpleFormatter compileMinMaxArguments(CharSequence pattern, int min, int max) { in compileMinMaxArguments() 79 return new SimpleFormatter(compiledPattern); in compileMinMaxArguments()
|
/external/icu/icu4c/source/i18n/ |
D | quantityformatter.cpp | 44 formatters[i] = new SimpleFormatter(*other.formatters[i]); in QuantityFormatter() 59 formatters[i] = new SimpleFormatter(*other.formatters[i]); in operator =() 89 SimpleFormatter *newFmt = new SimpleFormatter(rawPattern, 0, 1, status); in addIfAbsent() 106 const SimpleFormatter *QuantityFormatter::getByVariant( in getByVariant() 110 const SimpleFormatter *pattern = formatters[pluralIndex]; in getByVariant() 129 const SimpleFormatter *pattern = formatters[p]; in format() 218 const SimpleFormatter &pattern, in format()
|
D | listformatter.cpp | 51 PatternHandler(const SimpleFormatter& two, const SimpleFormatter& end) : in PatternHandler() 60 virtual const SimpleFormatter& getTwoPattern(const UnicodeString&) const { in getTwoPattern() 65 virtual const SimpleFormatter& getEndPattern(const UnicodeString&) const { in getEndPattern() 70 SimpleFormatter twoPattern; 71 SimpleFormatter endPattern; 91 const SimpleFormatter& thenTwo, SimpleFormatter elseTwo, in ContextualHandler() 92 const SimpleFormatter& thenEnd, SimpleFormatter elseEnd) : in ContextualHandler() 105 const SimpleFormatter& getTwoPattern( in getTwoPattern() 110 const SimpleFormatter& getEndPattern( in getEndPattern() 117 SimpleFormatter thenTwoPattern; [all …]
|
D | quantityformatter.h | 23 class SimpleFormatter; variable 91 const SimpleFormatter *getByVariant(const char *variant) const; 151 const SimpleFormatter &pattern, 158 SimpleFormatter *formatters[StandardPlural::COUNT];
|
D | number_longnames.cpp | 297 SimpleFormatter compiled(rawPerUnitFormat, 2, 2, status); in forCompoundUnit() 306 SimpleFormatter secondaryCompiled(secondaryFormat, 0, 1, status); in forCompoundUnit() 378 SimpleFormatter compiledFormatter(simpleFormat, 0, 1, status); in simpleFormatsToModifiers() 386 SimpleFormatter trailCompiled(trailFormat, 1, 1, status); in multiSimpleFormatsToModifiers() 395 SimpleFormatter compoundCompiled(compoundFormat, 0, 1, status); in multiSimpleFormatsToModifiers() 507 SimpleFormatter compiledFormatter(simpleFormat, 0, 1, status); in getMixedUnitModifier() 526 SimpleFormatter finalFormatter(finalSimpleFormat, 0, 1, status); in getMixedUnitModifier() 533 SimpleFormatter premixedCompiled(premixedFormatPattern, 0, 1, status); in getMixedUnitModifier()
|
D | reldatefmt.cpp | 81 SimpleFormatter *relativeUnitsFormatters[UDAT_STYLE_COUNT] 87 const SimpleFormatter* getRelativeUnitFormatter(int32_t fStyle, 91 const SimpleFormatter* getRelativeDateTimeUnitFormatter(int32_t fStyle, 101 void adoptCombinedDateAndTime(SimpleFormatter *fmtToAdopt) { in adoptCombinedDateAndTime() 105 const SimpleFormatter *getCombinedDateAndTime() const { in getCombinedDateAndTime() 110 SimpleFormatter *combinedDateAndTime; 143 const SimpleFormatter* RelativeDateTimeCacheData::getRelativeUnitFormatter( in getRelativeUnitFormatter() 165 const SimpleFormatter* RelativeDateTimeCacheData::getRelativeDateTimeUnitFormatter( in getRelativeDateTimeUnitFormatter() 513 SimpleFormatter **patterns = in consumeTimeDetail() 518 patterns[pluralIndex] = new SimpleFormatter( in consumeTimeDetail() [all …]
|
D | reldtfmt.h | 30 class SimpleFormatter; variable 254 SimpleFormatter *fCombinedFormat; // the {0} {1} format.
|
/external/icu/libicu/cts_headers/ |
D | quantityformatter.h | 23 class SimpleFormatter; variable 91 const SimpleFormatter *getByVariant(const char *variant) const; 151 const SimpleFormatter &pattern, 158 SimpleFormatter *formatters[StandardPlural::COUNT];
|
D | reldtfmt.h | 30 class SimpleFormatter; variable 254 SimpleFormatter *fCombinedFormat; // the {0} {1} format.
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | MixedUnitLongNameHandler.java | 16 import android.icu.text.SimpleFormatter; 183 … SimpleFormatter compiledFormatter = SimpleFormatter.compileMinMaxArguments(simpleFormat, 0, 1); in getMixedUnitModifier() 201 … SimpleFormatter finalFormatter = SimpleFormatter.compileMinMaxArguments(finalSimpleFormat, 0, 1); in getMixedUnitModifier()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | MixedUnitLongNameHandler.java | 15 import com.ibm.icu.text.SimpleFormatter; 181 … SimpleFormatter compiledFormatter = SimpleFormatter.compileMinMaxArguments(simpleFormat, 0, 1); in getMixedUnitModifier() 199 … SimpleFormatter finalFormatter = SimpleFormatter.compileMinMaxArguments(finalSimpleFormat, 0, 1); in getMixedUnitModifier()
|
/external/testng/src/main/java/org/testng/log/ |
D | TextFormatter.java | 4 import java.util.logging.SimpleFormatter; 15 public class TextFormatter extends SimpleFormatter {
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | XListFormatter.java | 12 import com.ibm.icu.text.SimpleFormatter; 62 SimpleFormatter listPathFormat = SimpleFormatter.compile(listTypeLength.getPath()); in XListFormatter()
|
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
D | SimpleFormatterTest.java | 24 import java.util.logging.SimpleFormatter; 33 SimpleFormatter sf; 44 sf = new SimpleFormatter(); in setUp()
|
/external/grpc-grpc-java/gae-interop-testing/gae-jdk8/src/main/java/io/grpc/testing/integration/ |
D | NettyClientInteropServlet.java | 35 import java.util.logging.SimpleFormatter; 69 SimpleFormatter formatter = new SimpleFormatter(); in getLogOutput()
|
/external/grpc-grpc-java/gae-interop-testing/gae-jdk7/src/main/java/io/grpc/testing/integration/ |
D | OkHttpClientInteropServlet.java | 39 import java.util.logging.SimpleFormatter; 74 SimpleFormatter formatter = new SimpleFormatter(); in getLogOutput()
|