Home
last modified time | relevance | path

Searched refs:canonicalName (Results 1 – 25 of 53) sorted by relevance

123

/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetProviderICU.java122 String canonicalName = null; in getICUCanonicalName() local
126 if((canonicalName = UConverterAlias.getCanonicalName(enc, "MIME"))!=null){ in getICUCanonicalName()
127 ret = canonicalName; in getICUCanonicalName()
128 } else if((canonicalName = UConverterAlias.getCanonicalName(enc, "IANA"))!=null){ in getICUCanonicalName()
129 ret = canonicalName; in getICUCanonicalName()
130 } else if((canonicalName = UConverterAlias.getAlias(enc, 0))!=null){ in getICUCanonicalName()
132 ret = canonicalName; in getICUCanonicalName()
142 if ((canonicalName = UConverterAlias.getAlias(enc.substring(2), 0))!=null) { in getICUCanonicalName()
143 ret = canonicalName; in getICUCanonicalName()
161 String canonicalName = getJavaCanonicalName(icuCanonicalName); in getCharset() local
[all …]
DCharsetICU.java117 protected CharsetICU(String icuCanonicalName, String canonicalName, String[] aliases) { in CharsetICU() argument
118 super(canonicalName,aliases); in CharsetICU()
119 if(canonicalName.length() == 0){ in CharsetICU()
120 throw new IllegalCharsetNameException(canonicalName); in CharsetICU()
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/writer/
DClassNameTest.java81 assertThat(ClassName.fromTypeElement(element).canonicalName()) in classNameFromTypeElement()
90 assertThat(peerName.canonicalName()) in peerNamed_topLevelClass()
99 assertThat(peerName.canonicalName()) in peerNamed_nestedClass()
108 assertThat(peerName.canonicalName()) in peerNamed_deeplyNestedClass()
114 assertThat(className.canonicalName()).isEqualTo( in fromClass_NonNestedClass()
120 assertThat(className.canonicalName()).isEqualTo( in fromClass_NestedClass()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionInterfaceDeclaration.java85 String canonicalName = clazz.getCanonicalName(); in getClassName() local
86 if (canonicalName != null && getPackageName() != null) { in getClassName()
87 return canonicalName.substring(getPackageName().length() + 1, canonicalName.length()); in getClassName()
294 public boolean hasDirectlyAnnotation(String canonicalName) { in hasDirectlyAnnotation() argument
295 return reflectionClassAdapter.hasDirectlyAnnotation(canonicalName); in hasDirectlyAnnotation()
DReflectionClassDeclaration.java122 String canonicalName = clazz.getCanonicalName(); in getClassName() local
123 if (canonicalName != null && getPackageName() != null) { in getClassName()
124 return canonicalName.substring(getPackageName().length() + 1, canonicalName.length()); in getClassName()
254 public boolean hasDirectlyAnnotation(String canonicalName) { in hasDirectlyAnnotation() argument
255 return reflectionClassAdapter.hasDirectlyAnnotation(canonicalName); in hasDirectlyAnnotation()
DReflectionEnumDeclaration.java95 String canonicalName = clazz.getCanonicalName(); in getClassName() local
96 if (canonicalName != null && getPackageName() != null) { in getClassName()
97 return canonicalName.substring(getPackageName().length() + 1, canonicalName.length()); in getClassName()
DReflectionClassAdapter.java165 public boolean hasDirectlyAnnotation(String canonicalName) { in hasDirectlyAnnotation() argument
167 if (a.annotationType().getCanonicalName().equals(canonicalName)) { in hasDirectlyAnnotation()
/external/cldr/tools/java/org/unicode/cldr/util/
DFileReaders.java44 String canonicalName = null; in openFile()
47 canonicalName = new File(relativeFileName).getCanonicalPath(); in openFile()
52 …llegalArgumentException("Couldn't open file " + file + "; in path " + canonicalName + "; relative … in openFile()
/external/javapoet/src/main/java/com/squareup/javapoet/
DClassName.java45 final String canonicalName; field in ClassName
57 this.canonicalName = enclosingClassName != null in ClassName()
58 ? (enclosingClassName.canonicalName + '.' + simpleName) in ClassName()
230 return canonicalName.compareTo(o.canonicalName);
DCodeWriter.java243 if (staticImportClassNames.contains(candidate.canonicalName)) { in emit()
290 if (emitStaticImportMember(deferredTypeName.canonicalName, part)) { in emit()
363 if (resolved != null && Objects.equals(resolved.canonicalName, c.canonicalName)) { in lookupName()
372 return className.canonicalName; in lookupName()
386 return className.canonicalName; in lookupName()
/external/owasp/sanitizer/src/main/org/owasp/html/
DHtmlSanitizer.java147 balancer.closeTag(HtmlLexer.canonicalName( in sanitize()
168 attrs.add(HtmlLexer.canonicalName( in sanitize()
186 HtmlLexer.canonicalName( in sanitize()
DHtmlPolicyBuilder.java203 elementName = HtmlLexer.canonicalName(elementName); in allowElements()
251 elementName = HtmlLexer.canonicalName(elementName); in allowTextIn()
260 elementName = HtmlLexer.canonicalName(elementName); in disallowTextIn()
276 elementName = HtmlLexer.canonicalName(elementName); in allowWithoutAttributes()
291 elementName = HtmlLexer.canonicalName(elementName); in disallowWithoutAttributes()
304 b.add(HtmlLexer.canonicalName(attributeName)); in allowAttributes()
738 b.add(HtmlLexer.canonicalName(elementName));
DHtmlLexer.java60 static String canonicalName(String elementOrAttribName) { in canonicalName() method in HtmlLexer
314 String canonTagName = canonicalName( in produce()
521 && canonicalName(start + 2, end) in parseToken()
696 private String canonicalName(int start, int end) { in canonicalName() method in HtmlInputSplitter
697 return HtmlLexer.canonicalName(input.substring(start, end)); in canonicalName()
DHtmlStreamRenderer.java178 name = HtmlLexer.canonicalName(name); in writeOpenTag()
225 elementName = HtmlLexer.canonicalName(elementName); in writeCloseTag()
372 elementName = HtmlLexer.canonicalName(elementName); in safeName()
/external/syzkaller/vendor/github.com/google/go-cmp/cmp/cmpopts/
Dstruct_filter.go49 cname, err := canonicalName(t, name)
141 func canonicalName(t reflect.Type, sel string) ([]string, error) { func
180 ssPost, err := canonicalName(sf.Type, sel)
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
DJavaWriter.java155 appendable.append("import ").append(importCandidate.get().canonicalName()).append(";\n"); in write()
175 file(filer, Iterables.getOnlyElement(typeWriters).name.canonicalName(), originatingElements); in file()
229 + className.canonicalName() in sourceReferenceForClassName()
230 .substring(enclosingClassName.get().canonicalName().length()); in sourceReferenceForClassName()
234 return className.canonicalName(); in sourceReferenceForClassName()
DClassName.java84 public String canonicalName() { in canonicalName() method in ClassName
242 return canonicalName(); in toString()
272 return canonicalName().compareTo(o.canonicalName()); in compareTo()
/external/snakeyaml/src/test/java/org/pyyaml/
DPyStructureTest.java91 String canonicalName = file.getAbsolutePath().substring(0, index) + ".canonical"; in testParser() local
92 File canonical = new File(canonicalName); in testParser()
166 String canonicalName = file.getAbsolutePath().substring(0, index) + ".canonical"; in testComposer() local
167 File canonical = new File(canonicalName); in testComposer()
280 String canonicalName = file.getAbsolutePath().substring(0, index) + ".canonical"; in testConstructor() local
281 File canonical = new File(canonicalName); in testConstructor()
/external/cldr/tools/java/org/unicode/cldr/util/props/
DUnicodePropertySymbolTable.java132 String canonicalName = prop.getName();
133 boolean isAge = UnicodeProperty.equalNames("Age", canonicalName);
136 if (canonicalName.equals("General_Category")) {
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/
DValidationReportTest.java123 protected final TypeElement getTypeElement(String canonicalName) { in getTypeElement() argument
124 return processingEnv.getElementUtils().getTypeElement(canonicalName); in getTypeElement()
/external/emma/core/java12/com/vladium/util/args/
DOptsParser.java58 final String canonicalName = optdef.getCanonicalName (); in usage() local
62 line.append (canonicalName); in usage()
69 if (! name.equals (canonicalName)) in usage()
174 final String canonicalName = getOptCanonicalName (optName, optdef); in parse() local
177 opt = opts.getOpt (canonicalName); in parse()
183 opt = new Opt (optName, canonicalName, patternPrefix); in parse()
191 opt = new Opt (optName, canonicalName, patternPrefix); in parse()
561 Opt (final String name, final String canonicalName, final String patternPrefix) in Opt() argument
564 m_canonicalName = canonicalName; in Opt()
/external/guice/extensions/grapher/src/com/google/inject/grapher/
DShortNameFactory.java58 String canonicalName = annotationType.getName(); in getAnnotationName() local
61 return annotationString.replace(canonicalName, simpleName).replace("()", ""); in getAnnotationName()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_reflectionmodel_ReflectionEnumDeclaration.txt13 …Line 95) canonicalName.substring(getPackageName().length() + 1, canonicalName.length()) ==> java.l…
16 Line 95) canonicalName.length() ==> java.lang.String.length()
Dcom_github_javaparser_symbolsolver_reflectionmodel_ReflectionInterfaceDeclaration.txt8 …Line 86) canonicalName.substring(getPackageName().length() + 1, canonicalName.length()) ==> java.l…
11 Line 86) canonicalName.length() ==> java.lang.String.length()
78 …Line 293) reflectionClassAdapter.hasDirectlyAnnotation(canonicalName) ==> com.github.javaparser.sy…
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javassistmodel/
DJavassistInterfaceDeclaration.java184 public boolean hasDirectlyAnnotation(String canonicalName) { in hasDirectlyAnnotation() argument
187 if (annotationRaw.getClass().getCanonicalName().equals(canonicalName)) { in hasDirectlyAnnotation()
190 …ationRaw.getClass().getInterfaces()).anyMatch(it -> it.getCanonicalName().equals(canonicalName))) { in hasDirectlyAnnotation()

123