Home
last modified time | relevance | path

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

/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_procmaps_test.cc36 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/
Dprocess_iterator_mac.cc121 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/protobuf/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()
/external/webrtc/webrtc/modules/desktop_capture/mac/
Dfull_screen_chrome_window_detector.cc187 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/
Djavamicro_helpers.cc129 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/dbus/dbus/
Ddbus-internals.c338 char *last_period, *last_slash; in _dbus_verbose_init() local
343 last_slash = _mbsrchr(module_name,'\\'); in _dbus_verbose_init()
344 if (last_slash) in _dbus_verbose_init()
345 strcpy(module_name,last_slash+1); in _dbus_verbose_init()
Ddbus-marshal-validate.c791 const unsigned char *last_slash; in _dbus_validate_path() local
808 last_slash = s; in _dbus_validate_path()
815 if ((s - last_slash) < 2) in _dbus_validate_path()
818 last_slash = s; in _dbus_validate_path()
829 if ((end - last_slash) < 2 && in _dbus_validate_path()
Ddbus-sysdeps-win.c2012 char *last_slash; in _dbus_get_tmpdir() local
2021 last_slash = _mbsrchr (buf, '\\'); in _dbus_get_tmpdir()
2022 if (last_slash > buf && last_slash[1] == '\0') in _dbus_get_tmpdir()
2023 last_slash[0] = '\0'; in _dbus_get_tmpdir()
2024 last_slash = _mbsrchr (buf, '/'); in _dbus_get_tmpdir()
2025 if (last_slash > buf && last_slash[1] == '\0') in _dbus_get_tmpdir()
2026 last_slash[0] = '\0'; in _dbus_get_tmpdir()
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_helpers.cc176 string::size_type last_slash = file->name().find_last_of('/'); in FileClassName() local
177 if (last_slash == string::npos) { in FileClassName()
180 basename = file->name().substr(last_slash + 1); in FileClassName()
/external/v8/src/
Dd8-posix.cc635 char* last_slash = strrchr(directory, '/'); in mkdirp() local
636 if (last_slash == NULL) { in mkdirp()
642 *last_slash = 0; in mkdirp()
644 *last_slash = '/'; in mkdirp()
/external/curl/lib/
Dftp.c3827 char *last_slash; in init_wc_data() local
3833 last_slash = strrchr(conn->data->state.path, '/'); in init_wc_data()
3834 if(last_slash) { in init_wc_data()
3835 last_slash++; in init_wc_data()
3836 if(last_slash[0] == '\0') { in init_wc_data()
3842 wildcard->pattern = strdup(last_slash); in init_wc_data()
3845 last_slash[0] = '\0'; /* cut file from path */ in init_wc_data()
/external/compiler-rt/lib/msan/tests/
Dmsan_test.cc2880 const char *last_slash = strrchr(program_path, '/'); in GetPathToLoadable() local
2881 ASSERT_NE(nullptr, last_slash); in GetPathToLoadable()
2882 size_t dir_len = (size_t)(last_slash - program_path); in GetPathToLoadable()