Home
last modified time | relevance | path

Searched refs:Byte (Results 1 – 25 of 115) sorted by relevance

12345

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
DByteTest.java27 assertEquals(new Byte(Byte.MIN_VALUE), Byte.valueOf(Byte.MIN_VALUE)); in test_valueOfB()
28 assertEquals(new Byte(Byte.MAX_VALUE), Byte.valueOf(Byte.MAX_VALUE)); in test_valueOfB()
29 assertEquals(new Byte((byte) 0), Byte.valueOf((byte) 0)); in test_valueOfB()
31 byte b = Byte.MIN_VALUE + 1; in test_valueOfB()
32 while (b < Byte.MAX_VALUE) { in test_valueOfB()
33 assertEquals(new Byte(b), Byte.valueOf(b)); in test_valueOfB()
34 assertSame(Byte.valueOf(b), Byte.valueOf(b)); in test_valueOfB()
43 assertEquals(1, new Byte((byte) 1).hashCode()); in test_hashCode()
44 assertEquals(2, new Byte((byte) 2).hashCode()); in test_hashCode()
45 assertEquals(0, new Byte((byte) 0).hashCode()); in test_hashCode()
[all …]
/external/bluetooth/bluez/test/
Dsimple-endpoint14 SBC_CODEC = dbus.Byte(0x00)
20 SBC_CAPABILITIES = dbus.Array([dbus.Byte(0xff), dbus.Byte(0xff), dbus.Byte(2), dbus.Byte(64)])
22 SBC_CONFIGURATION = dbus.Array([dbus.Byte(0x21), dbus.Byte(0x15), dbus.Byte(2), dbus.Byte(32)])
24 MP3_CODEC = dbus.Byte(0x01)
32 MP3_CAPABILITIES = dbus.Array([dbus.Byte(0x3f), dbus.Byte(0x07), dbus.Byte(0xff), dbus.Byte(0xfe)])
34 MP3_CONFIGURATION = dbus.Array([dbus.Byte(0x21), dbus.Byte(0x02), dbus.Byte(0x00), dbus.Byte(0x80)])
36 PCM_CODEC = dbus.Byte(0x00)
/external/zlib/
Dexample.c37 void test_compress OF((Byte *compr, uLong comprLen,
38 Byte *uncompr, uLong uncomprLen));
40 Byte *uncompr, uLong uncomprLen));
41 void test_deflate OF((Byte *compr, uLong comprLen));
42 void test_inflate OF((Byte *compr, uLong comprLen,
43 Byte *uncompr, uLong uncomprLen));
44 void test_large_deflate OF((Byte *compr, uLong comprLen,
45 Byte *uncompr, uLong uncomprLen));
46 void test_large_inflate OF((Byte *compr, uLong comprLen,
47 Byte *uncompr, uLong uncomprLen));
[all …]
Dzconf.in.h50 # define Byte z_Byte macro
261 typedef unsigned char Byte; /* 8 bits */ typedef
268 # define Bytef Byte FAR
270 typedef Byte FAR Bytef;
282 typedef Byte const *voidpc;
283 typedef Byte FAR *voidpf;
284 typedef Byte *voidp;
Dzconf.h109 # define Byte z_Byte macro
333 typedef unsigned char Byte; /* 8 bits */ typedef
340 # define Bytef Byte FAR
342 typedef Byte FAR Bytef;
354 typedef Byte const *voidpc;
355 typedef Byte FAR *voidpf;
356 typedef Byte *voidp;
Ddeflate.c281 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));
775 put_byte(s, (Byte)(strm->adler & 0xff));
776 put_byte(s, (Byte)((strm->adler >> 8) & 0xff));
[all …]
/external/llvm/lib/MC/
DMCObjectWriter.cpp24 uint8_t Byte = Value & 0x7f; in EncodeSLEB128() local
27 More = !((((Value == 0 ) && ((Byte & 0x40) == 0)) || in EncodeSLEB128()
28 ((Value == -1) && ((Byte & 0x40) != 0)))); in EncodeSLEB128()
30 Byte |= 0x80; // Mark this byte that that more bytes will follow. in EncodeSLEB128()
31 OS << char(Byte); in EncodeSLEB128()
38 uint8_t Byte = Value & 0x7f; in EncodeULEB128() local
41 Byte |= 0x80; // Mark this byte that that more bytes will follow. in EncodeULEB128()
42 OS << char(Byte); in EncodeULEB128()
DMCAsmInfo.cpp109 unsigned Byte = Value & 0x7f; in getSLEB128Size() local
111 IsMore = Value != Sign || ((Byte ^ Sign) & 0x40) != 0; in getSLEB128Size()
/external/guava/src/com/google/common/primitives/
DBytes.java223 public static byte[] toArray(Collection<Byte> collection) { in toArray()
232 array[i] = (Byte) boxedArray[i]; in toArray()
251 public static List<Byte> asList(byte... backingArray) { in asList()
259 private static class ByteArrayAsList extends AbstractList<Byte>
283 @Override public Byte get(int index) { in get()
290 return (target instanceof Byte) in contains()
291 && Bytes.indexOf(array, (Byte) target, start, end) != -1; in contains()
296 if (target instanceof Byte) { in indexOf()
297 int i = Bytes.indexOf(array, (Byte) target, start, end); in indexOf()
307 if (target instanceof Byte) { in lastIndexOf()
[all …]
DSignedBytes.java62 if (value > Byte.MAX_VALUE) { in saturatedCast()
63 return Byte.MAX_VALUE; in saturatedCast()
65 if (value < Byte.MIN_VALUE) { in saturatedCast()
66 return Byte.MIN_VALUE; in saturatedCast()
/external/llvm/include/llvm/CodeGen/
DJITCodeEmitter.h177 uint8_t Byte = Value & 0x7f; variable
179 if (Value || PadTo != 0) Byte |= 0x80;
180 emitByte(Byte);
185 uint8_t Byte = (PadTo > 1) ? 0x80 : 0x0; variable
186 emitByte(Byte);
198 uint8_t Byte = Value & 0x7f; in emitSLEB128Bytes() local
200 IsMore = Value != Sign || ((Byte ^ Sign) & 0x40) != 0; in emitSLEB128Bytes()
201 if (IsMore) Byte |= 0x80; in emitSLEB128Bytes()
202 emitByte(Byte); in emitSLEB128Bytes()
DMachineCodeEmitter.h179 uint8_t Byte = Value & 0x7f; in emitULEB128Bytes() local
181 if (Value) Byte |= 0x80; in emitULEB128Bytes()
182 emitByte(Byte); in emitULEB128Bytes()
193 uint8_t Byte = Value & 0x7f; in emitSLEB128Bytes() local
195 IsMore = Value != Sign || ((Byte ^ Sign) & 0x40) != 0; in emitSLEB128Bytes()
196 if (IsMore) Byte |= 0x80; in emitSLEB128Bytes()
197 emitByte(Byte); in emitSLEB128Bytes()
DBinaryObject.h304 uint8_t Byte = (uint8_t)(Value & 0x7f); in emitULEB128Bytes() local
306 if (Value) Byte |= 0x80; in emitULEB128Bytes()
307 emitByte(Byte); in emitULEB128Bytes()
318 uint8_t Byte = (uint8_t)(Value & 0x7f); in emitSLEB128Bytes() local
320 IsMore = Value != Sign || ((Byte ^ Sign) & 0x40) != 0; in emitSLEB128Bytes()
321 if (IsMore) Byte |= 0x80; in emitSLEB128Bytes()
322 emitByte(Byte); in emitSLEB128Bytes()
/external/qemu/distrib/zlib-1.2.3/
Dzconf.h50 # define Byte z_Byte macro
261 typedef unsigned char Byte; /* 8 bits */ typedef
268 # define Bytef Byte FAR
270 typedef Byte FAR Bytef;
282 typedef Byte const *voidpc;
283 typedef Byte FAR *voidpf;
284 typedef Byte *voidp;
Ddeflate.c287 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));
745 put_byte(s, (Byte)(strm->adler & 0xff));
746 put_byte(s, (Byte)((strm->adler >> 8) & 0xff));
[all …]
/external/chromium/sdch/open-vcdiff/src/
Dzconf.h50 # define Byte z_Byte macro
261 typedef unsigned char Byte; /* 8 bits */ typedef
268 # define Bytef Byte FAR
270 typedef Byte FAR Bytef;
282 typedef Byte const *voidpc;
283 typedef Byte FAR *voidpf;
284 typedef Byte *voidp;
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinterDwarf.cpp49 unsigned char Byte = static_cast<unsigned char>(Value & 0x7f); in EmitSLEB128() local
51 IsMore = Value != Sign || ((Byte ^ Sign) & 0x40) != 0; in EmitSLEB128()
52 if (IsMore) Byte |= 0x80; in EmitSLEB128()
53 OutStreamer.EmitIntValue(Byte, 1, /*addrspace*/0); in EmitSLEB128()
71 unsigned char Byte = static_cast<unsigned char>(Value & 0x7f); in EmitULEB128() local
73 if (Value || PadTo != 0) Byte |= 0x80; in EmitULEB128()
74 OutStreamer.EmitIntValue(Byte, 1, /*addrspace*/0); in EmitULEB128()
/external/kernel-headers/original/linux/
Dzlib.h85 Byte *next_in; /* next input byte */
89 Byte *next_out; /* next output byte should be put there */
494 const Byte *dictionary,
630 const Byte *dictionary,
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/reflect/
DMethodTest.java414 methods[i].invoke(testMethod, new Object[] { new Byte( in test_invokeLjava_lang_Object$Ljava_lang_Object()
417 param == Byte.TYPE || param == Short.TYPE in test_invokeLjava_lang_Object$Ljava_lang_Object()
441 param == Byte.TYPE || param == Boolean.TYPE in test_invokeLjava_lang_Object$Ljava_lang_Object()
456 param == Byte.TYPE || param == Short.TYPE in test_invokeLjava_lang_Object$Ljava_lang_Object()
470 param == Byte.TYPE || param == Short.TYPE in test_invokeLjava_lang_Object$Ljava_lang_Object()
488 param == Byte.TYPE || param == Short.TYPE in test_invokeLjava_lang_Object$Ljava_lang_Object()
501 param == Byte.TYPE || param == Short.TYPE in test_invokeLjava_lang_Object$Ljava_lang_Object()
517 param == Byte.TYPE || param == Short.TYPE in test_invokeLjava_lang_Object$Ljava_lang_Object()
534 param == Byte.TYPE || param == Short.TYPE in test_invokeLjava_lang_Object$Ljava_lang_Object()
/external/javassist/src/main/javassist/bytecode/annotation/
DByteMemberValue.java61 return new Byte(getValue()); in getValue()
86 return Byte.toString(getValue()); in toString()
/external/clang/test/Analysis/
Dcasts.c54 typedef unsigned char Byte; typedef
57 Byte buf[len]; in doit()
/external/android-mock/src/com/google/android/testing/mocking/
DAndroidMock.java2434 public static byte capture(Capture<Byte> captured) { in capture()
2691 } else if (arg.getClass().equals(Byte.class)) { in isUnboxableToPrimitive()
2692 unboxedType = Byte.TYPE; in isUnboxableToPrimitive()
2713 if (to == Byte.TYPE) { in isAssignable()
2714 return from == Byte.TYPE; in isAssignable()
2716 return from == Byte.TYPE || from == Short.TYPE || from == Character.TYPE; in isAssignable()
2718 return from == Byte.TYPE || from == Short.TYPE || from == Integer.TYPE in isAssignable()
2721 return from == Byte.TYPE || from == Short.TYPE || from == Integer.TYPE || from == Long.TYPE in isAssignable()
2724 return from == Byte.TYPE || from == Short.TYPE || from == Integer.TYPE in isAssignable()
2727 return from == Byte.TYPE || from == Short.TYPE || from == Integer.TYPE || from == Long.TYPE in isAssignable()
/external/easymock/src/org/easymock/internal/
DRecordState.java44 emptyReturnValues.put(Byte.TYPE, Byte.valueOf((byte) 0)); in emptyReturnValues.put()
57 primitiveToWrapperType.put(Byte.TYPE, Byte.class); in primitiveToWrapperType.put()
231 if (returnType.equals(Byte.TYPE)) { in createNumberObject()
DMethodSerializationWrapper.java32 primitiveTypes.put(Byte.TYPE.getName(), Byte.TYPE); in Byte.TYPE.getName()
/external/freetype/src/raster/
Dftraster.c306 typedef unsigned char Byte, *PByte; typedef
507 Byte dropOutControl; /* current drop_out control method */
523 Byte* grays;
525 Byte gray_lines[RASTER_GRAY_LINES];
549 Byte grays[5];
1825 ras.dropOutControl = (Byte)tags[0] >> 5; in Decompose_Curve()
2261 Byte f1, f2; in Vertical_Sweep_Span()
2262 Byte* target; in Vertical_Sweep_Span()
2288 f1 = (Byte) ( 0xFF >> ( e1 & 7 ) ); in Vertical_Sweep_Span()
2289 f2 = (Byte) ~( 0x7F >> ( e2 & 7 ) ); in Vertical_Sweep_Span()
[all …]

12345