Home
last modified time | relevance | path

Searched refs:Dirname (Results 1 – 25 of 36) sorted by relevance

12

/external/tensorflow/tensorflow/core/lib/io/
Dpath_test.cc47 TEST(PathTest, Dirname) { in TEST() argument
49 Dirname("hdfs://127.0.0.1:9000/train.csv.tfrecords")); in TEST()
50 EXPECT_EQ("/hello", Dirname("/hello/")); in TEST()
51 EXPECT_EQ("/", Dirname("/hello")); in TEST()
52 EXPECT_EQ("hello", Dirname("hello/world")); in TEST()
53 EXPECT_EQ("hello", Dirname("hello/")); in TEST()
54 EXPECT_EQ("", Dirname("world")); in TEST()
55 EXPECT_EQ("/", Dirname("/")); in TEST()
56 EXPECT_EQ("", Dirname("")); in TEST()
Dpath.h57 tensorflow::StringPiece Dirname(tensorflow::StringPiece path);
Dpath.cc114 StringPiece Dirname(StringPiece path) { in Dirname() function
/external/gflags/src/
Dgflags_reporting.cc233 static string Dirname(const string& filename) { in Dirname() function
282 if (Dirname(flag->filename) != Dirname(last_filename)) { // new dir! in ShowUsageWithFlagsMatching()
414 const string package = Dirname(flag->filename) + PATH_SEPARATOR; in HandleCommandLineHelpFlags()
/external/e2fsprogs/intl/
Dlibgettext.h172 # define bindtextdomain(Domainname, Dirname) ((char *) Dirname) argument
/external/toybox/kconfig/
Dlkc.h20 # define bindtextdomain(Domainname, Dirname) ((const char *) (Dirname)) argument
/external/skqp/src/utils/
DSkOSPath.h52 static SkString Dirname(const char* fullPath);
DSkOSPath.cpp32 SkString SkOSPath::Dirname(const char* fullPath) { in Dirname() function in SkOSPath
/external/skia/src/utils/
DSkOSPath.h52 static SkString Dirname(const char* fullPath);
DSkOSPath.cpp32 SkString SkOSPath::Dirname(const char* fullPath) { in Dirname() function in SkOSPath
/external/tensorflow/tensorflow/stream_executor/lib/
Dpath.h27 using tensorflow::io::Dirname;
/external/tensorflow/tensorflow/core/kernels/
Dsave_restore_v2_ops.cc223 const string& merged_dir = io::Dirname(merged_prefix).ToString(); in Compute()
225 const string& dirname = io::Dirname(input_prefix).ToString(); in Compute()
Dmerge_v2_checkpoints_op_test.cc118 ->IsDirectory(io::Dirname(prefixes[i]).ToString()) in RunMergeTest()
Dwhole_file_read_ops.cc137 const string dir = io::Dirname(filename).ToString(); in Compute()
/external/tensorflow/tensorflow/core/platform/
Dfile_system.cc107 string dir = io::Dirname(fixed_prefix).ToString(); in GetMatchingPaths()
250 remaining_dir = io::Dirname(remaining_dir); in RecursivelyCreateDir()
/external/skia/tests/
DOSPathTest.cpp41 SkString dirname = SkOSPath::Dirname(fullName.c_str()); in test_dir_with_file()
/external/skqp/tests/
DOSPathTest.cpp41 SkString dirname = SkOSPath::Dirname(fullName.c_str()); in test_dir_with_file()
/external/skia/bench/
DResultsWriter.h133 SkString dirname = SkOSPath::Dirname(fFilename.c_str()); in flush()
/external/skqp/bench/
DResultsWriter.h133 SkString dirname = SkOSPath::Dirname(fFilename.c_str()); in flush()
/external/skia/tools/skpbench/
Dskpbench.cpp354 const SkString &dirname = SkOSPath::Dirname(FLAGS_png[0]), in main()
400 return mkdir_p(SkOSPath::Dirname(dirname.c_str())) && sk_mkdir(dirname.c_str()); in mkdir_p()
/external/skqp/tools/skpbench/
Dskpbench.cpp349 const SkString &dirname = SkOSPath::Dirname(FLAGS_png[0]), in main()
395 return mkdir_p(SkOSPath::Dirname(dirname.c_str())) && sk_mkdir(dirname.c_str()); in mkdir_p()
/external/tensorflow/tensorflow/core/debug/
Ddebug_io_utils.cc402 event, io::Dirname(core_metadata_path).ToString(), in PublishDebugMetadata()
635 return DumpEventProtoToFile(events[0], io::Dirname(file_path).ToString(), in DumpTensorToEventFile()
645 string parent_dir = io::Dirname(dir).ToString(); in RecursiveCreateDir()
/external/tensorflow/tensorflow/stream_executor/
Ddso_loader.cc158 return strip_executable_name ? port::Dirname(exe_path).ToString() : exe_path; in GetBinaryDirectory()
/external/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp778 StringRef Dirname = DIUnit->getDirectory(); in recordAndEmitFilenames() local
779 SmallString<128> FullPathName = Dirname; in recordAndEmitFilenames()
780 if (!Dirname.empty() && !sys::path::is_absolute(Filename)) { in recordAndEmitFilenames()
793 StringRef Dirname = SP->getDirectory(); in recordAndEmitFilenames() local
794 SmallString<128> FullPathName = Dirname; in recordAndEmitFilenames()
795 if (!Dirname.empty() && !sys::path::is_absolute(Filename)) { in recordAndEmitFilenames()
/external/skqp/tools/trace/
DSkChromeTracingTracer.cpp290 SkString dirname = SkOSPath::Dirname(fFilename.c_str()); in flush()

12