Home
last modified time | relevance | path

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

1234

/third_party/skia/third_party/externals/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()
Dpath_util.h34 inline absl::string_view Basename(absl::string_view filename) { in Basename() function
Dprogram_name.cc45 return program_name ? std::string(flags_internal::Basename(*program_name)) in ShortProgramInvocationName()
/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()
Dpath_util.h34 inline absl::string_view Basename(absl::string_view filename) { in Basename() function
Dprogram_name.cc45 return program_name ? std::string(flags_internal::Basename(*program_name)) in ShortProgramInvocationName()
/third_party/flutter/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()
/third_party/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()
DSkSLES2ConformanceTest.cpp42 ERRORF(r, "%s: Unable to load file", SkOSPath::Basename(testFile).c_str()); in test_expect_fail()
50 SkOSPath::Basename(testFile).c_str()); in test_expect_fail()
/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()
/third_party/skia/third_party/externals/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()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/source/
Dcifar_op.cc128 std::string file_name = file_path.Basename(); in ReadCifar10BlockData()
170 std::string file_name = file_path.Basename(); in ReadCifar100BlockData()
323 std::string file_name = file_path.Basename(); in CountTotalRows()
346 std::string file_name = file_path.Basename(); in CountTotalRows()
352 … if (op->usage_ == "train" && file_path.Basename().find("train") == std::string::npos) continue; in CountTotalRows()
353 if (op->usage_ == "test" && file_path.Basename().find("test") == std::string::npos) continue; in CountTotalRows()
Dcityscapes_op.cc183 Path img_city_dir = images_dir_p / city_dir.Basename(); in GetCityscapesDataByUsage()
184 Path task_city_dir = task_dir_p / city_dir.Basename(); in GetCityscapesDataByUsage()
196 Path image_file_path = img_city_dir / img_file.Basename(); in GetCityscapesDataByUsage()
197 img_file_name = img_file.Basename(); in GetCityscapesDataByUsage()
/third_party/gn/misc/vim/autoload/
Dgn.vim14 if exists('*maktaba#path#Basename')
16 if maktaba#path#Basename(l:new_path) !~# '\V.'
/third_party/skia/bench/
Dnanobench.cpp667 if (CommandLineFlags::ShouldSkip(FLAGS_match, SkOSPath::Basename(path).c_str())) { in ReadPicture()
683 if (CommandLineFlags::ShouldSkip(FLAGS_match, SkOSPath::Basename(path).c_str())) { in ReadMSKP()
697 if (CommandLineFlags::ShouldSkip(FLAGS_match, SkOSPath::Basename(path).c_str())) { in ReadSVGPicture()
762 SkString basename = SkOSPath::Basename(path.c_str()); in rawNext()
781 SkString name = SkOSPath::Basename(path.c_str()); in rawNext()
796 SkString name = SkOSPath::Basename(path.c_str()); in rawNext()
822 SkString name = SkOSPath::Basename(path.c_str()); in rawNext()
834 return new SKPBench(SkOSPath::Basename(path).c_str(), pic.get(), fClip, in rawNext()
855 SkString name = SkOSPath::Basename(path.c_str()); in rawNext()
870 SkString name = SkOSPath::Basename(path.c_str()); in rawNext()
[all …]
/third_party/curl/tests/
Dvalgrind.pm23 use File::Basename;
/third_party/openssl/util/perl/
Dwith_fallback.pm13 use File::Basename;
/third_party/flutter/skia/bench/
Dnanobench.cpp687 if (CommandLineFlags::ShouldSkip(FLAGS_match, SkOSPath::Basename(path).c_str())) { in ReadPicture()
768 SkString name = SkOSPath::Basename(path.c_str()); in rawNext()
783 SkString name = SkOSPath::Basename(path.c_str()); in rawNext()
812 SkString name = SkOSPath::Basename(path.c_str()); in rawNext()
827 return new SKPBench(SkOSPath::Basename(path).c_str(), pic.get(), fClip, in rawNext()
848 SkString name = SkOSPath::Basename(path.c_str()); in rawNext()
918 return new CodecBench(SkOSPath::Basename(path.c_str()), in rawNext()
958 return new AndroidCodecBench(SkOSPath::Basename(path.c_str()), in rawNext()
1004 SkString basename = SkOSPath::Basename(path.c_str()); in rawNext()
/third_party/openssl/external/perl/transfer/Text/
DTemplate.pm15 use File::Basename;
/third_party/flutter/skia/src/utils/
DSkOSPath.h42 static SkString Basename(const char* fullPath);
DSkOSPath.cpp19 SkString SkOSPath::Basename(const char* fullPath) { in Basename() function in SkOSPath
/third_party/skia/src/utils/
DSkOSPath.h42 static SkString Basename(const char* fullPath);
DSkOSPath.cpp19 SkString SkOSPath::Basename(const char* fullPath) { in Basename() function in SkOSPath
/third_party/mbedtls/tests/scripts/
Dcheck-doxy-blocks.pl28 use File::Basename;
/third_party/gettext/gettext-tools/examples/hello-c++-kde/admin/
Dconf.change.pl30 use File::Basename;

1234