/external/icu4c/i18n/unicode/ |
decimfmt.h | 76 * ("1.23E4"), percentages ("12%"), and currency amounts ("$123", "USD123", 96 * // Print out a number with the localized number, currency and percent 133 * <strong>// Print out a number using the localized number, currency, 134 * // percent, scientific, integer, iso currency, and plural currency 181 * their special status. Two exceptions are the currency sign and quote, which 256 * <td>Currency sign, replaced by currency symbol. If 257 * doubled, replaced by international currency symbol. 258 * If tripled, replaced by currency plural names, for example [all...] |
/external/icu4c/i18n/ |
unum.cpp | 281 UChar* currency, 299 CurrencyAmount *tempCurrAmnt = new CurrencyAmount(number, currency, *status); 419 UChar* currency, 422 currency[0] = 0; 443 u_strcpy(currency, currAmt->getISOCurrency());
|
decimfmt.cpp | 98 /* For currency parsing purose, 100 * every currency format pattern, 102 * and plural currency style. And the patterns are set through applyPattern. 128 /* affix for currency formatting when the currency sign in the pattern 129 * equals to 3, such as the pattern contains 3 currency sign or 130 * the formatter style is currency plural format style. 239 * The CURRENCY_SIGN is the standard Unicode symbol for currency. It 240 * is used in patterns and substitued with either the currency symbol, 241 * or if it is doubled, with the international currency symbol. If th [all...] |
/libcore/luni/src/main/java/java/text/ |
DecimalFormat.java | 27 import java.util.Currency; 38 * percentages ("12%"), and currency amounts ("$123"). All of these flavors can 91 * special status. Two exceptions are the currency sign and quote, which are not 175 * <td>Currency sign, replaced by currency symbol. If doubled, replaced by 176 * international currency symbol. If present in a pattern, the monetary decimal 716 * Returns the currency used by this decimal format. 718 * @return the currency used by this decimal format. 722 public Currency getCurrency() { [all...] |
NumberFormat.java | 27 import java.util.Currency; 88 * {@link #getCurrencyInstance} to get the currency number format, and 317 * Returns the currency used by this number format. 320 * concrete subclasses should override this method if they support currency 324 * @return the currency that was set in getInstance() or in setCurrency(), 328 public Currency getCurrency() { 333 * Returns a {@code NumberFormat} for formatting and parsing currency values 337 * @return a {@code NumberFormat} for handling currency values. 344 * Returns a {@code NumberFormat} for formatting and parsing currency values 349 * @return a {@code NumberFormat} for handling currency values [all...] |
/external/qemu/ |
curses_keys.h | 349 { "currency", 0x0a4 },
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
cnmdptst.c | 335 * Test the handling of the currency symbol in patterns. 350 pattern[0]=pattern[11]=0xa4; /* insert latin-1 currency symbol */ 408 * Test localized currency patterns. 420 log_verbose("\nTesting the number format with different currency patterns\n"); 427 log_data_err("Error in the construction of number format with style currency: %s (Are you missing data?)\n", 455 * Test localized currency patterns for PREEURO variants. 479 log_verbose("\nTesting the number format with different currency patterns\n"); 491 log_data_err("Error in the construction of number format with style currency: %s (Are you missing data?)\n", 523 * Test currency "object" (we use this name to match the other C++ 524 * test name and the Jave name). Actually, test ISO currency cod 540 const char* currency[]={ local [all...] |
cnumtst.c | 190 log_verbose("\nTesting unum_open(currency,NULL,status)\n"); 195 log_err("Error: could not create NumberFormat using \n unum_open(currency, NULL, &status) %s\n", 198 log_verbose("\nTesting unum_open(currency, frenchlocale, status)\n"); 201 log_err("Error: could not create NumberFormat using unum_open(currency, french, &status): %s\n", 382 log_err("Fail: Error in parsing currency, got %f, expected %f\n", d1, a1); 384 log_verbose("Pass: parsed currency ammount successfully\n"); 387 log_verbose("Pass: parsed correct currency\n"); 389 log_err("Fail: parsed incorrect currency\n"); 1600 UChar currency[8]; local [all...] |
/external/icu4c/test/cintltst/ |
cnmdptst.c | 335 * Test the handling of the currency symbol in patterns. 350 pattern[0]=pattern[11]=0xa4; /* insert latin-1 currency symbol */ 408 * Test localized currency patterns. 420 log_verbose("\nTesting the number format with different currency patterns\n"); 427 log_data_err("Error in the construction of number format with style currency: %s (Are you missing data?)\n", 455 * Test localized currency patterns for PREEURO variants. 479 log_verbose("\nTesting the number format with different currency patterns\n"); 491 log_data_err("Error in the construction of number format with style currency: %s (Are you missing data?)\n", 523 * Test currency "object" (we use this name to match the other C++ 524 * test name and the Jave name). Actually, test ISO currency cod 540 const char* currency[]={ local [all...] |
cnumtst.c | 173 log_verbose("\nTesting unum_open(currency,NULL,status)\n"); 178 log_err("Error: could not create NumberFormat using \n unum_open(currency, NULL, &status) %s\n", 181 log_verbose("\nTesting unum_open(currency, frenchlocale, status)\n"); 184 log_err("Error: could not create NumberFormat using unum_open(currency, french, &status): %s\n", 362 log_err("Fail: Error in parsing currency, got %f, expected %f\n", d1, a1); 364 log_verbose("Pass: parsed currency ammount successfully\n"); 367 log_verbose("Pass: parsed correct currency\n"); 369 log_err("Fail: parsed incorrect currency\n"); 1787 UChar currency[8]; local [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
decimfmt.cpp | 70 /* For currency parsing purose, 72 * every currency format pattern, 74 * and plural currency style. And the patterns are set through applyPattern. 100 /* affix for currency formatting when the currency sign in the pattern 101 * equals to 3, such as the pattern contains 3 currency sign or 102 * the formatter style is currency plural format style. 211 * The CURRENCY_SIGN is the standard Unicode symbol for currency. It 212 * is used in patterns and substitued with either the currency symbol, 213 * or if it is doubled, with the international currency symbol. If th 1614 UChar* currency = parseCurrency ? curbuf : NULL; local [all...] |
unum.cpp | 313 UChar* currency, 331 CurrencyAmount *tempCurrAmnt = new CurrencyAmount(number, currency, *status); 456 UChar* currency, 460 currency[0] = 0; 464 u_strcpy(currency, c->getISOCurrency());
|
/external/chromium_org/components/autofill/content/browser/wallet/ |
wallet_items.cc | 174 base::string16 currency; local 175 if (supported_currency_list->GetString(i, ¤cy)) 176 supported_currencies.push_back(currency); 179 DVLOG(1) << "Response from Google Wallet missing supported currency";
|
/external/chromium_org/third_party/icu/source/common/ |
locdispnames.cpp | 285 static const char _kCurrency[] = "currency"; 766 * if the keyword is equal to currency .. then to get the display name 776 UResourceBundle *currency = ures_getByKeyWithFallback(currencies, keywordValue, NULL, status); local 778 dispName = ures_getStringByIndex(currency, UCURRENCY_DISPLAY_NAME_INDEX, &dispNameLen, status); 781 ures_close(currency);
|
/external/icu4c/common/ |
locdispnames.cpp | 286 static const char _kCurrency[] = "currency"; 788 * if the keyword is equal to currency .. then to get the display name 798 UResourceBundle *currency = ures_getByKeyWithFallback(currencies, keywordValue, NULL, status); local 800 dispName = ures_getStringByIndex(currency, UCURRENCY_DISPLAY_NAME_INDEX, &dispNameLen, status); 803 ures_close(currency);
|
/libcore/luni/src/main/java/libcore/icu/ |
NativeDecimalFormat.java | 29 import java.util.Currency; 411 public void setCurrency(Currency currency) { 412 setSymbol(this.address, UNUM_CURRENCY_SYMBOL, currency.getSymbol()); 413 setSymbol(this.address, UNUM_INTL_CURRENCY_SYMBOL, currency.getCurrencyCode()); 610 NumberFormat.Field.CURRENCY,
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
numrgts.cpp | 831 * interpreted as monetary separator if currency symbol is seen! 929 logln ("Bug 4070798 currency test passed."); 1712 const UChar *currency = fmt1->getCurrency(); local [all...] |
numfmtst.cpp | 78 CASE(17,TestComplexCurrency); // This test removed because CLDR no longer uses choice formats in currency symbols. 612 * Test the handling of the currency symbol in patterns. 620 UChar currency = 0x00A4; local 627 pat.append(currency).append("#,##0.00;-"). 628 append(currency).append("#,##0.00"); 642 pat.append(currency).append(currency). 644 append(currency).append(currency). 697 {"en_US@currency=JPY", "\\u00A51,150"} 2895 UChar currency = 0x00A4; local [all...] |
/external/icu4c/test/intltest/ |
numrgts.cpp | 835 * interpreted as monetary separator if currency symbol is seen! 933 logln ("Bug 4070798 currency test passed."); 1716 const UChar *currency = fmt1->getCurrency(); local [all...] |
numfmtst.cpp | 78 TESTCASE_AUTO(TestComplexCurrency); // This test removed because CLDR no longer uses choice formats in currency symbols. 164 errln("Parsed empty string as currency"); 619 * Test the handling of the currency symbol in patterns. 627 UChar currency = 0x00A4; local 634 pat.append(currency).append("#,##0.00;-"). 635 append(currency).append("#,##0.00"); 649 pat.append(currency).append(currency). 651 append(currency).append(currency) 3225 UChar currency = 0x00A4; local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_locale.py | 116 # and a non-ASCII currency symbol. 158 self.assertEqual(locale.currency(value, **format_opts), out)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_locale.py | 116 # and a non-ASCII currency symbol. 158 self.assertEqual(locale.currency(value, **format_opts), out)
|
/libcore/luni/src/main/native/ |
libcore_icu_ICU.cpp | 143 ScopedResourceBundle currency(ures_getByKey(currencyMap.get(), countryCode.c_str(), NULL, &status)); 148 ScopedResourceBundle currencyElem(ures_getByIndex(currency.get(), 0, NULL, &status)); 153 // Check if there's a 'to' date. If there is, the currency isn't used anymore. 190 // unknown currency. The Currency class does. 196 // ICU's default is English. We want the ISO 4217 currency code instead. 586 // This is the UTF-8 encoding of U+00A4 (CURRENCY SIGN).
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
DecimalFormatTest.java | 31 import java.util.Currency; 693 Currency c = Currency.getInstance(Locale.US); 1410 Currency currency = Currency.getInstance("AED"); local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
locale.py | 37 "str", "atof", "atoi", "format", "format_string", "currency", 256 def currency(val, symbol=True, grouping=False, international=False): function 257 """Formats val according to the currency settings 264 raise ValueError("Currency formatting is not possible using " [all...] |