/libcore/luni/src/main/java/java/io/ |
EmulatedFieldsForDumping.java | 60 * Find and set the byte value of a given field named <code>name</code> in 69 public void put(String name, byte value) { 205 } else if (type == byte.class) { 206 output.writeByte(fieldValue != null ? ((Byte) fieldValue).byteValue() : 0);
|
EmulatedFields.java | 194 * Finds and returns the byte value of a given field named {@code name} 208 public byte get(String name, byte defaultValue) throws IllegalArgumentException { 209 ObjectSlot slot = findMandatorySlot(name, byte.class); 210 return slot.defaulted ? defaultValue : ((Byte) slot.fieldValue).byteValue(); 374 * Find and set the byte value of a given field named {@code name} in the 385 public void put(String name, byte value) throws IllegalArgumentException { 386 ObjectSlot slot = findMandatorySlot(name, byte.class); 387 slot.fieldValue = Byte.valueOf(value);
|
/libcore/luni/src/test/java/tests/api/java/lang/reflect/ |
MethodTest.java | 43 long l, byte b, char c, double d, float f) { 51 boolean bool, Object o, long l, byte b, char c, double d, 63 public byte byteMethod() { 64 return (byte) 1; 124 public void invokeCastTest1(byte param) { 524 Object.class, long.class, byte.class, char.class, double.class, 615 assertTrue("Gave incorrect returne type, wanted byte", mth 616 .getReturnType().equals(byte.class)); 622 assertTrue("Gave incorrect returne type, wanted byte", mth 623 .getReturnType().equals(byte.class)) [all...] |
FieldTest.java | 107 protected byte byteField = Byte.MAX_VALUE; 108 protected static byte byteSField = Byte.MAX_VALUE; 109 protected final byte byteFField = Byte.MAX_VALUE; 110 private final byte bytePFField = Byte.MAX_VALUE; 272 case 'B': // byte 273 res = new Byte(f.getByte(o)) [all...] |
/dalvik/dx/src/com/android/dx/gen/ |
Type.java | 31 /** The {@code byte} primitive type. */ 32 public static final Type<Byte> BYTE = new Type<Byte>(com.android.dx.rop.type.Type.BYTE); 66 PRIMITIVE_TO_TYPE.put(byte.class, BYTE);
|
/dalvik/dx/src/junit/framework/ |
Assert.java | 161 static public void assertEquals(String message, byte expected, byte actual) { 162 assertEquals(message, new Byte(expected), new Byte(actual)); 167 static public void assertEquals(byte expected, byte actual) {
|
/dalvik/tests/021-string2/src/junit/framework/ |
Assert.java | 161 static public void assertEquals(String message, byte expected, byte actual) { 162 assertEquals(message, new Byte(expected), new Byte(actual)); 167 static public void assertEquals(byte expected, byte actual) {
|
/dalvik/tests/064-field-access/src/ |
Main.java | 61 result = new Byte(field.getByte(obj)); 118 public byte pubByteField; 120 protected byte protByteField; 293 result = new Byte(field.getByte(obj));
|
/dalvik/tests/082-inline-execute/src/junit/framework/ |
Assert.java | 161 static public void assertEquals(String message, byte expected, byte actual) { 162 assertEquals(message, new Byte(expected), new Byte(actual)); 167 static public void assertEquals(byte expected, byte actual) {
|
/development/samples/NFCDemo/src/com/example/android/nfc/record/ |
SmartPoster.java | 167 UNKNOWN((byte) -1), DO_ACTION((byte) 0), SAVE_FOR_LATER((byte) 1), OPEN_FOR_EDITING( 168 (byte) 2); 170 private static final ImmutableMap<Byte, RecommendedAction> LOOKUP; 172 ImmutableMap.Builder<Byte, RecommendedAction> builder = ImmutableMap.builder(); 179 private final byte mAction; 181 private RecommendedAction(byte val) { 185 private byte getByte() { 190 private static NdefRecord getByType(byte[] type, NdefRecord[] records) [all...] |
/external/bluetooth/glib/ |
acglib.m4 | 76 AC_CACHE_CHECK([byte contents of $5], glib_ByteContents, 96 [Byte contents of $3])
|
/external/junit/src/junit/framework/ |
Assert.java | 158 static public void assertEquals(String message, byte expected, byte actual) { 159 assertEquals(message, new Byte(expected), new Byte(actual)); 164 static public void assertEquals(byte expected, byte actual) {
|
/external/llvm/tools/llvm-mc/ |
Disassembler.cpp | 47 int readByte(uint64_t Addr, uint8_t *Byte) const { 50 *Byte = Bytes[Addr].first; 126 // Convert to a byte and add to the byte vector.
|
/external/qemu/distrib/zlib-1.2.3/ |
gzio.c | 48 /* gzip flag byte */ 61 Byte *inbuf; /* input buffer */ 62 Byte *outbuf; /* output buffer */ 159 s->stream.next_out = s->outbuf = (Byte*)ALLOC(Z_BUFSIZE); 165 s->stream.next_in = s->inbuf = (Byte*)ALLOC(Z_BUFSIZE); 169 * Note that in this case inflate *requires* an extra "dummy" byte 257 Read a byte from a gz_stream; update next_in and avail_in. Return EOF 291 int method; /* method byte */ 292 int flags; /* flags byte */ 297 where first byte of header is at the end of the buffer after the las [all...] |
/external/tcpdump/ |
decnet.h | 25 typedef u_int8_t byte[1]; /* single byte field */ typedef 28 * the keyword 'byte' generates conflicts in Windows 30 typedef unsigned char Byte[1]; /* single byte field */ 31 #define byte Byte macro 33 typedef u_int8_t word[2]; /* 2 byte field */ 66 byte sh_flags; /* route flags */ 69 byte sh_visits; /* visit count * [all...] |
/external/zlib/ |
gzio.c | 48 /* gzip flag byte */ 61 Byte *inbuf; /* input buffer */ 62 Byte *outbuf; /* output buffer */ 159 s->stream.next_out = s->outbuf = (Byte*)ALLOC(Z_BUFSIZE); 165 s->stream.next_in = s->inbuf = (Byte*)ALLOC(Z_BUFSIZE); 169 * Note that in this case inflate *requires* an extra "dummy" byte 257 Read a byte from a gz_stream; update next_in and avail_in. Return EOF 291 int method; /* method byte */ 292 int flags; /* flags byte */ 297 where first byte of header is at the end of the buffer after the las [all...] |
/libcore/junit/src/main/java/junit/framework/ |
Assert.java | 161 static public void assertEquals(String message, byte expected, byte actual) { 162 assertEquals(message, new Byte(expected), new Byte(actual)); 167 static public void assertEquals(byte expected, byte actual) {
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
SmartPoster.java | 202 UNKNOWN((byte) -1), DO_ACTION((byte) 0), 203 SAVE_FOR_LATER((byte) 1), OPEN_FOR_EDITING((byte) 2); 205 private static final ImmutableMap<Byte, RecommendedAction> LOOKUP; 207 ImmutableMap.Builder<Byte, RecommendedAction> builder = ImmutableMap.builder(); 214 private final byte mAction; 216 private RecommendedAction(byte val) { 219 private byte getByte() { 224 private static NdefRecord getByType(byte[] type, NdefRecord[] records) [all...] |
UriRecord.java | 65 private static final BiMap<Byte, String> URI_PREFIX_MAP = ImmutableBiMap.<Byte, String>builder() 66 .put((byte) 0x00, "") 67 .put((byte) 0x01, "http://www.") 68 .put((byte) 0x02, "https://www.") 69 .put((byte) 0x03, "http://") 70 .put((byte) 0x04, "https://") 71 .put((byte) 0x05, "tel:") 72 .put((byte) 0x06, "mailto:") 73 .put((byte) 0x07, "ftp://anonymous:anonymous@" [all...] |
/external/freetype/src/raster/ |
ftraster.c | 306 typedef unsigned char Byte, *PByte; 507 Byte dropOutControl; /* current drop_out control method */ 523 Byte* grays; 525 Byte gray_lines[RASTER_GRAY_LINES]; 549 Byte grays[5]; [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/reflect/ |
FieldTest.java | 40 protected byte byteField = Byte.MAX_VALUE; 56 protected final byte byteFField = Byte.MAX_VALUE; 163 case 'B': // byte 164 res = new Byte(f.getByte(o)); 210 case 'B': // byte 211 f.setByte(o, ((Byte) value).byteValue()); 251 * @tests java.lang.reflect.Field#setByte(java.lang.Object, byte) 316 // The test will attempt to use pass an object to set for object, byte, [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
ContentValuesTest.java | 150 Byte expected = 'a'; 151 mContentValues.put("Byte", expected); 152 assertEquals(expected, mContentValues.getAsByte("Byte")); 155 mContentValues.put("Byte", expected); 156 assertEquals(expected, mContentValues.getAsByte("Byte")); 392 notes = "Test put(String key, Byte value).", 394 args = {java.lang.String.class, java.lang.Byte.class} 397 Byte expected = 'a'; 398 mContentValues.put("Byte", expected); 399 assertSame(expected, mContentValues.getAsByte("Byte")); [all...] |
/external/apache-harmony/support/src/test/java/tests/util/ |
CallVerificationStack.java | 300 public BaseTypeWrapper(byte val) { 301 this.value = new Byte(val);
|
/external/javassist/src/main/javassist/util/proxy/ |
FactoryHelper.java | 45 new Class[] { String.class, byte[].class, 51 new Class[] { String.class, byte[].class, 78 Boolean.TYPE, Byte.TYPE, Character.TYPE, Short.TYPE, Integer.TYPE, 86 "java.lang.Boolean", "java.lang.Byte", "java.lang.Character", 149 byte[] b = toBytecode(cf); 186 private static byte[] toBytecode(ClassFile cf) throws IOException {
|
/libcore/support/src/test/java/tests/util/ |
CallVerificationStack.java | 300 public BaseTypeWrapper(byte val) { 301 this.value = new Byte(val);
|