Home
last modified time | relevance | path

Searched refs:Basename (Results 1 – 25 of 119) sorted by relevance

12345

/external/webrtc/third_party/abseil-cpp/absl/flags/internal/
Dpath_util_test.cc25 EXPECT_EQ(flags::Basename(""), ""); in TEST()
26 EXPECT_EQ(flags::Basename("a.cc"), "a.cc"); in TEST()
27 EXPECT_EQ(flags::Basename("dir/a.cc"), "a.cc"); in TEST()
28 EXPECT_EQ(flags::Basename("dir1/dir2/a.cc"), "a.cc"); in TEST()
29 EXPECT_EQ(flags::Basename("../dir1/dir2/a.cc"), "a.cc"); in TEST()
30 EXPECT_EQ(flags::Basename("/dir1/dir2/a.cc"), "a.cc"); in TEST()
31 EXPECT_EQ(flags::Basename("/dir1/dir2/../dir3/a.cc"), "a.cc"); in TEST()
/external/libtextclassifier/abseil-cpp/absl/flags/internal/
Dpath_util_test.cc25 EXPECT_EQ(flags::Basename(""), ""); in TEST()
26 EXPECT_EQ(flags::Basename("a.cc"), "a.cc"); in TEST()
27 EXPECT_EQ(flags::Basename("dir/a.cc"), "a.cc"); in TEST()
28 EXPECT_EQ(flags::Basename("dir1/dir2/a.cc"), "a.cc"); in TEST()
29 EXPECT_EQ(flags::Basename("../dir1/dir2/a.cc"), "a.cc"); in TEST()
30 EXPECT_EQ(flags::Basename("/dir1/dir2/a.cc"), "a.cc"); in TEST()
31 EXPECT_EQ(flags::Basename("/dir1/dir2/../dir3/a.cc"), "a.cc"); in TEST()
/external/abseil-cpp/absl/flags/internal/
Dpath_util_test.cc25 EXPECT_EQ(flags::Basename(""), ""); in TEST()
26 EXPECT_EQ(flags::Basename("a.cc"), "a.cc"); in TEST()
27 EXPECT_EQ(flags::Basename("dir/a.cc"), "a.cc"); in TEST()
28 EXPECT_EQ(flags::Basename("dir1/dir2/a.cc"), "a.cc"); in TEST()
29 EXPECT_EQ(flags::Basename("../dir1/dir2/a.cc"), "a.cc"); in TEST()
30 EXPECT_EQ(flags::Basename("/dir1/dir2/a.cc"), "a.cc"); in TEST()
31 EXPECT_EQ(flags::Basename("/dir1/dir2/../dir3/a.cc"), "a.cc"); in TEST()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/flags/internal/
Dpath_util_test.cc25 EXPECT_EQ(flags::Basename(""), ""); in TEST()
26 EXPECT_EQ(flags::Basename("a.cc"), "a.cc"); in TEST()
27 EXPECT_EQ(flags::Basename("dir/a.cc"), "a.cc"); in TEST()
28 EXPECT_EQ(flags::Basename("dir1/dir2/a.cc"), "a.cc"); in TEST()
29 EXPECT_EQ(flags::Basename("../dir1/dir2/a.cc"), "a.cc"); in TEST()
30 EXPECT_EQ(flags::Basename("/dir1/dir2/a.cc"), "a.cc"); in TEST()
31 EXPECT_EQ(flags::Basename("/dir1/dir2/../dir3/a.cc"), "a.cc"); in TEST()
/external/openscreen/third_party/abseil/src/absl/flags/internal/
Dpath_util_test.cc25 EXPECT_EQ(flags::Basename(""), ""); in TEST()
26 EXPECT_EQ(flags::Basename("a.cc"), "a.cc"); in TEST()
27 EXPECT_EQ(flags::Basename("dir/a.cc"), "a.cc"); in TEST()
28 EXPECT_EQ(flags::Basename("dir1/dir2/a.cc"), "a.cc"); in TEST()
29 EXPECT_EQ(flags::Basename("../dir1/dir2/a.cc"), "a.cc"); in TEST()
30 EXPECT_EQ(flags::Basename("/dir1/dir2/a.cc"), "a.cc"); in TEST()
31 EXPECT_EQ(flags::Basename("/dir1/dir2/../dir3/a.cc"), "a.cc"); in TEST()
/external/angle/third_party/abseil-cpp/absl/flags/internal/
Dpath_util_test.cc25 EXPECT_EQ(flags::Basename(""), ""); in TEST()
26 EXPECT_EQ(flags::Basename("a.cc"), "a.cc"); in TEST()
27 EXPECT_EQ(flags::Basename("dir/a.cc"), "a.cc"); in TEST()
28 EXPECT_EQ(flags::Basename("dir1/dir2/a.cc"), "a.cc"); in TEST()
29 EXPECT_EQ(flags::Basename("../dir1/dir2/a.cc"), "a.cc"); in TEST()
30 EXPECT_EQ(flags::Basename("/dir1/dir2/a.cc"), "a.cc"); in TEST()
31 EXPECT_EQ(flags::Basename("/dir1/dir2/../dir3/a.cc"), "a.cc"); in TEST()
/external/tensorflow/tensorflow/core/lib/io/
Dpath_test.cc59 TEST(PathTest, Basename) { in TEST() argument
60 EXPECT_EQ("", Basename("/hello/")); in TEST()
61 EXPECT_EQ("hello", Basename("/hello")); in TEST()
62 EXPECT_EQ("world", Basename("hello/world")); in TEST()
63 EXPECT_EQ("", Basename("hello/")); in TEST()
64 EXPECT_EQ("world", Basename("world")); in TEST()
65 EXPECT_EQ("", Basename("/")); in TEST()
66 EXPECT_EQ("", Basename("")); in TEST()
/external/libgav1/libgav1/examples/
Dlogging.h39 constexpr const char* Basename(const char* file_name, size_t offset) { in Basename() function
43 : Basename(file_name, offset - 1); in Basename()
49 libgav1::examples::Basename(__FILE__, sizeof(__FILE__) - 1); \
/external/skqp/tests/
DOSPathTest.cpp40 SkString basename = SkOSPath::Basename(fullName.c_str()); in test_dir_with_file()
61 basename = SkOSPath::Basename(filename.c_str()); in test_dir_with_file()
86 SkString baseOfDir = SkOSPath::Basename(dir.c_str()); in DEF_TEST()
90 SkString empty = SkOSPath::Basename(nullptr); in DEF_TEST()
/external/skia/tests/
DOSPathTest.cpp40 SkString basename = SkOSPath::Basename(fullName.c_str()); in test_dir_with_file()
61 basename = SkOSPath::Basename(filename.c_str()); in test_dir_with_file()
86 SkString baseOfDir = SkOSPath::Basename(dir.c_str()); in DEF_TEST()
90 SkString empty = SkOSPath::Basename(nullptr); in DEF_TEST()
/external/ltp/testcases/kernel/syscalls/readdir/
Dreaddir01.c133 char Basename[255]; variable
192 sprintf(fname, "%s%d", Basename, cnt); in main()
247 sprintf(fname, "%s%d", Basename, cnt); in main()
301 sprintf(Basename, "%s_%d.", BASENAME, getpid()); in setup()
/external/libgav1/libgav1/src/utils/
Dlogging.h41 libgav1::internal::Basename(__FILE__, sizeof(__FILE__) - 1); \
75 constexpr const char* Basename(const char* file_name, size_t offset) { in Basename() function
79 : Basename(file_name, offset - 1); in Basename()
/external/webrtc/third_party/abseil-cpp/absl/base/internal/
Draw_logging.h47 ::absl::raw_logging_internal::Basename(__FILE__, \
118 constexpr const char* Basename(const char* fname, int offset) { in Basename() function
121 : Basename(fname, offset - 1); in Basename()
/external/libtextclassifier/abseil-cpp/absl/base/internal/
Draw_logging.h47 ::absl::raw_logging_internal::Basename(__FILE__, \
120 constexpr const char* Basename(const char* fname, int offset) { in Basename() function
123 : Basename(fname, offset - 1); in Basename()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/base/internal/
Draw_logging.h47 ::absl::raw_logging_internal::Basename(__FILE__, \
120 constexpr const char* Basename(const char* fname, int offset) { in Basename() function
123 : Basename(fname, offset - 1); in Basename()
/external/abseil-cpp/absl/base/internal/
Draw_logging.h47 ::absl::raw_logging_internal::Basename(__FILE__, \
118 constexpr const char* Basename(const char* fname, int offset) { in Basename() function
121 : Basename(fname, offset - 1); in Basename()
/external/openscreen/third_party/abseil/src/absl/base/internal/
Draw_logging.h47 ::absl::raw_logging_internal::Basename(__FILE__, \
122 constexpr const char* Basename(const char* fname, int offset) { in Basename() function
125 : Basename(fname, offset - 1); in Basename()
/external/angle/third_party/abseil-cpp/absl/base/internal/
Draw_logging.h47 ::absl::raw_logging_internal::Basename(__FILE__, \
122 constexpr const char* Basename(const char* fname, int offset) { in Basename() function
125 : Basename(fname, offset - 1); in Basename()
/external/perfetto/include/perfetto/base/
Dlogging.h77 constexpr const char* Basename(const char* str) { in Basename() function
106 "%s:%d " fmt, ::perfetto::base::Basename(__FILE__), \
113 ::perfetto::base::LogMessage(level, ::perfetto::base::Basename(__FILE__), \
/external/llvm-project/llvm/cmake/modules/
DFindGRPC.cmake89 get_filename_component(Basename ${ProtoSourceAbsolutePath} NAME_WLE)
91 set(GeneratedProtoSource "${CMAKE_CURRENT_BINARY_DIR}/${Basename}.pb.cc")
92 set(GeneratedProtoHeader "${CMAKE_CURRENT_BINARY_DIR}/${Basename}.pb.h")
100 list(APPEND GeneratedProtoSource "${CMAKE_CURRENT_BINARY_DIR}/${Basename}.grpc.pb.cc")
101 list(APPEND GeneratedProtoHeader "${CMAKE_CURRENT_BINARY_DIR}/${Basename}.grpc.pb.h")
/external/skia/bench/
Dnanobench.cpp696 if (CommandLineFlags::ShouldSkip(FLAGS_match, SkOSPath::Basename(path).c_str())) { in ReadPicture()
712 if (CommandLineFlags::ShouldSkip(FLAGS_match, SkOSPath::Basename(path).c_str())) { in ReadMSKP()
726 if (CommandLineFlags::ShouldSkip(FLAGS_match, SkOSPath::Basename(path).c_str())) { in ReadSVGPicture()
791 SkString basename = SkOSPath::Basename(path.c_str()); in rawNext()
810 SkString name = SkOSPath::Basename(path.c_str()); in rawNext()
825 SkString name = SkOSPath::Basename(path.c_str()); in rawNext()
851 SkString name = SkOSPath::Basename(path.c_str()); in rawNext()
863 return new SKPBench(SkOSPath::Basename(path).c_str(), pic.get(), fClip, in rawNext()
884 SkString name = SkOSPath::Basename(path.c_str()); in rawNext()
899 SkString name = SkOSPath::Basename(path.c_str()); in rawNext()
[all …]
/external/llvm-project/compiler-rt/lib/fuzzer/tests/
DFuzzerUnittest.cpp32 TEST(Fuzzer, Basename) { in TEST() argument
33 EXPECT_EQ(Basename("foo/bar"), "bar"); in TEST()
34 EXPECT_EQ(Basename("bar"), "bar"); in TEST()
35 EXPECT_EQ(Basename("/bar"), "bar"); in TEST()
36 EXPECT_EQ(Basename("foo/x"), "x"); in TEST()
37 EXPECT_EQ(Basename("foo/"), ""); in TEST()
39 EXPECT_EQ(Basename("foo\\bar"), "bar"); in TEST()
40 EXPECT_EQ(Basename("foo\\bar/baz"), "baz"); in TEST()
41 EXPECT_EQ(Basename("\\bar"), "bar"); in TEST()
42 EXPECT_EQ(Basename("foo\\x"), "x"); in TEST()
[all …]
/external/rust/crates/libfuzzer-sys/libfuzzer/tests/
DFuzzerUnittest.cpp32 TEST(Fuzzer, Basename) { in TEST() argument
33 EXPECT_EQ(Basename("foo/bar"), "bar"); in TEST()
34 EXPECT_EQ(Basename("bar"), "bar"); in TEST()
35 EXPECT_EQ(Basename("/bar"), "bar"); in TEST()
36 EXPECT_EQ(Basename("foo/x"), "x"); in TEST()
37 EXPECT_EQ(Basename("foo/"), ""); in TEST()
39 EXPECT_EQ(Basename("foo\\bar"), "bar"); in TEST()
40 EXPECT_EQ(Basename("foo\\bar/baz"), "baz"); in TEST()
41 EXPECT_EQ(Basename("\\bar"), "bar"); in TEST()
42 EXPECT_EQ(Basename("foo\\x"), "x"); in TEST()
[all …]
/external/llvm-project/clang/tools/scan-build/libexec/
Dc++-analyzer4 use File::Basename qw/ dirname /;
/external/clang/tools/scan-build/libexec/
Dc++-analyzer4 use File::Basename qw/ dirname /;

12345