Home
last modified time | relevance | path

Searched refs:WRITE (Results 1 – 25 of 60) sorted by relevance

123

/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors_ioctl.inc25 WRITE,
157 _(EVIOCGKEY, WRITE, 0);
159 _(EVIOCGLED, WRITE, 0);
160 _(EVIOCGNAME, WRITE, 0);
161 _(EVIOCGPHYS, WRITE, 0);
164 _(EVIOCGSND, WRITE, 0);
165 _(EVIOCGSW, WRITE, 0);
166 _(EVIOCGUNIQ, WRITE, 0);
394 _(GIO_CMAP, WRITE, 48);
404 _(KDGETLED, WRITE, 1);
[all …]
H A Dsanitizer_interceptors_ioctl_netbsd.inc152 _(FE_READ_BER, WRITE, sizeof(u32));
153 _(FE_READ_SNR, WRITE, sizeof(u16));
432 _(KIOCTYPE, WRITE, sizeof(int));
437 _(KIOCGLED, WRITE, sizeof(char));
505 _(KDGKBMODE, WRITE, sizeof(int));
512 _(KDGETLED, WRITE, sizeof(int));
987 _(DIOCTUR, WRITE, sizeof(int));
1014 _(FDIOCGETOPTS, WRITE, 0);
1024 _(FIONREAD, WRITE, sizeof(int));
1057 _(TIOCLGET, WRITE, sizeof(int));
[all …]
/llvm-project-15.0.7/llvm/utils/lit/tests/Inputs/shtest-shell/
H A Dredirects.txt5 # RUN: FileCheck --check-prefix=STDOUT-WRITE < %t.stdout-write %s
7 # STDOUT-WRITE-NOT: not-present
8 # STDOUT-WRITE: is-present
21 # RUN: FileCheck --check-prefix=STDERR-WRITE < %t.stderr-write %s
23 # STDERR-WRITE-NOT: not-present
24 # STDERR-WRITE: a line on stderr
37 # RUN: FileCheck --check-prefix=COMBINED-WRITE < %t.combined %s
39 # COMBINED-WRITE-NOT: not-present
40 # COMBINED-WRITE: a line on stdout
41 # COMBINED-WRITE: a line on stderr
/llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/
H A Dmalloc_hook.cpp14 #define WRITE(s) write(1, s, sizeof(s)) macro
20 WRITE("MallocHook\n"); in __sanitizer_malloc_hook()
26 WRITE("FreeHook\n"); in __sanitizer_free_hook()
32 void MallocHook1(const volatile void *ptr, size_t sz) { WRITE("MH1\n"); } in MallocHook1()
33 void MallocHook2(const volatile void *ptr, size_t sz) { WRITE("MH2\n"); } in MallocHook2()
34 void FreeHook1(const volatile void *ptr) { WRITE("FH1\n"); } in FreeHook1()
35 void FreeHook2(const volatile void *ptr) { WRITE("FH2\n"); } in FreeHook2()
/llvm-project-15.0.7/compiler-rt/test/memprof/TestCases/
H A Dmalloc_hook.cpp11 #define WRITE(s) write(1, s, sizeof(s)) macro
17 WRITE("MallocHook\n"); in __sanitizer_malloc_hook()
23 WRITE("FreeHook\n"); in __sanitizer_free_hook()
29 void MallocHook1(const volatile void *ptr, size_t sz) { WRITE("MH1\n"); } in MallocHook1()
30 void MallocHook2(const volatile void *ptr, size_t sz) { WRITE("MH2\n"); } in MallocHook2()
31 void FreeHook1(const volatile void *ptr) { WRITE("FH1\n"); } in FreeHook1()
32 void FreeHook2(const volatile void *ptr) { WRITE("FH2\n"); } in FreeHook2()
/llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/ELF/
H A Dset-section-flags-preserved.test5 # RUN: llvm-readobj --sections %t.alloc | FileCheck %s --check-prefixes=CHECK,ALLOC,WRITE
7 # RUN: llvm-readobj --sections %t.load | FileCheck %s --check-prefixes=CHECK,WRITE
9 # RUN: llvm-readobj --sections %t.noload | FileCheck %s --check-prefixes=CHECK,WRITE
13 # RUN: llvm-readobj --sections %t.debug | FileCheck %s --check-prefixes=CHECK,WRITE
15 # RUN: llvm-readobj --sections %t.code | FileCheck %s --check-prefixes=CHECK,EXEC,WRITE
17 # RUN: llvm-readobj --sections %t.data | FileCheck %s --check-prefixes=CHECK,WRITE
19 # RUN: llvm-readobj --sections %t.rom | FileCheck %s --check-prefixes=CHECK,WRITE
21 # RUN: llvm-readobj --sections %t.contents | FileCheck %s --check-prefixes=CHECK,WRITE
23 # RUN: llvm-readobj --sections %t.merge | FileCheck %s --check-prefixes=CHECK,MERGE,WRITE
27 # RUN: llvm-readobj --sections %t.share | FileCheck %s --check-prefixes=CHECK,WRITE
[all …]
H A Drename-section-flag-preserved.test5 # RUN: llvm-readobj --sections %t.alloc | FileCheck %s --check-prefixes=CHECK,ALLOC,WRITE
7 # RUN: llvm-readobj --sections %t.load | FileCheck %s --check-prefixes=CHECK,WRITE
9 # RUN: llvm-readobj --sections %t.noload | FileCheck %s --check-prefixes=CHECK,WRITE
13 # RUN: llvm-readobj --sections %t.debug | FileCheck %s --check-prefixes=CHECK,WRITE
15 # RUN: llvm-readobj --sections %t.code | FileCheck %s --check-prefixes=CHECK,EXEC,WRITE
17 # RUN: llvm-readobj --sections %t.data | FileCheck %s --check-prefixes=CHECK,WRITE
19 # RUN: llvm-readobj --sections %t.rom | FileCheck %s --check-prefixes=CHECK,WRITE
21 # RUN: llvm-readobj --sections %t.contents | FileCheck %s --check-prefixes=CHECK,WRITE
23 # RUN: llvm-readobj --sections %t.merge | FileCheck %s --check-prefixes=CHECK,MERGE,WRITE
27 # RUN: llvm-readobj --sections %t.share | FileCheck %s --check-prefixes=CHECK,WRITE
[all …]
H A Drename-section-flag.test6 # RUN: llvm-readobj --sections %t.alloc | FileCheck %s --check-prefixes=CHECK,NOBITS,ALLOC,WRITE
9 # RUN: llvm-readobj --sections %t.load | FileCheck %s --check-prefixes=CHECK,PROGBITS,WRITE
12 # RUN: llvm-readobj --sections %t.noload | FileCheck %s --check-prefixes=CHECK,PROGBITS,WRITE
21 # RUN: llvm-readobj --sections %t.debug | FileCheck %s --check-prefixes=CHECK,PROGBITS,WRITE
24 # RUN: llvm-readobj --sections %t.code | FileCheck %s --check-prefixes=CHECK,PROGBITS,EXEC,WRITE
27 # RUN: llvm-readobj --sections %t.data | FileCheck %s --check-prefixes=CHECK,PROGBITS,WRITE
30 # RUN: llvm-readobj --sections %t.rom | FileCheck %s --check-prefixes=CHECK,PROGBITS,WRITE
33 # RUN: llvm-readobj --sections %t.contents | FileCheck %s --check-prefixes=CHECK,PROGBITS,WRITE
42 # RUN: llvm-readobj --sections %t.share | FileCheck %s --check-prefixes=CHECK,PROGBITS,WRITE
88 # WRITE-NEXT: SHF_WRITE (0x1)
[all …]
H A Dset-section-flags.test6 # RUN: llvm-readobj --sections %t.alloc | FileCheck %s --check-prefixes=CHECK,NOBITS,ALLOC,WRITE
9 # RUN: llvm-readobj --sections %t.load | FileCheck %s --check-prefixes=CHECK,PROGBITS,WRITE
12 # RUN: llvm-readobj --sections %t.noload | FileCheck %s --check-prefixes=CHECK,PROGBITS,WRITE
21 # RUN: llvm-readobj --sections %t.debug | FileCheck %s --check-prefixes=CHECK,PROGBITS,WRITE
24 # RUN: llvm-readobj --sections %t.code | FileCheck %s --check-prefixes=CHECK,PROGBITS,EXEC,WRITE
27 # RUN: llvm-readobj --sections %t.data | FileCheck %s --check-prefixes=CHECK,PROGBITS,WRITE
30 # RUN: llvm-readobj --sections %t.rom | FileCheck %s --check-prefixes=CHECK,PROGBITS,WRITE
42 # RUN: llvm-readobj --sections %t.share | FileCheck %s --check-prefixes=CHECK,PROGBITS,WRITE
104 # WRITE-NEXT: SHF_WRITE (0x1)
116 # WRITE-NEXT: SHF_WRITE (0x1)
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/COFF/
H A Dset-section-flags.test5 # RUN: llvm-readobj --sections %t.alloc | FileCheck %s --check-prefixes=CHECK,UNINITDATA,READ,WRITE
7 # RUN: llvm-readobj --sections %t.load | FileCheck %s --check-prefixes=CHECK,READ,WRITE
9 # RUN: llvm-readobj --sections %t.noload | FileCheck %s --check-prefixes=CHECK,READ,WRITE,REMOVE
13 # RUN: llvm-readobj --sections %t.exclude | FileCheck %s --check-prefixes=CHECK,READ,WRITE,REMOVE
19 # RUN: llvm-readobj --sections %t.data | FileCheck %s --check-prefixes=CHECK,INITDATA,READ,WRITE
21 # RUN: llvm-readobj --sections %t.rom | FileCheck %s --check-prefixes=CHECK,READ,WRITE
23 # RUN: llvm-readobj --sections %t.contents | FileCheck %s --check-prefixes=CHECK,READ,WRITE
25 # RUN: llvm-readobj --sections %t.merge | FileCheck %s --check-prefixes=CHECK,READ,WRITE
27 # RUN: llvm-readobj --sections %t.strings | FileCheck %s --check-prefixes=CHECK,READ,WRITE
29 # RUN: llvm-readobj --sections %t.share | FileCheck %s --check-prefixes=CHECK,READ,SHARED,WRITE
[all …]
/llvm-project-15.0.7/lldb/source/Host/posix/
H A DPipePosix.cpp30 enum PIPES { READ, WRITE }; // Constants 0 and 1 for READ and WRITE enumerator
70 m_fds[WRITE] = pipe_posix.ReleaseWriteFileDescriptor(); in operator =()
101 m_fds[WRITE] = PipePosix::kInvalidDescriptor; in CreateNew()
192 m_fds[WRITE] = fd; in OpenAsWriterWithTimeout()
201 int PipePosix::GetWriteFileDescriptor() const { return m_fds[WRITE]; } in GetWriteFileDescriptor()
210 const int fd = m_fds[WRITE]; in ReleaseWriteFileDescriptor()
211 m_fds[WRITE] = PipePosix::kInvalidDescriptor; in ReleaseWriteFileDescriptor()
229 return m_fds[WRITE] != PipePosix::kInvalidDescriptor; in CanWrite()
241 close(m_fds[WRITE]); in CloseWriteFileDescriptor()
242 m_fds[WRITE] = PipePosix::kInvalidDescriptor; in CloseWriteFileDescriptor()
/llvm-project-15.0.7/lldb/test/Shell/Commands/CommandScriptImmediateOutput/
H A DCommandScriptImmediateOutputFile.test5 # RUN: echo "WRITE" > %t.write.txt
8 # RUN: echo "WRITE PLUS" > %t.write_plus.txt
26 # RUN: cat %t.write.txt | FileCheck %s --check-prefix WRITE
27 # WRITE-NOT: WRITE
28 # WRITE: writing to file with mode: w
35 # WRITEPLUS-NOT: WRITE PLUS
/llvm-project-15.0.7/clang/test/Misc/
H A Dopencl-c-3.0.incorrect_options.cl5 …c_read_write_images,-__opencl_c_images %s 2>&1 | FileCheck -check-prefix=CHECK-READ-WRITE-IMAGES %s
6 …c_read_write_images,-__opencl_c_images %s 2>&1 | FileCheck -check-prefix=CHECK-READ-WRITE-IMAGES %s
9 …cl_c_images,-cl_khr_3d_image_writes %s 2>&1 | FileCheck -check-prefix=CHECK-3D-WRITE-IMAGES-DIFF %s
10 …_3d_image_writes,-__opencl_c_images %s 2>&1 | FileCheck -check-prefix=CHECK-3D-WRITE-IMAGES-DEPS %s
12 …cl_c_images,-cl_khr_3d_image_writes %s 2>&1 | FileCheck -check-prefix=CHECK-3D-WRITE-IMAGES-DIFF %s
13 …_3d_image_writes,-__opencl_c_images %s 2>&1 | FileCheck -check-prefix=CHECK-3D-WRITE-IMAGES-DEPS %s
23 // CHECK-READ-WRITE-IMAGES: feature __opencl_c_read_write_images requires support of __opencl_c_ima…
25 // CHECK-3D-WRITE-IMAGES-DIFF: options cl_khr_3d_image_writes and __opencl_c_3d_image_writes are se…
26 // CHECK-3D-WRITE-IMAGES-DEPS: feature __opencl_c_3d_image_writes requires support of __opencl_c_im…
/llvm-project-15.0.7/libc/src/__support/File/
H A Dfile.cpp26 prev_op = FileOp::WRITE; in write_unlocked()
237 if (prev_op == FileOp::WRITE && pos > 0) { in seek()
258 if (prev_op == FileOp::WRITE && pos > 0) { in flush_unlocked()
274 if (prev_op == FileOp::WRITE && pos > 0) { in close()
316 flags |= static_cast<ModeFlags>(OpenMode::WRITE); in mode_flags()
H A Dfile.h44 WRITE = 0x2, enumerator
61 enum class FileOp : uint8_t { NONE, READ, WRITE, SEEK }; enumerator
115 return mode & (static_cast<ModeFlags>(OpenMode::WRITE) | in write_allowed()
/llvm-project-15.0.7/llvm/test/tools/llvm-readobj/ELF/
H A Dsection-details.test19 # GNU64-NEXT: [ffffffffffffffff]: WRITE, ALLOC, EXEC, MERGE, STRINGS, INFO LINK, LINK ORDER,…
25 # GNU64-NEXT: [0000000000000001]: WRITE
61 # GNU64-NEXT: [00000000000f0003]: WRITE, ALLOC, UNKNOWN (00000000000f0000)
152 # GNU32-NEXT: [ffffffff]: WRITE, ALLOC, EXEC, MERGE, STRINGS, INFO LINK, LINK ORDER, OS NONC…
158 # GNU32-NEXT: [00000001]: WRITE
194 # GNU32-NEXT: [000f0003]: WRITE, ALLOC, UNKNOWN (000f0000)
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_ioctl_test.cpp83 EXPECT_EQ(ioctl_desc::WRITE, desc.type); in TEST()
92 EXPECT_EQ(ioctl_desc::WRITE, desc.type); in TEST()
/llvm-project-15.0.7/mlir/test/Conversion/VectorToSCF/
H A Dtensor-transfer-ops.mlir28 // CHECK: %[[WRITE:.*]] = vector.transfer_write %[[LOADED]], %[[STATE]][{{.*}}] {in_bounds …
29 // CHECK: scf.yield %[[WRITE]] : tensor<?x?xf32>
/llvm-project-15.0.7/openmp/runtime/cmake/
H A DLibompCheckLinkerFlag.cmake32 file(WRITE ${base_dir}/src_to_link.c "${library_source}")
33 file(WRITE ${base_dir}/CMakeLists.txt "${cmake_source}")
/llvm-project-15.0.7/compiler-rt/lib/tsan/tests/rtl/
H A Dtsan_test_util_posix.cpp193 WRITE, enumerator
249 case Event::WRITE: { in HandleEvent()
414 Event event(is_write ? Event::WRITE : Event::READ, addr, size, in Access()
/llvm-project-15.0.7/llvm/tools/llvm-driver/
H A DCMakeLists.txt14 file(WRITE
/llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Darwin/
H A Daddress-range-limit.mm39 // CHECK: WRITE of size 1
/llvm-project-15.0.7/compiler-rt/lib/ubsan/
H A DCMakeLists.txt142 file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/cxx_dummy.cpp "")
215 file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp "")
/llvm-project-15.0.7/llvm/cmake/modules/
H A DGetErrcMessages.cmake15 file(WRITE ${errc_test_code} "
/llvm-project-15.0.7/polly/test/Simplify/
H A Dout-of-scop-use-in-region-entry-phi-node.ll3 ; %tmp5 must keep the Value WRITE MemoryAccess, because as an incoming value of

123