Lines Matching refs:read_count
904 uint8_t read_count, write_count; in ARM_reg_access() local
907 read_count = insn->detail->regs_read_count; in ARM_reg_access()
911 memcpy(regs_read, insn->detail->regs_read, read_count * sizeof(insn->detail->regs_read[0])); in ARM_reg_access()
919 if ((op->access & CS_AC_READ) && !arr_exist(regs_read, read_count, op->reg)) { in ARM_reg_access()
920 regs_read[read_count] = (uint16_t)op->reg; in ARM_reg_access()
921 read_count++; in ARM_reg_access()
930 if ((op->mem.base != ARM_REG_INVALID) && !arr_exist(regs_read, read_count, op->mem.base)) { in ARM_reg_access()
931 regs_read[read_count] = (uint16_t)op->mem.base; in ARM_reg_access()
932 read_count++; in ARM_reg_access()
934 if ((op->mem.index != ARM_REG_INVALID) && !arr_exist(regs_read, read_count, op->mem.index)) { in ARM_reg_access()
935 regs_read[read_count] = (uint16_t)op->mem.index; in ARM_reg_access()
936 read_count++; in ARM_reg_access()
947 *regs_read_count = read_count; in ARM_reg_access()