Home
last modified time | relevance | path

Searched refs:x (Results 1 – 25 of 106) sorted by relevance

12345

/dalvik/dx/tests/064-dex-array-access/
DBlort.java19 public boolean test01(boolean[] x) { in test01() argument
20 x[0] = true; in test01()
21 return x[1]; in test01()
24 public byte test02(byte[] x) { in test02() argument
25 x[0] = 5; in test02()
26 return x[1]; in test02()
29 public short test03(short[] x) { in test03() argument
30 x[0] = 5; in test03()
31 return x[1]; in test03()
34 public char test04(char[] x) { in test04() argument
[all …]
/dalvik/dx/tests/078-dex-local-variable-table/
DBlort.java19 public static void test01(Object x) { in test01() argument
20 x.hashCode(); in test01()
28 public static String test03(int x) { in test03() argument
33 public static String test04(int x) { in test04() argument
35 if (x < 0) { in test04()
41 public static int test05(Object x) { in test05() argument
42 int[] arr = (int[]) x; in test05()
47 public static int test06(int x) { in test06() argument
48 if (x < 10) { in test06()
58 public static void test07(boolean x) { in test07() argument
[all …]
/dalvik/dx/tests/067-dex-switch-and-try/
DBlort.java24 public int test1(int x) { in test1() argument
26 switch (x) { in test1()
28 x = 10; in test1()
32 x = 20; in test1()
40 return x; in test1()
44 public int test2(int x) { in test2() argument
46 switch (x) { in test2()
48 x = 10; in test2()
53 x = 20; in test2()
61 return x; in test2()
[all …]
/dalvik/docs/
Dporting-proto.c.txt38 s4 iadd32(s4 x, s4 y) { return x + y; }
39 s8 iadd64(s8 x, s8 y) { return x + y; }
40 float fadd32(float x, float y) { return x + y; }
41 double fadd64(double x, double y) { return x + y; }
43 s4 isub32(s4 x, s4 y) { return x - y; }
44 s8 isub64(s8 x, s8 y) { return x - y; }
45 float fsub32(float x, float y) { return x - y; }
46 double fsub64(double x, double y) { return x - y; }
48 s4 irsub32lit8(s4 x) { return 25 - x; }
50 s4 imul32(s4 x, s4 y) { return x * y; }
[all …]
/dalvik/dx/tests/072-dex-switch-edge-cases/
DBlort.java22 public int test1(int x) { in test1() argument
23 switch (x) { in test1()
31 public int test2(int x) { in test2() argument
32 switch (x) { in test2()
40 public int test3(int x) { in test3() argument
41 switch (x) { in test3()
49 public int test4(int x) { in test4() argument
50 switch (x) { in test4()
58 public int test5(int x) { in test5() argument
59 switch (x) { in test5()
[all …]
/dalvik/dx/tests/070-dex-multianewarray/
DBlort.java20 Object[][] x = new Object[2][5]; in test01() local
21 return x; in test01()
25 Object[][][] x = new Object[4][1][]; in test02() local
26 return x; in test02()
30 Object[][][] x = new Object[7][2][4]; in test03() local
31 return x; in test03()
35 Object[][][] x = new Object[3][0][0]; in test04() local
36 return x; in test04()
40 Object[][][][] x = new Object[1][3][5][7]; in test05() local
41 return x; in test05()
[all …]
/dalvik/dx/tests/062-dex-synch-method/
DBlort.java23 public synchronized void testInstance2(Object x) { in testInstance2() argument
24 x.hashCode(); in testInstance2()
27 public synchronized int testInstance3(int x, int y, int z) { in testInstance3() argument
28 if (x == 1) { in testInstance3()
35 public synchronized long testInstance4(long x) { in testInstance4() argument
36 if (x == 1) { in testInstance4()
51 public static synchronized void testStatic2(Object x) { in testStatic2() argument
52 x.hashCode(); in testStatic2()
55 public static synchronized int testStatic3(int x, int y, int z) { in testStatic3() argument
56 if (x == 1) { in testStatic3()
[all …]
/dalvik/dx/tests/046-dex-exceptions/
DBlort.java19 public static int maybeThrow(int x) { in maybeThrow() argument
20 if (x < 10) { in maybeThrow()
24 return x; in maybeThrow()
27 public static int exTest1(int x) { in exTest1() argument
29 maybeThrow(x); in exTest1()
36 public static int exTest2(int x) { in exTest2() argument
38 x++; in exTest2()
39 x = maybeThrow(x); in exTest2()
47 x++; in exTest2()
53 return maybeThrow(x); in exTest2()
/dalvik/tests/003-omnibus-opcodes/src/
DIntMath.java117 static int[] intOperTest(int x, int y) { in intOperTest() argument
123 results[0] = x + y; in intOperTest()
124 results[1] = x - y; in intOperTest()
125 results[2] = x * y; in intOperTest()
126 results[3] = x * x; in intOperTest()
127 results[4] = x / y; in intOperTest()
128 results[5] = x % -y; in intOperTest()
129 results[6] = x & y; in intOperTest()
130 results[7] = x | y; in intOperTest()
131 results[8] = x ^ y; in intOperTest()
[all …]
DFloatMath.java121 static float[] floatOperTest(float x, float y) { in floatOperTest() argument
127 results[0] = x + y; in floatOperTest()
128 results[1] = x - y; in floatOperTest()
129 results[2] = x * y; in floatOperTest()
130 results[3] = x / y; in floatOperTest()
131 results[4] = x % -y; in floatOperTest()
134 results[8] = x + (((((x + y) - y) * y) / y) % y); in floatOperTest()
151 static double[] doubleOperTest(double x, double y) { in doubleOperTest() argument
157 results[0] = x + y; in doubleOperTest()
158 results[1] = x - y; in doubleOperTest()
[all …]
/dalvik/vm/
DCommon.h47 # define assert(x) \ argument
48 ((x) ? ((void)0) : (LOGE("ASSERT FAILED (%s:%d): %s", \
49 __FILE__, __LINE__, #x), *(int*)39=39, (void)0) )
52 #define MIN(x,y) (((x) < (y)) ? (x) : (y)) argument
53 #define MAX(x,y) (((x) > (y)) ? (x) : (y)) argument
58 #define ALIGN_UP(x, n) (((size_t)(x) + (n) - 1) & ~((n) - 1)) argument
59 #define ALIGN_DOWN(x, n) ((size_t)(x) & -(n)) argument
63 #define CLZ(x) __builtin_clz(x) argument
121 #define NELEM(x) ((int) (sizeof(x) / sizeof((x)[0]))) argument
DSync.h29 #define LW_SHAPE(x) ((x) & LW_SHAPE_MASK) argument
40 #define LW_HASH_STATE(x) (((x) >> LW_HASH_STATE_SHIFT) & LW_HASH_STATE_MASK) argument
46 #define LW_MONITOR(x) \ argument
47 ((Monitor*)((x) & ~((LW_HASH_STATE_MASK << LW_HASH_STATE_SHIFT) | \
56 #define LW_LOCK_OWNER(x) (((x) >> LW_LOCK_OWNER_SHIFT) & LW_LOCK_OWNER_MASK) argument
64 #define LW_LOCK_COUNT(x) (((x) >> LW_LOCK_COUNT_SHIFT) & LW_LOCK_COUNT_MASK) argument
/dalvik/dx/tests/069-dex-source-position/
DBlort.java19 public static int test(int x) { in test() argument
20 if (x == 0) { // line 6 in test()
24 x = test(x - 1); // line 10 in test()
28 x += test(x - 2); // line 14 in test()
29 return x; // line 15 in test()
/dalvik/dx/tests/063-dex-empty-switch/
DBlort.java19 public int test1(int x) { in test1() argument
20 switch (x) { in test1()
25 public int test2(int x) { in test2() argument
26 switch (x) { in test2()
27 default: x = 1; in test2()
30 return x; in test2()
/dalvik/dx/tests/086-ssa-edge-split/
DBlort.java25 public int edgeSplitPredTest(int x) { in edgeSplitPredTest() argument
29 Integer.toString(x); in edgeSplitPredTest()
30 Integer.toString(x); in edgeSplitPredTest()
61 int edgeSplitSuccessor(int x) { in edgeSplitSuccessor() argument
64 switch(x) { in edgeSplitSuccessor()
/dalvik/dx/tests/045-dex-switch-ops/
DBlort.java19 public int switchTest1(int x) { in switchTest1() argument
20 switch (x) { in switchTest1()
38 public int switchTest2(int x) { in switchTest2() argument
39 switch (x) { in switchTest2()
/dalvik/dx/tests/097-dex-branch-offset-zero/
DBlort.java23 public void test2(int x) { in test2() argument
24 while (x > 0) /*empty*/ ; in test2()
27 public void test3(int x, int y) { in test3() argument
28 while (x < y) /*empty*/ ; in test3()
/dalvik/opcode-gen/
Dbytecode.txt25 # Note: The family that starts with 12x has a mix of both two- and
32 format 10x
34 format 11x
35 format 12x 22x 23x 32x 33x # See note, above.
44 format 00x
87 op 00 nop 10x n none continue
88 op 01 move 12x y none continue
89 op 02 move/from16 22x y none continue
90 op 03 move/16 32x y none continue
91 op 04 move-wide 12x y none continue
[all …]
/dalvik/dx/tests/047-dex-wide-args/
DBlort.java19 public static long test1(int w, long x, int y, long z) { in test1() argument
20 return w + x + y + z; in test1()
23 public static long test2(long w, int x, long y, int z) { in test2() argument
24 return w + x + y + z; in test2()
/dalvik/dx/tests/061-dex-try-catch/
DBlort.java23 public static void zorch(int x) { in zorch() argument
27 public static void test1(int x) { in test1() argument
30 x = 0; in test1()
40 int x = sa.length; in test2() local
/dalvik/dx/tests/004-cp-bottom-up/
Dsmall-class.txt18 01 0007 "x/y/Zzz" # 0006: utf8["x/y/Zzz"]
20 0c 0005 0006 # 0008: nat[blort:x/y/Zzz]
22 09 0003 0008 # 000a: field[Small.blort:x/y/Zzz]
/dalvik/dx/tests/075-dex-cat2-value-merge/
DBlort.java21 long x = 0; in test() local
24 x += arr[0]; in test()
/dalvik/dx/tests/049-dex-instanceof/
DBlort.java19 public static boolean test(Object x) { in test() argument
20 return x instanceof Blort; in test()
/dalvik/dx/tests/050-dex-checkcast/
DBlort.java19 public static Blort test(Object x) { in test() argument
20 return (Blort) x; in test()
/dalvik/dx/tests/051-dex-explicit-null/
DBlort.java23 public static void test2(Object x) { in test2() argument
24 x = null; in test2()

12345