/external/libphonenumber/java/test/com/android/i18n/phonenumbers/ |
AsYouTypeFormatterTest.java | 30 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.ZZ); local 31 assertEquals("+", formatter.inputDigit('+')); 32 assertEquals("+4", formatter.inputDigit('4')); 33 assertEquals("+48 ", formatter.inputDigit('8')); 34 assertEquals("+48 8", formatter.inputDigit('8')); 35 assertEquals("+48 88", formatter.inputDigit('8')); 36 assertEquals("+48 88 1", formatter.inputDigit('1')); 37 assertEquals("+48 88 12", formatter.inputDigit('2')); 38 assertEquals("+48 88 123", formatter.inputDigit('3')); 39 assertEquals("+48 88 123 1", formatter.inputDigit('1')) 52 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.ZZ); local 72 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.ZZ); local 92 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.BY); local 107 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.BY); local 121 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.US); local 215 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.US); local 229 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.US); local 238 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.US); local 254 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.US); local 390 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.GB); local 407 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.GB); local 422 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.GB); local 437 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.NZ); local 451 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.DE); local 502 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.AR); local 517 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.AR); local 536 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.KR); local 625 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.MX); local 710 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.US); local 729 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.JP); local 785 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.AU); local 842 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.KR); local 863 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.KR); local 899 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.SG); local 919 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.AU); local 994 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.KR); local 1036 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.MX); local 1075 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.IT); local 1087 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.US); local [all...] |
/external/harfbuzz_ng/test/shaping/ |
hb-diff-colorize | 5 formatter = ColorFormatter.Auto (sys.argv) variable 6 colorizer = DiffColorizer (formatter=formatter)
|
/external/droiddriver/.settings/ |
org.eclipse.jdt.core.prefs | 2 org.eclipse.jdt.core.formatter.align_type_members_on_columns=false 3 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 4 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=16 5 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 6 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 7 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 8 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 9 org.eclipse.jdt.core.formatter.alignment_for_assignment=16 10 org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 11 org.eclipse.jdt.core.formatter.alignment_for_compact_if=1 [all...] |
/external/objenesis/main/.settings/ |
org.eclipse.jdt.core.prefs | 14 org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
15 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
16 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0
17 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16
18 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16
19 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16
20 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16
21 org.eclipse.jdt.core.formatter.alignment_for_assignment=0
22 org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16
23 org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 [all...] |
/external/objenesis/tck/.settings/ |
org.eclipse.jdt.core.prefs | 14 org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
15 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
16 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0
17 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16
18 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16
19 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16
20 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16
21 org.eclipse.jdt.core.formatter.alignment_for_assignment=0
22 org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16
23 org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 [all...] |
/cts/tests/tests/text/src/android/text/format/cts/ |
FormatterTest.java | 23 import android.text.format.Formatter; 29 assertEquals("", Formatter.formatFileSize(null, 0)); 35 assertEquals("0.00B", Formatter.formatFileSize(mContext, 0)); 37 assertEquals("899B", Formatter.formatFileSize(mContext, 899)); 39 assertEquals("1.00KB", Formatter.formatFileSize(mContext, bd.pow(1).longValue())); 41 assertEquals("1.00MB", Formatter.formatFileSize(mContext, bd.pow(2).longValue())); 43 assertEquals("1.00GB", Formatter.formatFileSize(mContext, bd.pow(3).longValue())); 45 assertEquals("1.00TB", Formatter.formatFileSize(mContext, bd.pow(4).longValue())); 47 assertEquals("1.00PB", Formatter.formatFileSize(mContext, bd.pow(5).longValue())); 49 assertEquals("1024PB", Formatter.formatFileSize(mContext, bd.pow(6).longValue())) [all...] |
/development/ide/eclipse/ |
android-formatting.xml | 4 <setting id="org.eclipse.jdt.core.formatter.align_type_members_on_columns" value="false"/> 5 <setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression" value="16"/> 6 <setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant" value="16"/> 7 <setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call" value="16"/> 8 <setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation" value="16"/> 9 <setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression" value="16"/> 10 <setting id="org.eclipse.jdt.core.formatter.alignment_for_assignment" value="0"/> 11 <setting id="org.eclipse.jdt.core.formatter.alignment_for_binary_expression" value="16"/> 12 <setting id="org.eclipse.jdt.core.formatter.alignment_for_compact_if" value="16"/> 13 <setting id="org.eclipse.jdt.core.formatter.alignment_for_conditional_expression" value="80"/ [all...] |
android-formatting-35.xml | 4 <setting id="org.eclipse.jdt.core.formatter.align_type_members_on_columns" value="false"/> 5 <setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression" value="16"/> 6 <setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant" value="16"/> 7 <setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call" value="16"/> 8 <setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation" value="16"/> 9 <setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression" value="16"/> 10 <setting id="org.eclipse.jdt.core.formatter.alignment_for_assignment" value="0"/> 11 <setting id="org.eclipse.jdt.core.formatter.alignment_for_binary_expression" value="16"/> 12 <setting id="org.eclipse.jdt.core.formatter.alignment_for_compact_if" value="16"/> 13 <setting id="org.eclipse.jdt.core.formatter.alignment_for_conditional_expression" value="80"/ [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
itrbnfrt.cpp | 64 RuleBasedNumberFormat* formatter local 68 errcheckln(status, "failed to construct formatter - %s", u_errorName(status)); 70 doTest(formatter, -12345678, 12345678); 72 delete formatter; 82 RuleBasedNumberFormat* formatter local 86 errcheckln(status, "failed to construct formatter - %s", u_errorName(status)); 88 doTest(formatter, 0, 12345678); 90 delete formatter; 100 RuleBasedNumberFormat* formatter local 104 errcheckln(status, "failed to construct formatter - %s", u_errorName(status)) 118 RuleBasedNumberFormat* formatter local 136 RuleBasedNumberFormat* formatter local 154 RuleBasedNumberFormat* formatter local 172 RuleBasedNumberFormat* formatter local 190 RuleBasedNumberFormat* formatter local 208 RuleBasedNumberFormat* formatter local 226 RuleBasedNumberFormat* formatter local 244 RuleBasedNumberFormat* formatter local 262 RuleBasedNumberFormat* formatter local [all...] |
/external/icu4c/test/intltest/ |
itrbnfrt.cpp | 64 RuleBasedNumberFormat* formatter local 68 errcheckln(status, "failed to construct formatter - %s", u_errorName(status)); 70 doTest(formatter, -12345678, 12345678); 72 delete formatter; 82 RuleBasedNumberFormat* formatter local 86 errcheckln(status, "failed to construct formatter - %s", u_errorName(status)); 88 doTest(formatter, 0, 12345678); 90 delete formatter; 100 RuleBasedNumberFormat* formatter local 104 errcheckln(status, "failed to construct formatter - %s", u_errorName(status)) 118 RuleBasedNumberFormat* formatter local 136 RuleBasedNumberFormat* formatter local 154 RuleBasedNumberFormat* formatter local 172 RuleBasedNumberFormat* formatter local 190 RuleBasedNumberFormat* formatter local 208 RuleBasedNumberFormat* formatter local 226 RuleBasedNumberFormat* formatter local 244 RuleBasedNumberFormat* formatter local 262 RuleBasedNumberFormat* formatter local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/tools/trace/ |
model.py | 50 formatter = format.DefaultFormatter(stream) 51 pretty_printer = PrettyPrinter(formatter) 150 def __init__(self, formatter): 151 self.formatter = formatter 155 self.formatter.literal('NULL') 160 self.formatter.address('blob(%u)' % len(node.value)) 161 #self.formatter.text('...') 164 self.formatter.literal('"' + node.value + '"') 167 self.formatter.literal(repr(node.value) [all...] |
/external/mesa3d/src/gallium/tools/trace/ |
model.py | 50 formatter = format.DefaultFormatter(stream) 51 pretty_printer = PrettyPrinter(formatter) 150 def __init__(self, formatter): 151 self.formatter = formatter 155 self.formatter.literal('NULL') 160 self.formatter.address('blob(%u)' % len(node.value)) 161 #self.formatter.text('...') 164 self.formatter.literal('"' + node.value + '"') 167 self.formatter.literal(repr(node.value) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
htmllib.py | 14 from formatter import AS_IS 34 def __init__(self, formatter, verbose=0): 37 The formatter parameter is the formatter instance associated with 42 self.formatter = formatter 60 # --- Formatter interface, taking care of 'savedata' mode; 68 self.formatter.add_literal_data(data) 70 self.formatter.add_flowing_data(data) 76 to the formatter object 452 import sys, formatter namespace [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
htmllib.py | 14 from formatter import AS_IS 34 def __init__(self, formatter, verbose=0): 37 The formatter parameter is the formatter instance associated with 42 self.formatter = formatter 60 # --- Formatter interface, taking care of 'savedata' mode; 68 self.formatter.add_literal_data(data) 70 self.formatter.add_flowing_data(data) 76 to the formatter object 452 import sys, formatter namespace [all...] |
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
measfmt.h | 22 * \brief C++ API: Formatter for measure objects. 29 * A formatter for measure objects. This is an abstract base class. 31 * <p>To format or parse a measure object, first create a formatter 46 * Return a formatter for CurrencyAmount objects in the given 50 * @return a formatter object, or NULL upon error 57 * Return a formatter for CurrencyAmount objects in the default 60 * @return a formatter object, or NULL upon error
|
/external/icu4c/i18n/unicode/ |
measfmt.h | 22 * \brief C++ API: Formatter for measure objects. 29 * A formatter for measure objects. This is an abstract base class. 31 * <p>To format or parse a measure object, first create a formatter 50 * Return a formatter for CurrencyAmount objects in the given 54 * @return a formatter object, or NULL upon error 61 * Return a formatter for CurrencyAmount objects in the default 64 * @return a formatter object, or NULL upon error
|
/libcore/luni/src/test/java/libcore/java/util/ |
OldFormatterTest.java | 21 import java.util.Formatter; 32 public void formatTo(Formatter formatter, int flags, int width, int precision) throws IllegalFormatException { 34 formatter.out().append("111"); 41 public void formatTo(Formatter formatter, int flags, int width, int precision) throws IllegalFormatException { 43 formatter.out().append("222"); 50 assertEquals("aaa 111?", new Formatter().format("aaa %s?", ones).toString()); 51 assertEquals("aaa 111 bbb 222?", new Formatter().format("aaa %s bbb %s?", ones, twos).toString()); 57 Formatter fLoc = null [all...] |
/external/chromium_org/build/android/pylib/utils/ |
run_tests_helper.py | 12 class CustomFormatter(logging.Formatter): 13 """Custom log formatter.""" 17 # Can't use super() because in older Python versions logging.Formatter does 19 logging.Formatter.__init__(self, fmt=fmt) 24 # Can't use super() because in older Python versions logging.Formatter does 26 msg = logging.Formatter.format(self, record)
|
/external/chromium_org/base/i18n/ |
time_formatting.cc | 19 string16 TimeFormat(const icu::DateFormat* formatter, 21 DCHECK(formatter); 24 formatter->format(static_cast<UDate>(time.ToDoubleT() * 1000), date_string); 29 string16 TimeFormatWithoutAmPm(const icu::DateFormat* formatter, 31 DCHECK(formatter); 35 formatter->format( 56 scoped_ptr<icu::DateFormat> formatter( 58 return TimeFormat(formatter.get(), time); 85 icu::SimpleDateFormat formatter(generated_pattern, status); 88 return TimeFormat(&formatter, time) [all...] |
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/algorithm/string/ |
formatter.hpp | 1 // Boost string_algo library formatter.hpp header file ---------------------------// 19 #include <boost/algorithm/string/detail/formatter.hpp> 22 Defines Formatter generators. Formatter is a functor which formats 23 a string according to given parameters. A Formatter works 25 for a specific Formatter. An example of such a cooperation is regex_finder 37 //! Constant formatter 39 Constructs a \c const_formatter. Const formatter always returns 56 //! Identity formatter 58 Constructs an \c identity_formatter. Identity formatter always return [all...] |
find_format.hpp | 29 Result of finding is then used by a Formatter object to generate the replacement. 39 Use the Finder to search for a substring. Use the Formatter to format 47 \param Formatter A Formatter object used to format a match 62 FormatterT Formatter ) 81 Formatter, 96 FormatterT Formatter ) 112 Formatter, 118 Use the Finder to search for a substring. Use the Formatter to format 123 \param Formatter A Formatter object used to format a matc [all...] |
/external/icu4c/i18n/ |
udateintervalformat.cpp | 41 LocalPointer<DateIntervalFormat> formatter( 52 formatter->adoptTimeZone(zone); 54 return (UDateIntervalFormat*)formatter.orphan(); 59 udtitvfmt_close(UDateIntervalFormat *formatter) 61 delete (DateIntervalFormat*)formatter; 66 udtitvfmt_format(const UDateIntervalFormat* formatter, 93 ((const DateIntervalFormat*)formatter)->format( &interval, res, fp, *status );
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/util/ |
HashUtil.java | 11 import java.util.Formatter; 56 Formatter formatter = new Formatter(sb); local 58 formatter.format("%02x", b);
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
ProgramCache.cpp | 31 * A simple formatter class to automatically add the endl and 35 class Formatter; 36 static Formatter& indent(Formatter& f); 37 static Formatter& dedent(Formatter& f); 39 class Formatter { 42 typedef Formatter& (*FormaterManipFunc)(Formatter&); 43 friend Formatter& indent(Formatter& f) [all...] |
/external/chromium/base/i18n/ |
time_formatting.cc | 19 string16 TimeFormat(const icu::DateFormat* formatter, 21 DCHECK(formatter); 24 formatter->format(static_cast<UDate>(time.ToDoubleT() * 1000), date_string); 36 scoped_ptr<icu::DateFormat> formatter( 38 return TimeFormat(formatter.get(), time); 64 icu::SimpleDateFormat formatter(generated_pattern, status); 66 return TimeFormat(&formatter, time); 70 scoped_ptr<icu::DateFormat> formatter( 72 return TimeFormat(formatter.get(), time); 76 scoped_ptr<icu::DateFormat> formatter( [all...] |