/libcore/ojluni/src/main/java/java/util/zip/ |
D | ZipUtils.java | 168 public static final int get16(byte b[], int off) { in get16() 176 public static final long get32(byte b[], int off) { in get32() 184 public static final long get64(byte b[], int off) { in get64() 193 public static final int get32S(byte b[], int off) { in get32S() 198 static final int CH(byte[] b, int n) { in CH() 202 static final int SH(byte[] b, int n) { in SH() 206 static final long LG(byte[] b, int n) { in LG() 210 static final long LL(byte[] b, int n) { in LL() 214 static final long GETSIG(byte[] b) { in GETSIG() 230 static final long LOCSIG(byte[] b) { return LG(b, 0); } // signature in LOCSIG() [all …]
|
/libcore/ojluni/src/main/native/ |
D | zip_util.h | 66 #define CH(b, n) (((unsigned char *)(b))[n]) argument 67 #define SH(b, n) (CH(b, n) | (CH(b, n+1) << 8)) argument 68 #define LG(b, n) ((SH(b, n) | (SH(b, n+2) << 16)) &0xffffffffUL) argument 69 #define LL(b, n) (((jlong)LG(b, n)) | (((jlong)LG(b, n+4)) << 32)) argument 70 #define GETSIG(b) LG(b, 0) argument 75 #define LOCVER(b) SH(b, 4) /* version needed to extract */ argument 76 #define LOCFLG(b) SH(b, 6) /* general purpose bit flags */ argument 77 #define LOCHOW(b) SH(b, 8) /* compression method */ argument 78 #define LOCTIM(b) LG(b, 10) /* modification time */ argument 79 #define LOCCRC(b) LG(b, 14) /* crc of uncompressed data */ argument [all …]
|
D | jlong_md.h | 35 #define jlong_add(a, b) ((a) + (b)) argument 36 #define jlong_and(a, b) ((a) & (b)) argument 37 #define jlong_div(a, b) ((a) / (b)) argument 38 #define jlong_mul(a, b) ((a) * (b)) argument 41 #define jlong_or(a, b) ((a) | (b)) argument 44 #define jlong_sub(a, b) ((a) - (b)) argument 45 #define jlong_xor(a, b) ((a) ^ (b)) argument 46 #define jlong_rem(a,b) ((a) % (b)) argument 53 #define jlong_eq(a, b) ((a) == (b)) argument 54 #define jlong_ne(a,b) ((a) != (b)) argument [all …]
|
/libcore/ojluni/src/main/java/java/io/ |
D | Bits.java | 39 static boolean getBoolean(byte[] b, int off) { in getBoolean() 43 static char getChar(byte[] b, int off) { in getChar() 48 static short getShort(byte[] b, int off) { in getShort() 53 static int getInt(byte[] b, int off) { in getInt() 60 static float getFloat(byte[] b, int off) { in getFloat() 64 static long getLong(byte[] b, int off) { in getLong() 75 static double getDouble(byte[] b, int off) { in getDouble() 84 static void putBoolean(byte[] b, int off, boolean val) { in putBoolean() 88 static void putChar(byte[] b, int off, char val) { in putChar() 93 static void putShort(byte[] b, int off, short val) { in putShort() [all …]
|
D | OutputStream.java | 82 public void write(int b) throws IOException { in nullOutputStream() 87 public void write(byte b[], int off, int len) throws IOException { in nullOutputStream() 114 public abstract void write(int b) throws IOException; in write() 126 public void write(byte b[]) throws IOException { in write() 158 public void write(byte b[], int off, int len) throws IOException { in write()
|
/libcore/ojluni/src/test/java/nio/Buffer/ |
D | BasicByte.java | 75 private static void relGet(ByteBuffer b) { in relGet() 82 private static void relGet(ByteBuffer b, int start) { in relGet() 89 private static void absGet(ByteBuffer b) { in absGet() 96 private static void bulkGet(ByteBuffer b) { in bulkGet() 105 private static void absBulkGet(ByteBuffer b) { in absBulkGet() 117 private static void relPut(ByteBuffer b) { in relPut() 125 private static void absPut(ByteBuffer b) { in absPut() 134 private static void bulkPutArray(ByteBuffer b) { in bulkPutArray() 144 private static void bulkPutBuffer(ByteBuffer b) { in bulkPutBuffer() 166 private static void absBulkPutArray(ByteBuffer b) { in absBulkPutArray() [all …]
|
D | Basic.java | 57 static String toString(Buffer b) { in toString() 65 static void show(int level, Buffer b) { in show() 75 static void fail(String s, Buffer b) { in fail() 79 static void fail(String s, Buffer b, Buffer b2) { in fail() 84 static void fail(Buffer b, in fail() 109 static void fail(Buffer b, long expected, long got) { in fail() 115 static void ck(Buffer b, boolean cond) { in ck() 120 static void ck(Buffer b, long got, long expected) { in ck() 125 static void ck(Buffer b, float got, float expected) { in ck() 132 static void ck(Buffer b, double got, double expected) { in ck()
|
D | BasicChar.java | 75 private static void relGet(CharBuffer b) { in relGet() 82 private static void relGet(CharBuffer b, int start) { in relGet() 89 private static void absGet(CharBuffer b) { in absGet() 96 private static void bulkGet(CharBuffer b) { in bulkGet() 105 private static void absBulkGet(CharBuffer b) { in absBulkGet() 117 private static void relPut(CharBuffer b) { in relPut() 125 private static void absPut(CharBuffer b) { in absPut() 134 private static void bulkPutArray(CharBuffer b) { in bulkPutArray() 144 private static void bulkPutBuffer(CharBuffer b) { in bulkPutBuffer() 166 private static void absBulkPutArray(CharBuffer b) { in absBulkPutArray() [all …]
|
D | BasicShort.java | 75 private static void relGet(ShortBuffer b) { in relGet() 82 private static void relGet(ShortBuffer b, int start) { in relGet() 89 private static void absGet(ShortBuffer b) { in absGet() 96 private static void bulkGet(ShortBuffer b) { in bulkGet() 105 private static void absBulkGet(ShortBuffer b) { in absBulkGet() 117 private static void relPut(ShortBuffer b) { in relPut() 125 private static void absPut(ShortBuffer b) { in absPut() 134 private static void bulkPutArray(ShortBuffer b) { in bulkPutArray() 144 private static void bulkPutBuffer(ShortBuffer b) { in bulkPutBuffer() 166 private static void absBulkPutArray(ShortBuffer b) { in absBulkPutArray() [all …]
|
D | BasicDouble.java | 75 private static void relGet(DoubleBuffer b) { in relGet() 82 private static void relGet(DoubleBuffer b, int start) { in relGet() 89 private static void absGet(DoubleBuffer b) { in absGet() 96 private static void bulkGet(DoubleBuffer b) { in bulkGet() 105 private static void absBulkGet(DoubleBuffer b) { in absBulkGet() 117 private static void relPut(DoubleBuffer b) { in relPut() 125 private static void absPut(DoubleBuffer b) { in absPut() 134 private static void bulkPutArray(DoubleBuffer b) { in bulkPutArray() 144 private static void bulkPutBuffer(DoubleBuffer b) { in bulkPutBuffer() 166 private static void absBulkPutArray(DoubleBuffer b) { in absBulkPutArray() [all …]
|
D | BasicFloat.java | 75 private static void relGet(FloatBuffer b) { in relGet() 82 private static void relGet(FloatBuffer b, int start) { in relGet() 89 private static void absGet(FloatBuffer b) { in absGet() 96 private static void bulkGet(FloatBuffer b) { in bulkGet() 105 private static void absBulkGet(FloatBuffer b) { in absBulkGet() 117 private static void relPut(FloatBuffer b) { in relPut() 125 private static void absPut(FloatBuffer b) { in absPut() 134 private static void bulkPutArray(FloatBuffer b) { in bulkPutArray() 144 private static void bulkPutBuffer(FloatBuffer b) { in bulkPutBuffer() 166 private static void absBulkPutArray(FloatBuffer b) { in absBulkPutArray() [all …]
|
D | BasicInt.java | 75 private static void relGet(IntBuffer b) { in relGet() 82 private static void relGet(IntBuffer b, int start) { in relGet() 89 private static void absGet(IntBuffer b) { in absGet() 96 private static void bulkGet(IntBuffer b) { in bulkGet() 105 private static void absBulkGet(IntBuffer b) { in absBulkGet() 117 private static void relPut(IntBuffer b) { in relPut() 125 private static void absPut(IntBuffer b) { in absPut() 134 private static void bulkPutArray(IntBuffer b) { in bulkPutArray() 144 private static void bulkPutBuffer(IntBuffer b) { in bulkPutBuffer() 166 private static void absBulkPutArray(IntBuffer b) { in absBulkPutArray() [all …]
|
D | BasicLong.java | 75 private static void relGet(LongBuffer b) { in relGet() 82 private static void relGet(LongBuffer b, int start) { in relGet() 89 private static void absGet(LongBuffer b) { in absGet() 96 private static void bulkGet(LongBuffer b) { in bulkGet() 105 private static void absBulkGet(LongBuffer b) { in absBulkGet() 117 private static void relPut(LongBuffer b) { in relPut() 125 private static void absPut(LongBuffer b) { in absPut() 134 private static void bulkPutArray(LongBuffer b) { in bulkPutArray() 144 private static void bulkPutBuffer(LongBuffer b) { in bulkPutBuffer() 166 private static void absBulkPutArray(LongBuffer b) { in absBulkPutArray() [all …]
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestMonthDay.java | 126 MonthDay b = localDates[j]; in doTest_comparisons_MonthDay() local 133 assertTrue(a.compareTo(b) > 0, a + " <=> " + b); in doTest_comparisons_MonthDay() local 134 assertEquals(a.isBefore(b), false, a + " <=> " + b); in doTest_comparisons_MonthDay() local 135 assertEquals(a.isAfter(b), true, a + " <=> " + b); in doTest_comparisons_MonthDay() local 136 assertEquals(a.equals(b), false, a + " <=> " + b); in doTest_comparisons_MonthDay() local 138 assertEquals(a.compareTo(b), 0, a + " <=> " + b); in doTest_comparisons_MonthDay() local 139 assertEquals(a.isBefore(b), false, a + " <=> " + b); in doTest_comparisons_MonthDay() local 140 assertEquals(a.isAfter(b), false, a + " <=> " + b); in doTest_comparisons_MonthDay() local 141 assertEquals(a.equals(b), true, a + " <=> " + b); in doTest_comparisons_MonthDay() local
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | StrictMathTest.java | 37 private void testIntExact(int a, int b) { in testIntExact() 43 private void testAddExactI(int a, int b) { in testAddExactI() 54 private void testSubtractExactI(int a, int b) { in testSubtractExactI() 66 private void testMultiplyExactI(int a, int b) { in testMultiplyExactI() 89 private void testLongExact(long a, long b) { in testLongExact() 96 private void testAddExactL(long a, long b) { in testAddExactL() 107 private void testSubtractExactL(long a, long b) { in testSubtractExactL() 118 private void testMultiplyExactL(long a, long b) { in testMultiplyExactL() 151 private void testFloorDivModI(int a, int b) { in testFloorDivModI() 156 private void testFloorDivI(int a, int b) { in testFloorDivI() [all …]
|
D | MathTest.java | 37 private void testIntExact(int a, int b) { in testIntExact() 46 private void testAddExactI(int a, int b) { in testAddExactI() 57 private void testSubtractExactI(int a, int b) { in testSubtractExactI() 69 private void testMultiplyExactI(int a, int b) { in testMultiplyExactI() 125 private void testLongExact(long a, long b) { in testLongExact() 135 private void testAddExactL(long a, long b) { in testAddExactL() 146 private void testSubtractExactL(long a, long b) { in testSubtractExactL() 157 private void testMultiplyExactL(long a, long b) { in testMultiplyExactL() 223 private void testFloorDivModI(int a, int b) { in testFloorDivModI() 228 private void testFloorDivI(int a, int b) { in testFloorDivI() [all …]
|
/libcore/luni/src/test/java/tests/security/spec/ |
D | EllipticCurveTest.java | 46 BigInteger b = BigInteger.valueOf(19L); in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray01() local 80 BigInteger b = BigInteger.valueOf(19L); in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray02() local 127 BigInteger b = BigInteger.valueOf(19L); in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray03() local 188 BigInteger b = BigInteger.valueOf(19L); in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray04() local 232 BigInteger b = BigInteger.valueOf(19L); in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray05() local 254 BigInteger b = BigInteger.valueOf(19L); in testEllipticCurveECFieldBigIntegerBigInteger01() local 286 BigInteger b = BigInteger.valueOf(19L); in testEllipticCurveECFieldBigIntegerBigInteger02() local 330 BigInteger b = BigInteger.valueOf(19L); in testEllipticCurveECFieldBigIntegerBigInteger03() local 387 BigInteger b = BigInteger.valueOf(19L); in testEllipticCurveECFieldBigIntegerBigInteger04() local 429 BigInteger b = BigInteger.valueOf(19L); in testGetA() local [all …]
|
/libcore/support/src/test/java/tests/resources/Package/ |
D | hyts_package.jar | ... java
package a.b.c
abstract a.b.c.package-info extends java.lang ... |
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldURITest.java | 111 URI b = new URI("http://www.google.com/dir1/dir2"); in test_relativizeLjava_net_URI() local 120 URI b = new URI("http://www.test.com/dir"); in test_resolveLjava_net_URI() local 129 URI b = new URI("http://www.test.com/dir"); in test_resolveLjava_lang_String() local 136 URI b = new URI("http://www.test.com/dir"); in test_resolveLjava_lang_String() local
|
/libcore/luni/src/test/java/libcore/java/math/ |
D | OldBigDecimalArithmeticTest.java | 30 BigDecimal a, b, res; in testAddMathContextNonTrivial() local 55 BigDecimal a, b, res; in testSubtractMathContextNonTrivial() local 78 BigDecimal a, b, res; in testMultiplyMathContextNonTrivial() local 94 BigDecimal a, b, res; in testPowNonTrivial() local 126 BigDecimal a, b, res; in testPowMathContextNonTrivial() local 191 BigDecimal a, b, res; in testDivideINonTrivial() local 218 BigDecimal a, b, res; in testDivideIINonTrivial() local 246 BigDecimal a, b, res; in testDivideScaleRoundingModeNonTrivial() local 276 BigDecimal a, b, res; in testDivideMathContextNonTrivial() local 324 String b = "0"; in testDivideToIntegralValueByZero() local [all …]
|
/libcore/luni/src/main/java/java/nio/ |
D | NIOAccess.java | 44 public static long getBasePointer(Buffer b) { in getBasePointer() 63 public static Object getBaseArray(Buffer b) { in getBaseArray() 81 public static int getBaseArrayOffset(Buffer b) { in getBaseArrayOffset()
|
/libcore/ojluni/src/main/java/java/net/ |
D | SocketOutputStream.java | 90 private native void socketWrite0(FileDescriptor fd, byte[] b, int off, in socketWrite0() 101 private void socketWrite(byte b[], int off, int len) throws IOException { in socketWrite() 133 public void write(int b) throws IOException { in write() 143 public void write(byte b[]) throws IOException { in write() 155 public void write(byte b[], int off, int len) throws IOException { in write()
|
/libcore/ojluni/annotations/hiddenapi/java/util/zip/ |
D | CRC32.java | 37 public void update(int b) { in update() 41 public void update(byte[] b, int off, int len) { in update() 45 public void update(byte[] b) { in update() 62 private static native int update(int crc, int b); in update() 64 private static native int updateBytes(int crc, byte[] b, int off, int len); in updateBytes()
|
D | Adler32.java | 37 public void update(int b) { in update() 41 public void update(byte[] b, int off, int len) { in update() 45 public void update(byte[] b) { in update() 62 private static native int update(int adler, int b); in update() 64 private static native int updateBytes(int adler, byte[] b, int off, int len); in updateBytes()
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Boolean.annotated.java | 41 @libcore.util.NonNull public static java.lang.Boolean valueOf(boolean b) { throw new RuntimeExcepti… in valueOf() 45 @libcore.util.NonNull public static java.lang.String toString(boolean b) { throw new RuntimeExcepti… in toString() 57 …c int compareTo(@libcore.util.NonNull java.lang.Boolean b) { throw new RuntimeException("Stub!"); } in compareTo() 61 public static boolean logicalAnd(boolean a, boolean b) { throw new RuntimeException("Stub!"); } in logicalAnd() 63 public static boolean logicalOr(boolean a, boolean b) { throw new RuntimeException("Stub!"); } in logicalOr() 65 public static boolean logicalXor(boolean a, boolean b) { throw new RuntimeException("Stub!"); } in logicalXor()
|