/third_party/googletest/googletest/src/ |
D | gtest-filepath.cc | 66 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/ |
D | gtest-filepath.cc | 66 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/ |
D | util.cpp | 161 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()
|
D | idl_gen_ts.cpp | 483 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()
|
D | code_generators.cpp | 95 namespace_dir += kPathSeparator; in NamespaceDir() 112 if (i > 0 && p != kPathSeparator) dasherized_case += "-"; in ToDasherizedCase()
|
D | idl_gen_grpc.cpp | 444 if (it != namespaces.begin()) namespace_dir += kPathSeparator; in GenerateFileName() 448 if (!namespace_dir.empty()) grpc_py_filename += kPathSeparator; in GenerateFileName()
|
D | idl_gen_lua.cpp | 716 if (it != namespaces.begin()) namespace_dir += kPathSeparator; in SaveType()
|
D | idl_gen_python.cpp | 1755 if (it != namespaces.begin()) namespace_dir += kPathSeparator; in SaveType()
|
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/common/ |
D | shard_utils.cc | 84 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/ |
D | shard_utils.h | 133 const char kPathSeparator = variable
|
/third_party/protobuf/src/google/protobuf/compiler/ |
D | command_line_interface.h | 112 static const char* const kPathSeparator;
|
D | command_line_interface_unittest.cc | 811 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()
|
D | command_line_interface.cc | 770 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/ |
D | util.h | 60 constexpr char kPathSeparator = '\\'; variable 64 constexpr char kPathSeparator = '/';
|
D | node_file.cc | 81 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()
|
D | node_report.cc | 127 pathname += node::kPathSeparator; in TriggerNodeReport()
|
D | env.cc | 1230 std::string filename = dir + kPathSeparator + (*name); in NearHeapLimitCallback()
|
D | env-inl.h | 720 return exec_path.substr(0, exec_path.find_last_of(kPathSeparator)); in GetCwd()
|
/third_party/flatbuffers/grpc/src/compiler/ |
D | ts_generator.cc | 39 if (i > 0 && p != flatbuffers::kPathSeparator) dasherized_case += "-"; in ToDasherizedCase()
|
/third_party/flatbuffers/include/flatbuffers/ |
D | util.h | 450 FLATBUFFERS_CONSTEXPR char kPathSeparator = '/'; variable
|
/third_party/cef/tools/distrib/gtest/ |
D | gtest-all.cc | 9937 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()
|