Home
last modified time | relevance | path

Searched refs:dis (Results 1 – 25 of 1399) sorted by relevance

12345678910>>...56

/external/google-breakpad/src/processor/
Ddisassembler_x86_unittest.cc83 DisassemblerX86 dis(just_return, sizeof(just_return)-1, 0); in TEST() local
84 EXPECT_EQ(1U, dis.NextInstruction()); in TEST()
85 EXPECT_TRUE(dis.currentInstructionValid()); in TEST()
86 EXPECT_EQ(0U, dis.flags()); in TEST()
87 EXPECT_TRUE(dis.endOfBlock()); in TEST()
88 EXPECT_EQ(libdis::insn_controlflow, dis.currentInstructionGroup()); in TEST()
89 const libdis::x86_insn_t* instruction = dis.currentInstruction(); in TEST()
92 EXPECT_EQ(0U, dis.NextInstruction()); in TEST()
93 EXPECT_FALSE(dis.currentInstructionValid()); in TEST()
94 EXPECT_EQ(NULL, dis.currentInstruction()); in TEST()
[all …]
/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DElementValueGen.java95 public static ElementValueGen readElementValue(final DataInput dis, in readElementValue() argument
98 final int type = dis.readUnsignedByte(); in readElementValue()
102 return new SimpleElementValueGen(PRIMITIVE_BYTE, dis in readElementValue()
105 return new SimpleElementValueGen(PRIMITIVE_CHAR, dis in readElementValue()
108 return new SimpleElementValueGen(PRIMITIVE_DOUBLE, dis in readElementValue()
111 return new SimpleElementValueGen(PRIMITIVE_FLOAT, dis in readElementValue()
114 return new SimpleElementValueGen(PRIMITIVE_INT, dis in readElementValue()
117 return new SimpleElementValueGen(PRIMITIVE_LONG, dis in readElementValue()
120 return new SimpleElementValueGen(PRIMITIVE_SHORT, dis in readElementValue()
123 return new SimpleElementValueGen(PRIMITIVE_BOOLEAN, dis in readElementValue()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Bitcode/
Dinvalid.test1 RUN: not llvm-dis -disable-output %p/Inputs/invalid-empty.bc 2>&1 | \
3 RUN: not llvm-dis -disable-output %p/Inputs/invalid-pr20485.bc 2>&1 | \
5 RUN: not llvm-dis -disable-output %p/Inputs/invalid-abbrev.bc 2>&1 | \
7 RUN: not llvm-dis -disable-output %p/Inputs/invalid-unexpected-eof.bc 2>&1 | \
9 RUN: not llvm-dis -disable-output %p/Inputs/invalid-bad-abbrev-number.bc 2>&1 | \
11 RUN: not llvm-dis -disable-output %p/Inputs/invalid-type-table-forward-ref.bc 2>&1 | \
13 RUN: not llvm-dis -disable-output %p/Inputs/invalid-bitwidth.bc 2>&1 | \
15 RUN: not llvm-dis -disable-output %p/Inputs/invalid-align.bc 2>&1 | \
17 RUN: not llvm-dis -disable-output %p/Inputs/invalid-gep-mismatched-explicit-type.bc 2>&1 | \
19 RUN: not llvm-dis -disable-output %p/Inputs/invalid-load-mismatched-explicit-type.bc 2>&1 | \
[all …]
Dmulti-module.ll2 ; RUN: not llvm-dis -o - %t 2>&1 | FileCheck --check-prefix=ERROR %s
7 ; RUN: llvm-modextract -n 0 -o - %t | llvm-dis | FileCheck --check-prefix=IR1 %s
8 ; RUN: llvm-modextract -n 1 -o - %t | llvm-dis | FileCheck --check-prefix=IR2 %s
13 ; RUN: not llvm-dis -o - %t 2>&1 | FileCheck --check-prefix=ERROR %s
17 ; RUN: not llvm-dis -o - %t 2>&1 | FileCheck --check-prefix=ERROR %s
20 ; RUN: llvm-modextract -n 0 -o - %t | llvm-dis | FileCheck --check-prefix=IR1 %s
21 ; RUN: llvm-modextract -n 1 -o - %t | llvm-dis | FileCheck --check-prefix=IR2 %s
24 ; RUN: not llvm-dis -o - %t3 2>&1 | FileCheck --check-prefix=ERROR %s
27 ; RUN: llvm-modextract -n 0 -o - %t3 | llvm-dis | FileCheck --check-prefix=IR1 %s
28 ; RUN: llvm-modextract -n 1 -o - %t3 | llvm-dis | FileCheck --check-prefix=IR2 %s
[all …]
/external/llvm/test/Bitcode/
Dinvalid.test1 RUN: not llvm-dis -disable-output %p/Inputs/invalid-pr20485.bc 2>&1 | \
3 RUN: not llvm-dis -disable-output %p/Inputs/invalid-abbrev.bc 2>&1 | \
5 RUN: not llvm-dis -disable-output %p/Inputs/invalid-unexpected-eof.bc 2>&1 | \
7 RUN: not llvm-dis -disable-output %p/Inputs/invalid-bad-abbrev-number.bc 2>&1 | \
9 RUN: not llvm-dis -disable-output %p/Inputs/invalid-type-table-forward-ref.bc 2>&1 | \
11 RUN: not llvm-dis -disable-output %p/Inputs/invalid-bitwidth.bc 2>&1 | \
13 RUN: not llvm-dis -disable-output %p/Inputs/invalid-align.bc 2>&1 | \
15 RUN: not llvm-dis -disable-output %p/Inputs/invalid-gep-mismatched-explicit-type.bc 2>&1 | \
17 RUN: not llvm-dis -disable-output %p/Inputs/invalid-load-mismatched-explicit-type.bc 2>&1 | \
19 RUN: not llvm-dis -disable-output %p/Inputs/invalid-gep-operator-mismatched-explicit-type.bc 2>&1 |…
[all …]
/external/python/cpython2/Lib/test/
Dtest_dis.py6 import dis
91 dis.dis(func)
106 self.assertEqual(dis.opmap["STOP_CODE"], 0)
107 self.assertIn(dis.opmap["LOAD_CONST"], dis.hasconst)
108 self.assertIn(dis.opmap["STORE_NAME"], dis.hasname)
111 self.assertEqual(dis.opname[dis.opmap["LOAD_FAST"]], "LOAD_FAST")
114 self.assertEqual(dis.opmap["EXTENDED_ARG"], dis.EXTENDED_ARG)
115 self.assertEqual(dis.opmap["STORE_NAME"], dis.HAVE_ARGUMENT)
/external/python/cpython3/Lib/test/
Dtest__opcode.py1 import dis
10 self.assertEqual(_opcode.stack_effect(dis.opmap['POP_TOP']), -1)
11 self.assertEqual(_opcode.stack_effect(dis.opmap['DUP_TOP_TWO']), 2)
12 self.assertEqual(_opcode.stack_effect(dis.opmap['BUILD_SLICE'], 0), -1)
13 self.assertEqual(_opcode.stack_effect(dis.opmap['BUILD_SLICE'], 1), -1)
14 self.assertEqual(_opcode.stack_effect(dis.opmap['BUILD_SLICE'], 3), -2)
16 self.assertRaises(ValueError, _opcode.stack_effect, dis.opmap['BUILD_SLICE'])
17 self.assertRaises(ValueError, _opcode.stack_effect, dis.opmap['POP_TOP'], 0)
Dtest_dis.py7 import dis
414 dis.dis(func, **kwargs)
416 dis.disassemble(func, lasti, **kwargs)
432 self.assertEqual(dis.opmap["NOP"], 9)
433 self.assertIn(dis.opmap["LOAD_CONST"], dis.hasconst)
434 self.assertIn(dis.opmap["STORE_NAME"], dis.hasname)
437 self.assertEqual(dis.opname[dis.opmap["LOAD_FAST"]], "LOAD_FAST")
440 self.assertEqual(dis.opmap["EXTENDED_ARG"], dis.EXTENDED_ARG)
441 self.assertEqual(dis.opmap["STORE_NAME"], dis.HAVE_ARGUMENT)
444 for opcode, opname in enumerate(dis.opname):
[all …]
Dtest_peepholer.py1 import dis
89 load_consts = [instr for instr in dis.get_instructions(code)
169 for instr in dis.get_instructions(code):
218 for instr in dis.get_instructions(code):
225 for instr in dis.get_instructions(code):
242 returns = [instr for instr in dis.get_instructions(f)
252 returns = [instr for instr in dis.get_instructions(f)
269 returns = [instr for instr in dis.get_instructions(f)
280 returns = [instr for instr in dis.get_instructions(f)
283 returns = [instr for instr in dis.get_instructions(f)
[all …]
Dbytecode_helper.py4 import dis
14 dis.dis(co, file=s)
19 for instr in dis.get_instructions(x):
33 for instr in dis.get_instructions(x):
/external/swiftshader/third_party/llvm-7.0/llvm/docs/CommandGuide/
Dllvm-dis.rst1 llvm-dis - LLVM disassembler
9 **llvm-dis** [*options*] [*filename*]
16 The **llvm-dis** command is the LLVM disassembler. It takes an LLVM
19 If filename is omitted or specified as ``-``, **llvm-dis** reads its
22 If the input is being read from standard input, then **llvm-dis**
37 Enable binary output on terminals. Normally, **llvm-dis** will refuse to
39 **llvm-dis** will write raw bitcode regardless of the output device.
61 If **llvm-dis** succeeds, it will exit with 0. Otherwise, if an error
/external/llvm/docs/CommandGuide/
Dllvm-dis.rst1 llvm-dis - LLVM disassembler
9 **llvm-dis** [*options*] [*filename*]
16 The **llvm-dis** command is the LLVM disassembler. It takes an LLVM
19 If filename is omitted or specified as ``-``, **llvm-dis** reads its
22 If the input is being read from standard input, then **llvm-dis**
37 Enable binary output on terminals. Normally, **llvm-dis** will refuse to
39 **llvm-dis** will write raw bitcode regardless of the output device.
61 If **llvm-dis** succeeds, it will exit with 0. Otherwise, if an error
/external/swiftshader/third_party/LLVM/docs/CommandGuide/
Dllvm-dis.pod5 llvm-dis - LLVM disassembler
9 B<llvm-dis> [I<options>] [I<filename>]
13 The B<llvm-dis> command is the LLVM disassembler. It takes an LLVM
16 If filename is omitted or specified as C<->, B<llvm-dis> reads its
19 If the input is being read from standard input, then B<llvm-dis>
32 Enable binary output on terminals. Normally, B<llvm-dis> will refuse to
34 B<llvm-dis> will write raw bitcode regardless of the output device.
49 If B<llvm-dis> succeeds, it will exit with 0. Otherwise, if an error
/external/python/cpython2/Tools/compiler/
Dstacktest.py2 import dis
21 dis.dis(a)
23 dis.dis(b)
/external/u-boot/scripts/
Ddecodecode11 rm -f $T $T.s $T.o $T.oo $T.aa $T.dis
83 grep -v "/tmp\|Disassembly\|\.text\|^$" > $1.dis 2>&1
99 cat $T.dis >> $T.oo
100 rm -f $T.o $T.s $T.dis
111 cat $T.dis >> $T.aa
119 faultline=`cat $T.dis | head -1 | cut -d":" -f2-`
/external/swiftshader/third_party/LLVM/test/Assembler/
Dvector-shift.ll1 ; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | grep shl | count 1
2 ; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | grep ashr | count 1
3 ; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | grep lshr | count 1
/external/swiftshader/third_party/llvm-7.0/llvm/test/LTO/Resolution/X86/
Dlink-odr-availextern.ll9 ; RUN: llvm-dis < %t3.0.0.preopt.bc -o - | FileCheck --check-prefix=PREVAILING %s
12 ; RUN: llvm-dis < %t3.0.0.preopt.bc -o - | FileCheck --check-prefix=PREVAILING %s
15 ; RUN: llvm-dis < %t3.0.0.preopt.bc -o - | FileCheck --check-prefix=PREVAILING %s
18 ; RUN: llvm-dis < %t3.0.0.preopt.bc -o - | FileCheck --check-prefix=PREVAILING %s
21 ; RUN: llvm-dis < %t3.0.0.preopt.bc -o - | FileCheck --check-prefix=NONPREVAILING %s
24 ; RUN: llvm-dis < %t3.0.0.preopt.bc -o - | FileCheck --check-prefix=NONPREVAILING %s
27 ; RUN: llvm-dis < %t3.0.0.preopt.bc -o - | FileCheck --check-prefix=NONPREVAILING %s
/external/swiftshader/third_party/LLVM/test/CodeGen/Generic/
Dedge-bundles-blockIDs.ll28 br i1 undef, label %bb1.i.dis.preheader_crit_edge.i, label %bb.i.i1608
30 bb1.i.dis.preheader_crit_edge.i: ; preds = %bb.i.i1608
31 br label %dis.i
70 dis.i: ; preds = %getfloder.exit.i, %bb1.i.dis.preheader_crit_edge.i
73 bb.i96.i: ; preds = %dis.i
76 bb1.i102.i: ; preds = %dis.i
80 br i1 undef, label %bb7.i.i1615, label %dis.i
/external/llvm/test/tools/llvm-objdump/X86/
Dmacho-dis-symname.test1 # RUN: llvm-objdump -m -d %p/Inputs/exeThread.macho-x86_64 -dis-symname start -no-show-raw-insn -fu…
21 # not RUN: llvm-objdump -m -d %p/Inputs/exeThread.macho-x86_64 -dis-symname _environ 2>&1 | FileChe…
22 BAD-SYMAME-1: -dis-symname: _environ not in the section
24 # not RUN: llvm-objdump -m -d %p/Inputs/exeThread.macho-x86_64 -dis-symname __mh_execute_header 2>&…
25 BAD-SYMAME-2: -dis-symname: __mh_execute_header not in any section
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-objdump/X86/
Dmacho-dis-symname.test1 # RUN: llvm-objdump -m -d %p/Inputs/exeThread.macho-x86_64 -dis-symname start -no-show-raw-insn -fu…
21 # not RUN: llvm-objdump -m -d %p/Inputs/exeThread.macho-x86_64 -dis-symname _environ 2>&1 | FileChe…
22 BAD-SYMAME-1: -dis-symname: _environ not in the section
24 # not RUN: llvm-objdump -m -d %p/Inputs/exeThread.macho-x86_64 -dis-symname __mh_execute_header 2>&…
25 BAD-SYMAME-2: -dis-symname: __mh_execute_header not in any section
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Generic/
Dedge-bundles-blockIDs.ll28 br i1 undef, label %bb1.i.dis.preheader_crit_edge.i, label %bb.i.i1608
30 bb1.i.dis.preheader_crit_edge.i: ; preds = %bb.i.i1608
31 br label %dis.i
70 dis.i: ; preds = %getfloder.exit.i, %bb1.i.dis.preheader_crit_edge.i
73 bb.i96.i: ; preds = %dis.i
76 bb1.i102.i: ; preds = %dis.i
80 br i1 undef, label %bb7.i.i1615, label %dis.i
/external/llvm/test/CodeGen/Generic/
Dedge-bundles-blockIDs.ll28 br i1 undef, label %bb1.i.dis.preheader_crit_edge.i, label %bb.i.i1608
30 bb1.i.dis.preheader_crit_edge.i: ; preds = %bb.i.i1608
31 br label %dis.i
70 dis.i: ; preds = %getfloder.exit.i, %bb1.i.dis.preheader_crit_edge.i
73 bb.i96.i: ; preds = %dis.i
76 bb1.i102.i: ; preds = %dis.i
80 br i1 undef, label %bb7.i.i1615, label %dis.i
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-split/
Dblockaddress.ll3 ; RUN: llvm-dis -o - %t0 | FileCheck --check-prefix=CHECK0 %s
4 ; RUN: llvm-dis -o - %t1 | FileCheck --check-prefix=CHECK1234 %s
5 ; RUN: llvm-dis -o - %t2 | FileCheck --check-prefix=CHECK1234 %s
6 ; RUN: llvm-dis -o - %t3 | FileCheck --check-prefix=CHECK1234 %s
7 ; RUN: llvm-dis -o - %t4 | FileCheck --check-prefix=CHECK1234 %s
/external/llvm/test/tools/llvm-split/
Dblockaddress.ll3 ; RUN: llvm-dis -o - %t0 | FileCheck --check-prefix=CHECK0 %s
4 ; RUN: llvm-dis -o - %t1 | FileCheck --check-prefix=CHECK1234 %s
5 ; RUN: llvm-dis -o - %t2 | FileCheck --check-prefix=CHECK1234 %s
6 ; RUN: llvm-dis -o - %t3 | FileCheck --check-prefix=CHECK1234 %s
7 ; RUN: llvm-dis -o - %t4 | FileCheck --check-prefix=CHECK1234 %s
/external/swiftshader/third_party/subzero/tests_lit/llvm2ice_tests/
Dreorder-global-variables.ll7 ; RUN: -i %s --assemble --disassemble --dis-flags=-rD \
11 ; RUN: -i %s --assemble --disassemble --dis-flags=-rD \
17 ; RUN: -i %s --disassemble --dis-flags=-rD \
21 ; RUN: -i %s --disassemble --dis-flags=-rD \
27 ; RUN: -i %s --disassemble --dis-flags=-rD \
32 ; RUN: -i %s --disassemble --dis-flags=-rD \
39 ; RUN: mips32 -i %s --dis-flags=-rD --args -O2 -sz-seed=1 \

12345678910>>...56