Searched refs:last_slash (Results 1 – 12 of 12) sorted by relevance
/external/tensorflow/tensorflow/core/profiler/internal/ |
D | tfprof_scope.cc | 50 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/ |
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/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 | 3741 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/ |
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()
|