/external/zlib/ |
zconf.h.in | 109 # define Byte z_Byte 333 typedef unsigned char Byte; /* 8 bits */ 340 # define Bytef Byte FAR 342 typedef Byte FAR Bytef; 354 typedef Byte const *voidpc; 355 typedef Byte FAR *voidpf; 356 typedef Byte *voidp;
|
deflate.c | 159 * Update a hash value with the given input byte 264 if (windowBits == 8) windowBits = 9; /* until 256-byte window bug fixed */ 281 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte)); 305 s->method = (Byte)method; 552 put_byte(s, (Byte)(b >> 8)); 553 put_byte(s, (Byte)(b & 0xff)); 633 put_byte(s, (Byte)(s->gzhead->time & 0xff)); 634 put_byte(s, (Byte)((s->gzhead->time >> 8) & 0xff)); 635 put_byte(s, (Byte)((s->gzhead->time >> 16) & 0xff)); 636 put_byte(s, (Byte)((s->gzhead->time >> 24) & 0xff)) [all...] |
/development/samples/NFCDemo/src/com/example/android/nfc/record/ |
UriRecord.java | 51 private static final BiMap<Byte, String> URI_PREFIX_MAP = ImmutableBiMap.<Byte, String>builder() 52 .put((byte) 0x00, "") 53 .put((byte) 0x01, "http://www.") 54 .put((byte) 0x02, "https://www.") 55 .put((byte) 0x03, "http://") 56 .put((byte) 0x04, "https://") 57 .put((byte) 0x05, "tel:") 58 .put((byte) 0x06, "mailto:") 59 .put((byte) 0x07, "ftp://anonymous:anonymous@" [all...] |
/external/llvm/lib/MC/MCDisassembler/ |
Disassembler.cpp | 111 int readByte(uint64_t Addr, uint8_t *Byte) const { 114 *Byte = Bytes[Addr - BasePC]; 130 // over by printing a .byte, .long etc. to continue.
|
/libcore/luni/src/main/java/java/util/logging/ |
LogRecord.java | 46 // The major byte used in serialization. 49 // The minor byte used in serialization. 482 byte major = in.readByte(); 483 byte minor = in.readByte(); 486 throw new IOException("Different version " + Byte.valueOf(major) + "." + Byte.valueOf(minor));
|
/external/qemu/distrib/zlib-1.2.3/ |
deflate.c | 165 * Update a hash value with the given input byte 270 if (windowBits == 8) windowBits = 9; /* until 256-byte window bug fixed */ 287 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte)); 309 s->method = (Byte)method; 522 put_byte(s, (Byte)(b >> 8)); 523 put_byte(s, (Byte)(b & 0xff)); 603 put_byte(s, (Byte)(s->gzhead->time & 0xff)); 604 put_byte(s, (Byte)((s->gzhead->time >> 8) & 0xff)); 605 put_byte(s, (Byte)((s->gzhead->time >> 16) & 0xff)); 606 put_byte(s, (Byte)((s->gzhead->time >> 24) & 0xff)) [all...] |
/external/guava/src/com/google/common/collect/ |
MutableClassToInstanceMap.java | 86 .put(byte.class, Byte.class)
|
/frameworks/base/obex/javax/obex/ |
HeaderSet.java | 87 * Represents the OBEX Time header using the 4 byte representation. This is 180 private Long mCount; // 4 byte unsigned integer 186 private Long mLength; // 4 byte unsigend integer 190 private Calendar mByteTime; // 4 byte unsigned integer 194 private byte[] mTarget; // byte sequence 196 private byte[] mHttpHeader; // byte sequence 198 private byte[] mWho; // length prefixed byte sequenc [all...] |
/hardware/ti/omap3/dspbridge/inc/ |
std.h | 217 typedef SmBits Byte; /* smallest unit of addressable store */
|
/hardware/ti/omap3/dspbridge/libbridge/inc/ |
std.h | 219 typedef SmBits Byte; /* smallest unit of addressable store */
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
Logger.java | 63 public void print(byte[] data) { 67 public void print(byte[] data, int offset, int len) { 71 public void printAsHex(int perLine, String prefix, String delimiter, byte[] data) { 76 byte[] data, int offset, int len) { 80 line.append(Byte.toHexString(data[i+offset], false));
|
/packages/apps/Email/emailcommon/src/org/apache/james/mime4j/decoder/ |
UnboundedFifoByteBuffer.java | 57 protected byte[] buffer;
84 buffer = new byte[initialSize + 1];
118 * @param b the byte to add
121 public boolean add(final byte b) {
124 byte[] tmp = new byte[((buffer.length - 1) * 2) + 1];
157 public byte get() {
171 public byte remove() {
176 byte element = buffer[head];
236 return new Byte(buffer[lastReturnedIndex]); [all...] |
/system/media/mca/filterfw/java/android/filterfw/format/ |
ObjectFormat.java | 57 // Native targets have objects manifested in a byte buffer. Thus it is important to 82 } else if (type == byte.class) { 83 return java.lang.Byte.class;
|
/libcore/luni/src/main/java/java/lang/reflect/ |
Array.java | 74 if (array instanceof byte[]) 75 return Byte.valueOf(((byte[]) array)[index]); 136 * {@code byte}, if possible. This reproduces the effect of {@code 154 public static byte getByte(Object array, int index) 156 if (array instanceof byte[]) { 157 return ((byte[]) array)[index]; 159 return getBoolean(array, index) ? (byte)1 : (byte)0; 304 if (array instanceof byte[]) [all...] |
/libcore/luni/src/test/java/org/apache/harmony/xnet/provider/jsse/ |
CipherSuiteTest.java | 65 byte[] bytes = cs.toBytes(); 68 assertTrue(name + bytes[0], bytes[0] == (byte) 0x00 || bytes[0] == (byte) 0xc0); 70 assertSame(name, cs, CipherSuite.getByCode((byte) 0, bytes[0], bytes[1])); 106 assertUnknown(CipherSuite.getByCode((byte) 0x12, (byte) 0x34)); 107 assertUnknown(CipherSuite.getByCode((byte) 0x12, (byte) 0x34, (byte) 0x56)); 108 assertUnknown(CipherSuite.getByCode((byte) -1, (byte) -1)) [all...] |
/external/android-mock/src/com/google/android/testing/mocking/ |
AndroidMock.java | 58 * and {@link #leq(byte)} all have nonsense return values. Each of the expectation methods may only 74 * particular, it's not at all clear that {@link #and(byte, byte)} takes as parameters other 75 * expectation methods, and not just any random method that returns a {@literal byte} or even a 76 * {@literal byte} literal. 301 * Expects any {@code byte} argument as a parameter to a mocked method. 312 public static byte anyByte() { 449 * Expects a {@code byte} argument greater than or equal to the given value as a parameter 458 * {@code AndroidMock.expect(mock.getString(AndroidMock.geq((byte)42))).andReturn("hello");} 464 public static byte geq(byte expectedValue) [all...] |
/external/protobuf/java/src/test/java/com/google/protobuf/ |
CodedOutputStreamTest.java | 50 * Helper to construct a byte array from a bunch of bytes. The inputs are 54 private byte[] bytes(int... bytesAsInts) { 55 byte[] bytes = new byte[bytesAsInts.length]; 57 bytes[i] = (byte) bytesAsInts[i]; 63 private List<Byte> toList(byte[] bytes) { 64 List<Byte> result = new ArrayList<Byte>(); 65 for (byte b : bytes) [all...] |
/frameworks/base/core/java/android/content/ |
ContentValues.java | 114 public void put(String key, Byte value) { 184 public void put(String key, byte[] value) { 330 * Gets a value and converts it to a Byte. 333 * @return the Byte value, or null if the value is missing or cannot be converted 335 public Byte getAsByte(String key) { 342 return Byte.valueOf(value.toString()); 344 Log.e(TAG, "Cannot parse Byte value for " + value + " at key " + key); 348 Log.e(TAG, "Cannot cast value for " + key + " to a Byte: " + value, e); 427 * Gets a value that is a byte array. Note that this method will not convert 428 * any other types to byte arrays [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
NinePatchTexture.java | 59 byte[] chunkData = bitmap.getNinePatchChunk(); 310 byte index[] = new byte[INDEX_BUFFER_SIZE]; 334 index[idxCount++] = (byte) k; 338 index[idxCount++] = (byte) k; 339 index[idxCount++] = (byte) (k + nx); 345 int size = (pntCount * 2) * (Float.SIZE / Byte.SIZE); 366 mXyBuffer.capacity() * (Float.SIZE / Byte.SIZE), 371 mUvBuffer.capacity() * (Float.SIZE / Byte.SIZE),
|
/cts/tools/vm-tests/src/dot/junit/opcodes/add_int_lit8/ |
Test_add_int_lit8.java | 45 * @title Arguments = Byte.MIN_VALUE + Byte.MAX_VALUE 98 * @title Arguments = 0 + Byte.MAX_VALUE 102 assertEquals(Byte.MAX_VALUE, t.run()); 106 * @title Arguments = Integer.MAX_VALUE + Byte.MAX_VALUE 138 * @title Arguments = Short.MIN_VALUE + Byte.MIN_VALUE
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_int_lit8/ |
Test_add_int_lit8.java | 45 * @title Arguments = Byte.MIN_VALUE + Byte.MAX_VALUE 85 * @title Arguments = 0 + Byte.MAX_VALUE 89 assertEquals(Byte.MAX_VALUE, t.run()); 93 * @title Arguments = Integer.MAX_VALUE + Byte.MAX_VALUE 125 * @title Arguments = Short.MIN_VALUE + Byte.MIN_VALUE
|
/external/easymock/src/org/easymock/ |
EasyMock.java | 219 * Expects any byte argument. For details, see the EasyMock documentation.
223 public static byte anyByte() {
314 * Expects a byte argument greater than or equal to the given value. For
321 public static byte geq(byte value) {
322 reportMatcher(new GreaterOrEqual<Byte>(value));
406 * Expects a byte argument less than or equal to the given value. For
413 public static byte leq(byte value) {
414 reportMatcher(new LessOrEqual<Byte>(value)); [all...] |
/external/guava/src/com/google/common/primitives/ |
Primitives.java | 49 add(primToWrap, wrapToPrim, byte.class, Byte.class);
|
/external/javassist/src/main/javassist/runtime/ |
Desc.java | 100 clazz = Byte.TYPE;
|
/frameworks/base/core/java/android/util/ |
ReflectiveProperty.java | 106 (getterType == byte.class && valueType == Byte.class) ||
|