/external/llvm-project/compiler-rt/lib/asan/ |
D | asan_rtl.cpp | 101 #define ASAN_REPORT_ERROR(type, is_write, size) \ argument 105 ReportGenericError(pc, bp, sp, addr, is_write, size, 0, true); \ 110 ReportGenericError(pc, bp, sp, addr, is_write, size, exp, true); \ 115 ReportGenericError(pc, bp, sp, addr, is_write, size, 0, false); \ 129 #define ASAN_REPORT_ERROR_N(type, is_write) \ argument 133 ReportGenericError(pc, bp, sp, addr, is_write, size, 0, true); \ 138 ReportGenericError(pc, bp, sp, addr, is_write, size, exp, true); \ 143 ReportGenericError(pc, bp, sp, addr, is_write, size, 0, false); \ 149 #define ASAN_MEMORY_ACCESS_CALLBACK_BODY(type, is_write, size, exp_arg, fatal) \ in ASAN_REPORT_ERROR_N() argument 163 ReportGenericError(pc, bp, sp, addr, is_write, size, exp_arg, \ [all …]
|
D | asan_report.cpp | 460 void ReportGenericError(uptr pc, uptr bp, uptr sp, uptr addr, bool is_write, in ReportGenericError() argument 475 ErrorGeneric error(GetCurrentTidOrInvalid(), pc, bp, sp, addr, is_write, in ReportGenericError() 485 void __asan_report_error(uptr pc, uptr bp, uptr sp, uptr addr, int is_write, in __asan_report_error() argument 489 ReportGenericError(pc, bp, sp, addr, is_write, access_size, exp, fatal); in __asan_report_error() 537 return ScopedInErrorReport::CurrentError().Generic.is_write; in __asan_get_report_access_type()
|
D | asan_errors.cpp | 394 is_write(is_write_), in ErrorGeneric() 405 is_write ? scariness.Scare(20, "write") : scariness.Scare(1, "read"); in ErrorGeneric() 430 if (!is_write) read_after_free_bonus = 18; in ErrorGeneric() 450 if (!is_write) read_after_free_bonus = 18; in ErrorGeneric() 582 access_size ? (is_write ? "WRITE" : "READ") : "ACCESS", access_size, in Print()
|
/external/compiler-rt/lib/asan/ |
D | asan_rtl.cc | 112 #define ASAN_REPORT_ERROR(type, is_write, size) \ argument 116 ReportGenericError(pc, bp, sp, addr, is_write, size, 0, true); \ 121 ReportGenericError(pc, bp, sp, addr, is_write, size, exp, true); \ 126 ReportGenericError(pc, bp, sp, addr, is_write, size, 0, false); \ 140 #define ASAN_REPORT_ERROR_N(type, is_write) \ argument 144 ReportGenericError(pc, bp, sp, addr, is_write, size, 0, true); \ 149 ReportGenericError(pc, bp, sp, addr, is_write, size, exp, true); \ 154 ReportGenericError(pc, bp, sp, addr, is_write, size, 0, false); \ 160 #define ASAN_MEMORY_ACCESS_CALLBACK_BODY(type, is_write, size, exp_arg, fatal) \ in ASAN_REPORT_ERROR_N() argument 172 ReportGenericError(pc, bp, sp, addr, is_write, size, exp_arg, \ [all …]
|
D | asan_report.cc | 43 bool is_write; member 1061 void ReportGenericError(uptr pc, uptr bp, uptr sp, uptr addr, bool is_write, in ReportGenericError() argument 1075 is_write ? SS.Scare(20, "write") : SS.Scare(1, "read"); in ReportGenericError() 1114 if (!is_write) read_after_free_bonus = 18; in ReportGenericError() 1135 if (!is_write) read_after_free_bonus = 18; in ReportGenericError() 1170 ReportData report = { pc, sp, bp, addr, (bool)is_write, access_size, in ReportGenericError() 1185 access_size ? (is_write ? "WRITE" : "READ") : "ACCESS", in ReportGenericError() 1206 void __asan_report_error(uptr pc, uptr bp, uptr sp, uptr addr, int is_write, in __asan_report_error() argument 1210 ReportGenericError(pc, bp, sp, addr, is_write, access_size, exp, fatal); in __asan_report_error() 1246 return report_data.is_write ? 1 : 0; in __asan_get_report_access_type()
|
/external/mesa3d/src/compiler/glsl/ |
D | lower_buffer_access.cpp | 57 bool is_write, in emit_access() argument 83 emit_access(mem_ctx, is_write, field_deref, base_offset, in emit_access() 106 emit_access(mem_ctx, is_write, element_deref, base_offset, in emit_access() 127 emit_access(mem_ctx, is_write, col_deref, base_offset, in emit_access() 141 is_write ? write_mask : (1 << deref->type->vector_elements) - 1; in emit_access() 159 if (!is_write || ((1U << i) & write_mask)) in emit_access()
|
D | lower_variable_index_to_cond_assign.cpp | 182 bool is_write; member 190 is_write(false), in assignment_generator() 210 ir_assignment *const assignment = (is_write) in generate() 254 if (!this->generator.is_write) { in linear_sequence() 473 ag.is_write = true; in convert_dereference_array() 476 ag.is_write = false; in convert_dereference_array()
|
D | lower_buffer_access.h | 49 void emit_access(void *mem_ctx, bool is_write, ir_dereference *deref,
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_rtl_thread.cc | 321 uptr size, bool is_write) { in MemoryAccessRange() argument 328 (int)size, is_write); in MemoryAccessRange() 373 cur.SetWrite(is_write); in MemoryAccessRange() 375 MemoryAccessImpl(thr, addr, kAccessSizeLog, is_write, false, in MemoryAccessRange() 384 cur.SetWrite(is_write); in MemoryAccessRange() 386 MemoryAccessImpl(thr, addr, kAccessSizeLog, is_write, false, in MemoryAccessRange() 394 cur.SetWrite(is_write); in MemoryAccessRange() 396 MemoryAccessImpl(thr, addr, kAccessSizeLog, is_write, false, in MemoryAccessRange()
|
D | tsan_rtl.cc | 658 bool ContainsSameAccessSlow(u64 *s, u64 a, u64 sync_epoch, bool is_write) { in ContainsSameAccessSlow() argument 677 bool ContainsSameAccessFast(u64 *s, u64 a, u64 sync_epoch, bool is_write) { in ContainsSameAccessFast() argument 696 if (!is_write) { in ContainsSameAccessFast() 731 bool ContainsSameAccess(u64 *s, u64 a, u64 sync_epoch, bool is_write) { in ContainsSameAccess() argument 733 bool res = ContainsSameAccessFast(s, a, sync_epoch, is_write); in ContainsSameAccess() 740 return ContainsSameAccessSlow(s, a, sync_epoch, is_write); in ContainsSameAccess()
|
/external/llvm-project/compiler-rt/lib/tsan/rtl/ |
D | tsan_rtl_thread.cpp | 345 uptr size, bool is_write) { in MemoryAccessRange() argument 352 (int)size, is_write); in MemoryAccessRange() 377 DCHECK(!is_write); in MemoryAccessRange() 398 cur.SetWrite(is_write); in MemoryAccessRange() 400 MemoryAccessImpl(thr, addr, kAccessSizeLog, is_write, false, in MemoryAccessRange() 409 cur.SetWrite(is_write); in MemoryAccessRange() 411 MemoryAccessImpl(thr, addr, kAccessSizeLog, is_write, false, in MemoryAccessRange() 419 cur.SetWrite(is_write); in MemoryAccessRange() 421 MemoryAccessImpl(thr, addr, kAccessSizeLog, is_write, false, in MemoryAccessRange()
|
/external/crosvm/tests/ |
D | plugin_async_write.c | 65 evt.io_access.is_write && in vcpu_thread() 79 !evt.io_access.is_write || in vcpu_thread() 96 !evt.io_access.is_write || in vcpu_thread() 112 evt.io_access.is_write && in vcpu_thread()
|
D | plugin_adder.c | 65 evt.io_access.is_write && in vcpu_thread() 72 evt.io_access.is_write && in vcpu_thread()
|
D | plugin_hint.c | 66 evt.io_access.is_write && in vcpu_thread() 131 evt.io_access.is_write && in vcpu_thread()
|
/external/compiler-rt/test/asan/TestCases/ |
D | debug_report.cc | 40 int is_write = __asan_get_report_access_type(); in __asan_on_error() local 54 fprintf(stderr, "type: %s\n", (is_write ? "write" : "read")); in __asan_on_error()
|
/external/llvm-project/compiler-rt/test/asan/TestCases/ |
D | debug_report.cpp | 46 int is_write = __asan_get_report_access_type(); in __asan_on_error() local 60 fprintf(stderr, "type: %s\n", (is_write ? "write" : "read")); in __asan_on_error()
|
/external/compiler-rt/lib/asan/tests/ |
D | asan_test_utils.h | 75 string RightOOBErrorMessage(int oob_distance, bool is_write); 78 string LeftOOBErrorMessage(int oob_distance, bool is_write);
|
D | asan_noinst_test.cc | 244 for (uptr is_write = 0; is_write <= 1; is_write++) { in TEST() local 247 CB call = cb[is_write][size_log]; in TEST()
|
/external/llvm-project/compiler-rt/lib/asan/tests/ |
D | asan_test_utils.h | 76 std::string RightOOBErrorMessage(int oob_distance, bool is_write); 79 std::string LeftOOBErrorMessage(int oob_distance, bool is_write);
|
D | asan_noinst_test.cpp | 254 for (uptr is_write = 0; is_write <= 1; is_write++) { in TEST() local 257 CB call = cb[is_write][size_log]; in TEST()
|
/external/libbrillo/brillo/streams/ |
D | tls_stream.cc | 254 bool is_write = stream_utils::IsWriteAccessMode(mode); in WaitForData() local 256 is_write |= need_more_write_; in WaitForData() 263 mode = stream_utils::MakeAccessMode(is_read, is_write); in WaitForData() 272 bool is_write = stream_utils::IsWriteAccessMode(in_mode); in WaitForDataBlocking() local 274 is_write |= need_more_write_; in WaitForDataBlocking() 281 in_mode = stream_utils::MakeAccessMode(is_read, is_write); in WaitForDataBlocking()
|
/external/f2fs-tools/lib/ |
D | libf2fs_io.c | 308 size_t byte_count, bool is_write) in dcache_update_rw() argument 329 if (!is_write) in dcache_update_rw() 334 if (is_write) /* write: update cache */ in dcache_update_rw() 341 if (!is_write) { in dcache_update_rw() 355 if (!is_write) in dcache_update_rw()
|
/external/crosvm/src/plugin/ |
D | vcpu.rs | 272 fn matches_hint(&self, io_space: IoSpace, addr: u64, is_write: bool) -> bool { in matches_hint() 274 return io_space == hint.io_space && addr == hint.addr && is_write == hint.on_write; in matches_hint() 324 fn is_write(&self) -> bool { in is_write() method 423 if async_write && !data.is_write() { in process() 434 io.is_write = data.is_write(); in process() 437 if !async_write && vcpu_state_lock.matches_hint(io_space, addr, io.is_write) { in process()
|
/external/compiler-rt/include/sanitizer/ |
D | asan_interface.h | 111 void *addr, int is_write, size_t access_size);
|
/external/llvm-project/compiler-rt/include/sanitizer/ |
D | asan_interface.h | 246 void *addr, int is_write, size_t access_size);
|