/dalvik/dx/tests/111-use-null-as-array/ |
D | Blort.java | 19 boolean[] arr = null; in test_getBooleanArray() 24 byte[] arr = null; in test_getByteArray() 29 char[] arr = null; in test_getCharArray() 34 double[] arr = null; in test_getDoubleArray() 39 float[] arr = null; in test_getFloatArray() 44 int[] arr = null; in test_getIntArray() 49 long[] arr = null; in test_getLongArray() 54 Object[] arr = null; in test_getObjectArray() 59 short[] arr = null; in test_getShortArray() 64 boolean[] arr = null; in test_setBooleanArray() [all …]
|
D | expected.txt | 3 0000: const/4 v0, #null // #0 9 0000: const/4 v0, #null // #0 15 0000: const/4 v0, #null // #0 21 0000: const/4 v0, #null // #0 27 0000: const/4 v0, #null // #0 33 0000: const/4 v0, #null // #0 39 0000: const/4 v0, #null // #0 45 0000: const/4 v0, #null // #0 51 0000: const/4 v0, #null // #0 58 0001: const/4 v0, #null // #0 [all …]
|
/dalvik/dx/tests/073-dex-null-array-refs/ |
D | Blort.java | 20 return ((Object[]) null)[0]; in test1() 24 ((Object[]) null)[0] = null; in test2() 28 return ((Object[]) null).length; in test3() 32 Object[] arr = null; in test4() 37 Object[] arr = null; in test5() 38 arr[0] = null; in test5() 42 Object[] arr = null; in test6() 48 arr = null; in test7() 56 arr = null; in test8() 59 arr[0] = null; in test8() [all …]
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
D | AnnotationsDirectoryItem.java | 61 classAnnotations = null; in AnnotationsDirectoryItem() 62 fieldAnnotations = null; in AnnotationsDirectoryItem() 63 methodAnnotations = null; in AnnotationsDirectoryItem() 64 parameterAnnotations = null; in AnnotationsDirectoryItem() 80 return (classAnnotations == null) && in isEmpty() 81 (fieldAnnotations == null) && in isEmpty() 82 (methodAnnotations == null) && in isEmpty() 83 (parameterAnnotations == null); in isEmpty() 95 return (classAnnotations != null) && in isInternable() 96 (fieldAnnotations == null) && in isInternable() [all …]
|
D | DebugInfoEncoder.java | 131 if (prefix != null) { in annotate() 135 if (annotateTo != null) { in annotate() 139 if (debugPrint != null) { in annotate() 202 if (annotateTo != null || debugPrint != null) { in convert0() 303 if ((prevEntry != null) && entry.matches(prevEntry)) { in emitLocalsAtAddress() 371 boolean annotate = (annotateTo != null) || (debugPrint != null); in emitHeader() 419 LocalList.Entry found = null; in emitHeader() 427 if (arg.getSignature() != null) { in emitHeader() 432 emitStringIndex(null); in emitHeader() 442 if (found == null) { in emitHeader() [all …]
|
D | DebugInfoItem.java | 49 if (code == null) { in DebugInfoItem() 76 encoded = encode(addedTo.getFile(), null, null, null, false); in place0() 101 encode(file, prefix, null, out, false); in annotateTo() 111 encode(null, prefix, out, null, false); in debugPrint() 124 encode(file, null, null, out, true); in writeTo0() 146 if (ENABLE_ENCODER_SELF_CHECK && (file != null)) { in encode() 152 encode0(file, "", new PrintWriter(System.err, true), null, in encode() 187 if ((debugPrint == null) && (out == null)) { in encode0()
|
D | MapItem.java | 69 if (sections == null) { in addMap() 81 ItemType currentType = null; in addMap() 82 Item firstItem = null; in addMap() 83 Item lastItem = null; in addMap() 128 if (type == null) { in MapItem() 132 if (section == null) { in MapItem() 136 if (firstItem == null) { in MapItem() 140 if (lastItem == null) { in MapItem() 164 if (section == null) { in MapItem() 170 this.firstItem = null; in MapItem() [all …]
|
/dalvik/dx/src/com/android/dx/dex/file/ |
D | AnnotationsDirectoryItem.java | 60 classAnnotations = null; in AnnotationsDirectoryItem() 61 fieldAnnotations = null; in AnnotationsDirectoryItem() 62 methodAnnotations = null; in AnnotationsDirectoryItem() 63 parameterAnnotations = null; in AnnotationsDirectoryItem() 79 return (classAnnotations == null) && in isEmpty() 80 (fieldAnnotations == null) && in isEmpty() 81 (methodAnnotations == null) && in isEmpty() 82 (parameterAnnotations == null); in isEmpty() 94 return (classAnnotations != null) && in isInternable() 95 (fieldAnnotations == null) && in isInternable() [all …]
|
D | DebugInfoEncoder.java | 139 if (prefix != null) { in annotate() 143 if (annotateTo != null) { in annotate() 147 if (debugPrint != null) { in annotate() 210 if (annotateTo != null || debugPrint != null) { in convert0() 311 if ((prevEntry != null) && entry.matches(prevEntry)) { in emitLocalsAtAddress() 379 boolean annotate = (annotateTo != null) || (debugPrint != null); in emitHeader() 427 LocalList.Entry found = null; in emitHeader() 435 if (arg.getSignature() != null) { in emitHeader() 440 emitStringIndex(null); in emitHeader() 450 if (found == null) { in emitHeader() [all …]
|
D | DebugInfoItem.java | 46 if (code == null) { in DebugInfoItem() 73 encoded = encode(addedTo.getFile(), null, null, null, false); in place0() 98 encode(file, prefix, null, out, false); in annotateTo() 108 encode(null, prefix, out, null, false); in debugPrint() 121 encode(file, null, null, out, true); in writeTo0() 143 if (ENABLE_ENCODER_SELF_CHECK && (file != null)) { in encode() 149 encode0(file, "", new PrintWriter(System.err, true), null, in encode() 184 if ((debugPrint == null) && (out == null)) { in encode0()
|
D | MapItem.java | 68 if (sections == null) { in addMap() 80 ItemType currentType = null; in addMap() 81 Item firstItem = null; in addMap() 82 Item lastItem = null; in addMap() 127 if (type == null) { in MapItem() 131 if (section == null) { in MapItem() 135 if (firstItem == null) { in MapItem() 139 if (lastItem == null) { in MapItem() 163 if (section == null) { in MapItem() 169 this.firstItem = null; in MapItem() [all …]
|
/dalvik/dexgen/src/com/android/dexgen/rop/code/ |
D | LocalItem.java | 41 if (name == null && signature == null) { in make() 42 return null; in make() 81 } else if (a == null) { in compareHandlesNulls() 83 } else if (b == null) { in compareHandlesNulls() 109 return (name == null ? 0 : name.hashCode()) * 31 in hashCode() 110 + (signature == null ? 0 : signature.hashCode()); in hashCode() 116 if (name != null && signature == null) { in toString() 118 } else if (name == null && signature == null) { in toString() 122 return "[" + (name == null ? "" : name.toQuoted()) in toString() 123 + "|" + (signature == null ? "" : signature.toQuoted()); in toString()
|
D | RegisterSpecSet.java | 77 if ((s1 == null) || !s1.equals(s2)) { in equals() 93 int oneHash = (spec == null) ? 0 : spec.hashCode(); in hashCode() 111 if (spec != null) { in toString() 149 if (specs[i] != null) { in size() 204 if (s == null) { in findMatchingLocal() 213 return null; in findMatchingLocal() 229 if ((spec != null) && local.equals(spec.getLocalItem())) { in localItemToSpec() 234 return null; in localItemToSpec() 245 specs[toRemove.getReg()] = null; in remove() 266 if (spec == null) { in put() [all …]
|
D | RopMethod.java | 52 if (blocks == null) { in RopMethod() 63 this.predecessors = null; in RopMethod() 64 this.exitPredecessors = null; in RopMethod() 94 if (exitPredecessors == null) { in labelToPredecessors() 100 if (result == null) { in labelToPredecessors() 113 if (exitPredecessors == null) { in getExitPredecessors() 133 if (exitPredecessors != null) { in withRegisterOffset() 173 if (succPreds == null) { in calcPredecessors() 185 if (preds != null) { in calcPredecessors() 200 if (predecessors[firstLabel] == null) { in calcPredecessors()
|
/dalvik/dx/src/com/android/dx/rop/code/ |
D | LocalItem.java | 41 if (name == null && signature == null) { in make() 42 return null; in make() 81 } else if (a == null) { in compareHandlesNulls() 83 } else if (b == null) { in compareHandlesNulls() 110 return (name == null ? 0 : name.hashCode()) * 31 in hashCode() 111 + (signature == null ? 0 : signature.hashCode()); in hashCode() 117 if (name != null && signature == null) { in toString() 119 } else if (name == null && signature == null) { in toString() 123 return "[" + (name == null ? "" : name.toQuoted()) in toString() 124 + "|" + (signature == null ? "" : signature.toQuoted()); in toString()
|
D | RegisterSpecSet.java | 76 if ((s1 == null) || !s1.equals(s2)) { in equals() 92 int oneHash = (spec == null) ? 0 : spec.hashCode(); in hashCode() 110 if (spec != null) { in toString() 148 if (specs[i] != null) { in size() 203 if (s == null) { in findMatchingLocal() 212 return null; in findMatchingLocal() 228 if ((spec != null) && local.equals(spec.getLocalItem())) { in localItemToSpec() 233 return null; in localItemToSpec() 244 specs[toRemove.getReg()] = null; in remove() 265 if (spec == null) { in put() [all …]
|
D | RopMethod.java | 51 if (blocks == null) { in RopMethod() 62 this.predecessors = null; in RopMethod() 63 this.exitPredecessors = null; in RopMethod() 93 if (exitPredecessors == null) { in labelToPredecessors() 99 if (result == null) { in labelToPredecessors() 112 if (exitPredecessors == null) { in getExitPredecessors() 132 if (exitPredecessors != null) { in withRegisterOffset() 172 if (succPreds == null) { in calcPredecessors() 184 if (preds != null) { in calcPredecessors() 199 if (predecessors[firstLabel] == null) { in calcPredecessors()
|
/dalvik/dx/src/com/android/dx/dex/cf/ |
D | AttributeTranslator.java | 73 if (exceptions == null) { in getExceptions() 94 if (signature != null) { in getAnnotations() 98 if (sourceDebugExtension != null) { in getAnnotations() 128 enclosingMethod == null); in getClassAnnotations() 129 if (innerClassAnnotations != null) { in getClassAnnotations() 136 if (enclosingMethod != null) { in getClassAnnotations() 143 if (annotationDefault != null) { in getClassAnnotations() 187 if (visible == null) { in getAnnotations0() 188 if (invisible == null) { in getAnnotations0() 194 if (invisible == null) { in getAnnotations0() [all …]
|
/dalvik/dx/src/com/android/dx/io/ |
D | CodeReader.java | 26 private Visitor fallbackVisitor = null; 27 private Visitor stringVisitor = null; 28 private Visitor typeVisitor = null; 29 private Visitor fieldVisitor = null; 30 private Visitor methodVisitor = null; 31 private Visitor methodAndProtoVisitor = null; 32 private Visitor callSiteVisitor = null; 99 if (one == null) { in visitAll() 114 Visitor visitor = null; in callVisit() 125 if (visitor == null) { in callVisit() [all …]
|
/dalvik/dx/src/com/android/dx/dex/code/ |
D | DalvCode.java | 82 if (unprocessedInsns == null) { in DalvCode() 86 if (unprocessedCatches == null) { in DalvCode() 93 this.catches = null; in DalvCode() 94 this.positions = null; in DalvCode() 95 this.locals = null; in DalvCode() 96 this.insns = null; in DalvCode() 103 if (insns != null) { in finishProcessingIfNecessary() 113 unprocessedInsns = null; in finishProcessingIfNecessary() 114 unprocessedCatches = null; in finishProcessingIfNecessary()
|
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
D | DalvCode.java | 83 if (unprocessedInsns == null) { in DalvCode() 87 if (unprocessedCatches == null) { in DalvCode() 94 this.catches = null; in DalvCode() 95 this.positions = null; in DalvCode() 96 this.locals = null; in DalvCode() 97 this.insns = null; in DalvCode() 104 if (insns != null) { in finishProcessingIfNecessary() 114 unprocessedInsns = null; in finishProcessingIfNecessary() 115 unprocessedCatches = null; in finishProcessingIfNecessary()
|
/dalvik/dx/tests/115-merge/com/android/dx/merge/ |
D | DexMergeTest.java | 52 (byte[]) fillArrayData.getMethod("newByteArray").invoke(null))); in testFillArrayData() 55 (char[]) fillArrayData.getMethod("newCharArray").invoke(null))); in testFillArrayData() 58 (long[]) fillArrayData.getMethod("newLongArray").invoke(null))); in testFillArrayData() 70 tryCatchFinally.getDeclaredMethod("method").invoke(null); in testTryCatchFinally() 82 assertEquals((byte) 1, staticValues.getField("a").get(null)); in testStaticValues() 83 assertEquals((short) 2, staticValues.getField("b").get(null)); in testStaticValues() 84 assertEquals('C', staticValues.getField("c").get(null)); in testStaticValues() 85 assertEquals(0xabcd1234, staticValues.getField("d").get(null)); in testStaticValues() 86 assertEquals(4660046610375530309L,staticValues.getField("e").get(null)); in testStaticValues() 87 assertEquals(0.5f, staticValues.getField("f").get(null)); in testStaticValues() [all …]
|
/dalvik/dx/src/com/android/dx/ssa/ |
D | SsaMethod.java | 227 null, RegisterSpecList.EMPTY), block); in getGoto() 273 return exitBlockIndex < 0 ? null : blocks.get(exitBlockIndex); in getExitBlock() 390 if (definitionList != null) { in getDefinitionForRegister() 408 if (result != null) { in getDefinitionForRegister() 478 if (useList == null) return; in onSourceChanged() 480 if (oldSource != null) { in onSourceChanged() 487 useList = null; in onSourceChanged() 503 if (useList == null) return; in onSourcesChanged() 505 if (oldSources != null) { in onSourcesChanged() 528 if (oldSources == null) { in removeFromUseList() [all …]
|
/dalvik/dexgen/src/com/android/dexgen/rop/cst/ |
D | StdConstantPool.java | 68 return null; in get0Ok() 79 if (result == null) { in get() 99 boolean cat2 = (cst != null) && cst.isCategory2(); in set() 111 entries[n + 1] = null; in set() 114 if ((cst != null) && (entries[n] == null)) { in set() 120 if ((prev != null) && prev.isCategory2()) { in set() 121 entries[n - 1] = null; in set()
|
/dalvik/dx/src/com/android/dx/rop/cst/ |
D | StdConstantPool.java | 71 return null; in get0Ok() 83 if (result == null) { in get() 113 boolean cat2 = (cst != null) && cst.isCategory2(); in set() 125 entries[n + 1] = null; in set() 128 if ((cst != null) && (entries[n] == null)) { in set() 134 if ((prev != null) && prev.isCategory2()) { in set() 135 entries[n - 1] = null; in set()
|