Lines Matching refs:skipdata_bytes
484 size_t skipdata_bytes; in cs_disasm() local
577 skipdata_bytes = handle->skipdata_setup.callback(buffer_org, size_org, in cs_disasm()
579 if (skipdata_bytes > size) in cs_disasm()
583 if (!skipdata_bytes) in cs_disasm()
587 skipdata_bytes = handle->skipdata_size; in cs_disasm()
592 insn_cache->size = (uint16_t)skipdata_bytes; in cs_disasm()
593 memcpy(insn_cache->bytes, buffer, skipdata_bytes); in cs_disasm()
600 skipdata_opstr(insn_cache->op_str, buffer, skipdata_bytes); in cs_disasm()
604 next_offset = skipdata_bytes; in cs_disasm()
775 size_t skipdata_bytes; in cs_disasm_iter() local
783 skipdata_bytes = handle->skipdata_setup.callback(*code, *size, in cs_disasm_iter()
785 if (skipdata_bytes > *size) in cs_disasm_iter()
789 if (!skipdata_bytes) in cs_disasm_iter()
793 skipdata_bytes = handle->skipdata_size; in cs_disasm_iter()
798 insn->size = (uint16_t)skipdata_bytes; in cs_disasm_iter()
799 memcpy(insn->bytes, *code, skipdata_bytes); in cs_disasm_iter()
806 skipdata_opstr(insn->op_str, *code, skipdata_bytes); in cs_disasm_iter()
809 *code += skipdata_bytes; in cs_disasm_iter()
810 *size -= skipdata_bytes; in cs_disasm_iter()
811 *address += skipdata_bytes; in cs_disasm_iter()