Home
last modified time | relevance | path

Searched refs:canonicalName (Results 1 – 25 of 65) 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/javapoet/src/test/java/com/squareup/javapoet/
DClassNameTest.java198 public void canonicalName() { in canonicalName() method in ClassNameTest
199 assertEquals("java.lang.Object", TypeName.OBJECT.canonicalName()); in canonicalName()
200 assertEquals("java.lang.Thread.State", ClassName.get(Thread.State.class).canonicalName()); in canonicalName()
201 assertEquals("java.util.Map.Entry", ClassName.get(Map.Entry.class).canonicalName()); in canonicalName()
202 assertEquals("Foo", ClassName.get("", "Foo").canonicalName()); in canonicalName()
203 assertEquals("Foo.Bar.Baz", ClassName.get("", "Foo", "Bar", "Baz").canonicalName()); in canonicalName()
204 assertEquals("a.b.c.Foo.Bar.Baz", ClassName.get("a.b.c", "Foo", "Bar", "Baz").canonicalName()); in canonicalName()
/external/javapoet/src/main/java/com/squareup/javapoet/
DClassName.java51 final String canonicalName; field in ClassName
63 this.canonicalName = enclosingClassName != null in ClassName()
64 ? (enclosingClassName.canonicalName + '.' + simpleName) in ClassName()
158 public String canonicalName() { in canonicalName() method in ClassName
159 return canonicalName; in canonicalName()
251 return canonicalName.compareTo(o.canonicalName);
DCodeWriter.java259 if (staticImportClassNames.contains(candidate.canonicalName)) { in emit()
306 if (emitStaticImportMember(deferredTypeName.canonicalName, part)) { in emit()
378 return className.canonicalName; in lookupName()
388 if (resolved != null && Objects.equals(resolved.canonicalName, c.canonicalName)) { in lookupName()
397 return className.canonicalName; in lookupName()
411 return className.canonicalName; in lookupName()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionInterfaceDeclaration.java84 String canonicalName = clazz.getCanonicalName(); in getClassName() local
85 if (canonicalName != null && getPackageName() != null) { in getClassName()
86 return canonicalName.substring(getPackageName().length() + 1, canonicalName.length()); in getClassName()
292 public boolean hasDirectlyAnnotation(String canonicalName) { in hasDirectlyAnnotation() argument
293 return reflectionClassAdapter.hasDirectlyAnnotation(canonicalName); in hasDirectlyAnnotation()
DReflectionEnumDeclaration.java93 String canonicalName = clazz.getCanonicalName(); in getClassName() local
94 if (canonicalName != null && getPackageName() != null) { in getClassName()
95 return canonicalName.substring(getPackageName().length() + 1, canonicalName.length()); in getClassName()
DReflectionClassDeclaration.java121 String canonicalName = clazz.getCanonicalName(); in getClassName() local
122 if (canonicalName != null && getPackageName() != null) { in getClassName()
123 return canonicalName.substring(getPackageName().length() + 1, canonicalName.length()); in getClassName()
253 public boolean hasDirectlyAnnotation(String canonicalName) { in hasDirectlyAnnotation() argument
254 return reflectionClassAdapter.hasDirectlyAnnotation(canonicalName); in hasDirectlyAnnotation()
/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/icu/android_icu4j/libcore_bridge/src/native/
Dcom_android_icu_charset_NativeConverter.cpp65 static bool collectStandardNames(JNIEnv* env, const char* canonicalName, const char* standard, in collectStandardNames() argument
68 icu::UStringEnumeration e(ucnv_openStandardNames(canonicalName, standard, &status)); in collectStandardNames()
95 const char* canonicalName = NULL; in getICUCanonicalName() local
96 if ((canonicalName = ucnv_getCanonicalName(name, "MIME", &error)) != NULL) { in getICUCanonicalName()
97 return canonicalName; in getICUCanonicalName()
98 } else if ((canonicalName = ucnv_getCanonicalName(name, "IANA", &error)) != NULL) { in getICUCanonicalName()
99 return canonicalName; in getICUCanonicalName()
100 } else if ((canonicalName = ucnv_getCanonicalName(name, "", &error)) != NULL) { in getICUCanonicalName()
101 return canonicalName; in getICUCanonicalName()
102 } else if ((canonicalName = ucnv_getAlias(name, 0, &error)) != NULL) { in getICUCanonicalName()
[all …]
/external/icu/android_icu4j/libcore_bridge/src/java/com/android/icu/charset/
DCharsetICU.java25 protected CharsetICU(String canonicalName, String icuCanonName, String[] aliases) { in CharsetICU() argument
26 super(canonicalName, aliases); in CharsetICU()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionClassDeclaration.java125 String canonicalName = clazz.getCanonicalName(); in getClassName() local
126 if (canonicalName != null && getPackageName() != null) { in getClassName()
127 return canonicalName.substring(getPackageName().length() + 1, canonicalName.length()); in getClassName()
275 public boolean hasDirectlyAnnotation(String canonicalName) { in hasDirectlyAnnotation() argument
276 return reflectionClassAdapter.hasDirectlyAnnotation(canonicalName); in hasDirectlyAnnotation()
DReflectionEnumDeclaration.java99 String canonicalName = clazz.getCanonicalName(); in getClassName() local
100 if (canonicalName != null && getPackageName() != null) { in getClassName()
101 return canonicalName.substring(getPackageName().length() + 1, canonicalName.length()); in getClassName()
DReflectionInterfaceDeclaration.java89 String canonicalName = clazz.getCanonicalName(); in getClassName() local
90 if (canonicalName != null && getPackageName() != null) { in getClassName()
91 return canonicalName.substring(getPackageName().length() + 1); in getClassName()
301 public boolean hasDirectlyAnnotation(String canonicalName) { in hasDirectlyAnnotation() argument
302 return reflectionClassAdapter.hasDirectlyAnnotation(canonicalName); in hasDirectlyAnnotation()
DReflectionAnnotationDeclaration.java118 public boolean hasDirectlyAnnotation(String canonicalName) { in hasDirectlyAnnotation() argument
119 return reflectionClassAdapter.hasDirectlyAnnotation(canonicalName); in hasDirectlyAnnotation()
/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/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javassistmodel/
DJavassistAnnotationDeclaration.java109 public boolean hasDirectlyAnnotation(String canonicalName) { in hasDirectlyAnnotation() argument
110 return ctClass.hasAnnotation(canonicalName); in hasDirectlyAnnotation()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DJavaParserAnnotationDeclaration.java59 public boolean hasDirectlyAnnotation(String canonicalName) { in hasDirectlyAnnotation() argument
60 return AstResolutionUtils.hasDirectlyAnnotation(wrappedNode, typeSolver, canonicalName); in hasDirectlyAnnotation()
/external/dagger2/javatests/dagger/internal/codegen/
DValidationReportTest.java126 protected final TypeElement getTypeElement(String canonicalName) { in getTypeElement() argument
127 return processingEnv.getElementUtils().getTypeElement(canonicalName); in getTypeElement()
/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/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/cldr/tools/java/org/unicode/cldr/util/props/
DUnicodePropertySymbolTable.java133 String canonicalName = prop.getName();
134 boolean isAge = UnicodeProperty.equalNames("Age", canonicalName);
137 if (canonicalName.equals("General_Category")) {

123