Home
last modified time | relevance | path

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

/frameworks/native/cmds/installd/
Dotapreopt.cpp387 size_t last_slash = path.find_last_of('/'); in CreatePath() local
388 if (last_slash == std::string::npos || last_slash == 0) { in CreatePath()
393 if (!CreatePath(path.substr(0, last_slash))) { in CreatePath()
531 const char* last_slash = strrchr(apk_path, '/'); in ShouldSkipPreopt() local
532 if (last_slash != nullptr) { in ShouldSkipPreopt()
533 std::string path(apk_path, last_slash - apk_path + 1); in ShouldSkipPreopt()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/java/
Djava_name_resolver.cc122 string::size_type last_slash = file->name().find_last_of('/'); in GetFileDefaultImmutableClassName() local
123 if (last_slash == string::npos) { in GetFileDefaultImmutableClassName()
126 basename = file->name().substr(last_slash + 1); in GetFileDefaultImmutableClassName()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/javanano/
Djavanano_helpers.cc184 string::size_type last_slash = file->name().find_last_of('/'); in FileClassName() local
185 if (last_slash == string::npos) { in FileClassName()
188 basename = file->name().substr(last_slash + 1); in FileClassName()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/objectivec/
Dobjectivec_helpers.cc228 string::size_type last_slash = path.rfind('/'); in PathSplit() local
229 if (last_slash == string::npos) { in PathSplit()
238 *directory = path.substr(0, last_slash); in PathSplit()
241 *basename = path.substr(last_slash + 1); in PathSplit()