HomeSort by relevance Sort by last modified time
    Searched refs:last_slash (Results 1 - 24 of 24) sorted by null

  /bionic/libc/bionic/
__gnu_basename.cpp 33 const char* last_slash = strrchr(path, '/'); local
34 return (last_slash != NULL) ? last_slash + 1 : path;
  /toolchain/binutils/binutils-2.25/bfd/
corefile.c 162 char *last_slash; local
180 last_slash = strrchr (core, '/');
181 if (last_slash != NULL)
182 core = last_slash + 1;
184 last_slash = strrchr (exec, '/');
185 if (last_slash != NULL)
186 exec = last_slash + 1;
  /external/compiler-rt/lib/sanitizer_common/tests/
sanitizer_procmaps_test.cc 36 const char *last_slash = strrchr(argv0, '/'); local
37 const char *binary_name = last_slash ? last_slash + 1 : argv0;
  /prebuilts/ndk/r13/sources/third_party/shaderc/libshaderc_util/src/
file_finder.cc 52 size_t last_slash = requesting_file.find_last_of("/\\"); local
53 if (last_slash != std::string::npos) {
55 requesting_file.c_str() + last_slash);
  /external/libchrome/base/process/
process_iterator_mac.cc 121 size_t last_slash = data.rfind('/', exec_name_end); local
122 if (last_slash == std::string::npos)
125 entry_.exe_file_.assign(data, last_slash + 1,
126 exec_name_end - last_slash - 1);
  /bionic/tools/relocation_packer/src/
main.cc 32 const size_t last_slash = temporary.find_last_of("/"); local
33 if (last_slash != temporary.npos) {
34 temporary.erase(0, last_slash + 1);
  /art/runtime/base/
logging.cc 124 const char* last_slash = strrchr(argv[0], '/'); local
125 gProgramInvocationShortName.reset(new std::string((last_slash != nullptr) ? last_slash + 1
  /bionic/linker/
linker_utils.cpp 64 const char* last_slash = strrchr(path, '/'); local
66 if (last_slash == path) {
68 } else if (last_slash == nullptr) {
71 return std::string(path, last_slash - path);
  /external/protobuf/src/google/protobuf/compiler/java/
java_name_resolver.cc 122 string::size_type last_slash = file->name().find_last_of('/'); local
123 if (last_slash == string::npos) {
126 basename = file->name().substr(last_slash + 1);
  /external/protobuf/src/google/protobuf/compiler/javamicro/
javamicro_helpers.cc 129 string::size_type last_slash = file->name().find_last_of('/'); local
130 if (last_slash == string::npos) {
133 basename = file->name().substr(last_slash + 1);
  /external/webrtc/webrtc/modules/desktop_capture/mac/
full_screen_chrome_window_detector.cc 187 const char* last_slash = strrchr(buffer, '/'); local
188 std::string name(last_slash ? last_slash + 1 : buffer);
  /external/ltp/tools/pounder21/
run.c 469 char *last_slash; local
544 last_slash = rindex(buf2, '/');
546 if (last_slash != NULL) {
548 snprintf(buf, TEST_PATH_LEN, "./%s", last_slash + 1);
551 *last_slash = 0;
  /system/core/init/
devices.cpp 181 auto last_slash = path.rfind('/'); local
182 if (last_slash == std::string::npos) return false;
184 path.erase(last_slash);
343 auto last_slash = uevent.path.rfind('/'); local
344 links.emplace_back(link_path + "/" + uevent.path.substr(last_slash + 1));
  /system/core/base/
logging.cpp 328 const char* last_slash = strrchr(file, '/'); local
329 if (last_slash != nullptr) {
330 return last_slash + 1;
  /frameworks/native/cmds/installd/
otapreopt.cpp 720 size_t last_slash = path.find_last_of('/'); local
721 if (last_slash == std::string::npos || last_slash == 0) {
726 if (!CreatePath(path.substr(0, last_slash))) {
887 const char* last_slash = strrchr(apk_path, '/'); local
888 if (last_slash != nullptr) {
889 std::string path(apk_path, last_slash - apk_path + 1);
    [all...]
  /external/protobuf/src/google/protobuf/compiler/javanano/
javanano_helpers.cc 184 string::size_type last_slash = file->name().find_last_of('/'); local
185 if (last_slash == string::npos) {
188 basename = file->name().substr(last_slash + 1);
  /art/compiler/utils/
assembler_test_base.h 455 size_t last_slash = file.find_last_of('/'); local
456 if (last_slash == std::string::npos) {
458 last_slash = 0;
460 size_t space_index = file.find(' ', last_slash);
  /art/dexlayout/
dexlayout.cc 93 size_t last_slash = descriptor.rfind('/'); local
94 if (last_slash == std::string::npos) {
95 last_slash = 0;
98 last_slash++;
101 size_t size = descriptor.size() - 1 - last_slash;
102 std::string result(descriptor.substr(last_slash, size));
1315 char* last_slash = strrchr(mangle, '\/'); local
1893 size_t last_slash = dex_file_location.rfind('\/'); local
    [all...]
  /external/protobuf/src/google/protobuf/compiler/objectivec/
objectivec_helpers.cc 224 string::size_type last_slash = path.rfind('/'); local
225 if (last_slash == string::npos) {
234 *directory = path.substr(0, last_slash);
237 *basename = path.substr(last_slash + 1);
    [all...]
  /external/v8/src/
d8-posix.cc 619 char* last_slash = strrchr(directory, '/'); local
620 if (last_slash == NULL) {
626 *last_slash = 0;
628 *last_slash = '/';
d8.cc 594 size_t last_slash = path.find_last_of('/'); local
595 DCHECK(last_slash != std::string::npos);
596 return path.substr(0, last_slash);
    [all...]
  /art/dex2oat/
dex2oat.cc 1834 size_t last_slash = dex_file->GetLocation().rfind('\/'); local
2823 size_t last_slash = res.rfind('\/'); local
    [all...]
  /external/curl/lib/
ftp.c 3778 char *last_slash; local
    [all...]
  /external/compiler-rt/lib/msan/tests/
msan_test.cc 2923 const char *last_slash = strrchr(program_path, '\/'); local
    [all...]

Completed in 813 milliseconds