Home
last modified time | relevance | path

Searched refs:null (Results 1 – 25 of 441) sorted by relevance

12345678910>>...18

/dalvik/dx/tests/111-use-null-as-array/
DBlort.java19 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 …]
Dexpected.txt3 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/
DBlort.java20 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/tests/031-class-attributes/
Dexpected.txt5 genericSignature: null
7 declaring: null
8 enclosing: null
9 enclosingCon: null
10 enclosingMeth: null
12 package: null
28 genericSignature: null
30 declaring: null
31 enclosing: null
32 enclosingCon: null
[all …]
/dalvik/tests/084-old-style-inner-class/
Dexpected.txt2 getDeclaringClass(): (null)
3 getEnclosingClass(): (null)
4 getEnclosingMethod(): (null)
6 getDeclaringClass(): (null)
7 getEnclosingClass(): (null)
8 getEnclosingMethod(): (null)
/dalvik/dx/src/com/android/dx/dex/file/
DAnnotationsDirectoryItem.java61 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 …]
DDebugInfoItem.java49 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()
DDebugInfoEncoder.java131 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 …]
DMapItem.java69 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/rop/code/
DLocalItem.java41 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()
DRopMethod.java52 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()
DRegisterSpecSet.java77 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 …]
/dalvik/tests/044-proxy/src/
DMain.java22 BasicTest.main(null); in main()
23 Clash.main(null); in main()
24 Clash2.main(null); in main()
25 Clash3.main(null); in main()
26 Clash4.main(null); in main()
27 WrappedThrow.main(null); in main()
/dalvik/tests/082-inline-execute/src/junit/framework/
DAssert.java27 assertTrue(null, condition); in assertTrue()
41 assertFalse(null, condition); in assertFalse()
53 fail(null); in fail()
60 if (expected == null && actual == null) in assertEquals()
62 if (expected != null && expected.equals(actual)) in assertEquals()
71 assertEquals(null, expected, actual); in assertEquals()
77 if (expected == null && actual == null) in assertEquals()
79 if (expected != null && expected.equals(actual)) in assertEquals()
87 assertEquals(null, expected, actual); in assertEquals()
108 assertEquals(null, expected, actual, delta); in assertEquals()
[all …]
/dalvik/tests/021-string2/src/junit/framework/
DAssert.java27 assertTrue(null, condition); in assertTrue()
41 assertFalse(null, condition); in assertFalse()
53 fail(null); in fail()
60 if (expected == null && actual == null) in assertEquals()
62 if (expected != null && expected.equals(actual)) in assertEquals()
71 assertEquals(null, expected, actual); in assertEquals()
77 if (expected == null && actual == null) in assertEquals()
79 if (expected != null && expected.equals(actual)) in assertEquals()
87 assertEquals(null, expected, actual); in assertEquals()
108 assertEquals(null, expected, actual, delta); in assertEquals()
[all …]
/dalvik/dx/src/junit/framework/
DAssert.java27 assertTrue(null, condition); in assertTrue()
41 assertFalse(null, condition); in assertFalse()
53 fail(null); in fail()
60 if (expected == null && actual == null) in assertEquals()
62 if (expected != null && expected.equals(actual)) in assertEquals()
71 assertEquals(null, expected, actual); in assertEquals()
77 if (expected == null && actual == null) in assertEquals()
79 if (expected != null && expected.equals(actual)) in assertEquals()
87 assertEquals(null, expected, actual); in assertEquals()
108 assertEquals(null, expected, actual, delta); in assertEquals()
[all …]
/dalvik/tests/049-show-object/
Dexpected.txt3 0: null
4 1: null
5 2: null
6 3: null
7 4: null
/dalvik/tests/052-verifier-fun/src/
DMain.java29 default: return null; in arrayCheck1()
46 default: return null; in arrayCheck1b()
63 default: return null; in arrayCheck2()
77 default: return null; in arrayCheck3()
85 if(this == null) { in typeTest()
86 return (Class<?>[])null; in typeTest()
88 return (Type[])null; in typeTest()
96 BlahFeature feature = null; // interface ref in tryBlah()
/dalvik/dx/src/com/android/dx/dex/code/
DDalvCode.java83 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/src/com/android/dx/rop/cst/
DStdConstantPool.java68 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/tests/064-field-access/src/
DMain.java26 SubOther.main(null); in main()
29 GetNonexistent.main(null); in main()
54 Object result = null; in getValue()
89 if (expectedException != null) { in getValue()
96 if (expectedException == null) { in getValue()
181 localInst.getValue(localPubByteField, samePkgInst, 'B', null); in doTests()
186 this.getValue(localProtByteField, samePkgInst, 'B', null); in doTests()
204 null); in doTests()
215 localInst.getValue(localPubByteField, null, 'B', in doTests()
218 this.getValue(subProtLongField, null, 'J', in doTests()
[all …]
/dalvik/tests/036-finalizer/
Dexpected.txt4 wimp: null
6 wimp: null
9 wimp: null
14 wimp: null
/dalvik/dx/src/junit/runner/
DTestCaseClassLoader.java86 if (c != null) in loadClass()
100 if (c == null) { in loadClass()
102 if (data == null) in loadClass()
112 byte[] data= null; in lookupClassData()
121 if (data != null) in lookupClassData()
138 return null; in loadFileData()
155 return null; in getClassData()
159 ZipFile zipFile= null; in loadJarData()
160 InputStream stream= null; in loadJarData()
163 return null; in loadJarData()
[all …]
/dalvik/dx/src/com/android/dx/ssa/
DSsaInsn.java40 if (block == null) { in SsaInsn()
84 if (result == null) { in setResult()
115 return result != null && result.getReg() == reg; in isResultReg()
126 if (result != null) { in changeResultReg()
140 if (local != oldItem && (local == null in setResultLocal()
197 if (result != null && result.getLocalItem() != null) { in getLocalAssignment()
201 return null; in getLocalAssignment()
212 return null != getSources().specForRegister(reg); in isRegASource()
/dalvik/dx/src/com/android/dx/dex/cf/
DAttributeTranslator.java75 if (exceptions == null) { in getExceptions()
95 if (signature != null) { in getAnnotations()
125 enclosingMethod == null); in getClassAnnotations()
126 if (innerClassAnnotations != null) { in getClassAnnotations()
133 if (enclosingMethod != null) { in getClassAnnotations()
140 if (annotationDefault != null) { in getClassAnnotations()
184 if (visible == null) { in getAnnotations0()
185 if (invisible == null) { in getAnnotations0()
191 if (invisible == null) { in getAnnotations0()
213 if (signature == null) { in getSignature()
[all …]

12345678910>>...18