Searched refs:last_slash (Results 1 – 12 of 12) sorted by relevance
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_procmaps_test.cc | 36 const char *last_slash = strrchr(argv0, '/'); in TEST() local 37 const char *binary_name = last_slash ? last_slash + 1 : argv0; in TEST()
|
/external/libchrome/base/process/ |
D | process_iterator_mac.cc | 121 size_t last_slash = data.rfind('/', exec_name_end); in CheckForNextProcess() local 122 if (last_slash == std::string::npos) in CheckForNextProcess() 125 entry_.exe_file_.assign(data, last_slash + 1, in CheckForNextProcess() 126 exec_name_end - last_slash - 1); in CheckForNextProcess()
|
/external/ltp/tools/pounder21/ |
D | run.c | 469 char *last_slash; in spawn_test() local 544 last_slash = rindex(buf2, '/'); in spawn_test() 546 if (last_slash != NULL) { in spawn_test() 548 snprintf(buf, TEST_PATH_LEN, "./%s", last_slash + 1); in spawn_test() 551 *last_slash = 0; in spawn_test()
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_name_resolver.cc | 122 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()
|
/external/webrtc/webrtc/modules/desktop_capture/mac/ |
D | full_screen_chrome_window_detector.cc | 187 const char* last_slash = strrchr(buffer, '/'); in IsChromeWindow() local 188 std::string name(last_slash ? last_slash + 1 : buffer); in IsChromeWindow()
|
/external/protobuf/src/google/protobuf/compiler/javamicro/ |
D | javamicro_helpers.cc | 129 string::size_type last_slash = file->name().find_last_of('/'); in FileClassName() local 130 if (last_slash == string::npos) { in FileClassName() 133 basename = file->name().substr(last_slash + 1); in FileClassName()
|
/external/protobuf/src/google/protobuf/compiler/javanano/ |
D | javanano_helpers.cc | 184 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()
|
/external/v8/src/ |
D | d8-posix.cc | 619 char* last_slash = strrchr(directory, '/'); in mkdirp() local 620 if (last_slash == NULL) { in mkdirp() 626 *last_slash = 0; in mkdirp() 628 *last_slash = '/'; in mkdirp()
|
D | d8.cc | 594 size_t last_slash = path.find_last_of('/'); in DirName() local 595 DCHECK(last_slash != std::string::npos); in DirName() 596 return path.substr(0, last_slash); in DirName()
|
/external/protobuf/src/google/protobuf/compiler/objectivec/ |
D | objectivec_helpers.cc | 224 string::size_type last_slash = path.rfind('/'); in PathSplit() local 225 if (last_slash == string::npos) { in PathSplit() 234 *directory = path.substr(0, last_slash); in PathSplit() 237 *basename = path.substr(last_slash + 1); in PathSplit()
|
/external/curl/lib/ |
D | ftp.c | 3778 char *last_slash; in init_wc_data() local 3784 last_slash = strrchr(conn->data->state.path, '/'); in init_wc_data() 3785 if(last_slash) { in init_wc_data() 3786 last_slash++; in init_wc_data() 3787 if(last_slash[0] == '\0') { in init_wc_data() 3793 wildcard->pattern = strdup(last_slash); in init_wc_data() 3796 last_slash[0] = '\0'; /* cut file from path */ in init_wc_data()
|
/external/compiler-rt/lib/msan/tests/ |
D | msan_test.cc | 2923 const char *last_slash = strrchr(program_path, '/'); in GetPathToLoadable() local 2924 ASSERT_NE(nullptr, last_slash); in GetPathToLoadable() 2925 size_t dir_len = (size_t)(last_slash - program_path); in GetPathToLoadable()
|