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.27/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/r16/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/tensorflow/tensorflow/core/profiler/internal/
tfprof_scope.cc 50 auto last_slash = name.find_last_of("/"); local
51 while (last_slash != name.npos) {
52 name = name.substr(0, last_slash);
56 last_slash = name.find_last_of("/");
67 auto last_slash = node->name().find_last_of("/"); local
68 if (last_slash == string::npos) {
71 const string prefix = node->name().substr(0, last_slash);
  /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/libartbase/base/
logging.cc 71 const char* last_slash = strrchr(argv[0], '/'); local
72 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 182 auto last_slash = path.rfind('/'); local
183 if (last_slash == std::string::npos) return false;
185 path.erase(last_slash);
338 auto last_slash = uevent.path.rfind('/'); local
339 links.emplace_back(link_path + "/" + uevent.path.substr(last_slash + 1));
  /frameworks/native/cmds/installd/
otapreopt.cpp 379 size_t last_slash = path.find_last_of('/'); local
380 if (last_slash == std::string::npos || last_slash == 0) {
385 if (!CreatePath(path.substr(0, last_slash))) {
546 const char* last_slash = strrchr(apk_path, '/'); local
547 if (last_slash != nullptr) {
548 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);
  /system/core/base/
logging.cpp 347 const char* last_slash = strrchr(file, '/'); local
348 if (last_slash != nullptr) {
349 return 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 96 size_t last_slash = descriptor.rfind('/'); local
97 if (last_slash == std::string::npos) {
98 last_slash = 0;
101 last_slash++;
104 size_t size = descriptor.size() - 1 - last_slash;
105 std::string result(descriptor.substr(last_slash, size));
1378 char* last_slash = strrchr(mangle, '\/'); local
1826 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 1849 size_t last_slash = dex_file->GetLocation().rfind('\/'); local
2839 size_t last_slash = res.rfind('\/'); local
    [all...]
  /external/curl/lib/
ftp.c 3741 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 1614 milliseconds