/libcore/luni/src/main/java/libcore/io/ |
SizeOf.java | 25 public static final int SHORT = 2;
|
HeapBufferIterator.java | 73 public short readShort() { 74 short result = Memory.peekShort(buffer, offset + position, order); 75 position += SizeOf.SHORT;
|
NioBufferIterator.java | 70 public short readShort() { 71 short result = Memory.peekShort(address + position, swap); 72 position += SizeOf.SHORT;
|
/dalvik/hit/src/com/android/hit/ |
Types.java | 28 public static final int SHORT = 9; 45 case 'S': return 2; // short 55 case SHORT: return 2; 72 case 'S': return "short"; 82 case SHORT: return "short";
|
/libcore/luni/src/main/java/java/nio/ |
ShortToByteBufferAdapter.java | 22 * This class wraps a byte buffer to be a short buffer. 44 super(byteBuffer.capacity() / SizeOf.SHORT); 65 byteBuffer.limit(limit * SizeOf.SHORT); 66 byteBuffer.position(position * SizeOf.SHORT); 86 public short get() { 90 return byteBuffer.getShort(position++ * SizeOf.SHORT); 94 public short get(int index) { 96 return byteBuffer.getShort(index * SizeOf.SHORT); 100 public ShortBuffer get(short[] dst, int dstOffset, int shortCount) { 101 byteBuffer.limit(limit * SizeOf.SHORT); [all...] |
HeapByteBuffer.java | 99 final void get(short[] dst, int dstOffset, int shortCount) { 100 int byteCount = checkGetBounds(SizeOf.SHORT, dst.length, dstOffset, shortCount); 101 Memory.unsafeBulkGet(dst, dstOffset, byteCount, backingArray, offset + position, SizeOf.SHORT, order.needsSwap); 191 public final short getShort() { 192 int newPosition = position + SizeOf.SHORT; 196 short result = Memory.peekShort(backingArray, offset + position, order); 202 public final short getShort(int index) { 203 checkIndex(index, SizeOf.SHORT);
|
ReadWriteHeapByteBuffer.java | 149 final void put(short[] src, int srcOffset, int shortCount) { 150 int byteCount = checkPutBounds(SizeOf.SHORT, src.length, srcOffset, shortCount); 151 Memory.unsafeBulkPut(backingArray, offset + position, byteCount, src, srcOffset, SizeOf.SHORT, order.needsSwap); 158 Memory.pokeShort(backingArray, offset + index, (short) value, order); 168 Memory.pokeShort(backingArray, offset + position, (short) value, order); 230 public ByteBuffer putShort(int index, short value) { 231 checkIndex(index, SizeOf.SHORT); 237 public ByteBuffer putShort(short value) { 238 int newPosition = position + SizeOf.SHORT;
|
DirectByteBuffer.java | 77 final void get(short[] dst, int dstOffset, int shortCount) { 78 int byteCount = checkGetBounds(SizeOf.SHORT, dst.length, dstOffset, shortCount); 183 public final short getShort() { 184 int newPosition = position + SizeOf.SHORT; 188 short result = this.block.peekShort(offset + position, order); 194 public final short getShort(int index) { 195 checkIndex(index, SizeOf.SHORT);
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
DateFormatTest.java | 53 DateFormat f1 = DateFormat.getDateTimeInstance(DateFormat.SHORT, 54 DateFormat.SHORT, locales[i]); 93 .getDateInstance(DateFormat.SHORT); 96 DateFormat.SHORT, Locale.getDefault()))); 143 DateFormat.SHORT, Locale.GERMAN); 218 testDateTime(DateFormat.SHORT, DateFormat.SHORT); 219 testDateTime(DateFormat.SHORT, DateFormat.MEDIUM); 220 testDateTime(DateFormat.SHORT, DateFormat.LONG); 221 testDateTime(DateFormat.SHORT, DateFormat.FULL) [all...] |
/dalvik/dexgen/src/com/android/dexgen/rop/cst/ |
CstShort.java | 23 * Constants of type {@code short}. 28 public static final CstShort VALUE_0 = make((short) 0); 34 * @param value the {@code short} value 37 public static CstShort make(short value) { 46 * @param value the value, which must be in range for a {@code short} 50 short cast = (short) value; 53 throw new IllegalArgumentException("bogus short value: " + 63 * @param value the {@code short} value 65 private CstShort(short value) [all...] |
CstType.java | 55 /** {@code non-null;} instance corresponding to the class {@code Short} */ 56 public static final CstType SHORT = intern(Type.SHORT_CLASS); 82 /** {@code non-null;} instance corresponding to the type {@code short[]} */ 112 case Type.BT_SHORT: return SHORT;
|
/dalvik/dx/src/com/android/dx/rop/cst/ |
CstShort.java | 23 * Constants of type {@code short}. 28 public static final CstShort VALUE_0 = make((short) 0); 34 * @param value the {@code short} value 37 public static CstShort make(short value) { 46 * @param value the value, which must be in range for a {@code short} 50 short cast = (short) value; 53 throw new IllegalArgumentException("bogus short value: " + 63 * @param value the {@code short} value 65 private CstShort(short value) [all...] |
CstType.java | 55 /** {@code non-null;} instance corresponding to the class {@code Short} */ 56 public static final CstType SHORT = intern(Type.SHORT_CLASS); 82 /** {@code non-null;} instance corresponding to the type {@code short[]} */ 112 case Type.BT_SHORT: return SHORT;
|
/external/zlib/contrib/masm686/ |
match.asm | 163 jl SHORT LastMatchGood
182 jl SHORT LookaheadLess
209 jg SHORT LimitPositive
236 jmp SHORT LoopEntry
271 jnz SHORT LookupLoop
276 jnz SHORT LookupLoop
313 jnz SHORT LeaveLoopCmps
317 jnz SHORT LeaveLoopCmps4
320 jnz SHORT LoopCmps
329 jnz SHORT LenLower [all...] |
/libcore/luni/src/main/java/java/text/ |
DateFormat.java | 39 * styles. The formatting styles include FULL, LONG, MEDIUM, and SHORT. More 94 * methods to control the length of the result; from SHORT to MEDIUM to LONG to 97 * <li>SHORT is completely numeric, such as 12.13.52 or 3:30pm 164 * The format style constant defining the short style. 166 public static final int SHORT = 3; 434 * one of SHORT, MEDIUM, LONG, FULL, or DEFAULT. 438 * if {@code style} is not one of SHORT, MEDIUM, LONG, FULL, or 451 * one of SHORT, MEDIUM, LONG, FULL, or DEFAULT. 455 * if {@code style} is not one of SHORT, MEDIUM, LONG, FULL, or 480 * one of SHORT, MEDIUM, LONG, FULL, or DEFAULT [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
TimeZoneTest.java | 51 assertEquals("GMT+00:01", tz0001.getDisplayName(false, TimeZone.SHORT, Locale.US)); 52 assertEquals("GMT+01:30", tz0130.getDisplayName(false, TimeZone.SHORT, Locale.US)); 53 assertEquals("GMT-01:30", tzMinus0130.getDisplayName(false, TimeZone.SHORT, Locale.US));
|
/libcore/luni/src/main/java/java/io/ |
DataOutputStream.java | 28 * written include byte, 16-bit short, 32-bit int, 32-bit float, 64-bit long, 191 Memory.pokeShort(scratch, 0, (short) val, ByteOrder.BIG_ENDIAN); 192 out.write(scratch, 0, SizeOf.SHORT); 193 written += SizeOf.SHORT;
|
/libcore/luni/src/main/java/java/nio/charset/ |
ModifiedUtf8.java | 71 * exception if the string is too long for its length to be represented by a short. 120 byte[] result = new byte[SizeOf.SHORT + utfCount]; 121 Memory.pokeShort(result, 0, (short) utfCount, ByteOrder.BIG_ENDIAN); 122 ModifiedUtf8.encode(result, SizeOf.SHORT, s);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
CalendarTest.java | 804 assertEquals(cal.getDisplayName(field, Calendar.SHORT, 810 assertEquals(cal.getDisplayName(field, Calendar.SHORT, 818 assertEquals(cal.getDisplayName(field, Calendar.SHORT, 824 assertEquals(cal.getDisplayName(field, Calendar.SHORT, 834 assertEquals(cal.getDisplayName(field, Calendar.SHORT, 845 assertEquals(cal.getDisplayName(field, Calendar.SHORT, 854 .getDisplayName(field, Calendar.SHORT, locale)); 863 cal.getDisplayName(-1, Calendar.SHORT, Locale.US); 887 cal.getDisplayName(Calendar.MONTH, Calendar.SHORT, null); 893 cal.getDisplayName(-1, Calendar.SHORT, null) [all...] |
/libcore/luni/src/test/java/tests/api/java/util/ |
CalendarTest.java | 804 assertEquals(cal.getDisplayName(field, Calendar.SHORT, 810 assertEquals(cal.getDisplayName(field, Calendar.SHORT, 818 assertEquals(cal.getDisplayName(field, Calendar.SHORT, 824 assertEquals(cal.getDisplayName(field, Calendar.SHORT, 834 assertEquals(cal.getDisplayName(field, Calendar.SHORT, 845 assertEquals(cal.getDisplayName(field, Calendar.SHORT, 854 .getDisplayName(field, Calendar.SHORT, locale)); 863 cal.getDisplayName(-1, Calendar.SHORT, Locale.US); 887 cal.getDisplayName(Calendar.MONTH, Calendar.SHORT, null); 893 cal.getDisplayName(-1, Calendar.SHORT, null) [all...] |
/external/javassist/src/main/javassist/compiler/ |
TokenId.java | 53 int SHORT = 334;
|
/dalvik/dexgen/src/com/android/dexgen/rop/type/ |
Type.java | 62 /** basic type constant for {@code short} */ 95 /** {@code non-null;} instance representing {@code short} */ 96 public static final Type SHORT = new Type("S", BT_SHORT); 119 putIntern(SHORT); 130 CLASS_TYPE_MAP.put(short.class, SHORT); 215 * {@code non-null;} instance representing {@code java.lang.Short}; the 219 public static final Type SHORT_CLASS = intern("Ljava/lang/Short;"); 252 /** {@code non-null;} instance representing {@code short[]} */ 253 public static final Type SHORT_ARRAY = SHORT.getArrayType() [all...] |
/hardware/ti/omap3/dspbridge/inc/ |
dbtype.h | 108 typedef unsigned short WORD; /* w */ 112 typedef short SHORT; /* s */ 116 typedef unsigned short USHORT; /* us */ 132 typedef volatile unsigned short REG_UWORD16; 146 typedef unsigned short WCHAR; /* wch */ 174 typedef unsigned short WCHAR; /* wch */
|
/hardware/ti/omap3/dspbridge/libbridge/inc/ |
dbtype.h | 108 typedef unsigned short WORD; /* w */ 112 typedef short SHORT; /* s */ 116 typedef unsigned short USHORT; /* us */ 132 typedef volatile unsigned short REG_UWORD16; 146 typedef unsigned short WCHAR; /* wch */ 174 typedef unsigned short WCHAR; /* wch */
|
/dalvik/dx/src/com/android/dx/gen/ |
Type.java | 50 /** The {@code short} primitive type. */ 51 public static final Type<Short> SHORT = new Type<Short>(com.android.dx.rop.type.Type.SHORT); 72 PRIMITIVE_TO_TYPE.put(short.class, SHORT);
|