Home
last modified time | relevance | path

Searched refs:result (Results 1 – 25 of 357) sorted by relevance

12345678910>>...15

/dalvik/libdex/
DLeb128.h33 int result = *(ptr++); in readUnsignedLeb128() local
35 if (result > 0x7f) { in readUnsignedLeb128()
37 result = (result & 0x7f) | ((cur & 0x7f) << 7); in readUnsignedLeb128()
40 result |= (cur & 0x7f) << 14; in readUnsignedLeb128()
43 result |= (cur & 0x7f) << 21; in readUnsignedLeb128()
51 result |= cur << 28; in readUnsignedLeb128()
58 return result; in readUnsignedLeb128()
68 int result = *(ptr++); in readSignedLeb128() local
70 if (result <= 0x7f) { in readSignedLeb128()
71 result = (result << 25) >> 25; in readSignedLeb128()
[all …]
DDexClass.cpp109 DexClassData* result = (DexClassData*) malloc(sizeof(DexClassData)); in dexReadAndVerifyClassData() local
110 memset(result, 0, sizeof(*result)); in dexReadAndVerifyClassData()
111 return result; in dexReadAndVerifyClassData()
124 DexClassData* result = (DexClassData*) malloc(resultSize); in dexReadAndVerifyClassData() local
125 u1* ptr = ((u1*) result) + sizeof(DexClassData); in dexReadAndVerifyClassData()
129 if (result == NULL) { in dexReadAndVerifyClassData()
133 result->header = header; in dexReadAndVerifyClassData()
136 result->staticFields = (DexField*) ptr; in dexReadAndVerifyClassData()
139 result->staticFields = NULL; in dexReadAndVerifyClassData()
143 result->instanceFields = (DexField*) ptr; in dexReadAndVerifyClassData()
[all …]
DCmdUtils.cpp41 UnzipToFileResult result = kUTFRSuccess; in dexUnzipToFile() local
53 result = kUTFRNotZip; in dexUnzipToFile()
61 result = kUTFROutputFileProblem; in dexUnzipToFile()
73 result = kUTFRNoClassesDex; in dexUnzipToFile()
80 result = kUTFRBadZip; in dexUnzipToFile()
87 if (unlinkOnFailure && result != kUTFRSuccess) in dexUnzipToFile()
90 return result; in dexUnzipToFile()
114 UnzipToFileResult result = kUTFRGenericFailure; in dexOpenAndMap() local
125 result = kUTFRBadArgs; in dexOpenAndMap()
154 result = dexUnzipToFile(fileName, tempFileName, quiet); in dexOpenAndMap()
[all …]
/dalvik/dexgen/src/com/android/dexgen/rop/code/
DRegisterSpecList.java38 RegisterSpecList result = new RegisterSpecList(1); in make() local
39 result.set(0, spec); in make()
40 return result; in make()
52 RegisterSpecList result = new RegisterSpecList(2); in make() local
53 result.set(0, spec0); in make()
54 result.set(1, spec1); in make()
55 return result; in make()
68 RegisterSpecList result = new RegisterSpecList(3); in make() local
69 result.set(0, spec0); in make()
70 result.set(1, spec1); in make()
[all …]
DLocalVariableExtractor.java122 RegisterSpec result; in processBlock() local
124 result = insn.getLocalAssignment(); in processBlock()
126 if (result == null) { in processBlock()
132 result = insn.getResult(); in processBlock()
134 if (result != null in processBlock()
135 && primaryState.get(result.getReg()) != null) { in processBlock()
136 primaryState.remove(primaryState.get(result.getReg())); in processBlock()
141 result = result.withSimpleType(); in processBlock()
143 RegisterSpec already = primaryState.get(result); in processBlock()
149 if (!result.equals(already)) { in processBlock()
[all …]
DRop.java59 private final Type result; field in Rop
94 public Rop(int opcode, Type result, TypeList sources, in Rop() argument
97 if (result == null) { in Rop()
119 this.result = result; in Rop()
141 public Rop(int opcode, Type result, TypeList sources, in Rop() argument
143 this(opcode, result, sources, exceptions, branchingness, false, in Rop()
159 public Rop(int opcode, Type result, TypeList sources, int branchingness, in Rop() argument
161 this(opcode, result, sources, StdTypeList.EMPTY, branchingness, false, in Rop()
176 public Rop(int opcode, Type result, TypeList sources, String nickname) { in Rop() argument
177 this(opcode, result, sources, StdTypeList.EMPTY, Rop.BRANCH_NONE, in Rop()
[all …]
/dalvik/dexgen/src/com/android/dexgen/util/
DHex.java37 char[] result = new char[16]; in u8() local
39 result[15 - i] = Character.forDigit((int) v & 0x0f, 16); in u8()
43 return new String(result); in u8()
53 char[] result = new char[8]; in u4() local
55 result[7 - i] = Character.forDigit(v & 0x0f, 16); in u4()
59 return new String(result); in u4()
69 char[] result = new char[6]; in u3() local
71 result[5 - i] = Character.forDigit(v & 0x0f, 16); in u3()
75 return new String(result); in u3()
85 char[] result = new char[4]; in u2() local
[all …]
DIntList.java47 IntList result = new IntList(1); in makeImmutable() local
49 result.add(value); in makeImmutable()
50 result.setImmutable(); in makeImmutable()
52 return result; in makeImmutable()
62 IntList result = new IntList(2); in makeImmutable() local
64 result.add(value0); in makeImmutable()
65 result.add(value1); in makeImmutable()
66 result.setImmutable(); in makeImmutable()
68 return result; in makeImmutable()
100 int result = 0; in hashCode() local
[all …]
/dalvik/dx/src/com/android/dx/util/
DHex.java37 char[] result = new char[16]; in u8() local
39 result[15 - i] = Character.forDigit((int) v & 0x0f, 16); in u8()
43 return new String(result); in u8()
53 char[] result = new char[8]; in u4() local
55 result[7 - i] = Character.forDigit(v & 0x0f, 16); in u4()
59 return new String(result); in u4()
69 char[] result = new char[6]; in u3() local
71 result[5 - i] = Character.forDigit(v & 0x0f, 16); in u3()
75 return new String(result); in u3()
85 char[] result = new char[4]; in u2() local
[all …]
DIntList.java47 IntList result = new IntList(1); in makeImmutable() local
49 result.add(value); in makeImmutable()
50 result.setImmutable(); in makeImmutable()
52 return result; in makeImmutable()
62 IntList result = new IntList(2); in makeImmutable() local
64 result.add(value0); in makeImmutable()
65 result.add(value1); in makeImmutable()
66 result.setImmutable(); in makeImmutable()
68 return result; in makeImmutable()
100 int result = 0; in hashCode() local
[all …]
/dalvik/dx/src/com/android/dx/rop/code/
DRegisterSpecList.java40 RegisterSpecList result = new RegisterSpecList(1); in make() local
41 result.set(0, spec); in make()
42 return result; in make()
54 RegisterSpecList result = new RegisterSpecList(2); in make() local
55 result.set(0, spec0); in make()
56 result.set(1, spec1); in make()
57 return result; in make()
70 RegisterSpecList result = new RegisterSpecList(3); in make() local
71 result.set(0, spec0); in make()
72 result.set(1, spec1); in make()
[all …]
DLocalVariableExtractor.java122 RegisterSpec result; in processBlock() local
124 result = insn.getLocalAssignment(); in processBlock()
126 if (result == null) { in processBlock()
132 result = insn.getResult(); in processBlock()
134 if (result != null in processBlock()
135 && primaryState.get(result.getReg()) != null) { in processBlock()
136 primaryState.remove(primaryState.get(result.getReg())); in processBlock()
141 result = result.withSimpleType(); in processBlock()
143 RegisterSpec already = primaryState.get(result); in processBlock()
149 if (!result.equals(already)) { in processBlock()
[all …]
DRop.java59 private final Type result; field in Rop
94 public Rop(int opcode, Type result, TypeList sources, in Rop() argument
97 if (result == null) { in Rop()
119 this.result = result; in Rop()
141 public Rop(int opcode, Type result, TypeList sources, in Rop() argument
143 this(opcode, result, sources, exceptions, branchingness, false, in Rop()
159 public Rop(int opcode, Type result, TypeList sources, int branchingness, in Rop() argument
161 this(opcode, result, sources, StdTypeList.EMPTY, branchingness, false, in Rop()
176 public Rop(int opcode, Type result, TypeList sources, String nickname) { in Rop() argument
177 this(opcode, result, sources, StdTypeList.EMPTY, Rop.BRANCH_NONE, in Rop()
[all …]
/dalvik/dx/src/com/android/dx/ssa/
DSsaInsn.java30 private RegisterSpec result; field in SsaInsn
39 protected SsaInsn(RegisterSpec result, SsaBasicBlock block) { in SsaInsn() argument
45 this.result = result; in SsaInsn()
75 return result; in getResult()
83 protected void setResult(RegisterSpec result) { in setResult() argument
84 if (result == null) { in setResult()
88 this.result = result; in setResult()
115 return result != null && result.getReg() == reg; in isResultReg()
126 if (result != null) { in changeResultReg()
127 result = result.withReg(reg); in changeResultReg()
[all …]
DLocalVariableExtractor.java143 RegisterSpec result; in processBlock() local
145 result = insn.getLocalAssignment(); in processBlock()
147 if (result == null) { in processBlock()
150 result = insn.getResult(); in processBlock()
152 if (result != null && primaryState.get(result.getReg()) != null) { in processBlock()
153 primaryState.remove(primaryState.get(result.getReg())); in processBlock()
158 result = result.withSimpleType(); in processBlock()
160 RegisterSpec already = primaryState.get(result); in processBlock()
166 if (!result.equals(already)) { in processBlock()
173 = primaryState.localItemToSpec(result.getLocalItem()); in processBlock()
[all …]
DSsaConverter.java45 SsaMethod result in convertToSsaMethod() local
48 edgeSplit(result); in convertToSsaMethod()
50 LocalVariableInfo localInfo = LocalVariableExtractor.extract(result); in convertToSsaMethod()
52 placePhiFunctions(result, localInfo, 0); in convertToSsaMethod()
53 new SsaRenamer(result).run(); in convertToSsaMethod()
59 result.makeExitBlock(); in convertToSsaMethod()
61 return result; in convertToSsaMethod()
88 SsaMethod result; in testEdgeSplit() local
90 result = SsaMethod.newFromRopMethod(rmeth, paramWidth, isStatic); in testEdgeSplit()
92 edgeSplit(result); in testEdgeSplit()
[all …]
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DAnnotationUtils.java92 Annotation result = new Annotation(ANNOTATION_DEFAULT_TYPE, SYSTEM); in makeAnnotationDefault() local
94 result.put(new NameValuePair(VALUE_UTF, new CstAnnotation(defaults))); in makeAnnotationDefault()
95 result.setImmutable(); in makeAnnotationDefault()
96 return result; in makeAnnotationDefault()
106 Annotation result = new Annotation(ENCLOSING_CLASS_TYPE, SYSTEM); in makeEnclosingClass() local
108 result.put(new NameValuePair(VALUE_UTF, clazz)); in makeEnclosingClass()
109 result.setImmutable(); in makeEnclosingClass()
110 return result; in makeEnclosingClass()
120 Annotation result = new Annotation(ENCLOSING_METHOD_TYPE, SYSTEM); in makeEnclosingMethod() local
122 result.put(new NameValuePair(VALUE_UTF, method)); in makeEnclosingMethod()
[all …]
DTypeIdsSection.java64 IndexedItem result = typeIds.get(type); in get() local
66 if (result == null) { in get()
70 return result; in get()
110 TypeIdItem result = typeIds.get(type); in intern() local
112 if (result == null) { in intern()
113 result = new TypeIdItem(new CstType(type)); in intern()
114 typeIds.put(type, result); in intern()
117 return result; in intern()
134 TypeIdItem result = typeIds.get(typePerSe); in intern() local
136 if (result == null) { in intern()
[all …]
/dalvik/dx/src/com/android/dx/dex/file/
DAnnotationUtils.java91 Annotation result = new Annotation(ANNOTATION_DEFAULT_TYPE, SYSTEM); in makeAnnotationDefault() local
93 result.put(new NameValuePair(VALUE_STRING, new CstAnnotation(defaults))); in makeAnnotationDefault()
94 result.setImmutable(); in makeAnnotationDefault()
95 return result; in makeAnnotationDefault()
105 Annotation result = new Annotation(ENCLOSING_CLASS_TYPE, SYSTEM); in makeEnclosingClass() local
107 result.put(new NameValuePair(VALUE_STRING, clazz)); in makeEnclosingClass()
108 result.setImmutable(); in makeEnclosingClass()
109 return result; in makeEnclosingClass()
119 Annotation result = new Annotation(ENCLOSING_METHOD_TYPE, SYSTEM); in makeEnclosingMethod() local
121 result.put(new NameValuePair(VALUE_STRING, method)); in makeEnclosingMethod()
[all …]
DTypeIdsSection.java64 IndexedItem result = typeIds.get(type); in get() local
66 if (result == null) { in get()
70 return result; in get()
110 TypeIdItem result = typeIds.get(type); in intern() local
112 if (result == null) { in intern()
113 result = new TypeIdItem(new CstType(type)); in intern()
114 typeIds.put(type, result); in intern()
117 return result; in intern()
134 TypeIdItem result = typeIds.get(typePerSe); in intern() local
136 if (result == null) { in intern()
[all …]
/dalvik/dexgen/src/com/android/dexgen/rop/type/
DStdTypeList.java171 StdTypeList result = new StdTypeList(1); in make() local
172 result.set(0, type); in make()
173 return result; in make()
184 StdTypeList result = new StdTypeList(2); in make() local
185 result.set(0, type0); in make()
186 result.set(1, type1); in make()
187 return result; in make()
199 StdTypeList result = new StdTypeList(3); in make() local
200 result.set(0, type0); in make()
201 result.set(1, type1); in make()
[all …]
/dalvik/dx/src/com/android/dx/rop/type/
DStdTypeList.java171 StdTypeList result = new StdTypeList(1); in make() local
172 result.set(0, type); in make()
173 return result; in make()
184 StdTypeList result = new StdTypeList(2); in make() local
185 result.set(0, type0); in make()
186 result.set(1, type1); in make()
187 return result; in make()
199 StdTypeList result = new StdTypeList(3); in make() local
200 result.set(0, type0); in make()
201 result.set(1, type1); in make()
[all …]
/dalvik/tests/064-field-access/src/
DMain.java54 Object result = null; in getValue() local
58 result = new Boolean(field.getBoolean(obj)); in getValue()
61 result = new Byte(field.getByte(obj)); in getValue()
64 result = new Short(field.getShort(obj)); in getValue()
67 result = new Character(field.getChar(obj)); in getValue()
70 result = new Integer(field.getInt(obj)); in getValue()
73 result = new Long(field.getLong(obj)); in getValue()
76 result = new Float(field.getFloat(obj)); in getValue()
79 result = new Double(field.getDouble(obj)); in getValue()
82 result = field.get(obj); in getValue()
[all …]
/dalvik/dexgen/src/com/android/dexgen/rop/annotation/
DAnnotations.java53 Annotations result = new Annotations(); in combine() local
55 result.addAll(a1); in combine()
56 result.addAll(a2); in combine()
57 result.setImmutable(); in combine()
59 return result; in combine()
74 Annotations result = new Annotations(); in combine() local
76 result.addAll(annotations); in combine()
77 result.add(annotation); in combine()
78 result.setImmutable(); in combine()
80 return result; in combine()
[all …]
/dalvik/dx/src/com/android/dx/rop/annotation/
DAnnotations.java53 Annotations result = new Annotations(); in combine() local
55 result.addAll(a1); in combine()
56 result.addAll(a2); in combine()
57 result.setImmutable(); in combine()
59 return result; in combine()
74 Annotations result = new Annotations(); in combine() local
76 result.addAll(annotations); in combine()
77 result.add(annotation); in combine()
78 result.setImmutable(); in combine()
80 return result; in combine()
[all …]

12345678910>>...15