Home
last modified time | relevance | path

Searched defs:b (Results 1 – 25 of 403) sorted by relevance

12345678910>>...17

/libcore/ojluni/src/main/native/
Dzip_util.h65 #define CH(b, n) (((unsigned char *)(b))[n]) argument
66 #define SH(b, n) (CH(b, n) | (CH(b, n+1) << 8)) argument
67 #define LG(b, n) ((SH(b, n) | (SH(b, n+2) << 16)) &0xffffffffUL) argument
68 #define LL(b, n) (((jlong)LG(b, n)) | (((jlong)LG(b, n+4)) << 32)) argument
69 #define GETSIG(b) LG(b, 0) argument
74 #define LOCVER(b) SH(b, 4) /* version needed to extract */ argument
75 #define LOCFLG(b) SH(b, 6) /* general purpose bit flags */ argument
76 #define LOCHOW(b) SH(b, 8) /* compression method */ argument
77 #define LOCTIM(b) LG(b, 10) /* modification time */ argument
78 #define LOCCRC(b) LG(b, 14) /* crc of uncompressed data */ argument
[all …]
Djlong_md.h35 #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/
DBits.java39 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 …]
DOutputStream.java62 public abstract void write(int b) throws IOException; in write()
74 public void write(byte b[]) throws IOException { in write()
106 public void write(byte b[], int off, int len) throws IOException { in write()
DObjectOutput.java57 public void write(int b) throws IOException; in write()
65 public void write(byte b[]) throws IOException; in write()
74 public void write(byte b[], int off, int len) throws IOException; in write()
/libcore/luni/src/test/java/libcore/java/lang/
DStrictMathTest.java37 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 …]
DMathTest.java37 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/ojluni/src/test/java/time/test/java/time/
DTestMonthDay.java126 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/tests/security/spec/
DEllipticCurveTest.java46 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/luni/src/test/java/libcore/java/net/
DOldURITest.java111 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/
DOldBigDecimalArithmeticTest.java30 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/
DNIOAccess.java38 public static long getBasePointer(Buffer b) { in getBasePointer()
52 public static Object getBaseArray(Buffer b) { in getBaseArray()
65 public static int getBaseArrayOffset(Buffer b) { in getBaseArrayOffset()
/libcore/ojluni/src/main/java/java/net/
DSocketOutputStream.java91 private native void socketWrite0(FileDescriptor fd, byte[] b, int off, in socketWrite0()
102 private void socketWrite(byte b[], int off, int len) throws IOException { in socketWrite()
138 public void write(int b) throws IOException { in write()
148 public void write(byte b[]) throws IOException { in write()
160 public void write(byte b[], int off, int len) throws IOException { in write()
/libcore/ojluni/annotations/hiddenapi/java/util/zip/
DAdler32.java37 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()
DCRC32.java37 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()
DInflater.java42 public void setInput(byte[] b, int off, int len) { in setInput()
46 public void setInput(byte[] b) { in setInput()
50 public void setDictionary(byte[] b, int off, int len) { in setDictionary()
54 public void setDictionary(byte[] b) { in setDictionary()
74 public int inflate(byte[] b, int off, int len) throws java.util.zip.DataFormatException { in inflate()
78 public int inflate(byte[] b) throws java.util.zip.DataFormatException { in inflate()
124 private static native void setDictionary(long addr, byte[] b, int off, int len); in setDictionary()
126 private native int inflateBytes(long addr, byte[] b, int off, int len) in inflateBytes()
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DBoolean.annotated.java41 @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()
/libcore/ojluni/src/main/java/java/util/zip/
DInflater.java141 public void setInput(byte[] b, int off, int len) { in setInput()
162 public void setInput(byte[] b) { in setInput()
177 public void setDictionary(byte[] b, int off, int len) { in setDictionary()
186 setDictionary(zsRef.address(), b, off, len); in setDictionary() local
200 public void setDictionary(byte[] b) { in setDictionary()
266 public int inflate(byte[] b, int off, int len) in inflate()
298 public int inflate(byte[] b) throws DataFormatException { in inflate()
428 private native static void setDictionary(long addr, byte[] b, int off, in setDictionary()
430 private native int inflateBytes(long addr, byte[] b, int off, int len) in inflateBytes()
DCRC32.java57 public void update(int b) { in update()
69 public void update(byte[] b, int off, int len) { in update()
84 public void update(byte[] b) { in update()
134 private native static int update(int crc, int b); in update()
135 private native static int updateBytes(int crc, byte[] b, int off, int len); in updateBytes()
DAdler32.java59 public void update(int b) { in update()
71 public void update(byte[] b, int off, int len) { in update()
86 public void update(byte[] b) { in update()
137 private native static int update(int adler, int b); in update()
138 private native static int updateBytes(int adler, byte[] b, int off, in updateBytes()
/libcore/ojluni/src/main/java/java/lang/
DBoolean.java149 public static Boolean valueOf(boolean b) { in valueOf()
176 public static String toString(boolean b) { in toString()
272 public int compareTo(Boolean b) { in compareTo()
304 public static boolean logicalAnd(boolean a, boolean b) { in logicalAnd()
318 public static boolean logicalOr(boolean a, boolean b) { in logicalOr()
332 public static boolean logicalXor(boolean a, boolean b) { in logicalXor()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DBoolean.java51 public static java.lang.Boolean valueOf(boolean b) { in valueOf()
59 public static java.lang.String toString(boolean b) { in toString()
83 public int compareTo(java.lang.Boolean b) { in compareTo()
91 public static boolean logicalAnd(boolean a, boolean b) { in logicalAnd()
95 public static boolean logicalOr(boolean a, boolean b) { in logicalOr()
99 public static boolean logicalXor(boolean a, boolean b) { in logicalXor()
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/
DNativeTestTarget.java60 public static native void emptyJniStaticMethod6(int a, int b, int c, int d, int e, int f); in emptyJniStaticMethod6()
67 public static native void emptyJniStaticMethod6_Fast(int a, int b, int c, int d, int e, int f); in emptyJniStaticMethod6_Fast()
74 …public static native void emptyJniStaticMethod6_Critical(int a, int b, int c, int d, int e, int f); in emptyJniStaticMethod6_Critical()
82 public native void emptyJniMethod6(int a, int b, int c, int d, int e, int f); in emptyJniMethod6()
92 public static native void emptyJniStaticMethod6L(String a, String[] b, in emptyJniStaticMethod6L()
97 public native void emptyJniMethod6L(String a, String[] b, in emptyJniMethod6L()
105 public native void emptyJniMethod6_Fast(int a, int b, int c, int d, int e, int f); in emptyJniMethod6_Fast()
115 public static native void emptyJniStaticMethod6L_Fast(String a, String[] b, in emptyJniStaticMethod6L_Fast()
120 public native void emptyJniMethod6L_Fast(String a, String[] b, in emptyJniMethod6L_Fast()
/libcore/luni/src/test/java/libcore/java/nio/
DBufferTest.java74 private void testByteSwappedBulkGet(ByteBuffer b) throws Exception { in testByteSwappedBulkGet()
147 private static String toString(ByteBuffer b) { in toString()
167 private void testByteSwappedBulkPut(ByteBuffer b) throws Exception { in testByteSwappedBulkPut()
232 private void testByteBufferByteOrder(ByteBuffer b, boolean readOnly) throws Exception { in testByteBufferByteOrder()
279 private void testCharBufferByteOrder(CharBuffer b, ByteOrder bo) throws Exception { in testCharBufferByteOrder()
310 private void testDoubleBufferByteOrder(DoubleBuffer b, ByteOrder bo) throws Exception { in testDoubleBufferByteOrder()
341 private void testFloatBufferByteOrder(FloatBuffer b, ByteOrder bo) throws Exception { in testFloatBufferByteOrder()
372 private void testIntBufferByteOrder(IntBuffer b, ByteOrder bo) throws Exception { in testIntBufferByteOrder()
403 private void testLongBufferByteOrder(LongBuffer b, ByteOrder bo) throws Exception { in testLongBufferByteOrder()
434 private void testShortBufferByteOrder(ShortBuffer b, ByteOrder bo) throws Exception { in testShortBufferByteOrder()
[all …]
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
DStreamTestScenario.java47 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_FOR_EACH_WITH_CLOSE()
60 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_COLLECT()
70 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_TO_ARRAY()
80 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_ITERATOR()
89 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_SPLITERATOR()
97 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT()
105 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_SPLITERATOR_FOREACH()
113 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in PAR_STREAM_SEQUENTIAL_FOR_EACH()
121 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in PAR_STREAM_FOR_EACH_ORDERED()
130 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in PAR_STREAM_SPLITERATOR()
[all …]

12345678910>>...17