/external/icu/icu4c/source/i18n/ |
H A D | sharednumberformat.h | 18 class NumberFormat; 22 SharedNumberFormat(NumberFormat *nfToAdopt) : ptr(nfToAdopt) { } 24 const NumberFormat *get() const { return ptr; } 25 const NumberFormat *operator->() const { return ptr; } 26 const NumberFormat &operator*() const { return *ptr; } 28 NumberFormat *ptr;
|
H A D | numfmt.cpp | 105 const int32_t icu::NumberFormat::gDefaultMaxIntegerDigits = 2000000000; 106 const int32_t icu::NumberFormat::gDefaultMinIntegerDigits = 127; 153 // Static hashtable cache of NumberingSystem objects used by NumberFormat 196 // class NumberFormat 201 UOBJECT_DEFINE_ABSTRACT_RTTI_IMPLEMENTATION(NumberFormat) 233 NumberFormat::NumberFormat() function in class:NumberFormat 248 NumberFormat::~NumberFormat() 259 NumberFormat function in class:NumberFormat [all...] |
H A D | currfmt.h | 22 class NumberFormat; 90 NumberFormat* fmt;
|
/external/chromium_org/v8/test/intl/number-format/ |
H A D | wellformed-unsupported-locale.js | 30 var nf = Intl.NumberFormat(['xx']);
|
H A D | parse-currency.js | 31 var nf = new Intl.NumberFormat(['en'], {style: 'currency', currency: 'USD'});
|
H A D | format-is-bound.js | 28 // Create default NumberFormat. 29 var nf = new Intl.NumberFormat();
|
H A D | resolved-options-is-method.js | 31 var nf = new Intl.NumberFormat();
|
H A D | default-locale.js | 28 // Constructing NumberFormat with no locale arguments or with [] 31 var nf = new Intl.NumberFormat([]); 43 var nfNone = new Intl.NumberFormat();
|
H A D | parse-percent.js | 28 var nf = new Intl.NumberFormat(['en'], {style: 'percent'});
|
H A D | property-override.js | 48 var options = Intl.NumberFormat( 74 var locale = Intl.NumberFormat(undefined,
|
/external/chromium_org/v8/test/intl/general/ |
H A D | mapped-locale.js | 30 var nf = Intl.NumberFormat(['zh-TW'], {localeMatcher: 'lookup'}); 33 var nf = Intl.NumberFormat(['zh-Hant-TW'], {localeMatcher: 'lookup'}); 36 var nf = Intl.NumberFormat(['zh-Hant'], {localeMatcher: 'lookup'}); 39 nf = Intl.NumberFormat(['zh'], {localeMatcher: 'lookup'}); 42 nf = Intl.NumberFormat(['zh-CN'], {localeMatcher: 'lookup'}); 45 nf = Intl.NumberFormat(['zh-Hans-CN'], {localeMatcher: 'lookup'}); 48 nf = Intl.NumberFormat(['zh-Hans'], {localeMatcher: 'lookup'}); 51 nf = Intl.NumberFormat(['en-US'], {localeMatcher: 'lookup'});
|
/external/chromium_org/v8/test/intl/overrides/ |
H A D | security.js | 34 Intl.Collator = Intl.NumberFormat = Intl.DateTimeFormat = throwError; 37 Intl.NumberFormat.prototype.format = throwError; 42 assertThrows('new Intl.NumberFormat()');
|
H A D | number.js | 35 var nf = new Intl.NumberFormat(); 42 nf = new Intl.NumberFormat(locale); 51 nf = new Intl.NumberFormat(locale, options);
|
/external/chromium_org/third_party/icu/source/i18n/ |
H A D | numfmt.cpp | 99 const int32_t icu::NumberFormat::gDefaultMaxIntegerDigits = 2000000000; 100 const int32_t icu::NumberFormat::gDefaultMinIntegerDigits = 127; 141 // Static hashtable cache of NumberingSystem objects used by NumberFormat 180 // class NumberFormat 185 UOBJECT_DEFINE_ABSTRACT_RTTI_IMPLEMENTATION(NumberFormat) 217 NumberFormat::NumberFormat() function in class:NumberFormat 231 NumberFormat::~NumberFormat() 238 NumberFormat function in class:NumberFormat [all...] |
H A D | currfmt.h | 22 class NumberFormat; 95 NumberFormat* fmt;
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
H A D | numfmt.h | 57 * NumberFormat helps you to format and parse numbers for any locale. 69 * NumberFormat* nf = NumberFormat::createInstance(success) 75 * NumberFormat. 85 * nf = NumberFormat::createInstance( success ); 100 * nf = NumberFormat::createInstance( Locale::FRENCH, success ); 103 * You can use a NumberFormat to parse also. 136 * try casting the NumberFormat you get from the factory methods to a 169 class U_I18N_API NumberFormat : public Format { class in inherits:Format 224 virtual ~NumberFormat(); [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
H A D | nmfmapts.cpp | 27 case 0: name = "NumberFormat API test"; 29 logln("NumberFormat API test---"); logln(""); 42 logln("NumberFormat Registration test---"); logln(""); 59 * NumberFormat. 67 logln("Testing NumberFormat constructors"); 69 NumberFormat *def = NumberFormat::createInstance(status); 71 dataerrln("ERROR: Could not create NumberFormat (default) - %s", u_errorName(status)); 75 NumberFormat *fr = NumberFormat [all...] |
H A D | nmfmtrt.h | 19 * Performs round-trip tests for NumberFormat 38 void test(NumberFormat *fmt); 39 void test(NumberFormat *fmt, double value); 40 void test(NumberFormat *fmt, int32_t value); 41 void test(NumberFormat *fmt, const Formattable& value);
|
H A D | numfmtst.h | 19 * Performs various in-depth test on NumberFormat 182 void expectParseCurrency(const NumberFormat &fmt, const UChar* currency, double amount, const char *text); 192 void expect2(NumberFormat& fmt, const Formattable& n, const UnicodeString& str); 194 void expect3(NumberFormat& fmt, const Formattable& n, const UnicodeString& str); 196 void expect2(NumberFormat& fmt, const Formattable& n, const char* str) { 200 void expect2(NumberFormat* fmt, const Formattable& n, const UnicodeString& str, UErrorCode ec); 202 void expect2(NumberFormat* fmt, const Formattable& n, const char* str, UErrorCode ec) { 206 void expect(NumberFormat& fmt, const UnicodeString& str, const Formattable& n); 208 void expect(NumberFormat& fmt, const char *str, const Formattable& n) { 212 void expect(NumberFormat [all...] |
/external/icu/icu4c/source/test/intltest/ |
H A D | nmfmapts.cpp | 27 case 0: name = "NumberFormat API test"; 29 logln("NumberFormat API test---"); logln(""); 42 logln("NumberFormat Registration test---"); logln(""); 59 * NumberFormat. 67 logln("Testing NumberFormat constructors"); 69 NumberFormat *def = NumberFormat::createInstance(status); 71 dataerrln("ERROR: Could not create NumberFormat (default) - %s", u_errorName(status)); 75 NumberFormat *fr = NumberFormat [all...] |
H A D | numfmtst.h | 19 * Performs various in-depth test on NumberFormat 188 void expectParseCurrency(const NumberFormat &fmt, const UChar* currency, double amount, const char *text); 198 void expect2(NumberFormat& fmt, const Formattable& n, const UnicodeString& str); 200 void expect3(NumberFormat& fmt, const Formattable& n, const UnicodeString& str); 202 void expect2(NumberFormat& fmt, const Formattable& n, const char* str) { 206 void expect2(NumberFormat* fmt, const Formattable& n, const UnicodeString& str, UErrorCode ec); 208 void expect2(NumberFormat* fmt, const Formattable& n, const char* str, UErrorCode ec) { 212 void expect(NumberFormat& fmt, const UnicodeString& str, const Formattable& n); 214 void expect(NumberFormat& fmt, const char *str, const Formattable& n) { 218 void expect(NumberFormat [all...] |
H A D | nmfmtrt.h | 19 * Performs round-trip tests for NumberFormat 38 void test(NumberFormat *fmt); 39 void test(NumberFormat *fmt, double value); 40 void test(NumberFormat *fmt, int32_t value); 41 void test(NumberFormat *fmt, const Formattable& value);
|
/external/icu/icu4c/source/i18n/unicode/ |
H A D | numfmt.h | 60 * NumberFormat helps you to format and parse numbers for any locale. 72 * NumberFormat* nf = NumberFormat::createInstance(success) 78 * NumberFormat. 88 * nf = NumberFormat::createInstance( success ); 103 * nf = NumberFormat::createInstance( Locale::FRENCH, success ); 106 * You can use a NumberFormat to parse also. 139 * try casting the NumberFormat you get from the factory methods to a 172 class U_I18N_API NumberFormat : public Format { class in inherits:Format 227 virtual ~NumberFormat(); [all...] |
H A D | reldatefmt.h | 227 class NumberFormat; 315 * Create RelativeDateTimeFormatter with given locale and NumberFormat. 325 const Locale& locale, NumberFormat *nfToAdopt, UErrorCode& status); 350 * according to this object's NumberFormat object. 405 * Returns the NumberFormat this object is using. 409 const NumberFormat& getNumberFormat() const; 415 void init(const Locale &, NumberFormat *nfToAdopt, UErrorCode &status);
|
/external/chromium_org/base/i18n/ |
H A D | number_formatting.cc | 21 // A simple wrapper around icu::NumberFormat that allows for resetting it 29 // There's no ICU call to destroy a NumberFormat object other than 34 number_format.reset(icu::NumberFormat::createInstance(status)); 38 scoped_ptr<icu::NumberFormat> number_format; 49 icu::NumberFormat* number_format = 63 icu::NumberFormat* number_format =
|