Home
last modified time | relevance | path

Searched refs:res (Results 1 – 25 of 30) sorted by relevance

12

/dalvik/tests/012-math/
Dexpected.txt1 res:10
2 res:-4
3 res:2
4 res:-2
5 res:21
6 res:0
7 res:3
8 res:4
9 res:384
10 res:0
[all …]
/dalvik/tests/012-math/src/
DMain.java24 int a, b, res; in main() local
30 res = a + b; in main()
31 System.out.println("res:" +res); in main()
32 res = a - b; in main()
33 System.out.println("res:" +res); in main()
34 res = 5 - a; in main()
35 System.out.println("res:" +res); in main()
36 res = a - 5; in main()
37 System.out.println("res:" +res); in main()
38 res = a * b; in main()
[all …]
/dalvik/vm/compiler/codegen/arm/
DArmRallocUtil.cpp78 RegLocation res = LOC_C_RETURN_WIDE; in dvmCompilerGetReturnWide() local
83 dvmCompilerMarkPair(cUnit, res.lowReg, res.highReg); in dvmCompilerGetReturnWide()
84 return res; in dvmCompilerGetReturnWide()
89 RegLocation res = LOC_C_RETURN_WIDE; in dvmCompilerGetReturnWideAlt() local
90 res.lowReg = r2; in dvmCompilerGetReturnWideAlt()
91 res.highReg = r3; in dvmCompilerGetReturnWideAlt()
96 dvmCompilerMarkPair(cUnit, res.lowReg, res.highReg); in dvmCompilerGetReturnWideAlt()
97 return res; in dvmCompilerGetReturnWideAlt()
102 RegLocation res = LOC_C_RETURN; in dvmCompilerGetReturn() local
105 return res; in dvmCompilerGetReturn()
[all …]
DArchFactory.cpp77 TGT_LIR *res; in genRegRegCheck() local
78 res = opRegReg(cUnit, kOpCmp, reg1, reg2); in genRegRegCheck()
81 return res; in genRegRegCheck()
DCodegenCommon.cpp350 RegLocation res = LOC_DALVIK_RETURN_VAL; in inlinedTarget() local
351 res.fp = fpHint; in inlinedTarget()
352 return res; in inlinedTarget()
430 RegLocation res = LOC_DALVIK_RETURN_VAL_WIDE; in inlinedTargetWide() local
431 res.fp = fpHint; in inlinedTargetWide()
432 return res; in inlinedTargetWide()
/dalvik/vm/compiler/codegen/mips/Mips32/
DFactory.cpp48 MipsLIR* res = (MipsLIR *) dvmCompilerNew(sizeof(MipsLIR), true); in fpRegCopy() local
49 res->operands[0] = rDest; in fpRegCopy()
50 res->operands[1] = rSrc; in fpRegCopy()
52 res->flags.isNop = true; in fpRegCopy()
57 res->opcode = kMipsFmovd; in fpRegCopy()
61 res->opcode = kMipsFmovs; in fpRegCopy()
64 res->opcode = kMipsMtc1; in fpRegCopy()
65 res->operands[0] = rSrc; in fpRegCopy()
66 res->operands[1] = rDest; in fpRegCopy()
70 res->opcode = kMipsMfc1; in fpRegCopy()
[all …]
DRalloc.cpp34 int res = 0; in dvmCompilerAllocTypedTempPair() local
40 res = (lowReg & 0xff) | ((highReg & 0xff) << 8); in dvmCompilerAllocTypedTempPair()
41 return res; in dvmCompilerAllocTypedTempPair()
47 res = (lowReg & 0xff) | ((highReg & 0xff) << 8); in dvmCompilerAllocTypedTempPair()
48 return res; in dvmCompilerAllocTypedTempPair()
DGen.cpp220 MipsLIR *res; in genExportPC() local
224 res = loadConstant(cUnit, rDPC, (int) (cUnit->method->insns + mir->offset)); in genExportPC()
227 return res; in genExportPC()
/dalvik/vm/compiler/codegen/arm/Thumb/
DFactory.cpp52 ArmLIR *res; in loadConstantNoClobber() local
56 res = newLIR2(cUnit, kThumbMovImm, tDest, value); in loadConstantNoClobber()
61 return res; in loadConstantNoClobber()
63 res = newLIR2(cUnit, kThumbMovImm, tDest, ~value); in loadConstantNoClobber()
69 return res; in loadConstantNoClobber()
83 res = loadPcRel; in loadConstantNoClobber()
97 return res; in loadConstantNoClobber()
119 ArmLIR *res; in loadClassPointer() local
138 res = loadPcRel; in loadClassPointer()
140 return res; in loadClassPointer()
[all …]
DRalloc.cpp34 int res = 0; in dvmCompilerAllocTypedTempPair() local
37 res = (lowReg & 0xff) | ((highReg & 0xff) << 8); in dvmCompilerAllocTypedTempPair()
38 return res; in dvmCompilerAllocTypedTempPair()
DGen.cpp188 ArmLIR *res; in genExportPC() local
192 res = loadConstant(cUnit, rDPC, (int) (cUnit->method->insns + mir->offset)); in genExportPC()
196 return res; in genExportPC()
/dalvik/tests/068-classloader/src/
DFancyLoader.java187 Class res; in loadClass() local
195 res = findLoadedClass(name); in loadClass()
196 if (res != null) { in loadClass()
200 resolveClass(res); in loadClass()
201 return res; in loadClass()
208 res = findClass(name); in loadClass()
210 resolveClass(res); in loadClass()
225 res = super.loadClass(name, resolve); // returns class or throws in loadClass()
226 return res; in loadClass()
/dalvik/vm/compiler/codegen/arm/Thumb2/
DFactory.cpp31 int res; in encodeImmSingle() local
47 res = (bitA << 7) | (bitB << 6) | slice; in encodeImmSingle()
48 return res; in encodeImmSingle()
146 ArmLIR *res; in loadConstantNoClobber() local
160 res = newLIR2(cUnit, kThumb2MovImmShift, rDest, modImm); in loadConstantNoClobber()
161 return res; in loadConstantNoClobber()
165 res = newLIR2(cUnit, kThumb2MvnImmShift, rDest, modImm); in loadConstantNoClobber()
166 return res; in loadConstantNoClobber()
170 res = newLIR2(cUnit, kThumb2MovImm16, rDest, value); in loadConstantNoClobber()
171 return res; in loadConstantNoClobber()
[all …]
DRalloc.cpp37 int res = 0; in dvmCompilerAllocTypedTempPair() local
50 res = (lowReg & 0xff) | ((highReg & 0xff) << 8); in dvmCompilerAllocTypedTempPair()
51 return res; in dvmCompilerAllocTypedTempPair()
/dalvik/vm/compiler/codegen/mips/mips/
DArchVariant.cpp98 int res; in dvmCompilerTargetOptHint() local
101 res = 2; in dvmCompilerTargetOptHint()
105 res = 0; in dvmCompilerTargetOptHint()
107 return res; in dvmCompilerTargetOptHint()
/dalvik/vm/compiler/codegen/arm/armv7-a-neon/
DArchVariant.cpp98 int res; in dvmCompilerTargetOptHint() local
101 res = 7; in dvmCompilerTargetOptHint()
105 res = 0; in dvmCompilerTargetOptHint()
107 return res; in dvmCompilerTargetOptHint()
/dalvik/vm/compiler/codegen/arm/armv5te-vfp/
DArchVariant.cpp103 int res; in dvmCompilerTargetOptHint() local
106 res = 2; in dvmCompilerTargetOptHint()
110 res = 0; in dvmCompilerTargetOptHint()
112 return res; in dvmCompilerTargetOptHint()
/dalvik/vm/compiler/codegen/arm/armv5te/
DArchVariant.cpp103 int res; in dvmCompilerTargetOptHint() local
106 res = 2; in dvmCompilerTargetOptHint()
110 res = 0; in dvmCompilerTargetOptHint()
112 return res; in dvmCompilerTargetOptHint()
/dalvik/vm/compiler/codegen/arm/armv7-a/
DArchVariant.cpp98 int res; in dvmCompilerTargetOptHint() local
101 res = 7; in dvmCompilerTargetOptHint()
105 res = 0; in dvmCompilerTargetOptHint()
107 return res; in dvmCompilerTargetOptHint()
/dalvik/tests/044-proxy/
Dexpected.txt4 Success: method circle res=null
9 Success: method rectangle res=4
13 Success: method blob res=mix
18 Success: method rectangle res=4
24 Success: method trapezoid res=8
28 Success: method red res=0
32 Success: method blue res=2.54
36 Success: method mauve res=3
40 Success: method blob res=mix
/dalvik/tests/092-locale/src/
DMain.java124 String res; in testNormalizer() local
126 res = Normalizer.normalize(composed, Normalizer.Form.NFD); in testNormalizer()
127 if (!decomposed.equals(res)) { in testNormalizer()
129 + res + "'"); in testNormalizer()
132 res = Normalizer.normalize(decomposed, Normalizer.Form.NFC); in testNormalizer()
133 if (!composed.equals(res)) { in testNormalizer()
135 + res + "'"); in testNormalizer()
/dalvik/tests/013-math2/src/
DMain.java22 int a, b, res; in main() local
/dalvik/vm/compiler/codegen/mips/
DCodegenCommon.cpp356 RegLocation res = LOC_DALVIK_RETURN_VAL; in inlinedTarget() local
357 res.fp = fpHint; in inlinedTarget()
358 return res; in inlinedTarget()
393 RegLocation res = LOC_DALVIK_RETURN_VAL_WIDE; in inlinedTargetWide() local
394 res.fp = fpHint; in inlinedTargetWide()
395 return res; in inlinedTargetWide()
DRallocUtil.cpp320 RegisterInfo *res = NULL; in allocLive() local
323 res = allocLiveBody(cUnit->regPool->FPTemps, in allocLive()
325 if (res) in allocLive()
329 res = allocLiveBody(cUnit->regPool->coreTemps, in allocLive()
333 res = allocLiveBody(cUnit->regPool->FPTemps, in allocLive()
340 return res; in allocLive()
965 RegLocation res = LOC_C_RETURN_WIDE; in dvmCompilerGetReturnWide() local
970 dvmCompilerMarkPair(cUnit, res.lowReg, res.highReg); in dvmCompilerGetReturnWide()
971 return res; in dvmCompilerGetReturnWide()
976 RegLocation res = LOC_C_RETURN; in dvmCompilerGetReturn() local
[all …]
DCodegenFactory.cpp287 MipsLIR *res = NULL; in genRegRegCheck() local
290 res = newLIR3(cUnit, kMipsSlt, tReg, reg1, reg2); in genRegRegCheck()
295 res = newLIR3(cUnit, kMipsSltu, tReg, reg1, reg2); in genRegRegCheck()
302 return res; in genRegRegCheck()

12