Home
last modified time | relevance | path

Searched refs:nameParts (Results 1 – 9 of 9) sorted by relevance

/external/toolchain-utils/compiler_wrapper/
Dcommand.go94 var nameParts []string
96 nameParts = []string{basename}
98 nameParts = strings.Split(basename, "-")
101 switch len(nameParts) {
105 compiler: nameParts[0],
110 arch: nameParts[0],
111 vendor: nameParts[1],
112 abi: nameParts[2],
113 compiler: nameParts[3],
119 arch: nameParts[0],
[all …]
/external/google-java-format/core/src/main/java/com/google/googlejavaformat/java/
DTypeNameClassifier.java125 static Optional<Integer> typePrefixLength(List<String> nameParts) { in typePrefixLength() argument
128 for (int i = 0; i < nameParts.size(); i++) { in typePrefixLength()
129 state = state.next(JavaCaseFormat.from(nameParts.get(i))); in typePrefixLength()
/external/clang/lib/Basic/
DModule.cpp143 bool Module::fullModuleNameIs(ArrayRef<StringRef> nameParts) const { in fullModuleNameIs()
145 if (nameParts.empty() || M->Name != nameParts.back()) in fullModuleNameIs()
147 nameParts = nameParts.drop_back(); in fullModuleNameIs()
149 return nameParts.empty(); in fullModuleNameIs()
/external/llvm-project/clang/lib/Basic/
DModule.cpp237 bool Module::fullModuleNameIs(ArrayRef<StringRef> nameParts) const { in fullModuleNameIs()
239 if (nameParts.empty() || M->Name != nameParts.back()) in fullModuleNameIs()
241 nameParts = nameParts.drop_back(); in fullModuleNameIs()
243 return nameParts.empty(); in fullModuleNameIs()
/external/doclava/src/com/google/doclava/
DClassInfo.java531 public String[] nameParts() { in nameParts() method in ClassInfo
1758 private ClassInfo searchInnerClasses(String[] nameParts, int index) { in searchInnerClasses() argument
1759 String part = nameParts[index]; in searchInnerClasses()
1763 String[] innerParts = in.nameParts(); in searchInnerClasses()
1765 if (index == nameParts.length - 1) { in searchInnerClasses()
1768 return in.searchInnerClasses(nameParts, index + 1); in searchInnerClasses()
/external/clang/include/clang/Basic/
DModule.h364 bool fullModuleNameIs(ArrayRef<StringRef> nameParts) const;
/external/llvm-project/clang/include/clang/Basic/
DModule.h512 bool fullModuleNameIs(ArrayRef<StringRef> nameParts) const;
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DMeasureUnitTest.java2879 String[] nameParts = javaName.split("_PER_"); in getUnitsToPerParts() local
2880 if (nameParts.length == 1) { in getUnitsToPerParts()
2881 namesToUnits.put(nameParts[0], unit); in getUnitsToPerParts()
2882 } else if (nameParts.length == 2) { in getUnitsToPerParts()
2883 unitsToPerStrings.put(unit, Pair.of(nameParts[0], nameParts[1])); in getUnitsToPerParts()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DMeasureUnitTest.java2876 String[] nameParts = javaName.split("_PER_"); in getUnitsToPerParts() local
2877 if (nameParts.length == 1) { in getUnitsToPerParts()
2878 namesToUnits.put(nameParts[0], unit); in getUnitsToPerParts()
2879 } else if (nameParts.length == 2) { in getUnitsToPerParts()
2880 unitsToPerStrings.put(unit, Pair.of(nameParts[0], nameParts[1])); in getUnitsToPerParts()