Home
last modified time | relevance | path

Searched refs:indexOfSlash (Results 1 – 3 of 3) sorted by relevance

/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DResName.java57 int indexOfSlash = possiblyQualifiedResourceName.indexOf('/'); in qualifyResName() local
61 if (indexOfColon > indexOfSlash) { in qualifyResName()
62 if (indexOfSlash > 0) { in qualifyResName()
63 type = possiblyQualifiedResourceName.substring(0, indexOfSlash); in qualifyResName()
65 packageName = possiblyQualifiedResourceName.substring(indexOfSlash + 1, indexOfColon); in qualifyResName()
67 } else if (indexOfSlash > indexOfColon) { in qualifyResName()
71 type = possiblyQualifiedResourceName.substring(indexOfColon + 1, indexOfSlash); in qualifyResName()
72 name = possiblyQualifiedResourceName.substring(indexOfSlash + 1); in qualifyResName()
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DFuncDocument.java184 int indexOfSlash = ref.indexOf('/'); in execute() local
186 if ((indexOfColon != -1) && (indexOfSlash != -1) in execute()
187 && (indexOfColon < indexOfSlash)) in execute()
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/util/
DMimeTypes.java450 int indexOfSlash = mimeType.indexOf('/'); in getTopLevelType() local
451 if (indexOfSlash == -1) { in getTopLevelType()
454 return mimeType.substring(0, indexOfSlash); in getTopLevelType()