Home
last modified time | relevance | path

Searched refs:kPathSeparator (Results 1 – 21 of 21) sorted by relevance

/third_party/googletest/googletest/src/
Dgtest-filepath.cc66 const char kPathSeparator = '\\'; variable
80 const char kPathSeparator = '/';
87 return (c == kPathSeparator) || (c == kAlternatePathSeparator); in IsPathSeparator()
89 return c == kPathSeparator; in IsPathSeparator()
134 const char* const last_sep = strrchr(c_str(), kPathSeparator); in FindLastPathSeparator()
201 return FilePath(dir.string() + kPathSeparator + relative_path.string()); in ConcatPaths()
358 } else if (out == pathname_.begin() || *std::prev(out) != kPathSeparator) { in Normalize()
359 *(out++) = kPathSeparator; in Normalize()
/third_party/mesa3d/src/gtest/src/
Dgtest-filepath.cc66 const char kPathSeparator = '\\'; variable
80 const char kPathSeparator = '/';
87 return (c == kPathSeparator) || (c == kAlternatePathSeparator); in IsPathSeparator()
89 return c == kPathSeparator; in IsPathSeparator()
133 const char* const last_sep = strrchr(c_str(), kPathSeparator); in FindLastPathSeparator()
200 return FilePath(dir.string() + kPathSeparator + relative_path.string()); in ConcatPaths()
365 *dest_ptr = kPathSeparator; in Normalize()
/third_party/flatbuffers/src/
Dutil.cpp161 filepath_last_character = kPathSeparator; in ConCatPathFileName()
162 } else if (filepath_last_character != kPathSeparator) { in ConCatPathFileName()
163 filepath += kPathSeparator; in ConCatPathFileName()
168 if (filepath[0] == '.' && filepath[1] == kPathSeparator) { in ConCatPathFileName()
Didl_gen_ts.cpp483 file_name += i == 0 ? ".." : (kPathSeparator + std::string("..")); in AddImport()
486 file_name += kPathSeparator + ToDasherizedCase(*it); in AddImport()
487 file_name += kPathSeparator + ToDasherizedCase(dependency.name); in AddImport()
530 file_name += i == 0 ? ".." : (kPathSeparator + std::string("..")); in AddImport()
533 file_name += kPathSeparator + ToDasherizedCase(*it); in AddImport()
534 file_name += kPathSeparator + ToDasherizedCase(dependency.name); in AddImport()
Dcode_generators.cpp95 namespace_dir += kPathSeparator; in NamespaceDir()
112 if (i > 0 && p != kPathSeparator) dasherized_case += "-"; in ToDasherizedCase()
Didl_gen_grpc.cpp444 if (it != namespaces.begin()) namespace_dir += kPathSeparator; in GenerateFileName()
448 if (!namespace_dir.empty()) grpc_py_filename += kPathSeparator; in GenerateFileName()
Didl_gen_lua.cpp716 if (it != namespaces.begin()) namespace_dir += kPathSeparator; in SaveType()
Didl_gen_python.cpp1755 if (it != namespaces.begin()) namespace_dir += kPathSeparator; in SaveType()
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/common/
Dshard_utils.cc84 size_t i = s.rfind(kPathSeparator, s.length()); in GetFileName()
119 if (s.rfind(kPathSeparator) + 1 <= s.size()) { in GetParentDir()
120 *pd_ptr = std::make_shared<std::string>(s.substr(0, s.rfind(kPathSeparator) + 1)); in GetParentDir()
124 ss.push_back(kPathSeparator); in GetParentDir()
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/include/common/
Dshard_utils.h133 const char kPathSeparator = variable
/third_party/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface.h112 static const char* const kPathSeparator;
Dcommand_line_interface_unittest.cc811 CommandLineInterface::kPathSeparator + "$tmpdir/baz_and_bat.bin")); in TEST_F()
827 CommandLineInterface::kPathSeparator + "$tmpdir/baz_and_bat.bin")); in TEST_F()
885 CommandLineInterface::kPathSeparator + "$tmpdir/foo_and_baz.bin")); in TEST_F()
1289 std::string("$tmpdir/a") + CommandLineInterface::kPathSeparator + in TEST_F()
Dcommand_line_interface.cc770 const char* const CommandLineInterface::kPathSeparator = ";"; member in google::protobuf::compiler::CommandLineInterface
772 const char* const CommandLineInterface::kPathSeparator = ":"; member in google::protobuf::compiler::CommandLineInterface
1576 value, CommandLineInterface::kPathSeparator, in InterpretArgument()
1644 << CommandLineInterface::kPathSeparator << "'." << std::endl; in InterpretArgument()
1658 value, CommandLineInterface::kPathSeparator, in InterpretArgument()
/third_party/node/src/
Dutil.h60 constexpr char kPathSeparator = '\\'; variable
64 constexpr char kPathSeparator = '/';
Dnode_file.cc81 constexpr char kPathSeparator = '/'; variable
83 const char* const kPathSeparator = "\\/"; variable
88 std::string::size_type pos = str.find_last_of(kPathSeparator); in Basename()
1378 next_path.find_last_of(kPathSeparator)); in MKDirpSync()
1458 path.find_last_of(kPathSeparator)); in MKDirpAsync()
Dnode_report.cc127 pathname += node::kPathSeparator; in TriggerNodeReport()
Denv.cc1230 std::string filename = dir + kPathSeparator + (*name); in NearHeapLimitCallback()
Denv-inl.h720 return exec_path.substr(0, exec_path.find_last_of(kPathSeparator)); in GetCwd()
/third_party/flatbuffers/grpc/src/compiler/
Dts_generator.cc39 if (i > 0 && p != flatbuffers::kPathSeparator) dasherized_case += "-"; in ToDasherizedCase()
/third_party/flatbuffers/include/flatbuffers/
Dutil.h450 FLATBUFFERS_CONSTEXPR char kPathSeparator = '/'; variable
/third_party/cef/tools/distrib/gtest/
Dgtest-all.cc9937 const char kPathSeparator = '\\'; variable
9951 const char kPathSeparator = '/';
9958 return (c == kPathSeparator) || (c == kAlternatePathSeparator); in IsPathSeparator()
9960 return c == kPathSeparator; in IsPathSeparator()
10005 const char* const last_sep = strrchr(c_str(), kPathSeparator); in FindLastPathSeparator()
10072 return FilePath(dir.string() + kPathSeparator + relative_path.string()); in ConcatPaths()
10229 } else if (out == pathname_.begin() || *std::prev(out) != kPathSeparator) { in Normalize()
10230 *(out++) = kPathSeparator; in Normalize()