Home
last modified time | relevance | path

Searched refs:instr (Results 1 – 8 of 8) sorted by relevance

/system/core/libpixelflinger/tests/arch-mips64/disassembler/
Dmips64_disassembler_test.cpp39 const char *instr; member
121 const char *instr; member
138 const char *instr; member
149 char instr[256]; in main() local
156 mips_disassem(&test->code, instr, 0); in main()
157 if(strcmp(instr, test->instr) != 0) in main()
162 "Actual : %s\n", test->code, test->instr, instr); in main()
170 mips_disassem(&test->code, instr, 0); in main()
175 strcpy(temp, test->instr); in main()
178 if(strcmp(instr, temp) != 0) in main()
[all …]
/system/core/libpixelflinger/tests/arch-arm64/disassembler/
Darm64_diassembler_test.cpp32 int arm64_disassemble(uint32_t code, char* instr);
37 const char *instr; member
295 char instr[256]; in main() local
301 arm64_disassemble(test->code, instr); in main()
302 if(strcmp(instr, test->instr) != 0) in main()
307 "Actual : %s\n", test->code, test->instr, instr); in main()
/system/core/libpixelflinger/codeflinger/
DArm64Disassembler.cpp80 static int32_t bits_signed(uint32_t instr, uint32_t msb, uint32_t lsb) in bits_signed() argument
83 value = ((int32_t)instr) << (31 - msb); in bits_signed()
88 static uint32_t bits_unsigned(uint32_t instr, uint32_t msb, uint32_t lsb) in bits_unsigned() argument
92 return ((instr >> lsb) & mask); in bits_unsigned()
95 static void get_token(const char *instr, uint32_t index, char *token) in get_token() argument
98 for(i = index, j = 0; i < strlen(instr); ++i) in get_token()
100 if(instr[index] == '<' && instr[i] == '>') in get_token()
102 token[j++] = instr[i]; in get_token()
105 else if(instr[index] != '<' && instr[i] == '<') in get_token()
111 token[j++] = instr[i]; in get_token()
[all …]
DArm64Disassembler.h33 int arm64_disassemble(uint32_t code, char* instr);
Dmips_disassem.c578 u_int32_t instr; in mips_disassem() local
587 instr = *(u_int32_t *)loc; in mips_disassem()
588 return (db_disasm_insn(instr, loc, false)); in mips_disassem()
Dmips64_disassem.c571 u_int32_t instr; in mips_disassem() local
580 instr = *(u_int32_t *)loc; in mips_disassem()
581 return (db_disasm_insn(instr, loc, false)); in mips_disassem()
DArm64Assembler.cpp248 char instr[256]; in disassemble() local
249 ::arm64_disassemble(*i, instr); in disassemble()
250 printf("%s\n", instr); in disassemble()
/system/media/camera/docs/
Dmetadata_helpers.py638 def is_hex_string(instr): argument
639 return bool(re.match('0x[a-f0-9]+$', instr, re.IGNORECASE))