Home
last modified time | relevance | path

Searched refs:slashpos (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/content/
DClipDescription.java134 final int slashpos = desiredType.indexOf('/'); in compareMimeTypes() local
135 if (slashpos > 0) { in compareMimeTypes()
136 if (typeLength == slashpos+2 && desiredType.charAt(slashpos+1) == '*') { in compareMimeTypes()
137 if (desiredType.regionMatches(0, concreteType, 0, slashpos+1)) { in compareMimeTypes()
DIntentFilter.java781 final int slashpos = type.indexOf('/'); in addDataType() local
783 if (slashpos > 0 && typelen >= slashpos+2) { in addDataType()
785 if (typelen == slashpos+2 && type.charAt(slashpos+1) == '*') { in addDataType()
786 String str = type.substring(0, slashpos); in addDataType()
2060 final int slashpos = type.indexOf('/'); in findMimeType() local
2061 if (slashpos > 0) { in findMimeType()
2062 if (mHasPartialTypes && t.contains(type.substring(0, slashpos))) { in findMimeType()
2065 if (typeLength == slashpos+2 && type.charAt(slashpos+1) == '*') { in findMimeType()
2071 if (type.regionMatches(0, v, 0, slashpos+1)) { in findMimeType()
/frameworks/base/services/core/java/com/android/server/
DIntentResolver.java419 int slashpos = resolvedType.indexOf('/'); in queryIntent() local
420 if (slashpos > 0) { in queryIntent()
421 final String baseType = resolvedType.substring(0, slashpos); in queryIntent()
423 if (resolvedType.length() != slashpos+2 in queryIntent()
424 || resolvedType.charAt(slashpos+1) != '*') { in queryIntent()
605 final int slashpos = name.indexOf('/'); in register_mime_types() local
606 if (slashpos > 0) { in register_mime_types()
607 baseName = name.substring(0, slashpos).intern(); in register_mime_types()
614 if (slashpos > 0) { in register_mime_types()
636 final int slashpos = name.indexOf('/'); in unregister_mime_types() local
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/testing/
Dfile.cc124 string::size_type slashpos = path.find_last_of('/'); in RecursivelyCreateDir() local
125 if (slashpos == string::npos) { in RecursivelyCreateDir()
130 return RecursivelyCreateDir(path.substr(0, slashpos), mode) && in RecursivelyCreateDir()