/external/google-java-format/core/src/test/java/com/google/googlejavaformat/java/ |
D | TypeNameClassifierTest.java | 48 private static Optional<Integer> getPrefix(String qualifiedName) { in getPrefix() method in TypeNameClassifierTest 54 assertThat(getPrefix("fieldName")).isEmpty(); in typePrefixLength() 55 assertThat(getPrefix("CONST")).isEmpty(); in typePrefixLength() 56 assertThat(getPrefix("ClassName")).hasValue(0); in typePrefixLength() 57 assertThat(getPrefix("com.ClassName")).hasValue(1); in typePrefixLength() 58 assertThat(getPrefix("ClassName.foo")).hasValue(1); in typePrefixLength() 59 assertThat(getPrefix("com.ClassName.foo")).hasValue(2); in typePrefixLength() 60 assertThat(getPrefix("ClassName.foo.bar")).hasValue(1); in typePrefixLength() 61 assertThat(getPrefix("com.ClassName.foo.bar")).hasValue(2); in typePrefixLength() 62 assertThat(getPrefix("ClassName.CONST")).hasValue(1); in typePrefixLength() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | MutablePatternModifierTest.java | 37 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() 61 assertEquals("a", getPrefix(mod)); in basic() 64 assertEquals("c+", getPrefix(mod)); in basic() 67 assertEquals("c+", getPrefix(mod)); in basic() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/ |
D | MutablePatternModifierTest.java | 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() 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 …]
|
/external/icu/icu4c/source/test/intltest/ |
D | numbertest_patternmodifier.cpp | 38 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() 66 assertEquals("Pattern a0b;c-0d", u"a", getPrefix(mod, status)); in testBasic() 69 assertEquals("Pattern a0b;c-0d", u"c+", getPrefix(mod, status)); in testBasic() 72 assertEquals("Pattern a0b;c-0d", u"c-", getPrefix(mod, status)); in testBasic() [all …]
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/extensions/compactnotation/ |
D | CompactConstructorTest.java | 40 assertEquals("JFrame", data.getPrefix()); in testGetCompactData1() 49 assertEquals("Frame", data.getPrefix()); in testGetCompactData2() 62 assertEquals("JFrame", data.getPrefix()); in testGetCompactData3() 73 assertEquals("JFrame", data.getPrefix()); in testGetCompactData4() 83 assertEquals("JFrame", data.getPrefix()); in testGetCompactData5() 94 assertEquals("JFrame", data.getPrefix()); in testGetCompactData6() 103 assertEquals("package.Container", data.getPrefix()); in testGetCompactData7()
|
/external/libphonenumber/internal/prefixmapper/test/com/google/i18n/phonenumbers/prefixmapper/ |
D | FlyweightMapStorageTest.java | 57 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()
|
/external/libphonenumber/repackaged/internal/prefixmapper/test/com/android/i18n/phonenumbers/prefixmapper/ |
D | FlyweightMapStorageTest.java | 59 assertEquals(331402, mapStorage.getPrefix(0)); in testReadFromSortedMap() 60 assertEquals(331434, mapStorage.getPrefix(1)); in testReadFromSortedMap() 61 assertEquals(334910, mapStorage.getPrefix(2)); in testReadFromSortedMap() 62 assertEquals(334911, mapStorage.getPrefix(3)); in testReadFromSortedMap() 72 assertEquals(334912, mapStorage.getPrefix(4)); in testReadFromSortedMapSupportsEmptyDescription() 73 assertEquals(334913, mapStorage.getPrefix(5)); in testReadFromSortedMapSupportsEmptyDescription()
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
D | ParseRDF.java | 216 if ("xmlns".equals(attribute.getPrefix()) || in rdf_NodeElementAttrs() 217 (attribute.getPrefix() == null && "xmlns".equals(attribute.getNodeName()))) in rdf_NodeElementAttrs() 376 if ("xmlns".equals(attribute.getPrefix()) || in rdf_PropertyElement() 377 (attribute.getPrefix() == null && "xmlns".equals(attribute.getNodeName()))) in rdf_PropertyElement() 501 if ("xmlns".equals(attribute.getPrefix()) || in rdf_ResourcePropertyElement() 502 (attribute.getPrefix() == null && "xmlns".equals(attribute.getNodeName()))) in rdf_ResourcePropertyElement() 625 if ("xmlns".equals(attribute.getPrefix()) || in rdf_LiteralPropertyElement() 626 (attribute.getPrefix() == null && "xmlns".equals(attribute.getNodeName()))) in rdf_LiteralPropertyElement() 706 if ("xmlns".equals(attribute.getPrefix()) || in rdf_ParseTypeResourcePropertyElement() 707 (attribute.getPrefix() == null && "xmlns".equals(attribute.getNodeName()))) in rdf_ParseTypeResourcePropertyElement() [all …]
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/dom2dtm/ |
D | DOM2DTMdefaultNamespaceDeclarationNode.java | 71 public String getPrefix() {return prefix;} in getPrefix() method in DOM2DTMdefaultNamespaceDeclarationNode 269 if (getPrefix() == null) { in isEqualNode() 270 if (arg.getPrefix() != null) { in isEqualNode() 274 else if (!getPrefix().equals(arg.getPrefix())) { in isEqualNode() 315 String prefix = this.getPrefix(); in lookupNamespaceURI() 331 String attrPrefix = attr.getPrefix(); in lookupNamespaceURI()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/representer/ |
D | RepresentTest.java | 35 assertEquals("A", bean.getPrefix()); in testCustomRepresenter() 49 public String getPrefix() { in getPrefix() method in RepresentTest.CustomBean 60 return prefix.equals(bean.getPrefix()) && suffix == bean.getSuffix(); in equals() 72 String value = coin.getPrefix() + "d" + coin.getSuffix(); in representData()
|
/external/clang/lib/AST/ |
D | NestedNameSpecifier.cpp | 244 return getPrefix() && getPrefix()->containsUnexpandedParameterPack(); in containsUnexpandedParameterPack() 265 if (getPrefix()) in print() 266 getPrefix()->print(OS, Policy); in print() 373 for (; Qualifier; Qualifier = Qualifier->getPrefix()) in getDataLength() 401 while (NestedNameSpecifierLoc Prefix = First.getPrefix()) in getSourceRange() 412 unsigned Offset = getDataLength(Qualifier->getPrefix()); in getLocalSourceRange() 444 unsigned Offset = getDataLength(Qualifier->getPrefix()); in getTypeLoc() 626 for (NestedNameSpecifier *NNS = Qualifier; NNS; NNS = NNS->getPrefix()) in MakeTrivial()
|
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
D | ElemTemplateElement.java | 929 if (prefix.equals(decl.getPrefix())) in getNamespaceForPrefix() 1049 String prefix = decl.getPrefix(); in resolvePrefixTables() 1102 boolean shouldExclude = excludeResultNSDecl(decl.getPrefix(), in resolvePrefixTables() 1107 decl = new XMLNSDecl(decl.getPrefix(), decl.getURI(), in resolvePrefixTables() 1138 if (decl.getPrefix().equals(newDecl.getPrefix())) in addOrReplaceDecls() 1191 … if (!decl.getIsExcluded() && !(null != ignorePrefix && decl.getPrefix().equals(ignorePrefix))) in executeNSDecls() 1193 rhandler.startPrefixMapping(decl.getPrefix(), decl.getURI(), true); in executeNSDecls() 1240 … if (!decl.getIsExcluded() && !(null != ignorePrefix && decl.getPrefix().equals(ignorePrefix))) in unexecuteNSDecls() 1242 rhandler.endPrefixMapping(decl.getPrefix()); in unexecuteNSDecls()
|
/external/llvm-project/clang/lib/AST/ |
D | NestedNameSpecifier.cpp | 208 if (getPrefix()) in getDependence() 209 return F | getPrefix()->getDependence(); in getDependence() 254 if (getPrefix()) in print() 255 getPrefix()->print(OS, Policy); in print() 387 for (; Qualifier; Qualifier = Qualifier->getPrefix()) in getDataLength() 413 while (NestedNameSpecifierLoc Prefix = First.getPrefix()) in getSourceRange() 424 unsigned Offset = getDataLength(Qualifier->getPrefix()); in getLocalSourceRange() 456 unsigned Offset = getDataLength(Qualifier->getPrefix()); in getTypeLoc() 637 for (NestedNameSpecifier *NNS = Qualifier; NNS; NNS = NNS->getPrefix()) in MakeTrivial()
|
/external/libphonenumber/repackaged/internal/prefixmapper/src/com/android/i18n/phonenumbers/prefixmapper/ |
D | PhonePrefixMapStorageStrategy.java | 43 public abstract int getPrefix(int index); in getPrefix() method in PhonePrefixMapStorageStrategy 102 output.append(getPrefix(i)) in toString()
|
/external/libphonenumber/internal/prefixmapper/src/com/google/i18n/phonenumbers/prefixmapper/ |
D | PhonePrefixMapStorageStrategy.java | 42 public abstract int getPrefix(int index); in getPrefix() method in PhonePrefixMapStorageStrategy 101 output.append(getPrefix(i)) in toString()
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
D | UnImplNode.java | 736 public String getPrefix() in getPrefix() method in UnImplNode 1334 if (getPrefix() == null) { in isEqualNode() 1335 if (arg.getPrefix() != null) { in isEqualNode() 1339 else if (!getPrefix().equals(arg.getPrefix())) { in isEqualNode() 1380 String prefix = this.getPrefix(); in lookupNamespaceURI() 1396 String attrPrefix = attr.getPrefix(); in lookupNamespaceURI()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/ |
D | UnshrinkingInputStream.java | 71 if (isUsed[i] && getPrefix(i) != UNUSED_PREFIX) { in partialClear() 72 isParent[getPrefix(i)] = true; in partialClear()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Option/ |
D | ArgList.cpp | 244 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()
|
/external/llvm-project/llvm/lib/Option/ |
D | ArgList.cpp | 244 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()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowVisualVoicemailSmsTest.java | 49 assertThat(sms.getPrefix()).isEqualTo("prefix"); in setPrefix_setsPrefix() 84 assertThat(newSms.getPrefix()).isEqualTo("prefix"); in parcelable_unparcelable()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowVisualVoicemailSms.java | 42 protected String getPrefix() { in getPrefix() method in ShadowVisualVoicemailSms 99 dest.writeString(getPrefix()); in writeToParcel()
|
/external/clang/include/clang/AST/ |
D | NestedNameSpecifier.h | 162 NestedNameSpecifier *getPrefix() const { return Prefix.getPointer(); } in getPrefix() function 310 NestedNameSpecifierLoc getPrefix() const { in getPrefix() function 314 return NestedNameSpecifierLoc(Qualifier->getPrefix(), Data); in getPrefix()
|
/external/llvm/include/llvm/Option/ |
D | Option.h | 118 StringRef getPrefix() const { in getPrefix() function 125 std::string Ret = getPrefix(); in getPrefixedName()
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | MoveForwardingReferenceCheck.cpp | 55 if (!NNS->getPrefix()) { in replaceMoveWithForward() 59 } else if (NNS->getPrefix()->getKind() == NestedNameSpecifier::Global) { in replaceMoveWithForward()
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
D | DTMNodeProxy.java | 220 public final String getPrefix() in getPrefix() method in DTMNodeProxy 222 return dtm.getPrefix(node); in getPrefix() 1584 if (getPrefix() == null) { in isEqualNode() 1585 if (arg.getPrefix() != null) { in isEqualNode() 1589 else if (!getPrefix().equals(arg.getPrefix())) { in isEqualNode() 1629 String prefix = this.getPrefix(); in lookupNamespaceURI() 1645 String attrPrefix = attr.getPrefix(); in lookupNamespaceURI()
|