HomeSort by relevance Sort by last modified time
    Searched refs:Short (Results 101 - 125 of 254) sorted by null

1 2 3 45 6 7 8 91011

  /external/libphonenumber/java/src/com/android/i18n/phonenumbers/geocoding/
FlyweightMapStorage.java 38 // Size of short and integer types in bytes.
39 private static final int SHORT_SIZE = Short.SIZE / 8;
65 return value <= Short.MAX_VALUE ? SHORT_SIZE : INT_SIZE;
70 * index} using the provided {@code wordSize} in bytes. Note that only integer and short sizes are
83 buffer.putShort(index, (short) value);
91 * Note that only integer and short sizes are supported.
  /libcore/dalvik/src/main/java/dalvik/system/profiler/
BinaryHprofWriter.java 87 if (depth > Short.MAX_VALUE) {
89 + depth + " > " + Short.MAX_VALUE);
95 out.writeShort((short) depth);
  /libcore/junit/src/main/java/junit/framework/
Assert.java 187 static public void assertEquals(String message, short expected, short actual) {
188 assertEquals(message, new Short(expected), new Short(actual));
193 static public void assertEquals(short expected, short actual) {
  /libcore/luni/src/main/java/java/io/
EmulatedFields.java 334 * Finds and returns the short value of a given field named {@code name} in
348 public short get(String name, short defaultValue) throws IllegalArgumentException {
349 ObjectSlot slot = findMandatorySlot(name, short.class);
350 return slot.defaulted ? defaultValue : ((Short) slot.fieldValue).shortValue();
504 * Find and set the short value of a given field named {@code name} in the
515 public void put(String name, short value) throws IllegalArgumentException {
516 ObjectSlot slot = findMandatorySlot(name, short.class);
517 slot.fieldValue = Short.valueOf(value);
  /libcore/luni/src/test/java/libcore/java/io/
OldDataInputStreamTest.java 308 os.writeShort(Short.MIN_VALUE);
311 assertEquals("Test 1: Incorrect short written or read;",
312 (Short.MAX_VALUE + 1), dis.readUnsignedShort());
OldRandomAccessFileTest.java 676 * java.io.RandomAccessFile#writeShort(short)
680 raf.writeShort(Short.MIN_VALUE);
682 raf.writeShort(Short.MAX_VALUE);
683 raf.writeShort(Short.MIN_VALUE - 1);
684 raf.writeShort(Short.MAX_VALUE + 1);
688 Short.MIN_VALUE, raf.readShort());
692 Short.MAX_VALUE, raf.readShort());
696 (short) 0x8000, raf.readShort());
    [all...]
  /external/jhead/
exif.c 317 static void Put16u(void * Short, unsigned short PutValue)
320 ((uchar *)Short)[0] = (uchar)(PutValue>>8);
321 ((uchar *)Short)[1] = (uchar)PutValue;
323 ((uchar *)Short)[0] = (uchar)PutValue;
324 ((uchar *)Short)[1] = (uchar)(PutValue>>8);
331 int Get16u(void * Short)
334 return (((uchar *)Short)[0] << 8) | ((uchar *)Short)[1];
336 return (((uchar *)Short)[1] << 8) | ((uchar *)Short)[0]
    [all...]
jhead.h 145 unsigned short Tag; // tag value, i.e. TAG_MODEL
154 unsigned short Tag;
175 int Get16u(void * Short);
209 int GpsTagToFormatType(unsigned short tag);
211 TagTable_t* GpsTagToTagTableEntry(unsigned short tag);
jpgfile.c 36 static int Get16m(const void * Short)
38 return (((uchar *)Short)[0] << 8) | ((uchar *)Short)[1];
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/reflect/
FieldTest.java 36 protected short shortField = Short.MAX_VALUE;
52 protected final short shortFField = Short.MAX_VALUE;
80 protected short shortField = Short.MAX_VALUE;
160 case 'S': // short
161 res = new Short(f.getShort(o));
207 case 'S': // short
208 f.setShort(o, ((Short) value).shortValue())
    [all...]
  /frameworks/base/media/libstagefright/codecs/m4v_h263/enc/src/
datapart_encode.cpp 238 Short outputMB[6][64];
344 M4VENC_MEMCPY(outputMB[k], video->outputMB->block[k], sizeof(Short) << 6);
425 M4VENC_MEMCPY(video->outputMB->block[k], outputMB[k], sizeof(Short) << 6);
combined_encode.cpp 290 Short outputMB[6][64];
444 M4VENC_MEMCPY(outputMB[k], video->outputMB->block[k], sizeof(Short) << 6);
496 M4VENC_MEMCPY(video->outputMB->block[k], outputMB[k], sizeof(Short) << 6);
  /cts/tests/tests/content/src/android/content/cts/
ContentValuesTest.java 209 Short expected = 20;
210 mContentValues.put("Short", expected);
211 assertEquals(expected, mContentValues.getAsShort("Short"));
214 mContentValues.put("Short", expected);
215 assertEquals(expected, mContentValues.getAsShort("Short"));
231 mContentValues.put("Short", 12);
235 mContentValues.remove("Short");
238 mContentValues.put("Short", 12);
411 notes = "Test put(String key, Short value).",
413 args = {java.lang.String.class, java.lang.Short.class
    [all...]
  /cts/tests/tests/openglperf/src/android/openglperf/cts/
Sphere.java 56 if (nVertices > Short.MAX_VALUE) {
101 short[] indexBuffer = new short[max(mNumIndices)];
115 indexBuffer[index++] = (short) (i * iMax + j);
116 indexBuffer[index++] = (short) (i1 * iMax + j);
117 indexBuffer[index++] = (short) (i1 * iMax + j1);
118 indexBuffer[index++] = (short) (i * iMax + j);
119 indexBuffer[index++] = (short) (i1 * iMax + j1);
120 indexBuffer[index++] = (short) (i * iMax + j1);
  /external/javassist/src/main/javassist/util/proxy/
FactoryHelper.java 78 Boolean.TYPE, Byte.TYPE, Character.TYPE, Short.TYPE, Integer.TYPE,
87 "java.lang.Short", "java.lang.Integer", "java.lang.Long",
  /frameworks/base/core/java/android/database/
MatrixCursor.java 235 public short getShort(int column) {
239 return Short.parseShort(value.toString());
  /frameworks/base/media/libstagefright/codecs/m4v_h263/enc/include/
mp4enc_api.h 29 typedef unsigned short UShort;
30 typedef short Short;
367 * @brief This function encodes a GOB (short header mode) or a packet (data partitioning mode or combined mode with resync marker)
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
SuggestionCursorBackedCursor.java 175 public short getShort(int column) {
177 return Short.valueOf(getString(column));
  /packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
MockSuggestionProviderCursor.java 76 public short getShort(int column) {
137 public short getShort(int column) {
140 return Short.valueOf(o.toString());
  /external/chromium/testing/gmock/test/
gmock-generated-actions_test.cc 67 inline short Short(short n) { return n; } // NOLINT
95 const char* Binary(const char* input, short n) { return input + n; } // NOLINT
99 int Ternary(int x, char y, short z) { return x + y + z; } // NOLINT
248 Action<const char*(const char*(*)(const char* input, short n))> a = // NOLINT
249 InvokeArgument<0>(static_cast<const char*>("Hi"), Short(1));
256 Action<const char*(const char*(*)(const char* input, short n))> a = // NOLINT
257 InvokeArgument<0>("Hi", Short(1));
293 Action<const char*(const char* s, double x, short n)> a
    [all...]
gmock-more-actions_test.cc 72 inline short Short(short n) { return n; } // NOLINT
108 const char* Binary(const char* input, short n) { return input + n; } // NOLINT
112 int Ternary(int x, char y, short z) { return x + y + z; } // NOLINT
186 short Unary(long x) { return static_cast<short>(value_ + x); } // NOLINT
247 Action<const char*(const char*, short)> a = Invoke(Binary); // NOLINT
249 EXPECT_EQ(p + 2, a.Perform(make_tuple(p, Short(2))));
254 Action<int(int, char, short)> a = Invoke(Ternary); // NOLIN
    [all...]
  /external/ppp/pppd/plugins/radius/etc/
dictionary.microsoft 65 VALUE MS-ARAP-PW-Change-Reason Password-Too-Short 4
  /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
466 * <td width="25%">Short 24-hour time ({@code %tH:%tM}).</td>
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
IdentityHashMap2Test.java 316 Short s0 = new Short((short) 0);
317 m.put(s0, "short");
322 "short", m.get(s0));
  /external/clang/tools/libclang/
CXType.cpp 46 BTCASE(Short);
308 TKIND(Short);

Completed in 579 milliseconds

1 2 3 45 6 7 8 91011