Home
last modified time | relevance | path

Searched refs:size_byte (Results 1 – 2 of 2) sorted by relevance

/external/capstone/suite/cstest/src/
Dcapstone_test.c104 int size_part, size_byte, size_data, size_insn; in test_single_MC() local
118 list_byte = split(offset_opcode[1], ",", &size_byte); in test_single_MC()
121 list_byte = split(offset_opcode[0], ",", &size_byte); in test_single_MC()
124 code = (unsigned char *)malloc(size_byte * sizeof(char)); in test_single_MC()
125 for (i = 0; i < size_byte; ++i) { in test_single_MC()
129 count = cs_disasm(*handle, code, size_byte, offset, 0, &insn); in test_single_MC()
134 free_strs(list_byte, size_byte); in test_single_MC()
142 free_strs(list_byte, size_byte); in test_single_MC()
167 count_noreg = cs_disasm(*handle, code, size_byte, offset, 0, &insn); in test_single_MC()
182 free_strs(list_byte, size_byte); in test_single_MC()
[all …]
/external/pigweed/pw_tokenizer/py/pw_tokenizer/
Dencode.py54 size_byte = len(arg) if len(arg) < 128 else 0xff
55 return struct.pack('B', size_byte) + arg[:127]