Home
last modified time | relevance | path

Searched refs:preferred_separator (Results 1 – 25 of 365) sorted by relevance

12345678910>>...15

/dports/graphics/dcmtk/dcmtk-DCMTK-3.6.6/ofstd/tests/
H A Dtfilsys.cc41 OFCHECK_EQUAL( OFpath::preferred_separator, '\\' ); in OFTEST()
44 OFCHECK_EQUAL( OFpath::preferred_separator, '/' ); in OFTEST()
62 …FString expected = OFString( "path" ) + OFpath::preferred_separator + "to" + OFpath::preferred_sep… in OFTEST()
83 OFpath p( OFString( "my" ) + OFpath::preferred_separator + "path" ); in OFTEST()
85 + OFpath::preferred_separator + "path" in OFTEST()
86 + OFpath::preferred_separator + "my" in OFTEST()
87 + OFpath::preferred_separator + "path"; in OFTEST()
91 p = ( OFString( "C:" ) + OFpath::preferred_separator ) / p; in OFTEST()
92 expected = OFString( "C:" ) + OFpath::preferred_separator + expected; in OFTEST()
94 p = OFString( 1, OFpath::preferred_separator ) / p; in OFTEST()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/libcxx/test/std/input.output/filesystems/class.path/
H A Dsynop.pass.cpp35 ASSERT_SAME_TYPE(const path::value_type, decltype(path::preferred_separator)); in main()
37 static_assert(path::preferred_separator == '\\', ""); in main()
39 static_assert(path::preferred_separator == '/', ""); in main()
42 const path::value_type* dummy = &path::preferred_separator; in main()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/libcxx/test/std/input.output/filesystems/class.path/
H A Dsynop.pass.cpp35 ASSERT_SAME_TYPE(const path::value_type, decltype(path::preferred_separator)); in main()
37 static_assert(path::preferred_separator == '\\', ""); in main()
39 static_assert(path::preferred_separator == '/', ""); in main()
42 const path::value_type* dummy = &path::preferred_separator; in main()
/dports/devel/llvm12/llvm-project-12.0.1.src/libcxx/test/std/input.output/filesystems/class.path/
H A Dsynop.pass.cpp35 ASSERT_SAME_TYPE(const path::value_type, decltype(path::preferred_separator)); in main()
37 static_assert(path::preferred_separator == '\\', ""); in main()
39 static_assert(path::preferred_separator == '/', ""); in main()
42 const path::value_type* dummy = &path::preferred_separator; in main()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/libcxx/test/std/input.output/filesystems/class.path/
H A Dsynop.pass.cpp35 ASSERT_SAME_TYPE(const path::value_type, decltype(path::preferred_separator)); in main()
37 static_assert(path::preferred_separator == '\\', ""); in main()
39 static_assert(path::preferred_separator == '/', ""); in main()
42 const path::value_type* dummy = &path::preferred_separator; in main()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/libcxx/test/std/input.output/filesystems/class.path/
H A Dsynop.pass.cpp35 ASSERT_SAME_TYPE(const path::value_type, decltype(path::preferred_separator)); in main()
37 static_assert(path::preferred_separator == '\\', ""); in main()
39 static_assert(path::preferred_separator == '/', ""); in main()
42 const path::value_type* dummy = &path::preferred_separator; in main()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/libcxx/test/std/input.output/filesystems/class.path/
H A Dsynop.pass.cpp35 ASSERT_SAME_TYPE(const path::value_type, decltype(path::preferred_separator)); in main()
37 static_assert(path::preferred_separator == '\\', ""); in main()
39 static_assert(path::preferred_separator == '/', ""); in main()
42 const path::value_type* dummy = &path::preferred_separator; in main()
/dports/devel/llvm13/llvm-project-13.0.1.src/libcxx/test/std/input.output/filesystems/class.path/
H A Dsynop.pass.cpp35 ASSERT_SAME_TYPE(const path::value_type, decltype(path::preferred_separator));
37 static_assert(path::preferred_separator == '\\', "");
39 static_assert(path::preferred_separator == '/', "");
42 const path::value_type* dummy = &path::preferred_separator;
/dports/devel/ignition-common/ignitionrobotics-ign-common-a5c4d5a35bb8/src/
H A DFilesystemBoost.cc88 static const char preferred_separator = '/'; variable
198 static const char preferred_separator = '\\'; variable
481 return _p + preferred_separator; in separator()
489 if ('/' == preferred_separator) in changeFromUnixPath()
492 std::replace(_path.begin(), _path.end(), '/', preferred_separator); in changeFromUnixPath()
508 if ('/' == preferred_separator) in changeToUnixPath()
511 std::replace(_path.begin(), _path.end(), preferred_separator, '/'); in changeToUnixPath()
532 if (_path[i] == preferred_separator) in basename()
542 basename.push_back(preferred_separator); in basename()
579 return this->dataPtr->dirname + preferred_separator + in operator *()
/dports/graphics/dcmtk/dcmtk-DCMTK-3.6.6/ofstd/libsrc/
H A Doffilsys.cc109 preferred_separator == m_NativeString[pos+1] in is_absolute()
131 return pos < m_NativeString.size() && preferred_separator == m_NativeString[pos]; in has_root_directory()
133 return !empty() && preferred_separator == *m_NativeString.begin(); in has_root_directory()
144 if( *it == preferred_separator ) in has_filename()
149 if( *--it == preferred_separator ) in has_filename()
153 return !empty() && preferred_separator != *(m_NativeString.end() - 1); in has_filename()
215 ( pos < rhs.m_NativeString.size() && rhs.m_NativeString[pos] == preferred_separator ) || in operator /=()
249 if( !empty() && preferred_separator != *(m_NativeString.end() - 1) ) in operator /=()
253 m_NativeString += preferred_separator; in operator /=()
265 m_NativeString += preferred_separator; in operator /=()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/libcxx/test/std/input.output/filesystems/class.path/
H A Dsynop.pass.cpp31 ASSERT_SAME_TYPE(const path::value_type, decltype(path::preferred_separator)); in main()
32 static_assert(path::preferred_separator == '/', ""); in main()
34 const char* dummy = &path::preferred_separator; in main()
/dports/www/chromium-legacy/chromium-88.0.4324.182/buildtools/third_party/libc++/trunk/test/std/input.output/filesystems/class.path/
H A Dsynop.pass.cpp31 ASSERT_SAME_TYPE(const path::value_type, decltype(path::preferred_separator)); in main()
32 static_assert(path::preferred_separator == '/', ""); in main()
34 const char* dummy = &path::preferred_separator; in main()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/libcxx/test/std/input.output/filesystems/class.path/
H A Dsynop.pass.cpp31 ASSERT_SAME_TYPE(const path::value_type, decltype(path::preferred_separator)); in main()
32 static_assert(path::preferred_separator == '/', ""); in main()
34 const char* dummy = &path::preferred_separator; in main()
/dports/devel/libc++/libcxx-10.0.1.src/test/std/input.output/filesystems/class.path/
H A Dsynop.pass.cpp31 ASSERT_SAME_TYPE(const path::value_type, decltype(path::preferred_separator)); in main()
32 static_assert(path::preferred_separator == '/', ""); in main()
34 const char* dummy = &path::preferred_separator; in main()
/dports/www/trafficserver/trafficserver-9.1.1/include/tscore/
H A Dts_file.h51 static constexpr char preferred_separator = value_type{'/'};
256 return !_path.empty() && preferred_separator == _path[0]; in is_absolute()
274 return (this->is_absolute()) ? path(_path.substr(sizeof(preferred_separator))) : *this; in relative_path()
280 if (this->is_absolute() && _path.substr(sizeof(preferred_separator)).empty()) { in parent_path()
285 const size_t last_slash_idx = _path.find_last_of(preferred_separator); in parent_path()
/dports/misc/sdformat/osrf-sdformat-f555f9a69f8f/src/
H A DFilesystem.cc87 static const char preferred_separator = '/'; variable
207 static const char preferred_separator = '\\'; variable
493 return _p + preferred_separator; in separator()
506 if (_path[i] == preferred_separator) in basename()
516 basename.push_back(preferred_separator); in basename()
553 return this->dataPtr->dirname + preferred_separator + in operator *()
/dports/www/trafficserver/trafficserver-9.1.1/src/tscore/
H A Dts_file.cc34 if (that.front() == preferred_separator || _path.empty()) { in operator /=()
37 if (_path.back() == preferred_separator) { in operator /=()
41 _path.push_back(preferred_separator); in operator /=()
106 const size_t last_slash_idx = p.string().find_last_of(p.preferred_separator); in filename()
147 while ((pos = p.string().find_first_of(p.preferred_separator, pos)) != std::string::npos) { in create_directories()
152 pos = pos + sizeof(p.preferred_separator); in create_directories()
/dports/math/scilab/scilab-6.1.1/scilab/modules/fileio/src/cpp/
H A Dfullpath.cpp64 if (len > 0 && _Path[len - 1] == std::filesystem::path::preferred_separator) in get_full_path()
95 if (len > 0 && _wcPath[len - 1] == std::filesystem::path::preferred_separator) in get_full_pathW()
/dports/misc/openmvg/openMVG-2.0/src/third_party/stlplus3/filesystemSimplified/
H A Dfile_system.cpp60 static const char preferred_separator = '\\'; variable
63 static const char preferred_separator = '/';
174 if (!is_separator(path[strlen(path)-1])) spec.insert(2, 1, preferred_separator); in initialise_folder()
180 spec.insert(2, 1, preferred_separator); in initialise_folder()
207 spec.insert(2, 1, preferred_separator); in initialise_folder()
389 result += preferred_separator; in image()
394 if (i != 0) result += std::string(1,preferred_separator); in image()
402 result += preferred_separator; in image()
620 result += preferred_separator; in create_filespec()
970 result += preferred_separator; in folder_append_separator()
/dports/devel/avr-gcc/gcc-10.2.0/libstdc++-v3/testsuite/27_io/filesystem/path/append/
H A Dsource.cc123 expected += path::preferred_separator; in test05()
142 expected = p3.native() + path::preferred_separator; in test05()
/dports/lang/gcc9-aux/gcc-9.1.0/libstdc++-v3/testsuite/27_io/filesystem/path/append/
H A Dsource.cc123 expected += path::preferred_separator; in test05()
142 expected = p3.native() + path::preferred_separator; in test05()
/dports/lang/gcc11/gcc-11.2.0/libstdc++-v3/testsuite/27_io/filesystem/path/append/
H A Dsource.cc122 expected += path::preferred_separator; in test05()
141 expected = p3.native() + path::preferred_separator; in test05()
/dports/lang/gcc12-devel/gcc-12-20211205/libstdc++-v3/testsuite/27_io/filesystem/path/append/
H A Dsource.cc122 expected += path::preferred_separator; in test05()
141 expected = p3.native() + path::preferred_separator; in test05()
/dports/lang/gcc10/gcc-10.3.0/libstdc++-v3/testsuite/27_io/filesystem/path/append/
H A Dsource.cc123 expected += path::preferred_separator; in test05()
142 expected = p3.native() + path::preferred_separator; in test05()
/dports/lang/gcc11-devel/gcc-11-20211009/libstdc++-v3/testsuite/27_io/filesystem/path/append/
H A Dsource.cc122 expected += path::preferred_separator; in test05()
141 expected = p3.native() + path::preferred_separator; in test05()

12345678910>>...15