Home
last modified time | relevance | path

Searched refs:byte (Results 1 – 20 of 20) sorted by relevance

/libcore/ojluni/src/test/java/lang/invoke/VarHandles/
Dgenerate-vh-tests.sh14 for type in boolean byte short char int long float double String
22 byte|short|char|int|long|float|double)
28 boolean|byte|short|char|int|long)
42 byte)
43 value1=(byte)0x01
44 value2=(byte)0x23
45 value3=(byte)0x45
DX-VarHandleTestByteArrayView.java.template61 // Combinations of VarHandle byte[] or ByteBuffer
238 byte[] array = null;
510 byte[] array = bs.s;
930 byte[] array = bs.s;
1217 byte[] array = bs.s;
1494 byte[] array = bs.s;
1498 bs.fill((byte) 0xff);
1788 bs.fill((byte) 0xff);
/libcore/ojluni/src/main/java/java/nio/
DDirect-X-Buffer.java.template42 extends {#if[byte]?Mapped$Type$Buffer:$Type$Buffer}
70 #if[byte]
103 #else[byte]
107 #end[byte]
111 #if[byte]
130 UNSAFE.setMemory(base, size, (byte) 0);
196 #end[byte]
202 #if[byte]
204 #end[byte]
209 #if[byte]
[all …]
DX-Buffer.java.template48 // Android-changed: Fix that if[byte] isn't processed by the SppTool. Upstream doc has the same bug.
52 * <p> This class defines {#if[byte]?six:four} categories of operations upon
63 * into an array; {#if[!byte]?and}</p></li>
68 * buffer into this buffer;{#if[!byte]? and} </p></li>
70 #if[byte]
75 * sequences of bytes in a particular byte order; </p></li>
78 * which allow a byte buffer to be viewed as a buffer containing values of
81 #end[byte]
91 #if[byte]
96 #else[byte]
[all …]
DX-Buffer-bin.java.template36 * composing them into $a$ $type$ value according to the current byte order,
52 * current byte order, into this buffer at the current position, and then
73 * $type$ value according to the current byte order. </p>
97 * current byte order, into this buffer at the given index. </p>
123 * Creates a view of this byte buffer as $a$ $type$ buffer.
132 * $nbytes$, its mark will be undefined, and its byte order will be that
133 * of the byte buffer at the moment the view is created. The new buffer
DHeap-X-Buffer.java.template213 #if[byte]
217 #end[byte]
315 #if[byte]
318 #else[byte]
343 #end[byte]
422 #if[byte]
425 byte _get(int i) { // package-private
430 void _put(int i, byte b) { // package-private
1069 #end[byte]
1102 #if[!byte]
[all …]
DByteBufferAs-X-Buffer.java.template71 // in art which return the address of the first usable byte of the underlying memory, i.e,
/libcore/ojluni/src/test/java/nio/Buffer/
DBasic-X.java.template34 #if[byte]
37 #end[byte]
40 #if[byte]
45 #end[byte]
189 #if[byte]
190 #else[byte]
212 #end[byte]
239 #if[byte]
241 private static void checkBytes(ByteBuffer b, byte[] bs) {
279 checkBytes(b, new byte[] { 0, (byte)ic(0) });
[all …]
DCopyDirect-X-Memory.java.template47 #if[byte]
49 #else[byte]
52 #end[byte]
DgenBasic.sh36 gen byte Byte Byte
DgenCopyDirectMemory.sh36 gen byte Byte Byte
DOrder-X.java.template73 buf = ByteBuffer.wrap(new byte[LENGTH]).as$Type$Buffer();
77 buf = ByteBuffer.wrap(new byte[LENGTH]).order(le).as$Type$Buffer();
/libcore/api/
Dmodule-lib-current.txt80 ctor public PacketSocketAddress(int, int, byte[]);
468 method public final byte get();
469 method public final byte get(int);
484 method public final java.nio.ByteBuffer put(byte);
485 method public final java.nio.ByteBuffer put(int, byte);
510 method public static byte[] unsafeArray(java.nio.ByteBuffer);
613 …method public static int read(@NonNull java.io.FileDescriptor, @NonNull byte[], int, int) throws j…
614 …method public static void write(@NonNull java.io.FileDescriptor, @NonNull byte[], int, int) throws…
623 …method @NonNull public static byte[] readFileAsByteArray(@NonNull String) throws java.io.IOExcepti…
631 method public static int peekInt(@NonNull byte[], int, @NonNull java.nio.ByteOrder);
[all …]
Dcurrent.txt5 …edApi("com.android.libcore.hpke_v_apis") @NonNull public byte[] engineExport(int, @Nullable byte[]…
6 …nt(@NonNull byte[], @NonNull java.security.PrivateKey, @Nullable byte[], @Nullable java.security.P…
7 …ll java.security.PublicKey, @Nullable byte[], @Nullable java.security.PrivateKey, @Nullable byte[]…
8 …security.PublicKey, @Nullable byte[], @Nullable java.security.PrivateKey, @Nullable byte[], @Nulla…
9 …("com.android.libcore.hpke_v_apis") @NonNull public byte[] engineOpen(@NonNull byte[], @Nullable b…
10 …("com.android.libcore.hpke_v_apis") @NonNull public byte[] engineSeal(@NonNull byte[], @Nullable b…
11 method @FlaggedApi("com.android.libcore.hpke_v_apis") @NonNull public byte[] getEncapsulated();
15 ctor @FlaggedApi("com.android.libcore.hpke_v_apis") public XdhKeySpec(@NonNull byte[]);
17 method @FlaggedApi("com.android.libcore.hpke_v_apis") @NonNull public byte[] getKey();
72 method public static byte[] getxattr(String, String) throws android.system.ErrnoException;
[all …]
/libcore/ojluni/src/tools/make/gensrc/
DGensrcBuffer.gmk57 ifeq ($2, byte)
60 $1_fulltype := byte
283 $(eval $(call SetupGenBuffer,ByteBuffer, $(X_BUF), type:=byte, BIN:=1))
295 $(eval $(call SetupGenBuffer,HeapByteBuffer, $(HEAP_X_BUF), type:=byte))
296 $(eval $(call SetupGenBuffer,HeapByteBufferR, $(HEAP_X_BUF), type:=byte, RW:=R))
314 $(eval $(call SetupGenBuffer,DirectByteBuffer, $(DIRECT_X_BUF), type:=byte, BIN:=1))
315 $(eval $(call SetupGenBuffer,DirectByteBufferR,$(DIRECT_X_BUF), type:=byte, BIN:=1, RW:=R))
/libcore/ojluni/src/main/native/
Dio_util.c131 writeSingle(JNIEnv *env, jobject this, jint byte, jboolean append, jfieldID fid) { in writeSingle() argument
133 char c = (char) byte; in writeSingle()
Dio_util.h52 void writeSingle(JNIEnv *env, jobject this, jint byte, jboolean append, jfieldID fid);
/libcore/ojluni/src/main/java/java/nio/charset/
DCharset-X-Coder.java.template200 * is ("trusted"). If it is trusted, {@link #replaceWith(byte[])} and
201 * {@link #implReplaceWith(byte[])} will not be called.
204 …protected CharsetEncoder(Charset cs, float averageBytesPerChar, float maxBytesPerChar, byte[] repl…
353 * Tells whether or not the given byte array is a legal replacement value
363 * @param repl The byte array to be tested
365 * @return {@code true} if, and only if, the given byte array
368 public boolean isLegalReplacement(byte[] repl) {
491 * $otype$s, such as byte-order marks.
893 * the input byte sequence. Once this occurs, the {@link #detectedCharset
898 * decoding some, or even all, of an input byte sequence without fixing on
/libcore/mmodules/intracoreapi/api/intra/
Dcurrent.txt90 …api.IntraCoreApi protected CharsetEncoder(java.nio.charset.Charset, float, float, byte[], boolean);
/libcore/luni/src/main/native/
Dlibcore_io_Linux.cpp2456 u_char byte = value; in Linux_setsockoptByte() local
2457 …inusOne(env, "setsockopt", TEMP_FAILURE_RETRY(setsockopt(fd, level, option, &byte, sizeof(byte)))); in Linux_setsockoptByte()