Home
last modified time | relevance | path

Searched full:path (Results 1 – 25 of 4873) sorted by relevance

12345678910>>...195

/llvm-project/libcxx/include/
H A Dfilesystem18 // `class path` from http://eel.is/c++draft/fs.class.path.general#6
19 class path {
27 path() noexcept;
28 path(const path& p);
29 path(path&& p) noexcept;
30 path(string_type&& source, format fmt = auto_format);
32 path(cons
[all...]
/llvm-project/libcxx/include/__filesystem/
H A Doperations.h19 #include <__filesystem/path.h>
36 _LIBCPP_EXPORTED_FROM_ABI path __absolute(const path&, error_code* __ec = nullptr);
37 _LIBCPP_EXPORTED_FROM_ABI path __canonical(const path&, error_code* __ec = nullptr);
39 __copy_file(const path& __from, const path& __to, copy_options __opt, error_code* __ec = nullptr);
41 __copy_symlink(const path& __existing_symlink, const path& __new_symlink, error_code* __ec = nullptr);
43 __copy(const path
[all...]
/llvm-project/llvm/include/llvm/Support/
H A DPath.h1 //===- llvm/Support/Path.h - Path Operating System Concept ------*- C++ -*-===//
9 // This file declares the llvm::sys::path namespace. It is designed after
11 // path class.
25 namespace path {
35 /// Check if \p S uses POSIX path rules.
48 /// Check if \p S uses Windows path rules.
54 /// Path iterator.
57 /// \a path. The traversal order is as follows:
76 StringRef Path; ///< Th variable
102 StringRef Path; ///< The entire path. global() variable
[all...]
/llvm-project/llvm/unittests/Support/
H A DFileCollectorTest.cpp45 std::string root_fs(root.path()); in TEST()
48 FileCollector.addFile("/path/to/a"); in TEST()
49 FileCollector.addFile("/path/to/b"); in TEST()
50 FileCollector.addFile("/path/to/c"); in TEST()
56 EXPECT_TRUE(FileCollector.hasSeen("/path/to/a")); in TEST()
57 EXPECT_TRUE(FileCollector.hasSeen("/path/to/b")); in TEST()
58 EXPECT_TRUE(FileCollector.hasSeen("/path/to/c")); in TEST()
61 EXPECT_FALSE(FileCollector.hasSeen("/path/to/d")); in TEST()
67 llvm::SmallString<128> aaa(file_root.path()); in TEST()
68 llvm::sys::path::append(aaa, "aaa"); in TEST()
[all …]
H A DPath.cpp1 //===- llvm/unittest/Support/Path.cpp - Path tests ------------------------===//
9 #include "llvm/Support/Path.h"
69 void checkSeparators(StringRef Path) { in checkSeparators()
71 char UndesiredSeparator = sys::path::get_separator()[0] == '/' ? '\\' : '/'; in checkSeparators()
72 ASSERT_EQ(Path.find(UndesiredSeparator), StringRef::npos); in checkSeparators()
83 using namespace llvm::sys::path; in TEST()
103 EXPECT_TRUE(path::is_separator('/')); in TEST()
104 EXPECT_FALSE(path::is_separator('\0')); in TEST()
105 EXPECT_FALSE(path in TEST()
68 checkSeparators(StringRef Path) checkSeparators() argument
138 for (const auto &Path : Paths) { TEST() local
150 TEST(Support,Path) TEST() argument
385 GetComponents(StringRef Path,path::Style S=path::Style::native) GetComponents() argument
419 for (auto &Path : Paths) { TEST() local
432 for (auto &Path : RootPaths) { TEST() local
443 if (wchar_t const *path = ::_wgetenv(Var)) { getEnvWin() local
483 if (char const *path = ::getenv("HOME")) TEST() local
597 path2regex(std::string Path) path2regex() argument
967 SmallString<128> Path; TEST_F() local
1555 remove_dots(StringRef path,bool remove_dot_dot,path::Style style) remove_dots() argument
1640 SmallString<64> Path = Path1; TEST() local
1782 createFileWithData(const Twine & Path,bool ShouldExistBefore,fs::CreationDisposition Disp,StringRef Data) createFileWithData() argument
1793 verifyFileContents(const Twine & Path,StringRef Contents) verifyFileContents() argument
2156 SmallString<128> path; TEST_F() local
2162 SmallString<128> path; TEST_F() member
[all...]
/llvm-project/llvm/lib/Support/
H A DPath.cpp1 //===-- Path.cpp - Implement OS Path Concept ------------------------------===//
9 // This file implements the operating system Path API.
13 #include "llvm/Support/Path.h"
37 using llvm::sys::path::is_separator;
38 using llvm::sys::path::Style;
61 StringRef find_first_component(StringRef path, Style style) {
68 if (path.empty()) in find_first_component()
69 return path; in find_first_component()
73 if (path in find_first_component()
62 find_first_component(StringRef path,Style style) find_first_component() argument
140 parent_path_end(StringRef path,Style style) parent_path_end() argument
225 namespace path { global() namespace
227 begin(StringRef path,Style style) begin() argument
236 end(StringRef path) end() argument
298 rbegin(StringRef Path,Style style) rbegin() argument
307 rend(StringRef Path) rend() argument
349 root_path(StringRef path,Style style) root_path() argument
374 root_name(StringRef path,Style style) root_name() argument
391 root_directory(StringRef path,Style style) root_directory() argument
414 relative_path(StringRef path,Style style) relative_path() argument
419 append(SmallVectorImpl<char> & path,Style style,const Twine & a,const Twine & b,const Twine & c,const Twine & d) append() argument
457 append(SmallVectorImpl<char> & path,const Twine & a,const Twine & b,const Twine & c,const Twine & d) append() argument
462 append(SmallVectorImpl<char> & path,const_iterator begin,const_iterator end,Style style) append() argument
468 parent_path(StringRef path,Style style) parent_path() argument
475 remove_filename(SmallVectorImpl<char> & path,Style style) remove_filename() argument
481 replace_extension(SmallVectorImpl<char> & path,const Twine & extension,Style style) replace_extension() argument
500 starts_with(StringRef Path,StringRef Prefix,Style style=Style::native) starts_with() argument
519 replace_path_prefix(SmallVectorImpl<char> & Path,StringRef OldPrefix,StringRef NewPrefix,Style style) replace_path_prefix() argument
541 native(const Twine & path,SmallVectorImpl<char> & result,Style style) native() argument
551 native(SmallVectorImpl<char> & Path,Style style) native() argument
569 convert_to_slash(StringRef path,Style style) convert_to_slash() argument
578 filename(StringRef path,Style style) filename() argument
580 stem(StringRef path,Style style) stem() argument
591 extension(StringRef path,Style style) extension() argument
616 has_root_name(const Twine & path,Style style) has_root_name() argument
623 has_root_directory(const Twine & path,Style style) has_root_directory() argument
630 has_root_path(const Twine & path,Style style) has_root_path() argument
637 has_relative_path(const Twine & path,Style style) has_relative_path() argument
644 has_filename(const Twine & path,Style style) has_filename() argument
651 has_parent_path(const Twine & path,Style style) has_parent_path() argument
658 has_stem(const Twine & path,Style style) has_stem() argument
665 has_extension(const Twine & path,Style style) has_extension() argument
672 is_absolute(const Twine & path,Style style) is_absolute() argument
682 is_absolute_gnu(const Twine & path,Style style) is_absolute_gnu() argument
700 is_relative(const Twine & path,Style style) is_relative() argument
704 remove_leading_dotslash(StringRef Path,Style style) remove_leading_dotslash() argument
788 getUniqueID(const Twine Path,UniqueID & Result) getUniqueID() argument
908 make_absolute(const Twine & current_directory,SmallVectorImpl<char> & path) make_absolute() argument
956 make_absolute(SmallVectorImpl<char> & path) make_absolute() argument
968 create_directories(const Twine & Path,bool IgnoreExisting,perms Perms) create_directories() argument
1068 md5_contents(const Twine & Path) md5_contents() argument
1086 get_file_type(const Twine & Path,bool Follow) get_file_type() argument
1097 is_directory(const Twine & path,bool & result) is_directory() argument
1109 is_regular_file(const Twine & path,bool & result) is_regular_file() argument
1121 is_symlink_file(const Twine & path,bool & result) is_symlink_file() argument
1135 is_other(const Twine & Path,bool & Result) is_other() argument
1152 getPermissions(const Twine & Path) getPermissions() argument
[all...]
H A DFileCollector.cpp13 #include "llvm/Support/Path.h"
34 static bool isCaseSensitivePath(StringRef Path) { in isCaseSensitivePath() argument
35 SmallString<256> TmpDest = Path, UpperDest, RealDest; in isCaseSensitivePath()
38 if (sys::fs::real_path(Path, TmpDest)) in isCaseSensitivePath()
40 Path = TmpDest; in isCaseSensitivePath()
42 // Change path to all upper case and ask for its real path, if the latter in isCaseSensitivePath()
43 // exists and is equal to path, it's not case sensitive. Default to case in isCaseSensitivePath()
46 UpperDest = Path.upper(); in isCaseSensitivePath()
47 if (!sys::fs::real_path(UpperDest, RealDest) && Path == RealDest) in isCaseSensitivePath()
54 assert(sys::path::is_absolute(Root) && "Root not absolute"); in FileCollector()
[all …]
/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.relative/
H A Drelative.pass.cpp16 // path proximate(const path& p, error_code &ec)
17 // path proximate(const path& p, const path& base = current_path())
18 // path proximate(const path& p, const path& base, error_code& ec);
32 fs::path p(""); in test_signature_0()
33 const fs::path output = fs::weakly_canonical(p); in test_signature_0()
34 assert(output == fs::path::string_type(fs::current_path())); in test_signature_0()
38 fs::path p("."); in test_signature_1()
39 const fs::path output = fs::weakly_canonical(p); in test_signature_1()
40 assert(output == fs::path::string_type(fs::current_path())); in test_signature_1()
45 fs::path p(static_env.File); in test_signature_2()
[all …]
/llvm-project/flang/unittests/Runtime/
H A DAccessTest.cpp51 static bool exists(const std::string &path) {
52 return access(path.c_str(), F_OK) == 0;
85 std::string path = in createTemporaryFile()
91 // But we can't use std::tmpfile() because we need a path to the file and in createTemporaryFile()
104 int file = open(path.c_str(), O_CREAT | O_EXCL, mode); in createTemporaryFile()
111 return path; in callAccess()
115 const std::string &path, const AccessType &accessType) { in callAccess()
116 const char *cpath{path.c_str()}; in callAccess()
143 std::string path = createTemporaryFile(__func__, accessType); in TEST()
144 ASSERT_FALSE(path in TEST()
45 exists(const std::string & path) exists() argument
79 std::string path = createTemporaryFile() local
109 callAccess(const std::string & path,const AccessType & accessType) callAccess() argument
137 std::string path = createTemporaryFile(__func__, accessType); TEST() local
162 std::string path = createTemporaryFile(__func__, accessType); TEST() local
176 std::string path = createTemporaryFile(__func__, accessType); TEST() local
191 std::string path = createTemporaryFile(__func__, accessType); TEST() local
205 std::string path = createTemporaryFile(__func__, accessType); TEST() local
221 std::string path = createTemporaryFile(__func__, accessType); TEST() local
236 std::string path = createTemporaryFile(__func__, accessType); TEST() local
253 std::string path = createTemporaryFile(__func__, accessType); TEST() local
270 std::string path = createTemporaryFile(__func__, accessType); TEST() local
286 std::string path = createTemporaryFile(__func__, accessType); TEST() local
300 std::string path = createTemporaryFile(__func__, accessType); TEST() local
317 std::string path = createTemporaryFile(__func__, accessType); TEST() local
333 std::string path = createTemporaryFile(__func__, accessType); TEST() local
352 std::string path = createTemporaryFile(__func__, accessType); TEST() local
371 std::string path = createTemporaryFile(__func__, accessType); TEST() local
390 std::string path = createTemporaryFile(__func__, accessType); TEST() local
409 std::string path = createTemporaryFile(__func__, accessType); TEST() local
[all...]
/llvm-project/bolt/test/X86/
H A Ddwarf5-df-types-modify-dwo-name.test80 ; RUN: llvm-bolt main.exe -o main.exe.bolt --update-debug-sections --dwarf-output-path=%t/DWOOut
87 ; RUN: cat log.txt | FileCheck -check-prefix=BOLT-PATH %s
89 ; BOLT-PATH: DW_TAG_skeleton_unit
90 ; BOLT-PATH: DW_AT_comp_dir ("
91 ; BOLT-PATH-SAME: dwarf5-df-types-modify-dwo-name.test.tmp/DWOOut
92 ; BOLT-PATH: DW_AT_dwo_name ("main.dwo0.dwo")
93 ; BOLT-PATH: DW_TAG_skeleton_unit
94 ; BOLT-PATH: DW_AT_comp_dir ("
95 ; BOLT-PATH-SAME: dwarf5-df-types-modify-dwo-name.test.tmp/DWOOut
96 ; BOLT-PATH
[all...]
H A Ddwarf5-df-types-modify-dwo-name-mixed.test79 ; RUN: llvm-bolt main.exe -o main.exe.bolt --update-debug-sections --dwarf-output-path=%t/DWOOut
86 ; RUN: cat log.txt | FileCheck -check-prefix=BOLT-PATH %s
88 ; BOLT-PATH: DW_TAG_skeleton_unit
89 ; BOLT-PATH: DW_AT_comp_dir ("
90 ; BOLT-PATH-SAME: dwarf5-df-types-modify-dwo-name-mixed.test.tmp/DWOOut
91 ; BOLT-PATH: DW_AT_dwo_name ("main.dwo0.dwo")
92 ; BOLT-PATH: DW_TAG_skeleton_unit
93 ; BOLT-PATH: DW_AT_comp_dir ("
94 ; BOLT-PATH-SAME: dwarf5-df-types-modify-dwo-name-mixed.test.tmp/DWOOut
95 ; BOLT-PATH
[all...]
/llvm-project/llvm/unittests/Testing/Support/
H A DTempPathTest.cpp23 StringRef Prefix = "temp-path-test"; in TEST()
26 sys::path::filename(Dir1->path()).take_front(Prefix.size())); in TEST()
27 EXPECT_NE(Prefix, sys::path::filename(Dir1->path())); in TEST()
29 std::string Path = Dir1->path().str(); in TEST() local
30 ASSERT_TRUE(sys::fs::exists(Path)); in TEST()
33 ASSERT_EQ(Path, Dir2->path()); in TEST()
34 ASSERT_TRUE(sys::fs::exists(Path)); in TEST()
37 ASSERT_TRUE(sys::fs::exists(Path)); in TEST()
40 ASSERT_FALSE(sys::fs::exists(Path)); in TEST()
44 TempDir D("temp-path-test", /*Unique=*/true); in TEST()
[all …]
/llvm-project/clang/test/Preprocessor/
H A Dsearch-path-usage.m5 // RUN: %clang_cc1 -Eonly %s -Rsearch-path-usage \
6 // RUN: -I%S/Inputs/search-path-usage/a \
7 // RUN: -I%S/Inputs/search-path-usage/a_next \
8 // RUN: -I%S/Inputs/search-path-usage/b \
9 // RUN: -I%S/Inputs/search-path-usage/c \
10 // RUN: -I%S/Inputs/search-path-usage/d \
14 // expected-remark-re {{search path used: '{{.*}}/search-path-usage/a'}} \
15 // expected-remark-re@#a-include-next {{search path used: '{{.*}}/search-path-usage/a_next'}}
17 // expected-remark-re {{search path used: '{{.*}}/search-path-usage/d'}}
22 // RUN: %clang_cc1 -Eonly %s -Rsearch-path-usage \
[all …]
/llvm-project/cross-project-tests/debuginfo-tests/dexter/dex/debugger/
H A DDebuggerBase.py22 def watch_is_active(watch_info: StepExpectInfo, path, frame_idx, line_no): argument
25 if watch_path and os.path.isfile(watch_path):
26 # If the current path does not match the expected file, this watch is
28 if not (path and os.path.isfile(path) and os.path.samefile(path, watch_path)):
197 frame.loc.path = self._debug_to_external_path(frame.loc.path)
220 def _external_to_debug_path(self, path): argument
222 return path
224 if not root_dir or not path:
225 return path
226 assert path.startswith(root_dir)
[all …]
/llvm-project/compiler-rt/utils/
H A Dgenerate_netbsd_syscalls.awk16 # /usr/src/sys/kern/syscalls.master path in the NetBSD distribution.
43 # assert argument is a valid file path to syscall.master
48 # sanity check that the path ends with "syscall.master"
579 pcmd("const char *path = (const char *)path_;")
580 pcmd("if (path) {")
581 pcmd(" PRE_READ(path, __sanitizer::internal_strlen(path) + 1);")
585 pcmd(" const char *path = (const char *)path_;")
586 pcmd(" if (path) {")
587 pcmd(" POST_READ(path, __sanitizer::internal_strlen(path) + 1);")
603 pcmd("const char *path = (const char *)path_;")
[all …]
/llvm-project/clang/test/Modules/
H A Dmacro-hiding.cpp2 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I%S/Inputs/macro-hidin…
3 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I%S/Inputs/macro-hidin…
4 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I%S/Inputs/macro-hidin…
5 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I%S/Inputs/macro-hidin…
6 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I%S/Inputs/macro-hidin…
7 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I%S/Inputs/macro-hidin…
8 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I%S/Inputs/macro-hidin…
9 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I%S/Inputs/macro-hidin…
10 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I%S/Inputs/macro-hidin…
11 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I%S/Inputs/macro-hidin…
[all …]
/llvm-project/lldb/source/Host/common/
H A DFileSystem.cpp17 #include "llvm/Support/Path.h"
80 llvm::ErrorOr<vfs::Status> FileSystem::GetStatus(const Twine &path) const { in GetStatus()
81 return m_fs->status(path); in GetStatus()
91 sys::TimePoint<> FileSystem::GetModificationTime(const Twine &path) const { in GetModificationTime()
92 ErrorOr<vfs::Status> status = m_fs->status(path); in GetModificationTime()
104 uint64_t FileSystem::GetByteSize(const Twine &path) const { in GetByteSize()
105 ErrorOr<vfs::Status> status = m_fs->status(path); in GetByteSize()
122 uint32_t FileSystem::GetPermissions(const Twine &path) const { in GetPermissions()
124 return GetPermissions(path, ec); in GetPermissions()
127 uint32_t FileSystem::GetPermissions(const Twine &path, in GetPermissions() argument
[all …]
/llvm-project/clang/bindings/python/tests/cindex/
H A Dtest_translation_unit.py23 from pathlib import Path
27 kInputsDir = os.path.join(os.path.dirname(__file__), "INPUTS")
48 tu.save(Path(t.name))
54 path = os.path.join(kInputsDir, "hello.cpp")
55 tu = TranslationUnit.from_source(path)
56 self.assertEqual(tu.spelling, path)
59 path = os.path
[all...]
/llvm-project/lldb/source/Utility/
H A DFileSpec.cpp48 return llvm::sys::path::is_style_posix(style); in PathStyleIsPosix()
52 return llvm::sys::path::get_separator(style).data(); in GetPathSeparators()
59 void Denormalize(llvm::SmallVectorImpl<char> &path, FileSpec::Style style) { in Denormalize() argument
63 std::replace(path.begin(), path.end(), '/', '\\'); in Denormalize()
70 // Default constructor that can take an optional full path to a file on disk.
71 FileSpec::FileSpec(llvm::StringRef path, Style style) : m_style(style) { in FileSpec() argument
72 SetFile(path, style); in FileSpec()
75 FileSpec::FileSpec(llvm::StringRef path, const llvm::Triple &triple) in FileSpec() argument
76 : FileSpec{path, triple.isOSWindows() ? Style::windows : Style::posix} {} in FileSpec()
81 /// \param[in] path
[all …]
/llvm-project/clang-tools-extra/clangd/support/
H A DPath.cpp1 //===--- Path.cpp -------------------------------------------*- C++-*------===//
9 #include "support/Path.h"
10 #include "llvm/Support/Path.h"
15 std::string maybeCaseFoldPath(PathRef Path) { return Path.lower(); } in maybeCaseFoldPath() argument
18 std::string maybeCaseFoldPath(PathRef Path) { return Path.str(); }
22 PathRef absoluteParent(PathRef Path) { in absoluteParent() argument
23 assert(llvm::sys::path::is_absolute(Path)); in absoluteParent()
27 if (llvm::sys::path::relative_path(Path).empty()) { in absoluteParent()
31 PathRef Result = llvm::sys::path::parent_path(Path); in absoluteParent()
32 assert(Result.empty() || llvm::sys::path::is_absolute(Result)); in absoluteParent()
[all …]
/llvm-project/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/
H A Dpath.pass.cpp15 // const path& path() const noexcept;
16 // operator const path&() const noexcept;
27 const path p("foo/bar/baz.exe"); in test_path_method()
28 const path p2("abc"); in test_path_method()
32 static_assert(std::is_same<decltype(e.path()), const path&>::value, ""); in test_path_method()
33 static_assert(std::is_same<decltype(nce.path()), const path&>::value, ""); in test_path_method()
34 static_assert(noexcept(e.path()) && noexcept(nce.path()), ""); in test_path_method()
38 path const& pref = e.path(); in test_path_method()
40 assert(&pref == &e.path()); in test_path_method()
43 assert(&pref == &e.path()); in test_path_method()
[all …]
/llvm-project/clang/test/CodeGen/
H A Dtbaa.cpp1 // RUN: %clang_cc1 -triple x86_64-apple-darwin -O1 -no-struct-path-tbaa -disable-llvm-passes %s -em…
2 …ple-darwin -O1 -disable-llvm-passes %s -emit-llvm -o - | FileCheck %s -check-prefixes=PATH,OLD-PATH
3 …apple-darwin -O1 -new-struct-path-tbaa -disable-llvm-passes %s -emit-llvm -o - | FileCheck %s -che…
56 // PATH-LABEL: define{{.*}} i32 @_Z1g in g()
57 // PATH: store i32 1, ptr %{{.*}}, align 4, !tbaa [[TAG_i32:!.*]] in g()
58 // PATH: store i32 4, ptr %{{.*}}, align 4, !tbaa [[TAG_A_f32:!.*]] in g()
68 // PATH-LABEL: define{{.*}} i32 @_Z2g2 in g2()
69 // PATH: store i32 1, ptr %{{.*}}, align 4, !tbaa [[TAG_i32]] in g2()
70 // PATH: store i16 4, ptr %{{.*}}, align 4, !tbaa [[TAG_A_f16:!.*]] in g2()
80 // PATH-LABEL: define{{.*}} i32 @_Z2g3 in g3()
[all …]
H A Dtbaa-class.cpp1 // RUN: %clang_cc1 -triple x86_64-apple-darwin -O1 -no-struct-path-tbaa -disable-llvm-passes %s -em…
2 …ple-darwin -O1 -disable-llvm-passes %s -emit-llvm -o - | FileCheck %s -check-prefixes=PATH,OLD-PATH
3 …-disable-llvm-passes %s -emit-llvm -new-struct-path-tbaa -o - | FileCheck %s -check-prefixes=PATH,…
77 // PATH-LABEL: define{{.*}} i32 @_Z1g in g()
78 // PATH: store i32 1, ptr %{{.*}}, align 4, !tbaa [[TAG_i32:!.*]] in g()
79 // PATH: store i32 4, ptr %{{.*}}, align 4, !tbaa [[TAG_A_f32:!.*]] in g()
89 // PATH-LABEL: define{{.*}} i32 @_Z2g2 in g2()
90 // PATH: store i32 1, ptr %{{.*}}, align 4, !tbaa [[TAG_i32]] in g2()
91 // PATH: store i16 4, ptr %{{.*}}, align 4, !tbaa [[TAG_A_f16:!.*]] in g2()
101 // PATH-LABEL: define{{.*}} i32 @_Z2g3 in g3()
[all …]
/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_syscalls_netbsd.inc132 const char *path = (const char *)path_;
133 if (path) {
134 PRE_READ(path, __sanitizer::internal_strlen(path) + 1);
140 const char *path = (const char *)path_;
141 if (path) {
142 POST_READ(path, __sanitizer::internal_strlen(path) + 1);
162 const char *path = (const char *)path_;
164 if (path) {
165 PRE_READ(path, __sanitizer::internal_strlen(path) + 1);
168 PRE_READ(path, __sanitizer::internal_strlen(link) + 1);
[all …]
/llvm-project/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/
H A Dreplace_filename.pass.cpp18 // void assign(path const&);
19 // void replace_filename(path const&);
34 path replace; in test_replace_filename_method()
42 const path p("/path/to/foo.exe"); in test_replace_filename_method()
43 const path replace("bar.out"); in test_replace_filename_method()
44 const path expect("/path/to/bar.out"); in test_replace_filename_method()
46 assert(e.path() == p); in test_replace_filename_method()
48 assert(e.path() == expect); in test_replace_filename_method()
58 path replace; in test_replace_filename_ec_method()
67 const path p("/path/to/foo.exe"); in test_replace_filename_ec_method()
[all …]

12345678910>>...195