/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/payments/core/ |
H A D | currency_formatter.cc | 34 bool ShouldUseCurrencyCode(const std::string& currency_code) { in ShouldUseCurrencyCode() argument 35 return !currency_code.empty() && in ShouldUseCurrencyCode() 36 currency_code.size() <= kMaxCurrencyCodeLength; in ShouldUseCurrencyCode() 39 std::string FormatCurrencyCode(const std::string& currency_code) { in FormatCurrencyCode() argument 40 return currency_code.length() < kMaxCurrencyCodeDisplayedChars in FormatCurrencyCode() 41 ? currency_code in FormatCurrencyCode() 48 CurrencyFormatter::CurrencyFormatter(const std::string& currency_code, in CurrencyFormatter() argument 51 formatted_currency_code_(FormatCurrencyCode(currency_code)) { in CurrencyFormatter() 61 if (ShouldUseCurrencyCode(currency_code)) { in CurrencyFormatter() 63 currency_code.c_str(), in CurrencyFormatter() [all …]
|
H A D | currency_formatter_unittest.cc | 16 const char* currency_code, in CurrencyTestCase() 21 currency_code(currency_code), in CurrencyTestCase() 28 const char* const currency_code; member 38 CurrencyFormatter formatter(GetParam().currency_code, GetParam().locale_name); in TEST_P() 53 << GetParam().currency_code << ") in " << GetParam().locale_name; in TEST_P()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/payments/core/ |
H A D | currency_formatter.cc | 34 bool ShouldUseCurrencyCode(const std::string& currency_code) { in ShouldUseCurrencyCode() argument 35 return !currency_code.empty() && in ShouldUseCurrencyCode() 36 currency_code.size() <= kMaxCurrencyCodeLength; in ShouldUseCurrencyCode() 39 std::string FormatCurrencyCode(const std::string& currency_code) { in FormatCurrencyCode() argument 40 return currency_code.length() < kMaxCurrencyCodeDisplayedChars in FormatCurrencyCode() 41 ? currency_code in FormatCurrencyCode() 48 CurrencyFormatter::CurrencyFormatter(const std::string& currency_code, in CurrencyFormatter() argument 51 formatted_currency_code_(FormatCurrencyCode(currency_code)) { in CurrencyFormatter() 61 if (ShouldUseCurrencyCode(currency_code)) { in CurrencyFormatter() 63 currency_code.c_str(), in CurrencyFormatter() [all …]
|
H A D | currency_formatter_unittest.cc | 16 const char* currency_code, in CurrencyTestCase() 21 currency_code(currency_code), in CurrencyTestCase() 28 const char* const currency_code; member 38 CurrencyFormatter formatter(GetParam().currency_code, GetParam().locale_name); in TEST_P() 53 << GetParam().currency_code << ") in " << GetParam().locale_name; in TEST_P()
|
/dports/net/google-cloud-sdk/google-cloud-sdk/platform/gsutil/gslib/vendored/boto/boto/mturk/ |
H A D | price.py | 24 def __init__(self, amount=0.0, currency_code='USD'): argument 26 self.currency_code = currency_code 42 self.currency_code = value 48 '%s.%d.CurrencyCode'%(label, ord) : self.currency_code}
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/gsutil/gslib/vendored/boto/boto/mturk/ |
H A D | price.py | 24 def __init__(self, amount=0.0, currency_code='USD'): argument 26 self.currency_code = currency_code 42 self.currency_code = value 48 '%s.%d.CurrencyCode'%(label, ord) : self.currency_code}
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/depot_tools/external_bin/gsutil/gsutil_4.28/gsutil/third_party/boto/boto/mturk/ |
H A D | price.py | 24 def __init__(self, amount=0.0, currency_code='USD'): argument 26 self.currency_code = currency_code 42 self.currency_code = value 48 '%s.%d.CurrencyCode'%(label, ord) : self.currency_code}
|
/dports/devel/py-boto/boto-2.49.0/boto/mturk/ |
H A D | price.py | 24 def __init__(self, amount=0.0, currency_code='USD'): argument 26 self.currency_code = currency_code 42 self.currency_code = value 48 '%s.%d.CurrencyCode'%(label, ord) : self.currency_code}
|
/dports/math/p5-Math-Currency/Math-Currency-0.52/t/ |
H A D | 008_restore_locale.t | 9 for my $currency_code (qw(USD EUR GBP CAD AUD JPY ZAR)) { 10 Math::Currency->format($currency_code); 14 "($currency_code)"); 16 my $currency_obj = Math::Currency->new('1.23', $currency_code); 20 "locale ($currency_code)");
|
/dports/devel/py-oci/oci-2.53.1/src/oci/osp_gateway/models/ |
H A D | currency.py | 65 def currency_code(self): member in Currency 76 @currency_code.setter 77 def currency_code(self, currency_code): argument 86 self._currency_code = currency_code
|
/dports/www/dolibarr13/dolibarr-13.0.5/htdocs/core/class/ |
H A D | translate.class.php | 982 * @param string $currency_code Currency Code 988 public function getCurrencyAmount($currency_code, $amount) argument 990 $symbol = $this->getCurrencySymbol($currency_code); 1000 * @param string $currency_code Currency code 1010 $this->loadCacheCurrencies($forceloadall ? '' : $currency_code); 1012 …currencies[$currency_code]) && !empty($this->cache_currencies[$currency_code]['unicode']) && is_ar… 1021 return ($currency_sign ? $currency_sign : $currency_code); 1027 * @param string $currency_code Get only currency. Get all if ''. 1030 public function loadCacheCurrencies($currency_code) argument 1035 …if (!empty($currency_code) && isset($this->cache_currencies[$currency_code])) return 0; // Cache a… [all …]
|
/dports/www/dolibarr/dolibarr-14.0.3/htdocs/core/class/ |
H A D | translate.class.php | 1004 * @param string $currency_code Currency Code 1010 public function getCurrencyAmount($currency_code, $amount) argument 1012 $symbol = $this->getCurrencySymbol($currency_code); 1014 if (in_array($currency_code, array('USD'))) { 1025 * @param string $currency_code Currency code 1036 …currencies[$currency_code]) && !empty($this->cache_currencies[$currency_code]['unicode']) && is_ar… 1052 public function loadCacheCurrencies($currency_code) argument 1059 if (!empty($currency_code) && isset($this->cache_currencies[$currency_code])) { 1066 if (!empty($currency_code)) { 1076 if (!empty($currency_code)) { [all …]
|
/dports/audio/ampache/ampache-php74-5.0.0/src/Plugin/ |
H A D | AmpachePaypal.php | 44 private $currency_code; variable in Ampache\\Plugin\\AmpachePaypal 117 …echo "<input type='hidden' name='currency_code' value='" . scrub_out($this->currency_code) . "'>\n… 144 $this->currency_code = trim($data['paypal_currency_code']); 145 if (!strlen($this->currency_code)) { 146 $this->currency_code = 'USD';
|
/dports/www/opencart/opencart-3.0.3.8/upload/catalog/controller/extension/payment/ |
H A D | twocheckout.php | 17 $data['currency_code'] = $order_info['currency_code']; 18 …$data['total'] = $this->currency->format($order_info['total'], $order_info['currency_code'], $orde… 59 …'price' => $this->currency->format($product['price'], $order_info['currency_code'], $order_i… 94 …if ($this->currency->format($order_info['total'], $order_info['currency_code'], $order_info['curre…
|
H A D | paypal.php | 149 $currency_code = $this->config->get('payment_paypal_currency_code'); 151 $decimal_place = $setting['currency'][$currency_code]['decimal_place']; 209 'currency_code' => $currency_code, 242 'currency_code' => $currency_code, 246 'currency_code' => $currency_code, 250 'currency_code' => $currency_code, 254 'currency_code' => $currency_code, 258 'currency_code' => $currency_code, 262 'currency_code' => $currency_code,
|
H A D | sagepay_server.php | 71 …Amount'] = $this->currency->format($order_info['total'], $order_info['currency_code'], false, fals… 141 ":" . $this->currency->format($product['price'], $order_info['currency_code'], false, false) . 142 ":" . $this->currency->format($product['tax'], $order_info['currency_code'], false, false) . 143 …>currency->format(($product['price'] + $product['tax']), $order_info['currency_code'], false, fals… 144 …duct['price'] + $product['tax']) * $product['quantity'], $order_info['currency_code'], false, fals… 151 …']) . ":::::" . $this->currency->format($total['value'], $order_info['currency_code'], false, fals…
|
H A D | skrill.php | 38 …$data['amount'] = $this->currency->format($order_info['total'], $order_info['currency_code'], $ord… 39 $data['currency'] = $order_info['currency_code']; 82 … != $this->currency->format((float)$order_info['total'], $order_info['currency_code'], $order_info…
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/payments/content/android/ |
H A D | currency_formatter_android.cc | 23 const JavaParamRef<jstring>& currency_code, in CurrencyFormatterAndroid() argument 26 new CurrencyFormatter(ConvertJavaStringToUTF8(env, currency_code), in CurrencyFormatterAndroid() 57 const JavaParamRef<jstring>& currency_code, in JNI_CurrencyFormatter_InitCurrencyFormatterAndroid() argument 60 new CurrencyFormatterAndroid(env, obj, currency_code, locale_name); in JNI_CurrencyFormatter_InitCurrencyFormatterAndroid()
|
/dports/finance/frontaccounting/frontaccounting/includes/ |
H A D | banking.inc | 84 function get_exchange_rate_from_home_currency($currency_code, $date_) 86 if ($currency_code == get_company_currency() || $currency_code == null) 91 … max(date_) as date_ FROM ".TB_PREF."exchange_rates WHERE curr_code = ".db_escape($currency_code)." 101 $currency_code, $date_)); 111 function get_exchange_rate_to_home_currency($currency_code, $date_) 113 return 1 / get_exchange_rate_from_home_currency($currency_code, $date_); 118 function to_home_currency($amount, $currency_code, $date_) 120 $ex_rate = get_exchange_rate_to_home_currency($currency_code, $date_);
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/payments/content/android/ |
H A D | currency_formatter_android.cc | 23 const JavaParamRef<jstring>& currency_code, in CurrencyFormatterAndroid() argument 26 new CurrencyFormatter(ConvertJavaStringToUTF8(env, currency_code), in CurrencyFormatterAndroid() 63 const JavaParamRef<jstring>& currency_code, in JNI_CurrencyFormatter_InitCurrencyFormatterAndroid() argument 66 new CurrencyFormatterAndroid(env, obj, currency_code, locale_name); in JNI_CurrencyFormatter_InitCurrencyFormatterAndroid()
|
/dports/x11-wm/awesome-vicious/vicious-2.4.1/contrib/ |
H A D | btc_all.lua | 49 local currency_code = string.upper(warg) 50 local url = "https://api.coindesk.com/v1/bpi/currentprice/" .. currency_code .. ".json" 61 btc["{price}"] = string.sub(data["bpi"][currency_code]["rate"], 0, -3)
|
/dports/www/dolibarr13/dolibarr-13.0.5/htdocs/core/boxes/ |
H A D | box_comptes.php | 119 $account_static->currency_code = $objp->currency_code; 123 $solde_total[$objp->currency_code] += $solde; 138 'text' => price($solde, 0, $langs, 1, -1, -1, $objp->currency_code)
|
/dports/www/dolibarr/dolibarr-14.0.3/htdocs/core/boxes/ |
H A D | box_comptes.php | 121 $account_static->currency_code = $objp->currency_code; 125 $solde_total[$objp->currency_code] += $solde; 140 'text' => price($solde, 0, $langs, 1, -1, -1, $objp->currency_code)
|
/dports/www/opencart/opencart-3.0.3.8/upload/catalog/controller/extension/feed/ |
H A D | google_base.php | 72 $currency_code = $this->session->data['currency']; 75 $currency_code = 'USD'; 80 …this->tax->calculate($product['special'], $product['tax_class_id']), $currency_code, $currency_val… 82 …($this->tax->calculate($product['price'], $product['tax_class_id']), $currency_code, $currency_val…
|
/dports/finance/odoo/odoo-19d77c2a03335eb95a686bd69a1b56b38e87d609/odoo/addons/l10n_ch/models/ |
H A D | account_invoice.py | 37 currency_code = isr_subscription[:2] 41 return currency_code + '-' + middle_part + '-' + trailing_cipher 161 currency_code = None 163 currency_code = '01' 165 currency_code = '03' 169 optical_amount = currency_code + amount_ref
|