Home
last modified time | relevance | path

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

12345

/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()
Dpath.cc99 path = Basename(path); in SplitBasename()
118 StringPiece Basename(StringPiece path) { in Basename() function
Dpath.h61 tensorflow::StringPiece Basename(tensorflow::StringPiece path);
/external/perfetto/include/perfetto/base/
Dlogging.h73 constexpr const char* Basename(const char* str) { in Basename() function
86 ::perfetto::base::Basename(__FILE__ "(" PERFETTO_LOG_LINE "):"), \
94 ::perfetto::base::Basename(__FILE__ ":" PERFETTO_LOG_LINE), \
105 "%s " fmt, ::perfetto::base::Basename(__FILE__ ":" PERFETTO_LOG_LINE), \
116 "%s " fmt, ::perfetto::base::Basename(__FILE__ ":" PERFETTO_LOG_LINE), \
/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/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/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/skqp/bench/
Dnanobench.cpp651 if (SkCommandLineFlags::ShouldSkip(FLAGS_match, SkOSPath::Basename(path).c_str())) { in ReadPicture()
732 SkString name = SkOSPath::Basename(path.c_str()); in rawNext()
747 SkString name = SkOSPath::Basename(path.c_str()); in rawNext()
776 SkString name = SkOSPath::Basename(path.c_str()); in rawNext()
791 return new SKPBench(SkOSPath::Basename(path).c_str(), pic.get(), fClip, in rawNext()
812 SkString name = SkOSPath::Basename(path.c_str()); in rawNext()
882 return new CodecBench(SkOSPath::Basename(path.c_str()), in rawNext()
922 return new AndroidCodecBench(SkOSPath::Basename(path.c_str()), in rawNext()
968 SkString basename = SkOSPath::Basename(path.c_str()); in rawNext()
/external/skia/bench/
Dnanobench.cpp651 if (SkCommandLineFlags::ShouldSkip(FLAGS_match, SkOSPath::Basename(path).c_str())) { in ReadPicture()
732 SkString name = SkOSPath::Basename(path.c_str()); in rawNext()
747 SkString name = SkOSPath::Basename(path.c_str()); in rawNext()
776 SkString name = SkOSPath::Basename(path.c_str()); in rawNext()
791 return new SKPBench(SkOSPath::Basename(path).c_str(), pic.get(), fClip, in rawNext()
812 SkString name = SkOSPath::Basename(path.c_str()); in rawNext()
882 return new CodecBench(SkOSPath::Basename(path.c_str()), in rawNext()
922 return new AndroidCodecBench(SkOSPath::Basename(path.c_str()), in rawNext()
968 SkString basename = SkOSPath::Basename(path.c_str()); in rawNext()
/external/gflags/src/
Dgflags_reporting.cc228 static const char* Basename(const char* filename) { in Basename() function
265 fprintf(stdout, "%s: %s\n", Basename(argv0), ProgramUsage()); in ShowUsageWithFlagsMatching()
322 XMLText(Basename(prog_name)).c_str()); in ShowXMLOfFlags()
/external/clang/tools/scan-build/libexec/
Dc++-analyzer4 use File::Basename qw/ dirname /;
/external/curl/tests/
Dvalgrind.pm23 use File::Basename;
/external/skqp/src/utils/
DSkOSPath.h42 static SkString Basename(const char* fullPath);
DSkOSPath.cpp19 SkString SkOSPath::Basename(const char* fullPath) { in Basename() function in SkOSPath
/external/skia/src/utils/
DSkOSPath.h42 static SkString Basename(const char* fullPath);
DSkOSPath.cpp19 SkString SkOSPath::Basename(const char* fullPath) { in Basename() function in SkOSPath
/external/swiftshader/third_party/LLVM/utils/
Dtest_debuginfo.pl15 use File::Basename;
/external/llvm/utils/
Dtest_debuginfo.pl18 use File::Basename;
/external/cldr/tools/c/genldml/
Dgenindex.pl10 use File::Basename;
DfilterRB.pl14 use File::Basename;
/external/tensorflow/tensorflow/tools/api/tests/
Dconvert_from_multiline.cc42 string output_path = io::JoinPath(output_dir, io::Basename(path)); in ConvertFilesFromMultiline()
/external/skqp/samplecode/
DSampleSVGFile.cpp25 : fPath(path), fLabel(SkStringPrintf("[%s]", SkOSPath::Basename(path.c_str()).c_str())) {} in SVGFileView()
/external/skia/samplecode/
DSampleSVGFile.cpp25 : fPath(path), fLabel(SkStringPrintf("[%s]", SkOSPath::Basename(path.c_str()).c_str())) {} in SVGFileView()
/external/llvm/tools/dsymutil/
Ddsymutil.cpp181 llvm::StringRef Basename = in getOutputFileName() local
183 llvm::sys::path::append(TmpFile, llvm::sys::path::filename(Basename)); in getOutputFileName()
/external/swiftshader/third_party/llvm-7.0/llvm/test/TableGen/
DRelTest.td33 string Basename = "";

12345