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/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/icu/android_icu4j/libcore_bridge/src/native/
Dcom_android_icu_charset_NativeConverter.cpp66 static bool collectStandardNames(JNIEnv* env, const char* canonicalName, const char* standard, in collectStandardNames() argument
69 icu::UStringEnumeration e(ucnv_openStandardNames(canonicalName, standard, &status)); in collectStandardNames()
96 const char* canonicalName = NULL; in getICUCanonicalName() local
97 if ((canonicalName = ucnv_getCanonicalName(name, "MIME", &error)) != NULL) { in getICUCanonicalName()
98 return canonicalName; in getICUCanonicalName()
99 } else if ((canonicalName = ucnv_getCanonicalName(name, "IANA", &error)) != NULL) { in getICUCanonicalName()
100 return canonicalName; in getICUCanonicalName()
101 } else if ((canonicalName = ucnv_getCanonicalName(name, "", &error)) != NULL) { in getICUCanonicalName()
102 return canonicalName; in getICUCanonicalName()
103 } else if ((canonicalName = ucnv_getAlias(name, 0, &error)) != NULL) { in getICUCanonicalName()
[all …]
/external/cldr/tools/java/org/unicode/cldr/util/
DFileReaders.java48 String canonicalName = null; in openFile()
51 canonicalName = new File(relativeFileName).getCanonicalPath(); in openFile()
56 …llegalArgumentException("Couldn't open file " + file + "; in path " + canonicalName + "; relative … in openFile()
/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/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/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/icu/android_icu4j/libcore_bridge/src/java/com/android/icu/charset/
DCharsetICU.java35 protected CharsetICU(String canonicalName, String icuCanonName, String[] aliases) { in CharsetICU() argument
36 super(canonicalName, aliases); in CharsetICU()
/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/javaparsermodel/declarations/
DJavaParserAnnotationDeclaration.java59 public boolean hasDirectlyAnnotation(String canonicalName) { in hasDirectlyAnnotation() argument
60 return AstResolutionUtils.hasDirectlyAnnotation(wrappedNode, typeSolver, canonicalName); in hasDirectlyAnnotation()
/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/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/dagger2/javatests/dagger/internal/codegen/
DValidationReportTest.java125 protected final TypeElement getTypeElement(String canonicalName) { in getTypeElement() argument
126 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/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")) {

123