Home
last modified time | relevance | path

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

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