Home
last modified time | relevance | path

Searched refs:getPrefix (Results 1 – 25 of 49) sorted by relevance

12

/third_party/icu/icu4c/source/test/intltest/
Dnumbertest_patternmodifier.cpp38 assertEquals("Pattern a0b", u"a", getPrefix(mod, status)); in testBasic()
41 assertEquals("Pattern a0b", u"+a", getPrefix(mod, status)); in testBasic()
44 assertEquals("Pattern a0b", u"-a", getPrefix(mod, status)); in testBasic()
47 assertEquals("Pattern a0b", u"+a", getPrefix(mod, status)); in testBasic()
50 assertEquals("Pattern a0b", u"a", getPrefix(mod, status)); in testBasic()
53 assertEquals("Pattern a0b", u"-a", getPrefix(mod, status)); in testBasic()
56 assertEquals("Pattern a0b", u"a", getPrefix(mod, status)); in testBasic()
62 assertEquals("Pattern a0b", u"~a", getPrefix(mod, status)); in testBasic()
65 assertEquals("Pattern a0b", u"~-a", getPrefix(mod, status)); in testBasic()
69 assertEquals("Pattern a0b", u"~+a", getPrefix(mod, status)); in testBasic()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DMutablePatternModifierTest.java37 assertEquals("a", getPrefix(mod)); in basic()
40 assertEquals("+a", getPrefix(mod)); in basic()
43 assertEquals("+a", getPrefix(mod)); in basic()
46 assertEquals("-a", getPrefix(mod)); in basic()
49 assertEquals("a", getPrefix(mod)); in basic()
52 assertEquals("-a", getPrefix(mod)); in basic()
55 assertEquals("a", getPrefix(mod)); in basic()
60 assertEquals("Pattern a0b", "~a", getPrefix(mod)); in basic()
66 assertEquals("a", getPrefix(mod)); in basic()
69 assertEquals("c+", getPrefix(mod)); in basic()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/
DMutablePatternModifierTest.java40 assertEquals("a", getPrefix(mod)); in basic()
43 assertEquals("+a", getPrefix(mod)); in basic()
46 assertEquals("+a", getPrefix(mod)); in basic()
49 assertEquals("-a", getPrefix(mod)); in basic()
52 assertEquals("a", getPrefix(mod)); in basic()
55 assertEquals("-a", getPrefix(mod)); in basic()
58 assertEquals("a", getPrefix(mod)); in basic()
64 assertEquals("a", getPrefix(mod)); in basic()
67 assertEquals("c+", getPrefix(mod)); in basic()
70 assertEquals("c+", getPrefix(mod)); in basic()
[all …]
/third_party/libphonenumber/java/internal/prefixmapper/test/com/google/i18n/phonenumbers/prefixmapper/
DFlyweightMapStorageTest.java57 assertEquals(331402, mapStorage.getPrefix(0)); in testReadFromSortedMap()
58 assertEquals(331434, mapStorage.getPrefix(1)); in testReadFromSortedMap()
59 assertEquals(334910, mapStorage.getPrefix(2)); in testReadFromSortedMap()
60 assertEquals(334911, mapStorage.getPrefix(3)); in testReadFromSortedMap()
70 assertEquals(334912, mapStorage.getPrefix(4)); in testReadFromSortedMapSupportsEmptyDescription()
71 assertEquals(334913, mapStorage.getPrefix(5)); in testReadFromSortedMapSupportsEmptyDescription()
/third_party/node/deps/npm/node_modules/bin-links/lib/
Dbin-target.js2 const getPrefix = require('./get-prefix.js') constant
8 : isWindows ? getPrefix(path)
9 : dirname(getPrefix(path)) + '/bin'
Dman-target.js2 const getPrefix = require('./get-prefix.js') constant
6 : dirname(getPrefix(path)) + '/share/man'
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/table/
DRangeKey.java56 comparing(RangeKey::getPrefix, comparing(s -> s.min().toString()))
169 public abstract RangeSpecification getPrefix(); in getPrefix() method in RangeKey
182 RangeSpecification s = getPrefix(); in asRangeSpecifications()
189 RangeSpecification s = getPrefix(); in asRangeTree()
DSchema.java149 .comparing(Schema::getPrefix, Ordering.explicit(names().asList())) in ordering()
161 private static String getPrefix(Column<?> column) { in getPrefix() method in Schema
/third_party/libphonenumber/java/internal/prefixmapper/src/com/google/i18n/phonenumbers/prefixmapper/
DPhonePrefixMapStorageStrategy.java42 public abstract int getPrefix(int index); in getPrefix() method in PhonePrefixMapStorageStrategy
101 output.append(getPrefix(i)) in toString()
DPhonePrefixMap.java165 int currentPrefix = phonePrefixMapStorage.getPrefix(currentIndex); in lookup()
196 int currentValue = phonePrefixMapStorage.getPrefix(current); in binarySearch()
DDefaultMapStorage.java39 public int getPrefix(int index) { in getPrefix() method in DefaultMapStorage
DFlyweightMapStorage.java54 public int getPrefix(int index) { in getPrefix() method in FlyweightMapStorage
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Option/
DArgList.cpp244 std::make_unique<Arg>(Opt, MakeArgString(Opt.getPrefix() + Opt.getName()), in MakeFlagArg()
253 std::make_unique<Arg>(Opt, MakeArgString(Opt.getPrefix() + Opt.getName()), in MakePositionalArg()
262 std::make_unique<Arg>(Opt, MakeArgString(Opt.getPrefix() + Opt.getName()), in MakeSeparateArg()
271 Opt, MakeArgString(Opt.getPrefix() + Opt.getName()), Index, in MakeJoinedArg()
DOption.cpp254 Twine(UnaliasedOption.getPrefix()) + Twine(UnaliasedOption.getName())); in accept()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/
DSingleUnitImpl.java80 result.append(this.getPrefix().getIdentifier()); in getNeutralIdentifier()
184 public MeasureUnit.MeasurePrefix getPrefix() { in getPrefix() method in SingleUnitImpl
DMeasureUnitImpl.java93 …resultSingleUnit.getPrefix().getIdentifier().compareTo(singleUnit.getPrefix().getIdentifier()) == 0 in copyAndSimplify()
630 result.setPrefix(token.getPrefix()); in nextSingleUnit()
708 public MeasureUnit.MeasurePrefix getPrefix() { in getPrefix() method in MeasureUnitImpl.UnitsParser.Token
DConversionRates.java43 MeasureUnit.MeasurePrefix unitPrefix = singleUnit.getPrefix(); in getFactorToBase()
132 if (singleUnit.getPrefix() != MeasureUnit.MeasurePrefix.ONE) return false; in checkSimpleUnit()
/third_party/node/lib/internal/util/
Dinspect.js693 function getPrefix(constructor, tag, fallback, size = '') { function
744 return getPrefix(constructor, tag, fallback);
885 getPrefix(constructor, tag, 'Array', `(${value.length})`) :
895 const prefix = getPrefix(constructor, tag, 'Set', `(${size})`);
905 const prefix = getPrefix(constructor, tag, 'Map', `(${size})`);
923 const prefix = getPrefix(constructor, tag, fallback, `(${size})`);
952 braces[0] = `${getPrefix(constructor, tag, 'Object')}{`;
966 const prefix = getPrefix(constructor, tag, 'RegExp');
978 const prefix = getPrefix(constructor, tag, 'Date');
994 const prefix = getPrefix(constructor, tag, arrayType);
[all …]
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/
DRangeSpecificationTest.java153 assertThat(RangeSpecification.empty().getPrefix()).isEqualTo(RangeSpecification.empty()); in testGetPrefix()
154 assertThat(parse("xxxx").getPrefix()).isEqualTo(RangeSpecification.empty()); in testGetPrefix()
155 assertThat(parse("xx1x").getPrefix()).isEqualTo(parse("xx1")); in testGetPrefix()
156 assertThat(parse("123[4-7]xxxx").getPrefix()).isEqualTo(parse("123[4-7]")); in testGetPrefix()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Option/
DOption.h126 StringRef getPrefix() const { in getPrefix() function
133 std::string Ret = getPrefix(); in getPrefixedName()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULibFunc.h333 ENamePrefix getPrefix() const { return FKind; } in getPrefix() function
373 ENamePrefix getPrefix() const { return Impl->getPrefix(); } in getPrefix() function
DAMDGPULibCalls.cpp552 FInfo.getPrefix() != AMDGPULibFunc::NOPFX || in useNative()
686 assert ((FInfo.getPrefix() == AMDGPULibFunc::NATIVE || in fold()
687 FInfo.getPrefix() == AMDGPULibFunc::HALF) && in fold()
693 assert ((FInfo.getPrefix() == AMDGPULibFunc::NATIVE || in fold()
694 FInfo.getPrefix() == AMDGPULibFunc::HALF) && in fold()
719 && (FInfo.getPrefix() == AMDGPULibFunc::NOPFX)) in fold()
803 FInfo.getPrefix() != AMDGPULibFunc::NOPFX || in replaceWithNative()
1267 (FInfo.getPrefix() != AMDGPULibFunc::NATIVE)) { in fold_sqrt()
/third_party/jsframework/runtime/main/extend/systemplugin/napi/
Dohos_xml.js121 getPrefix: function () { method
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/model/
DAltFormatSpec.java51 checkArgument(prefix.length() <= template.minLength() && prefix.equals(prefix.getPrefix()), in create()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/
DJSONBackend.cpp150 if (RV.getPrefix()) in run()

12