Searched refs:is_write (Results 1 - 17 of 17) sorted by relevance

/external/compiler-rt/test/asan/TestCases/
H A Ddebug_report.cc25 int is_write = __asan_get_report_access_type(); local
39 fprintf(stderr, "type: %s\n", (is_write ? "write" : "read"));
/external/compiler-rt/lib/asan/tests/
H A Dasan_test_utils.h75 string RightOOBErrorMessage(int oob_distance, bool is_write);
78 string LeftOOBErrorMessage(int oob_distance, bool is_write);
H A Dasan_noinst_test.cc245 for (uptr is_write = 0; is_write <= 1; is_write++) {
248 CB call = cb[is_write][size_log];
H A Dasan_test.cc711 string RightOOBErrorMessage(int oob_distance, bool is_write) { argument
720 is_write ? "WRITE" : "READ",
727 return RightOOBErrorMessage(oob_distance, /*is_write*/true);
731 return RightOOBErrorMessage(oob_distance, /*is_write*/false);
735 string LeftOOBErrorMessage(int oob_distance, bool is_write) { argument
744 is_write ? "WRITE" : "READ",
751 return LeftOOBErrorMessage(oob_distance, /*is_write*/true);
755 return LeftOOBErrorMessage(oob_distance, /*is_write*/false);
/external/compiler-rt/lib/asan/
H A Dasan_rtl.cc116 #define ASAN_REPORT_ERROR(type, is_write, size) \
120 __asan_report_error(pc, bp, sp, addr, is_write, size, 0); \
125 __asan_report_error(pc, bp, sp, addr, is_write, size, exp); \
139 #define ASAN_REPORT_ERROR_N(type, is_write) \
143 __asan_report_error(pc, bp, sp, addr, is_write, size, 0); \
148 __asan_report_error(pc, bp, sp, addr, is_write, size, exp); \
154 #define ASAN_MEMORY_ACCESS_CALLBACK_BODY(type, is_write, size, exp_arg) \
166 __asan_report_error(pc, bp, sp, addr, is_write, size, exp_arg); \
171 #define ASAN_MEMORY_ACCESS_CALLBACK(type, is_write, size) \
174 ASAN_MEMORY_ACCESS_CALLBACK_BODY(type, is_write, siz
[all...]
H A Dasan_report.cc39 bool is_write; member in struct:__asan::ReportData
946 void __asan_report_error(uptr pc, uptr bp, uptr sp, uptr addr, int is_write, argument
1014 ReportData report = { pc, sp, bp, addr, (bool)is_write, access_size,
1029 access_size ? (is_write ? "WRITE" : "READ") : "ACCESS",
1080 return report_data.is_write ? 1 : 0;
H A Dasan_interface_internal.h131 uptr addr, int is_write, uptr access_size, u32 exp);
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_thread.cc329 uptr size, bool is_write) {
334 DPrintf2("#%d: MemoryAccessRange: @%p %p size=%d is_write=%d\n",
336 (int)size, is_write);
381 cur.SetWrite(is_write);
383 MemoryAccessImpl(thr, addr, kAccessSizeLog, is_write, false,
392 cur.SetWrite(is_write);
394 MemoryAccessImpl(thr, addr, kAccessSizeLog, is_write, false,
402 cur.SetWrite(is_write);
404 MemoryAccessImpl(thr, addr, kAccessSizeLog, is_write, false,
328 MemoryAccessRange(ThreadState *thr, uptr pc, uptr addr, uptr size, bool is_write) argument
H A Dtsan_rtl.cc636 bool ContainsSameAccessSlow(u64 *s, u64 a, u64 sync_epoch, bool is_write) { argument
655 bool ContainsSameAccessFast(u64 *s, u64 a, u64 sync_epoch, bool is_write) { argument
674 if (!is_write) {
709 bool ContainsSameAccess(u64 *s, u64 a, u64 sync_epoch, bool is_write) { argument
711 bool res = ContainsSameAccessFast(s, a, sync_epoch, is_write);
715 // DCHECK_EQ(res, ContainsSameAccessSlow(s, a, sync_epoch, is_write));
718 return ContainsSameAccessSlow(s, a, sync_epoch, is_write);
727 " is_write=%d shadow_mem=%p {%zx, %zx, %zx, %zx}\n",
H A Dtsan_rtl.h624 uptr size, bool is_write);
626 uptr size, uptr step, bool is_write);
/external/compiler-rt/include/sanitizer/
H A Dasan_interface.h111 void *addr, int is_write, size_t access_size);
/external/valgrind/exp-sgcheck/
H A Dpc_common.h43 void h_record_heap_error( Addr a, SizeT size, Seg* vseg, Bool is_write );
H A Dpc_common.c178 void h_record_heap_error( Addr a, SizeT size, Seg* vseg, Bool is_write )
185 xe.XE.Heap.sszB = is_write ? -size : size;
/external/mesa3d/src/glsl/
H A Dlower_variable_index_to_cond_assign.cpp189 bool is_write; member in struct:assignment_generator
217 ir_assignment *const assignment = (is_write)
261 if (!this->generator.is_write) {
445 ag.is_write = true;
448 ag.is_write = false;
/external/compiler-rt/lib/tsan/tests/rtl/
H A Dtsan_test_util.h66 void Access(void *addr, bool is_write, int size, bool expect_race);
H A Dtsan_test_util_linux.cc387 void ScopedThread::Access(void *addr, bool is_write,
389 Event event(is_write ? Event::WRITE : Event::READ, addr, size);
/external/kernel-headers/original/uapi/linux/
H A Dkvm.h237 __u8 is_write; member in struct:kvm_run::__anon6945::__anon6951
250 __u32 is_write; member in struct:kvm_run::__anon6945::__anon6953
275 __u8 is_write; member in struct:kvm_run::__anon6945::__anon6956

Completed in 313 milliseconds