Home
last modified time | relevance | path

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

12

/external/compiler-rt/lib/asan/
Dasan_rtl.cc112 #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 …]
Dasan_report.cc43 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()
Dasan_report.h52 void ReportGenericError(uptr pc, uptr bp, uptr sp, uptr addr, bool is_write,
/external/syslinux/core/fs/
Ddiskio_bios.c46 sector_t lba, size_t count, bool is_write) in chs_rdwr_sectors() argument
66 ireg.eax.b[1] = 0x02 + is_write; in chs_rdwr_sectors()
97 if (tptr != ptr && is_write) in chs_rdwr_sectors()
141 is_write ? "writing" : "reading", in chs_rdwr_sectors()
148 if (tptr != ptr && !is_write) in chs_rdwr_sectors()
164 sector_t lba, size_t count, bool is_write) in edd_rdwr_sectors() argument
179 ireg.eax.b[1] = 0x42 + is_write; in edd_rdwr_sectors()
207 if (tptr != ptr && is_write) in edd_rdwr_sectors()
259 count, is_write); in edd_rdwr_sectors()
267 is_write ? "writing" : "reading", in edd_rdwr_sectors()
[all …]
/external/mesa3d/src/compiler/glsl/
Dlower_buffer_access.cpp56 bool is_write, in emit_access() argument
79 emit_access(mem_ctx, is_write, field_deref, base_offset, in emit_access()
99 emit_access(mem_ctx, is_write, element_deref, base_offset, in emit_access()
118 emit_access(mem_ctx, is_write, col_deref, base_offset, in emit_access()
144 emit_access(mem_ctx, is_write, col_deref, base_offset, in emit_access()
159 is_write ? write_mask : (1 << deref->type->vector_elements) - 1; in emit_access()
209 if (!is_write || ((1U << i) & write_mask)) in emit_access()
Dlower_variable_index_to_cond_assign.cpp190 bool is_write; member
198 is_write(false), in assignment_generator()
224 ir_assignment *const assignment = (is_write) in generate()
268 if (!this->generator.is_write) { in linear_sequence()
510 ag.is_write = true; in convert_dereference_array()
513 ag.is_write = false; in convert_dereference_array()
Dlower_buffer_access.h50 void emit_access(void *mem_ctx, bool is_write, ir_dereference *deref,
/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl_thread.cc321 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()
Dtsan_rtl.cc658 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/syslinux/efi/
Ddiskio.c24 sector_t lba, size_t count, bool is_write) in efi_rdwr_sectors() argument
31 if (is_write) in efi_rdwr_sectors()
38 is_write ? L"write" : L"read", in efi_rdwr_sectors()
/external/compiler-rt/test/asan/TestCases/
Ddebug_report.cc40 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/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.cc244 for (uptr is_write = 0; is_write <= 1; is_write++) { in TEST() local
247 CB call = cb[is_write][size_log]; in TEST()
Dasan_test.cc715 string RightOOBErrorMessage(int oob_distance, bool is_write) { in RightOOBErrorMessage() argument
724 is_write ? "WRITE" : "READ", in RightOOBErrorMessage()
739 string LeftOOBErrorMessage(int oob_distance, bool is_write) { in LeftOOBErrorMessage() argument
748 is_write ? "WRITE" : "READ", in LeftOOBErrorMessage()
/external/libbrillo/brillo/streams/
Dtls_stream.cc248 bool is_write = stream_utils::IsWriteAccessMode(mode); in WaitForData() local
250 is_write |= need_more_write_; in WaitForData()
257 mode = stream_utils::MakeAccessMode(is_read, is_write); in WaitForData()
266 bool is_write = stream_utils::IsWriteAccessMode(in_mode); in WaitForDataBlocking() local
268 is_write |= need_more_write_; in WaitForDataBlocking()
275 in_mode = stream_utils::MakeAccessMode(is_read, is_write); in WaitForDataBlocking()
/external/libevent/
Dbufferevent_ratelim.c198 bufferevent_get_rlim_max_(struct bufferevent_private *bev, int is_write) in bufferevent_get_rlim_max_() argument
201 ev_ssize_t max_so_far = is_write?bev->max_single_write:bev->max_single_read; in bufferevent_get_rlim_max_()
204 (is_write ? (x).write_limit : (x).read_limit) in bufferevent_get_rlim_max_()
207 (is_write ? (g)->write_suspended : (g)->read_suspended) in bufferevent_get_rlim_max_()
237 if (is_write) in bufferevent_get_rlim_max_()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_job.c270 bool is_depth, bool is_write) in vc4_submit_setup_rcl_surface() argument
300 assert(!is_write); in vc4_submit_setup_rcl_surface()
304 if (is_write) in vc4_submit_setup_rcl_surface()
/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 );
/external/compiler-rt/lib/tsan/tests/rtl/
Dtsan_test_util.h74 void Access(void *addr, bool is_write, int size, bool expect_race);
Dtsan_test_util_posix.cc440 void ScopedThread::Access(void *addr, bool is_write, in Access() argument
442 Event event(is_write ? Event::WRITE : Event::READ, addr, size); in Access()
/external/adhd/cras/src/server/
Daudio_thread.c98 int is_write; member
107 void *data, int is_write) in _audio_thread_add_callback() argument
121 iodev_cb->is_write = is_write; in _audio_thread_add_callback()
1569 if (iodev_cb->is_write) in audio_io_thread()
1631 iodev_cb->is_write, 0, 0); in audio_io_thread()
/external/kernel-headers/original/uapi/linux/
Dkvm.h302 __u8 is_write; member
315 __u32 is_write; member
340 __u8 is_write; member
/external/strace/tests-m32/
Dioctl_kvm_run.c159 run->mmio.len, run->mmio.is_write); in run_kvm()
/external/strace/tests/
Dioctl_kvm_run.c159 run->mmio.len, run->mmio.is_write); in run_kvm()

12