Home
last modified time | relevance | path

Searched refs:cpi (Results 1 – 25 of 39) sorted by relevance

12

/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DPluralFormatTest.java279 CurrencyPluralInfo cpi = new CurrencyPluralInfo(); in TestGetPluralRules() local
281 cpi.getPluralRules(); in TestGetPluralRules()
290 CurrencyPluralInfo cpi = new CurrencyPluralInfo(new ULocale("en_US")); in TestGetLocale() local
291 if (!cpi.getLocale().equals(new ULocale("en_US"))) { in TestGetLocale()
294 if (cpi.getLocale().equals(new ULocale("jp_JP"))) { in TestGetLocale()
302 CurrencyPluralInfo cpi = new CurrencyPluralInfo(); in TestSetLocale() local
303 cpi.setLocale(new ULocale("en_US")); in TestSetLocale()
304 if (!cpi.getLocale().equals(new ULocale("en_US"))) { in TestSetLocale()
307 if (cpi.getLocale().equals(new ULocale("jp_JP"))) { in TestSetLocale()
315 CurrencyPluralInfo cpi = new CurrencyPluralInfo(); in TestEquals() local
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DPluralFormatTest.java282 CurrencyPluralInfo cpi = new CurrencyPluralInfo(); in TestGetPluralRules() local
284 cpi.getPluralRules(); in TestGetPluralRules()
293 CurrencyPluralInfo cpi = new CurrencyPluralInfo(new ULocale("en_US")); in TestGetLocale() local
294 if (!cpi.getLocale().equals(new ULocale("en_US"))) { in TestGetLocale()
297 if (cpi.getLocale().equals(new ULocale("jp_JP"))) { in TestGetLocale()
305 CurrencyPluralInfo cpi = new CurrencyPluralInfo(); in TestSetLocale() local
306 cpi.setLocale(new ULocale("en_US")); in TestSetLocale()
307 if (!cpi.getLocale().equals(new ULocale("en_US"))) { in TestSetLocale()
310 if (cpi.getLocale().equals(new ULocale("jp_JP"))) { in TestSetLocale()
318 CurrencyPluralInfo cpi = new CurrencyPluralInfo(); in TestEquals() local
[all …]
/third_party/gettext/gettext-runtime/intl/
Drelocatable.c250 const char *cpi = cp; in compute_curr_prefix() local
252 while (rpi > rel_installdir && cpi > cp_base) in compute_curr_prefix()
255 cpi--; in compute_curr_prefix()
256 if (ISSLASH (*rpi) || ISSLASH (*cpi)) in compute_curr_prefix()
258 if (ISSLASH (*rpi) && ISSLASH (*cpi)) in compute_curr_prefix()
268 != (*cpi >= 'a' && *cpi <= 'z' ? *cpi - 'a' + 'A' : *cpi)) in compute_curr_prefix()
271 if (*rpi != *cpi) in compute_curr_prefix()
280 cp = cpi; in compute_curr_prefix()
/third_party/iptables/extensions/
Dlibxt_ipcomp.txlate2 nft add rule ip filter INPUT comp cpi 18 counter accept
5 nft add rule ip filter INPUT comp cpi != 18 counter accept
/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/
Dinline_pass.cpp132 [&call_inst_itr, &param_idx, &callee2caller](const ir::Instruction* cpi) { in MapParams() argument
133 const uint32_t pid = cpi->result_id(); in MapParams()
260 const ir::Instruction* cpi) { in GenInlineCode() argument
261 switch (cpi->opcode()) { in GenInlineCode()
282 const uint32_t rid = cpi->result_id(); in GenInlineCode()
290 callee2caller[cpi->result_id()] = labelId; in GenInlineCode()
332 uint32_t valId = cpi->GetInOperand(kSpvReturnValueId).words[0]; in GenInlineCode()
390 std::unique_ptr<ir::Instruction> cp_inst(new ir::Instruction(*cpi)); in GenInlineCode()
391 cp_inst->ForEachInId([&callee2caller, &cpi, this](uint32_t* iid) { in GenInlineCode()
395 } else if (cpi->HasLabels()) { in GenInlineCode()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DCurrencyPluralInfoAffixProvider.java11 …public CurrencyPluralInfoAffixProvider(CurrencyPluralInfo cpi, DecimalFormatProperties properties)… in CurrencyPluralInfoAffixProvider() argument
18 String pattern = cpi.getCurrencyPluralPattern(plural.getKeyword()); in CurrencyPluralInfoAffixProvider()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
DCurrencyPluralInfoAffixProvider.java15 …public CurrencyPluralInfoAffixProvider(CurrencyPluralInfo cpi, DecimalFormatProperties properties)… in CurrencyPluralInfoAffixProvider() argument
22 String pattern = cpi.getCurrencyPluralPattern(plural.getKeyword()); in CurrencyPluralInfoAffixProvider()
/third_party/icu/icu4c/source/test/intltest/
Dcollationtest.cpp84 void checkFCD(const char *name, CollationIterator &ci, CodePointIterator &cpi);
392 CollationIterator &ci, CodePointIterator &cpi) { in checkFCD() argument
398 UChar32 c2 = cpi.next(); in checkFCD()
401 name, (long)c1, (long)c2, cpi.getIndex()); in checkFCD()
408 for(int32_t n = (cpi.getLength() * 2) / 3; n > 0; --n) { in checkFCD()
410 UChar32 c2 = cpi.previous(); in checkFCD()
413 name, (long)c1, (long)c2, cpi.getIndex()); in checkFCD()
421 UChar32 c2 = cpi.next(); in checkFCD()
424 name, (long)c1, (long)c2, cpi.getIndex()); in checkFCD()
433 UChar32 c2 = cpi.previous(); in checkFCD()
[all …]
Ddcfmapts.cpp456 LocalPointer<CurrencyPluralInfo>cpi(new CurrencyPluralInfo(status), status); in TestCurrencyPluralInfo() local
462 CurrencyPluralInfo cpi1 = *cpi; in TestCurrencyPluralInfo()
464 if(cpi->getDynamicClassID() != CurrencyPluralInfo::getStaticClassID()){ in TestCurrencyPluralInfo()
468 cpi->setCurrencyPluralPattern("","",status); in TestCurrencyPluralInfo()
473 cpi->setLocale(Locale::getCanada(), status); in TestCurrencyPluralInfo()
478 cpi->setPluralRules("",status); in TestCurrencyPluralInfo()
489 df->adoptCurrencyPluralInfo(cpi.orphan()); in TestCurrencyPluralInfo()
1274 const CurrencyPluralInfo* cpi = df->getCurrencyPluralInfo(); in testInvalidObject() local
1275 assertTrue(WHERE, cpi == nullptr); in testInvalidObject()
Dutxttest.cpp448 int32_t cpi; // char32 position (code point index) in TestCopyMove() local
452 for (cpi=0; ; cpi++) { in TestCopyMove()
524 int32_t cpi; // char32 position (code point index) in TestReplace() local
529 for (cpi=0; ; cpi++) { in TestReplace()
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationTest.java457 private void checkFCD(String name, CollationIterator ci, CodePointIterator cpi) { in checkFCD() argument
461 int c2 = cpi.next(); in checkFCD()
464 + " != U+" + Utility.hex(c1) + " at " + cpi.getIndex()); in checkFCD()
473 for (int n = (cpi.getLength() * 2) / 3; n > 0; --n) { in checkFCD()
475 int c2 = cpi.previous(); in checkFCD()
478 " != U+" + Utility.hex(c2) + " at " + cpi.getIndex()); in checkFCD()
486 int c2 = cpi.next(); in checkFCD()
489 + " != U+" + Utility.hex(c2) + " at " + cpi.getIndex()); in checkFCD()
500 int c2 = cpi.previous(); in checkFCD()
503 + " != U+" + Utility.hex(c2) + " at " + cpi.getIndex()); in checkFCD()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/
DCollationTest.java460 private void checkFCD(String name, CollationIterator ci, CodePointIterator cpi) { in checkFCD() argument
464 int c2 = cpi.next(); in checkFCD()
467 + " != U+" + Utility.hex(c1) + " at " + cpi.getIndex()); in checkFCD()
476 for (int n = (cpi.getLength() * 2) / 3; n > 0; --n) { in checkFCD()
478 int c2 = cpi.previous(); in checkFCD()
481 " != U+" + Utility.hex(c2) + " at " + cpi.getIndex()); in checkFCD()
489 int c2 = cpi.next(); in checkFCD()
492 + " != U+" + Utility.hex(c2) + " at " + cpi.getIndex()); in checkFCD()
503 int c2 = cpi.previous(); in checkFCD()
506 + " != U+" + Utility.hex(c2) + " at " + cpi.getIndex()); in checkFCD()
[all …]
/third_party/libnl/include/linux-private/linux/
Dip.h127 __be16 cpi; member
/third_party/spirv-tools/source/opt/
Dinline_pass.cpp146 [&call_inst_itr, &param_idx, &callee2caller](const Instruction* cpi) { in MapParams() argument
147 const uint32_t pid = cpi->result_id(); in MapParams()
578 calleeFn->WhileEachInst([&callee2caller, this](const Instruction* cpi) { in GenInlineCode() argument
580 const uint32_t rid = cpi->result_id(); in GenInlineCode()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dinline_pass.cpp146 [&call_inst_itr, &param_idx, &callee2caller](const Instruction* cpi) { in MapParams() argument
147 const uint32_t pid = cpi->result_id(); in MapParams()
589 calleeFn->WhileEachInst([&callee2caller, this](const Instruction* cpi) { in GenInlineCode() argument
591 const uint32_t rid = cpi->result_id(); in GenInlineCode()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dinline_pass.cpp146 [&call_inst_itr, &param_idx, &callee2caller](const Instruction* cpi) { in MapParams() argument
147 const uint32_t pid = cpi->result_id(); in MapParams()
589 calleeFn->WhileEachInst([&callee2caller, this](const Instruction* cpi) { in GenInlineCode() argument
591 const uint32_t rid = cpi->result_id(); in GenInlineCode()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dnumber_mapper.h83 void setTo(const CurrencyPluralInfo& cpi, const DecimalFormatProperties& properties,
Dnumber_mapper.cpp448 void CurrencyPluralInfoAffixProvider::setTo(const CurrencyPluralInfo& cpi, in setTo() argument
458 patternString = cpi.getCurrencyPluralPattern(keyword, patternString); in setTo()
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumber_mapper.h87 void setTo(const CurrencyPluralInfo& cpi, const DecimalFormatProperties& properties,
Dnumber_mapper.cpp450 void CurrencyPluralInfoAffixProvider::setTo(const CurrencyPluralInfo& cpi, in setTo() argument
460 patternString = cpi.getCurrencyPluralPattern(keyword, patternString); in setTo()
/third_party/node/deps/icu-small/source/i18n/
Dnumber_mapper.h90 void setTo(const CurrencyPluralInfo& cpi, const DecimalFormatProperties& properties,
Dnumber_mapper.cpp457 void CurrencyPluralInfoAffixProvider::setTo(const CurrencyPluralInfo& cpi, in setTo() argument
467 patternString = cpi.getCurrencyPluralPattern(keyword, patternString); in setTo()
/third_party/icu/icu4c/source/i18n/
Dnumber_mapper.h87 void setTo(const CurrencyPluralInfo& cpi, const DecimalFormatProperties& properties,
Dnumber_mapper.cpp450 void CurrencyPluralInfoAffixProvider::setTo(const CurrencyPluralInfo& cpi, in setTo() argument
460 patternString = cpi.getCurrencyPluralPattern(keyword, patternString); in setTo()
Ddecimfmt.cpp94 LocalPointer<CurrencyPluralInfo> cpi( in DecimalFormat() local
98 fields->properties.currencyPluralInfo.fPtr.adoptInstead(cpi.orphan()); in DecimalFormat()
840 LocalPointer<CurrencyPluralInfo> cpi(toAdopt); in adoptCurrencyPluralInfo() local
844 fields->properties.currencyPluralInfo.fPtr.adoptInstead(cpi.orphan()); in adoptCurrencyPluralInfo()

12