Home
last modified time | relevance | path

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

12345678910

/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/libcore/luni/src/main/native/
Dhycomp.h127 #define HYCONST64(x) x##LL argument
229 #define HYCONST64(x) x##L argument
267 #define PROTOTYPE(x) x argument
270 #define PROTOTYPE(x) () argument
299 #define I8(x) ((I_8) (x)) argument
300 #define I8P(x) ((I_8 *) (x)) argument
301 #define U16(x) ((U_16) (x)) argument
302 #define I16(x) ((I_16) (x)) argument
303 #define I16P(x) ((I_16 *) (x)) argument
304 #define U32(x) ((U_32) (x)) 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/etc/
Dbytecode.txt23 00 10x n nop
24 01 12x y move
25 02 22x y move/from16
26 03 32x y move/16
27 04 12x y move-wide
28 05 22x y move-wide/from16
29 06 32x y move-wide/16
30 07 12x y move-object
31 08 22x y move-object/from16
32 09 32x y move-object/16
[all …]
/dalvik/vm/alloc/
Dclz.c28 int dvmClzImpl(unsigned int x) in dvmClzImpl() argument
35 return __builtin_clz(x); in dvmClzImpl()
40 if (!x) return 32; in dvmClzImpl()
42 if (x&0xFFFF0000) { e -=16; x >>=16; } in dvmClzImpl()
43 if (x&0x0000FF00) { e -= 8; x >>= 8; } in dvmClzImpl()
44 if (x&0x000000F0) { e -= 4; x >>= 4; } in dvmClzImpl()
45 if (x&0x0000000C) { e -= 2; x >>= 2; } in dvmClzImpl()
46 if (x&0x00000002) { e -= 1; } in dvmClzImpl()
Dclz.h34 # define CLZ(x) __builtin_clz(x) argument
40 # define CLZ(x) dvmClzImpl(x) argument
41 int dvmClzImpl(unsigned int x);
/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()
47 public static synchronized void testStatic2(Object x) { in testStatic2() argument
48 x.hashCode(); in testStatic2()
51 public static synchronized int testStatic3(int x, int y, int z) { in testStatic3() argument
52 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 …]
/dalvik/libcore/archive/src/main/java/java/util/zip/
DCheckedInputStream.java59 int x = in.read(); in read() local
60 if (x != -1) { in read()
61 check.update(x); in read()
63 return x; in read()
85 int x = in.read(buf, off, nbytes); in read() local
86 if (x != -1) { in read()
87 check.update(buf, off, x); in read()
89 return x; in read()
118 int x, v; in skip() local
120 x = in.read(b, 0, in skip()
[all …]
/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/libcore/security/src/main/java/org/bouncycastle/crypto/generators/
DDHKeyGeneratorHelper.java25 BigInteger x; in calculatePrivate() local
29 x = createInRange(pSub2, random); in calculatePrivate()
35 x = new BigInteger(limit, random); in calculatePrivate()
37 while (x.equals(ZERO)); in calculatePrivate()
40 return x; in calculatePrivate()
45 BigInteger x; in createInRange() local
51 x = new BigInteger(maxLength, random); in createInRange()
54 while ((x.equals(ZERO) || x.compareTo(max) > 0) && count != MAX_ITERATIONS); in createInRange()
61 return x; in createInRange()
64 BigInteger calculatePublic(BigInteger p, BigInteger g, BigInteger x) in calculatePublic() argument
[all …]
/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/libcore/security/src/main/java/org/bouncycastle/crypto/digests/
DSHA256Digest.java238 int x, in Ch() argument
242 return (x & y) ^ ((~x) & z); in Ch()
246 int x, in Maj() argument
250 return (x & y) ^ (x & z) ^ (y & z); in Maj()
254 int x) in Sum0() argument
256 return ((x >>> 2) | (x << 30)) ^ ((x >>> 13) | (x << 19)) ^ ((x >>> 22) | (x << 10)); in Sum0()
260 int x) in Sum1() argument
262 return ((x >>> 6) | (x << 26)) ^ ((x >>> 11) | (x << 21)) ^ ((x >>> 25) | (x << 7)); in Sum1()
266 int x) in Theta0() argument
268 return ((x >>> 7) | (x << 25)) ^ ((x >>> 18) | (x << 14)) ^ (x >>> 3); in Theta0()
[all …]
DSHA224Digest.java236 int x, in Ch() argument
240 return ((x & y) ^ ((~x) & z)); in Ch()
244 int x, in Maj() argument
248 return ((x & y) ^ (x & z) ^ (y & z)); in Maj()
252 int x) in Sum0() argument
254 return ((x >>> 2) | (x << 30)) ^ ((x >>> 13) | (x << 19)) ^ ((x >>> 22) | (x << 10)); in Sum0()
258 int x) in Sum1() argument
260 return ((x >>> 6) | (x << 26)) ^ ((x >>> 11) | (x << 21)) ^ ((x >>> 25) | (x << 7)); in Sum1()
264 int x) in Theta0() argument
266 return ((x >>> 7) | (x << 25)) ^ ((x >>> 18) | (x << 14)) ^ (x >>> 3); in Theta0()
[all …]
DLongDigest.java310 long x, in Ch() argument
314 return ((x & y) ^ ((~x) & z)); in Ch()
318 long x, in Maj() argument
322 return ((x & y) ^ (x & z) ^ (y & z)); in Maj()
326 long x) in Sum0() argument
328 return ((x << 36)|(x >>> 28)) ^ ((x << 30)|(x >>> 34)) ^ ((x << 25)|(x >>> 39)); in Sum0()
332 long x) in Sum1() argument
334 return ((x << 50)|(x >>> 14)) ^ ((x << 46)|(x >>> 18)) ^ ((x << 23)|(x >>> 41)); in Sum1()
338 long x) in Sigma0() argument
340 return ((x << 63)|(x >>> 1)) ^ ((x << 56)|(x >>> 8)) ^ (x >>> 7); in Sigma0()
[all …]
/dalvik/libcore/luni/src/test/java/tests/api/java/lang/reflect/
DArrayTest.java43 int[] x = { 1 }; in test_getLjava_lang_ObjectI() local
47 ret = Array.get(x, 0); in test_getLjava_lang_ObjectI()
64 ret = Array.get(x, 4); in test_getLjava_lang_ObjectI()
117 boolean[] x = { true }; in test_getBooleanLjava_lang_ObjectI()
121 ret = Array.getBoolean(x, 0); in test_getBooleanLjava_lang_ObjectI()
137 ret = Array.getBoolean(x, 4); in test_getBooleanLjava_lang_ObjectI()
169 byte[] x = { 1 }; in test_getByteLjava_lang_ObjectI()
173 ret = Array.getByte(x, 0); in test_getByteLjava_lang_ObjectI()
189 ret = Array.getByte(x, 4); in test_getByteLjava_lang_ObjectI()
221 char[] x = { 1 }; in test_getCharLjava_lang_ObjectI() local
[all …]
DFieldTest.java139 private static final int x = 1; field in FieldTest.TestField
173 TestField x = new TestField(); in test_equalsLjava_lang_Object() local
176 f = x.getClass().getDeclaredField("shortField"); in test_equalsLjava_lang_Object()
182 assertTrue("Inherited Field returned false", f.equals(x.getClass() in test_equalsLjava_lang_Object()
203 TestField x = new TestField(); in test_getLjava_lang_Object() local
204 Field f = x.getClass().getDeclaredField("doubleField"); in test_getLjava_lang_Object()
205 Double val = (Double) f.get(x); in test_getLjava_lang_Object()
210 f = x.getClass().getDeclaredField("doubleSField"); in test_getLjava_lang_Object()
211 f.set(x, new Double(1.0)); in test_getLjava_lang_Object()
212 val = (Double) f.get(x); in test_getLjava_lang_Object()
[all …]
/dalvik/libcore/sql/src/main/java/java/sql/
DResultSet.java1339 public void updateArray(int columnIndex, Array x) throws SQLException; in updateArray() argument
1352 public void updateArray(String columnName, Array x) throws SQLException; in updateArray() argument
1366 public void updateAsciiStream(int columnIndex, InputStream x, int length) in updateAsciiStream() argument
1381 public void updateAsciiStream(String columnName, InputStream x, int length) in updateAsciiStream() argument
1395 public void updateBigDecimal(int columnIndex, BigDecimal x) in updateBigDecimal() argument
1409 public void updateBigDecimal(String columnName, BigDecimal x) in updateBigDecimal() argument
1424 public void updateBinaryStream(int columnIndex, InputStream x, int length) in updateBinaryStream() argument
1439 public void updateBinaryStream(String columnName, InputStream x, int length) in updateBinaryStream() argument
1453 public void updateBlob(int columnIndex, Blob x) throws SQLException; in updateBlob() argument
1466 public void updateBlob(String columnName, Blob x) throws SQLException; in updateBlob() argument
[all …]
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/params/
DDHPrivateKeyParameters.java8 private BigInteger x; field in DHPrivateKeyParameters
11 BigInteger x, in DHPrivateKeyParameters() argument
16 this.x = x; in DHPrivateKeyParameters()
21 return x; in getX()
34 if (!pKey.getX().equals(x)) in equals()
DDSAPrivateKeyParameters.java8 private BigInteger x; field in DSAPrivateKeyParameters
11 BigInteger x, in DSAPrivateKeyParameters() argument
16 this.x = x; in DSAPrivateKeyParameters()
21 return x; in getX()

12345678910