Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/text/
DPatternEntry.java56 appendQuoted(extension,toAddTo); in appendQuotedExtension()
102 return extension; in getExtension()
144 if (showExtension && extension.length() != 0) { in addToBuffer()
146 appendQuoted(extension,toAddTo); in addToBuffer()
190 StringBuffer extension) in PatternEntry() argument
194 this.extension = (extension.length() > 0) ? extension.toString() in PatternEntry()
305 String extension = ""; field in PatternEntry
DMergeCollation.java95 if (entry.extension.length() != 0) { in getPattern()
125 if (entry.extension.length() == 0) { in findLastWithNoExtension()
243 && newEntry.extension.equals(lastEntry.extension)) { in fixEntry()
284 newEntry.extension = excess + newEntry.extension; in fixEntry()
/libcore/luni/src/main/java/libcore/icu/
DICU.java220 for (String extension : extensions) { in localeFromIcuLocaleId()
222 if (extension.startsWith("attribute=")) { in localeFromIcuLocaleId()
223 String unicodeAttributeValues = extension.substring("attribute=".length()); in localeFromIcuLocaleId()
228 final int separatorIndex = extension.indexOf('='); in localeFromIcuLocaleId()
232 final String value = extension.substring(2); in localeFromIcuLocaleId()
233 final char extensionId = extension.charAt(0); in localeFromIcuLocaleId()
238 unicodeKeywordsMap.put(extension.substring(0, separatorIndex), in localeFromIcuLocaleId()
239 extension.substring(separatorIndex + 1)); in localeFromIcuLocaleId()
264 for (Entry<Character, String> extension : extensionsMap.entrySet()) { in localeFromIcuLocaleId()
265 builder.setExtension(extension.getKey(), extension.getValue()); in localeFromIcuLocaleId()
/libcore/luni/src/main/java/libcore/content/type/
DMimeMap.java116 public final boolean hasExtension(@Nullable String extension) { in hasExtension() argument
117 return guessMimeTypeFromExtension(extension) != null; in hasExtension()
129 public final @Nullable String guessMimeTypeFromExtension(@Nullable String extension) { in guessMimeTypeFromExtension() argument
130 if (extension == null) { in guessMimeTypeFromExtension()
133 extension = toLowerCase(extension); in guessMimeTypeFromExtension()
134 return extToMime.get(extension); in guessMimeTypeFromExtension()
/libcore/ojluni/src/main/java/sun/util/locale/
DLocaleExtensions.java199 Extension extension = entry.getValue(); in toID() local
201 privuse = extension; in toID()
206 buf.append(extension); in toID()
DLanguageTag.java736 for (String extension : extensions) { in toString()
737 sb.append(SEP).append(extension); in toString()
/libcore/harmony-tests/src/test/resources/resources/
Dtest.doc19 * file type based on its file extension.
Dtest.rtf19 * file type based on its file extension.
/libcore/luni/src/test/java/libcore/libcore/content/type/
DMimeMapTest.java87 for (String extension : mimeMap.extensions()) { in caseNormalization_value()
88 assertLowerCase(mimeMap.guessMimeTypeFromExtension(extension)); in caseNormalization_value()