Home
last modified time | relevance | path

Searched refs:kPathSeparator (Results 1 - 12 of 12) sorted by relevance

/third_party/googletest/googletest/src/
H A Dgtest-filepath.cc70 const char kPathSeparator = '\\'; member
84 const char kPathSeparator = '/';
91 return (c == kPathSeparator) || (c == kAlternatePathSeparator); in IsPathSeparator()
93 return c == kPathSeparator; in IsPathSeparator()
138 const char* const last_sep = strrchr(c_str(), kPathSeparator); in FindLastPathSeparator()
242 return FilePath(dir.string() + kPathSeparator + relative_path.string()); in ConcatPaths()
390 *(out++) = kPathSeparator; in Normalize()
391 *(out++) = kPathSeparator; in Normalize()
398 } else if (out == pathname_.begin() || *std::prev(out) != kPathSeparator) { in Normalize()
399 *(out++) = kPathSeparator; in Normalize()
[all...]
/third_party/node/deps/googletest/src/
H A Dgtest-filepath.cc73 const char kPathSeparator = '\\'; member
87 const char kPathSeparator = '/';
94 return (c == kPathSeparator) || (c == kAlternatePathSeparator); in IsPathSeparator()
96 return c == kPathSeparator; in IsPathSeparator()
143 const char* const last_sep = strrchr(c_str(), kPathSeparator); in FindLastPathSeparator()
246 return FilePath(dir.string() + kPathSeparator + relative_path.string()); in ConcatPaths()
394 *(out++) = kPathSeparator; in Normalize()
395 *(out++) = kPathSeparator; in Normalize()
402 } else if (out == pathname_.begin() || *std::prev(out) != kPathSeparator) { in Normalize()
403 *(out++) = kPathSeparator; in Normalize()
[all...]
/third_party/mesa3d/src/gtest/src/
H A Dgtest-filepath.cc66 const char kPathSeparator = '\\'; member
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/node/src/permission/
H A Dfs_permission.cc25 if (res.back() == node::kPathSeparator) {
28 return res + node::kPathSeparator + "*";
H A Dfs_permission.h89 child->prefix[i] == node::kPathSeparator) { in NextNode()
/third_party/protobuf/src/google/protobuf/compiler/
H A 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()
H A Dcommand_line_interface.h112 static const char* const kPathSeparator; member in google::protobuf::compiler::CommandLineInterface
H A 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/
H A Dutil.h58 // Maybe remove kPathSeparator when cpp17 is ready
60 constexpr char kPathSeparator = '\\'; member
64 constexpr char kPathSeparator = '/'; member
H A Dnode_file.cc81 constexpr char kPathSeparator = '/'; member
83 const char* const kPathSeparator = "\\/";
88 std::string::size_type pos = str.find_last_of(kPathSeparator); in Basename()
1559 next_path.find_last_of(kPathSeparator)); in MKDirpSync()
1639 path.find_last_of(kPathSeparator)); in MKDirpAsync()
H A Denv.cc590 return exec_path.substr(0, exec_path.find_last_of(kPathSeparator)); in GetCwd()
1792 std::string filename = dir + kPathSeparator + (*name); in NearHeapLimitCallback()
H A Dnode_report.cc893 pathname += kPathSeparator; in TriggerNodeReport()

Completed in 54 milliseconds