/frameworks/base/core/java/android/content/ |
ClipDescription.java | 99 final int slashpos = desiredType.indexOf('/'); local 100 if (slashpos > 0) { 101 if (typeLength == slashpos+2 && desiredType.charAt(slashpos+1) == '*') { 102 if (desiredType.regionMatches(0, concreteType, 0, slashpos+1)) {
|
IntentFilter.java | 515 final int slashpos = type.indexOf('/'); local 517 if (slashpos > 0 && typelen >= slashpos+2) { 519 if (typelen == slashpos+2 && type.charAt(slashpos+1) == '*') { 520 String str = type.substring(0, slashpos); 1469 final int slashpos = type.indexOf('\/'); local [all...] |
/frameworks/base/services/java/com/android/server/ |
IntentResolverOld.java | 243 int slashpos = resolvedType.indexOf('/'); local 244 if (slashpos > 0) { 245 final String baseType = resolvedType.substring(0, slashpos); 247 if (resolvedType.length() != slashpos+2 248 || resolvedType.charAt(slashpos+1) != '*') { 371 final int slashpos = name.indexOf('/'); local 372 if (slashpos > 0) { 373 baseName = name.substring(0, slashpos).intern(); 386 if (slashpos > 0) { 420 final int slashpos = name.indexOf('/') local [all...] |
IntentResolver.java | 254 int slashpos = resolvedType.indexOf('/'); local 255 if (slashpos > 0) { 256 final String baseType = resolvedType.substring(0, slashpos); 258 if (resolvedType.length() != slashpos+2 259 || resolvedType.charAt(slashpos+1) != '*') { 417 final int slashpos = name.indexOf('/'); local 418 if (slashpos > 0) { 419 baseName = name.substring(0, slashpos).intern(); 426 if (slashpos > 0) { 448 final int slashpos = name.indexOf('/') local [all...] |
/external/protobuf/src/google/protobuf/testing/ |
file.cc | 106 string::size_type slashpos = path.find_last_of('/'); 107 if (slashpos == string::npos) { 112 return RecursivelyCreateDir(path.substr(0, slashpos), mode) &&
|
/external/llvm/lib/Archive/ |
ArchiveWriter.cpp | 121 size_t slashpos = mbrPath.rfind('/'); local 122 if (slashpos != std::string::npos) { 123 nm += slashpos + 1; 124 len -= slashpos +1;
|
/external/llvm/tools/llvm-ar/ |
llvm-ar.cpp | 637 size_t slashpos = compare.rfind('/'); local 638 if (slashpos != std::string::npos) { 639 nm += slashpos + 1; 640 len -= slashpos +1;
|