Home
last modified time | relevance | path

Searched refs:readShort (Results 1 – 25 of 52) sorted by relevance

123

/external/smali/dexlib2/src/test/java/org/jf/dexlib2/dexbacked/
DBaseDexBufferTest.java184 Assert.assertEquals(dexBuf.readShort(0), 0x2211); in testReadShort()
187 Assert.assertEquals(dexBuf.readShort(0), 0); in testReadShort()
190 Assert.assertEquals(dexBuf.readShort(0), -1); in testReadShort()
193 Assert.assertEquals(dexBuf.readShort(0), Short.MIN_VALUE); in testReadShort()
196 Assert.assertEquals(dexBuf.readShort(0), 0x7fff); in testReadShort()
199 Assert.assertEquals(dexBuf.readShort(0), 0xffff80ff); in testReadShort()
241 Assert.assertEquals((short)val, dexBuf.readShort(0)); in testReadRandom()
242 Assert.assertEquals((short)(val >> 8), dexBuf.readShort(1)); in testReadRandom()
243 Assert.assertEquals((short)(val >> 16), dexBuf.readShort(2)); in testReadRandom()
/external/glide/third_party/gif_decoder/src/main/java/com/bumptech/glide/gifdecoder/
DGifHeaderParser.java160 int delayInHundredthsOfASecond = readShort(); in readGraphicControlExt()
177 header.currentFrame.ix = readShort(); in readBitmap()
178 header.currentFrame.iy = readShort(); in readBitmap()
179 header.currentFrame.iw = readShort(); in readBitmap()
180 header.currentFrame.ih = readShort(); in readBitmap()
251 header.width = readShort(); in readLSD()
252 header.height = readShort(); in readLSD()
366 private int readShort() { in readShort() method in GifHeaderParser
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
DSerializedGrammar.java107 int numRules = in.readShort(); in readFile()
134 int nalts = in.readShort(); in readBlock()
153 int ttype = in.readShort(); in readAlt()
158 int ruleIndex = in.readShort(); in readAlt()
169 int notThisTokenType = in.readShort(); in readAlt()
/external/sonic/
Dwave.c131 static int readShort( in readShort() function
204 data = readShort(file); /* 20 - what is the audio format? 1 for PCM = Pulse Code Modulation */ in readHeader()
209 file->numChannels = readShort(file); /* 22 - mono or stereo? 1 or 2? (or 5 or ???) */ in readHeader()
212 readShort(file); /* 32 - # of bytes in one sample, for all channels */ in readHeader()
213 data = readShort(file); /* 34 - how many bits in a sample(number)? usually 16 or 24 */ in readHeader()
219 data = readShort(file); in readHeader()
/external/proguard/src/proguard/classfile/io/
DRuntimeDataInput.java164 public short readShort() in readShort() method in RuntimeDataInput
168 return dataInput.readShort(); in readShort()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DBaseDexReader.java262 public int readShort() { in readShort() method in BaseDexReader
264 int result = dexBuf.readShort(offset); in readShort()
284 public int readShort(int offset) { return dexBuf.readShort(offset); } in readShort() method in BaseDexReader
/external/libgdx/gdx/src/com/badlogic/gdx/utils/
DUBJsonReader.java84 return new JsonValue(oldFormat ? (long)din.readShort() : (long)din.readByte()); in parse()
86 return new JsonValue(oldFormat ? (long)din.readInt() : (long)din.readShort()); in parse()
239 return ((int)din.readShort() & 0xFFFF); in readUShort()
DLittleEndianInputStream.java60 public short readShort () throws IOException { in readShort() method in LittleEndianInputStream
/external/proguard/src/proguard/classfile/instruction/
DInstruction.java1015 protected static int readShort(byte[] code, int offset) in readShort() method in Instruction
1035 case 2: return readShort(code, offset); in readValue()
/external/emma/core/java12/com/vladium/jcd/lib/
DUDataInputStream.java38 final short value = readShort (); in readU2()
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/io/
DDataInput.java40 public short readShort () throws IOException; in readShort() method
DRandomAccessFile.java192 public final short readShort () throws IOException { in readShort() method in RandomAccessFile
193 return dis.readShort(); in readShort()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/instruction/
DDexBackedInstruction20t.java47 @Override public int getCodeOffset() { return dexFile.readShort(instructionStart + 2); } in getCodeOffset()
DDexBackedInstruction21t.java48 @Override public int getCodeOffset() { return dexFile.readShort(instructionStart + 2); } in getCodeOffset()
DDexBackedInstruction21lh.java49 … @Override public short getHatLiteral() { return (short)dexFile.readShort(instructionStart + 2); } in getHatLiteral()
DDexBackedInstruction21s.java48 @Override public int getNarrowLiteral() { return dexFile.readShort(instructionStart + 2); } in getNarrowLiteral()
DDexBackedInstruction21ih.java50 … @Override public short getHatLiteral() { return (short)dexFile.readShort(instructionStart + 2); } in getHatLiteral()
DDexBackedInstruction22t.java58 @Override public int getCodeOffset() { return dexFile.readShort(instructionStart + 2); } in getCodeOffset()
DDexBackedInstruction22s.java58 @Override public int getNarrowLiteral() { return dexFile.readShort(instructionStart + 2); } in getNarrowLiteral()
/external/guava/guava/src/com/google/common/io/
DByteArrayDataInput.java48 @Override short readShort(); in readShort() method
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/hiero/
DKerning.java128 int offset = (int) input.readShort(); in readKERN()
341 int value = (int) input.readShort(); in readXAdvanceFromValueRecord()
387 public short readShort () throws IOException { in readShort() method in Kerning.TTFInputStream
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/instr/
DProbeArrayStrategyFactory.java71 return reader.readShort(6); in getVersion()
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/internal/ws/
DWebSocketReader.java138 frameLength = source.readShort() & 0xffffL; // Value is unsigned. in readHeader()
191 code = buffer.readShort(); in readControlFrame()
/external/okhttp/okio/okio/src/main/java/okio/
DBufferedSource.java55 short readShort() throws IOException; in readShort() method
/external/mockito/cglib-and-asm/src/org/mockito/cglib/transform/impl/
DInterceptFieldCallback.java37 short readShort(Object obj, String name, short oldValue); in readShort() method

123