Home
last modified time | relevance | path

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

123456789

/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.java39 RegisterSpecList result = new RegisterSpecList(1); in make() local
40 result.set(0, spec); in make()
41 return result; in make()
53 RegisterSpecList result = new RegisterSpecList(2); in make() local
54 result.set(0, spec0); in make()
55 result.set(1, spec1); in make()
56 return result; in make()
69 RegisterSpecList result = new RegisterSpecList(3); in make() local
70 result.set(0, spec0); in make()
71 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/dex/
DEncodedValueCodec.java124 int result = 0; in readSignedInt() local
126 result = (result >>> 8) | ((in.readByte() & 0xff) << 24); in readSignedInt()
128 result >>= (3 - zwidth) * 8; in readSignedInt()
129 return result; in readSignedInt()
139 int result = 0; in readUnsignedInt() local
142 result = (result >>> 8) | ((in.readByte() & 0xff) << 24); in readUnsignedInt()
144 result >>>= (3 - zwidth) * 8; in readUnsignedInt()
147 result = (result >>> 8) | ((in.readByte() & 0xff) << 24); in readUnsignedInt()
150 return result; in readUnsignedInt()
159 long result = 0; in readSignedLong() local
[all …]
/dalvik/dx/src/com/android/dx/ssa/
DSsaInsn.java34 private RegisterSpec result; field in SsaInsn
43 protected SsaInsn(RegisterSpec result, SsaBasicBlock block) { in SsaInsn() argument
49 this.result = result; in SsaInsn()
79 return result; in getResult()
87 protected void setResult(RegisterSpec result) { in setResult() argument
88 if (result == null) { in setResult()
92 this.result = result; in setResult()
119 return result != null && result.getReg() == reg; in isResultReg()
130 if (result != null) { in changeResultReg()
131 result = result.withReg(reg); in changeResultReg()
[all …]
DSsaConverter.java44 SsaMethod result in convertToSsaMethod() local
47 edgeSplit(result); in convertToSsaMethod()
49 LocalVariableInfo localInfo = LocalVariableExtractor.extract(result); in convertToSsaMethod()
51 placePhiFunctions(result, localInfo, 0); in convertToSsaMethod()
52 new SsaRenamer(result).run(); in convertToSsaMethod()
58 result.makeExitBlock(); in convertToSsaMethod()
60 return result; in convertToSsaMethod()
87 SsaMethod result; in testEdgeSplit() local
89 result = SsaMethod.newFromRopMethod(rmeth, paramWidth, isStatic); in testEdgeSplit()
91 edgeSplit(result); in testEdgeSplit()
[all …]
DLocalVariableExtractor.java142 RegisterSpec result; in processBlock() local
144 result = insn.getLocalAssignment(); in processBlock()
146 if (result == null) { in processBlock()
149 result = insn.getResult(); in processBlock()
151 if (result != null && primaryState.get(result.getReg()) != null) { in processBlock()
152 primaryState.remove(primaryState.get(result.getReg())); in processBlock()
157 result = result.withSimpleType(); in processBlock()
159 RegisterSpec already = primaryState.get(result); in processBlock()
165 if (!result.equals(already)) { in processBlock()
172 = primaryState.localItemToSpec(result.getLocalItem()); in processBlock()
[all …]
/dalvik/dx/src/com/android/dx/dex/file/
DAnnotationUtils.java94 Annotation result = new Annotation(ANNOTATION_DEFAULT_TYPE, SYSTEM); in makeAnnotationDefault() local
96 result.put(new NameValuePair(VALUE_STRING, new CstAnnotation(defaults))); in makeAnnotationDefault()
97 result.setImmutable(); in makeAnnotationDefault()
98 return result; in makeAnnotationDefault()
108 Annotation result = new Annotation(ENCLOSING_CLASS_TYPE, SYSTEM); in makeEnclosingClass() local
110 result.put(new NameValuePair(VALUE_STRING, clazz)); in makeEnclosingClass()
111 result.setImmutable(); in makeEnclosingClass()
112 return result; in makeEnclosingClass()
122 Annotation result = new Annotation(ENCLOSING_METHOD_TYPE, SYSTEM); in makeEnclosingMethod() local
124 result.put(new NameValuePair(VALUE_STRING, method)); in makeEnclosingMethod()
[all …]
DTypeIdsSection.java65 IndexedItem result = typeIds.get(type); in get() local
67 if (result == null) { in get()
71 return result; in get()
115 TypeIdItem result = typeIds.get(type); in intern() local
117 if (result == null) { in intern()
118 result = new TypeIdItem(new CstType(type)); in intern()
119 typeIds.put(type, result); in intern()
122 return result; in intern()
139 TypeIdItem result = typeIds.get(typePerSe); in intern() local
141 if (result == null) { in intern()
[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/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 …]
DPrototype.java63 Prototype result = internTable.get(descriptor); in intern() local
64 if (result != null) { in intern()
65 return result; in intern()
68 result = fromDescriptor(descriptor); in intern()
69 return putIntern(result); in intern()
85 Prototype result = internTable.get(descriptor); in fromDescriptor() local
86 if (result != null) { in fromDescriptor()
87 return result; in fromDescriptor()
299 int result = returnType.compareTo(other.returnType); in compareTo() local
301 if (result != 0) { in compareTo()
[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/annotation/
DAnnotations.java52 Annotations result = new Annotations(); in combine() local
54 result.addAll(a1); in combine()
55 result.addAll(a2); in combine()
56 result.setImmutable(); in combine()
58 return result; in combine()
73 Annotations result = new Annotations(); in combine() local
75 result.addAll(annotations); in combine()
76 result.add(annotation); in combine()
77 result.setImmutable(); in combine()
79 return result; in combine()
[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/dex/cf/
DAttributeTranslator.java90 Annotations result = getAnnotations0(attribs); in getAnnotations() local
95 result = Annotations.combine(result, signature); in getAnnotations()
99 result = Annotations.combine(result, sourceDebugExtension); in getAnnotations()
102 return result; in getAnnotations()
122 Annotations result = getAnnotations(attribs); in getClassAnnotations() local
130 result = Annotations.combine(result, innerClassAnnotations); in getClassAnnotations()
137 result = Annotations.combine(result, enclosingMethod); in getClassAnnotations()
144 result = Annotations.combine(result, annotationDefault); in getClassAnnotations()
148 return result; in getClassAnnotations()
160 Annotations result = getAnnotations(method.getAttributes()); in getMethodAnnotations() local
[all …]
/dalvik/dx/src/com/android/dx/cf/code/
DMerger.java50 OneLocalsArray result = null; in mergeLocals() local
66 if (result == null) { in mergeLocals()
67 result = locals1.copy(); in mergeLocals()
71 result.invalidate(i); in mergeLocals()
73 result.set(i, resultType); in mergeLocals()
78 if (result == null) { in mergeLocals()
82 result.setImmutable(); in mergeLocals()
83 return result; in mergeLocals()
102 ExecutionStack result = null; in mergeStack() local
118 if (result == null) { in mergeStack()
[all …]

123456789