/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()
|
D | asan_report.h | 52 void ReportGenericError(uptr pc, uptr bp, uptr sp, uptr addr, bool is_write,
|
/external/u-boot/drivers/ata/ |
D | dwc_ahsata.c | 370 s32 is_write) in ahci_exec_ata_cmd() argument 394 if (is_write) { in ahci_exec_ata_cmd() 412 if (!is_write) in ahci_exec_ata_cmd() 550 u32 blkcnt, u8 *buffer, int is_write) in dwc_ahsata_rw_cmd() argument 563 cfis->command = (is_write) ? ATA_CMD_WRITE : ATA_CMD_READ; in dwc_ahsata_rw_cmd() 573 ATA_SECT_SIZE * blkcnt, is_write) > 0) in dwc_ahsata_rw_cmd() 595 lbaint_t blkcnt, u8 *buffer, int is_write) in dwc_ahsata_rw_cmd_ext() argument 609 cfis->command = (is_write) ? ATA_CMD_WRITE_EXT in dwc_ahsata_rw_cmd_ext() 623 ATA_SECT_SIZE * blkcnt, is_write) > 0) in dwc_ahsata_rw_cmd_ext() 656 int is_write) in ata_low_level_rw_lba48() argument [all …]
|
D | fsl_sata.c | 536 static u32 fsl_sata_rw_cmd(int dev, u32 start, u32 blkcnt, u8 *buffer, int is_write) in fsl_sata_rw_cmd() argument 548 cfis->command = (is_write) ? ATA_CMD_WRITE : ATA_CMD_READ; in fsl_sata_rw_cmd() 575 static u32 fsl_sata_rw_cmd_ext(int dev, u32 start, u32 blkcnt, u8 *buffer, int is_write) in fsl_sata_rw_cmd_ext() argument 588 cfis->command = (is_write) ? ATA_CMD_WRITE_EXT in fsl_sata_rw_cmd_ext() 606 int is_write) in fsl_sata_rw_ncq_cmd() argument 625 cfis->command = (is_write) ? ATA_CMD_FPDMA_WRITE in fsl_sata_rw_ncq_cmd() 694 const void *buffer, int is_write) in ata_low_level_rw_lba48() argument 708 fsl_sata_rw_cmd_ext(dev, start, max_blks, addr, is_write); in ata_low_level_rw_lba48() 710 fsl_sata_rw_ncq_cmd(dev, start, max_blks, addr, is_write); in ata_low_level_rw_lba48() 716 fsl_sata_rw_cmd_ext(dev, start, blks, addr, is_write); in ata_low_level_rw_lba48() [all …]
|
D | sata_sil.c | 267 u8 *buffer, int is_write) in sil_sata_rw_cmd() argument 280 if (is_write) { in sil_sata_rw_cmd() 312 u8 *buffer, int is_write) in sil_sata_rw_cmd_ext() argument 325 if (is_write) { in sil_sata_rw_cmd_ext() 360 const void *buffer, int is_write) in sil_sata_rw_lba28() argument 372 sil_sata_rw_cmd(dev, start, max_blks, addr, is_write); in sil_sata_rw_lba28() 377 sil_sata_rw_cmd(dev, start, blks, addr, is_write); in sil_sata_rw_lba28() 388 const void *buffer, int is_write) in sil_sata_rw_lba48() argument 401 addr, is_write); in sil_sata_rw_lba48() 407 addr, is_write); in sil_sata_rw_lba48()
|
D | sata_mv.c | 658 u8 *buffer, int is_write) in mv_sata_rw_cmd_ext() argument 669 cfis.command = (is_write) ? ATA_CMD_WRITE_EXT : ATA_CMD_READ_EXT; in mv_sata_rw_cmd_ext() 682 is_write); in mv_sata_rw_cmd_ext() 688 int is_write) in mv_sata_rw_cmd() argument 699 cfis.command = (is_write) ? ATA_CMD_WRITE : ATA_CMD_READ; in mv_sata_rw_cmd() 709 is_write); in mv_sata_rw_cmd() 715 void *buffer, int is_write) in ata_low_level_rw() argument 732 is_write); in ata_low_level_rw() 735 is_write); in ata_low_level_rw() 743 is_write); in ata_low_level_rw() [all …]
|
D | ahci.c | 633 int fis_len, u8 *buf, int buf_len, u8 is_write) in ahci_device_data_io() argument 658 opts = (fis_len >> 2) | (sg_count << 16) | (is_write << 6); in ahci_device_data_io() 757 struct scsi_cmd *pccb, u8 is_write) in ata_scsiop_read_write() argument 792 is_write ? "write" : "read", blocks, lba); in ata_scsiop_read_write() 799 fis[2] = is_write ? ATA_CMD_WRITE_EXT : ATA_CMD_READ_EXT; in ata_scsiop_read_write() 839 is_write)) { in ata_scsiop_read_write() 841 is_write ? "WRITE" : "READ"); in ata_scsiop_read_write() 851 if (is_write) { in ata_scsiop_read_write()
|
/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/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/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/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/libbrillo/brillo/streams/ |
D | tls_stream.cc | 248 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/u-boot/cmd/ |
D | cros_ec.c | 52 static int do_read_write(struct cros_ec_dev *dev, int is_write, int argc, in do_read_write() argument 83 ret = is_write ? in do_read_write() 88 is_write ? "write" : "read"); in do_read_write()
|
/external/adhd/cras/src/server/ |
D | audio_thread.c | 106 int is_write; member 115 void *data, int is_write) in _audio_thread_add_callback() argument 129 iodev_cb->is_write = is_write; in _audio_thread_add_callback() 846 int fd, int is_write) in add_pollfd() argument 849 if (is_write) in add_pollfd() 933 iodev_cb->is_write); in audio_io_thread() 986 iodev_cb->is_write, 0, 0); in audio_io_thread()
|
/external/u-boot/arch/x86/cpu/quark/ |
D | hte.c | 366 void hte_mem_op(u32 addr, u8 first_run, u8 is_write) in hte_mem_op() argument 375 tmp = is_write ? 0x01110021 : 0x01010021; in hte_mem_op()
|
D | hte.h | 41 void hte_mem_op(u32 addr, u8 first_run, u8 is_write);
|
/external/libevent/ |
D | bufferevent_ratelim.c | 198 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/compiler-rt/include/sanitizer/ |
D | asan_interface.h | 111 void *addr, int is_write, size_t access_size);
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_job.c | 285 bool is_depth, bool is_write) in vc4_submit_setup_rcl_surface() argument 315 assert(!is_write); in vc4_submit_setup_rcl_surface() 319 if (is_write) in vc4_submit_setup_rcl_surface()
|
/external/u-boot/drivers/i2c/ |
D | tegra_i2c.c | 240 int is_write = trans->flags & I2C_IS_WRITE; in send_recv_packets() local 256 if (is_write) { in send_recv_packets()
|