Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_scope.cc50 auto last_slash = name.find_last_of("/"); in AddNode() local
51 while (last_slash != name.npos) { in AddNode()
52 name = name.substr(0, last_slash); in AddNode()
56 last_slash = name.find_last_of("/"); in AddNode()
67 auto last_slash = node->name().find_last_of("/"); in Build() local
68 if (last_slash == string::npos) { in Build()
71 const string prefix = node->name().substr(0, last_slash); in Build()
/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/ltp/tools/pounder21/
Drun.c469 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/
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/protobuf/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()
/external/v8/src/
Dd8-posix.cc619 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()
Dd8.cc594 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/
Dobjectivec_helpers.cc224 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/
Dftp.c3741 char *last_slash; in init_wc_data() local
3747 last_slash = strrchr(conn->data->state.path, '/'); in init_wc_data()
3748 if(last_slash) { in init_wc_data()
3749 last_slash++; in init_wc_data()
3750 if(last_slash[0] == '\0') { in init_wc_data()
3755 wildcard->pattern = strdup(last_slash); in init_wc_data()
3758 last_slash[0] = '\0'; /* cut file from path */ in init_wc_data()
/external/compiler-rt/lib/msan/tests/
Dmsan_test.cc2923 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()