Home
last modified time | relevance | path

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

/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.cc42 bool is_write; member
1019 void ReportGenericError(uptr pc, uptr bp, uptr sp, uptr addr, bool is_write, in ReportGenericError() argument
1088 ReportData report = { pc, sp, bp, addr, (bool)is_write, access_size, in ReportGenericError()
1103 access_size ? (is_write ? "WRITE" : "READ") : "ACCESS", in ReportGenericError()
1121 void __asan_report_error(uptr pc, uptr bp, uptr sp, uptr addr, int is_write, in __asan_report_error() argument
1125 ReportGenericError(pc, bp, sp, addr, is_write, access_size, exp, fatal); in __asan_report_error()
1161 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,
Dasan_interface_internal.h135 uptr addr, int is_write, uptr access_size, u32 exp);
/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl_thread.cc333 uptr size, bool is_write) { in MemoryAccessRange() argument
340 (int)size, is_write); in MemoryAccessRange()
385 cur.SetWrite(is_write); in MemoryAccessRange()
387 MemoryAccessImpl(thr, addr, kAccessSizeLog, is_write, false, in MemoryAccessRange()
396 cur.SetWrite(is_write); in MemoryAccessRange()
398 MemoryAccessImpl(thr, addr, kAccessSizeLog, is_write, false, in MemoryAccessRange()
406 cur.SetWrite(is_write); in MemoryAccessRange()
408 MemoryAccessImpl(thr, addr, kAccessSizeLog, is_write, false, in MemoryAccessRange()
Dtsan_rtl.cc650 bool ContainsSameAccessSlow(u64 *s, u64 a, u64 sync_epoch, bool is_write) { in ContainsSameAccessSlow() argument
669 bool ContainsSameAccessFast(u64 *s, u64 a, u64 sync_epoch, bool is_write) { in ContainsSameAccessFast() argument
688 if (!is_write) { in ContainsSameAccessFast()
723 bool ContainsSameAccess(u64 *s, u64 a, u64 sync_epoch, bool is_write) { in ContainsSameAccess() argument
725 bool res = ContainsSameAccessFast(s, a, sync_epoch, is_write); in ContainsSameAccess()
732 return ContainsSameAccessSlow(s, a, sync_epoch, is_write); in ContainsSameAccess()
Dtsan_rtl.h632 uptr size, bool is_write);
634 uptr size, uptr step, bool is_write);
/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.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.cc714 string RightOOBErrorMessage(int oob_distance, bool is_write) { in RightOOBErrorMessage() argument
723 is_write ? "WRITE" : "READ", in RightOOBErrorMessage()
738 string LeftOOBErrorMessage(int oob_distance, bool is_write) { in LeftOOBErrorMessage() argument
747 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/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.c200 _bufferevent_get_rlim_max(struct bufferevent_private *bev, int is_write) in _bufferevent_get_rlim_max() argument
203 ev_ssize_t max_so_far = is_write?MAX_TO_WRITE_EVER:MAX_TO_READ_EVER; in _bufferevent_get_rlim_max()
206 (is_write ? (x).write_limit : (x).read_limit) in _bufferevent_get_rlim_max()
209 (is_write ? (g)->write_suspended : (g)->read_suspended) in _bufferevent_get_rlim_max()
239 if (is_write) in _bufferevent_get_rlim_max()
/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.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/kernel-headers/original/uapi/linux/
Dkvm.h250 __u8 is_write; member
263 __u32 is_write; member
288 __u8 is_write; member