HomeSort by relevance Sort by last modified time
    Searched refs:Byte (Results 151 - 175 of 236) sorted by null

1 2 3 4 5 67 8 910

  /libcore/luni/src/test/java/libcore/java/io/
OldRandomAccessFileTest.java 253 byte[] testBuf = testString.getBytes();
289 * java.io.RandomAccessFile#read(byte[])
297 byte[] rbuf = new byte[testLength + 10];
318 * java.io.RandomAccessFile#read(byte[], int, int)
323 byte[] rbuf = new byte[4000];
418 * java.io.RandomAccessFile#writeByte(byte)
422 raf.writeByte(Byte.MIN_VALUE);
424 raf.writeByte(Byte.MAX_VALUE)
    [all...]
  /cts/tests/tests/os/src/android/os/cts/
ParcelTest.java 325 args = {byte[].class, int.class, int.class}
329 final byte[] c = {Byte.MAX_VALUE, (byte) 111, (byte) 11, (byte) 1, (byte) 0,
330 (byte) -1, (byte) -11, (byte) -111, Byte.MIN_VALUE}
    [all...]
  /external/android-mock/tests/com/google/android/testing/mocking/
AndroidMockTest.java 106 assertTrue(AndroidMock.isUnboxableToPrimitive(Byte.TYPE, new Byte((byte) 42), true));
115 assertTrue(AndroidMock.isUnboxableToPrimitive(Byte.TYPE, (byte) 42, true));
128 new Object[] {new Byte((byte) 42), new Short((short) 42), new Integer(42), new Long(42L),
141 assertEquals("Convert byte from " + testValues[i].getClass(), byteExpected[i], AndroidMock
142 .isUnboxableToPrimitive(Byte.TYPE, testValues[i], false));
623 AndroidMock.expect(mockMap.get(AndroidMock.geq((byte) 0))).andReturn(null)
    [all...]
  /libcore/luni/src/main/java/java/util/
Formatter.java 162 * Byte, Character, Short, and Integer (and primitives that box to those types) are all acceptable
182 * Byte, Short, Integer, Long, and BigInteger (and primitives that box to those types) are all
    [all...]
Scanner.java 682 * {@code byte} value in the default radix.
685 * {@code byte} value, otherwise {@code false}.
695 * {@code byte} value in the specified radix.
698 * the radix used to translate the token into a {@code byte}
701 * {@code byte} value, otherwise {@code false}.
712 cacheHasNextValue = Byte.valueOf(intString, radix);
    [all...]
  /external/doclava/src/com/google/doclava/
FieldInfo.java 131 if (val instanceof Boolean || val instanceof Byte || val instanceof Short
348 } else if (val instanceof Byte) {
  /external/javassist/src/test/test/javassist/convert/
ArrayAccessReplaceTest.java 51 for (byte i = 0; i < 100; i++) {
55 for (byte i = 0; i < 100; i++) {
168 public static byte arrayReadByteOrBoolean(Object array, int index) {
169 return ((Byte)byteMap.get(new Integer(index))).byteValue();
172 public static void arrayWriteByteOrBoolean(Object array, int index, byte element) {
173 byteMap.put(new Integer(index), new Byte(element));
248 public void setByte(int pos, byte value);
249 public byte getByte(int pos);
281 private byte[] bytes;
301 public byte getByte(int pos)
    [all...]
  /frameworks/base/core/java/android/content/
ContentProviderOperation.java 533 } else if (value instanceof Byte) {
534 mValues.put(key, (Byte) value);
547 } else if (value instanceof byte[]) {
548 mValues.put(key, (byte[]) value);
  /cts/tools/dex-tools/src/dex/reader/
DexEncodedValueImpl.java 31 private byte typeAndValueArg;
157 * four-byte integer value, interpreted as an index into the field_ids
171 * four-byte integer value, interpreted as an index into the method_ids
182 * four-byte integer value, interpreted as an index into the field_ids
196 * four-byte integer value, interpreted as an index into the type_ids
201 // FIXME SPEC!! states: unsigned (zero-extended) four-byte integer value
207 * four-byte integer value, interpreted as an index into the string_ids
216 * VALUE_DOUBLE 0x11 size - 1 (0...7) ubyte[size] eight-byte bit pattern,
225 * VALUE_FLOAT 0x10 size - 1 (0...3) ubyte[size] four-byte bit pattern,
234 * VALUE_LONG 0x06 size - 1 (0...7) ubyte[size] signed eight-byte intege
    [all...]
  /external/javassist/src/main/javassist/util/proxy/
RuntimeSupport.java 171 else if (type == Byte.TYPE)
  /external/qemu/distrib/zlib-1.2.3/
deflate.h 99 Bytef *pending_out; /* next pending byte to output to the stream */
104 Byte method; /* STORED (for zip only) or DEFLATED */
144 * byte no longer takes part in the hash key, that is:
265 /* Output a byte on the stream.
  /external/zlib/
deflate.h 99 Bytef *pending_out; /* next pending byte to output to the stream */
104 Byte method; /* STORED (for zip only) or DEFLATED */
144 * byte no longer takes part in the hash key, that is:
272 /* Output a byte on the stream.
  /libcore/dom/src/test/java/org/w3c/domts/
DOMTest.java 231 byte[] array = new byte[byteCount];
233 array[i] = Byte.parseByte(bytes.substring(i * 2, i * 2 + 2), 16);
  /libcore/luni/src/main/java/libcore/net/
UriCodec.java 168 out.write((byte) ((d1 << 4) + d2));
205 for (byte b : s.getBytes(charset)) {
210 private static void appendHex(StringBuilder sb, byte b) {
212 sb.append(Byte.toHexString(b, true));
  /libcore/luni/src/main/java/org/apache/harmony/lang/annotation/
AnnotationMember.java 75 // public static final char BYTE = 'B';
148 } else if (type == byte.class) {
149 elementType = Byte.class;
232 } else if (type == byte[].class) {
233 return Arrays.equals((byte[])value, (byte[])otherValue);
265 } else if (type == byte[].class) {
266 return hash ^ Arrays.hashCode((byte[])value);
370 } else if (type == byte[].class) {
371 return ((byte[])value).clone()
    [all...]
  /packages/apps/Exchange/src/com/android/exchange/utility/
UriCodec.java 170 out.write((byte) ((d1 << 4) + d2));
207 for (byte b : s.getBytes(charset)) {
212 private static void appendHex(StringBuilder sb, byte b) {
214 sb.append(Byte.toHexString(b, true));
  /sdk/swtmenubar/src-darwin/com/android/menubar/internal/
MenuBarEnhancerCocoa.java 292 else if (thisClass == Byte.class)
293 signature[i] = byte.class;
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
SerializationStressTest4.java 310 protected byte[] engineGenerateSeed(int p1) {
311 return new byte[0];
314 protected void engineNextBytes(byte[] p1) {
317 protected void engineSetSeed(byte[] p1) {
373 // java.io.ObjectOutputStream.writeObject(java.lang.Byte)
379 objToSave = new java.lang.Byte((byte) 107);
1087 objToSave = java.util.Collections.singleton(new Byte((byte) 107));
1097 equals = iter.next().equals(new Byte((byte) 107))
    [all...]
  /libcore/luni/src/test/java/libcore/java/sql/
OldPreparedStatementTest.java     [all...]
  /cts/tests/tests/database/src/android/database/cts/
CursorWindowTest.java 357 args = {byte[].class, int.class, int.class}
415 byte[] originalBlob = new byte[Byte.MAX_VALUE];
416 for (int i = 0; i < Byte.MAX_VALUE; i++) {
417 originalBlob[i] = (byte) i;
502 byte[] targetBlob = cursorWindow.getBlob(0, 4);
  /external/bison/lib/
hash.c 399 # define HASH_ONE_CHAR(Value, Byte) \
400 ((Byte) + ROTATE_LEFT (Value, 7))
  /frameworks/base/core/tests/coretests/src/android/app/
DownloadManagerBaseTest.java 262 protected MockResponse enqueueResponse(int status, byte[] body) {
299 protected byte[] generateData(int size, DataType type) {
312 protected byte[] generateData(int size, DataType type, Random rng) {
313 int min = Byte.MIN_VALUE;
314 int max = Byte.MAX_VALUE;
321 byte[] result = new byte[size];
329 result[i] = (byte) (min + rng.nextInt(max - min + 1));
345 * Helper to verify the contents of a downloaded file versus a byte[].
351 protected void verifyFileContents(ParcelFileDescriptor actual, byte[] expected
    [all...]
  /frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/
DownloadManagerBaseTest.java 256 private MockResponse enqueueResponse(int status, byte[] body) {
294 private byte[] generateData(int size, DataType type, Random rng) {
295 int min = Byte.MIN_VALUE;
296 int max = Byte.MAX_VALUE;
303 byte[] result = new byte[size];
311 result[i] = (byte) (min + rng.nextInt(max - min + 1));
327 * Helper to verify the contents of a downloaded file versus a byte[].
333 private void verifyFileContents(ParcelFileDescriptor actual, byte[] expected)
341 byte[] actualData = new byte[expected.length]
    [all...]
  /external/guava/src/com/google/common/primitives/
Chars.java 51 public static final int BYTES = Character.SIZE / Byte.SIZE;
267 * Returns a big-endian representation of {@code value} in a 2-element byte
270 * value {@code '\\u5432'} would yield the byte array {@code {0x54, 0x32}}.
278 public static byte[] toByteArray(char value) {
279 return new byte[] {
280 (byte) (value >> 8),
281 (byte) value};
287 * ByteBuffer.wrap(bytes).getChar()}. For example, the input byte array
297 public static char fromByteArray(byte[] bytes) {
Ints.java 51 public static final int BYTES = Integer.SIZE / Byte.SIZE;
267 * Returns a big-endian representation of {@code value} in a 4-element byte
269 * For example, the input value {@code 0x12131415} would yield the byte array
280 public static byte[] toByteArray(int value) {
281 return new byte[] {
282 (byte) (value >> 24),
283 (byte) (value >> 16),
284 (byte) (value >> 8),
285 (byte) value};
291 * ByteBuffer.wrap(bytes).getInt()}. For example, the input byte array {@cod
    [all...]

Completed in 1733 milliseconds

1 2 3 4 5 67 8 910