Home
last modified time | relevance | path

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

123456

/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/google-smali/dexlib2/src/test/java/com/android/tools/smali/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/robolectric/resources/src/main/java/org/robolectric/res/android/
DFileMap.java258 int bitFlag = readShort(buffer, offset + 8); in guessDataOffsets()
259 int fileNameLength = readShort(buffer, offset + 28); in guessDataOffsets()
260 int extraLength = readShort(buffer, offset + 30); in guessDataOffsets()
261 int fieldCommentLength = readShort(buffer, offset + 32); in guessDataOffsets()
273 int localHeaderExtraLength = readShort(localHeaderBuffer, 28); in guessDataOffsets()
364 private static short readShort(byte[] buffer, int offset) { in readShort() method in FileMap
/external/apache-commons-bcel/src/main/java/org/apache/bcel/util/
DCodeHTML.java176 index = bytes.getIndex() + bytes.readShort() - 1; in codeToHTML()
202 vindex = bytes.readShort(); in codeToHTML()
230 index = bytes.readShort(); in codeToHTML()
252 index = bytes.readShort(); in codeToHTML()
262 final int m_index = bytes.readShort(); in codeToHTML()
316 index = bytes.readShort(); in codeToHTML()
332 index = bytes.readShort(); in codeToHTML()
338 index = bytes.readShort(); in codeToHTML()
347 vindex = bytes.readShort(); in codeToHTML()
348 constant = bytes.readShort(); in codeToHTML()
[all …]
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/
DSerializedGrammar.java116 int numRules = in.readShort(); in readFile()
143 int nalts = in.readShort(); in readBlock()
163 int ttype = in.readShort(); in readAlt()
168 int ruleIndex = in.readShort(); in readAlt()
179 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/apache-commons-bcel/src/main/java/org/apache/bcel/classfile/
DStackMapEntry.java61 byte_code_offset = input.readShort(); in StackMapEntry()
65 byte_code_offset = input.readShort(); in StackMapEntry()
67 byte_code_offset = input.readShort(); in StackMapEntry()
69 byte_code_offset = input.readShort(); in StackMapEntry()
76 byte_code_offset = input.readShort(); in StackMapEntry()
77 final int number_of_locals = input.readShort(); in StackMapEntry()
82 final int number_of_stack_items = input.readShort(); in StackMapEntry()
DConstantInvokeDynamic.java51 this(file.readShort(), file.readShort()); in ConstantInvokeDynamic()
/external/proguard/src/proguard/classfile/io/
DRuntimeDataInput.java164 public short readShort() in readShort() method in RuntimeDataInput
168 return dataInput.readShort(); in readShort()
/external/apache-commons-io/src/main/java/org/apache/commons/io/input/
DSwappedDataInputStream.java80 return (char) readShort(); in readChar()
188 public short readShort() throws IOException, EOFException { in readShort() method in SwappedDataInputStream
/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/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DBaseDexReader.java359 public int readShort() { in readShort() method in BaseDexReader
361 int result = dexBuf.readShort(offset); in readShort()
381 public int readShort(int offset) { return dexBuf.readShort(offset); } in readShort() method in BaseDexReader
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/dexbacked/
DDexReader.java358 public int readShort() { in readShort() method in DexReader
360 int result = dexBuf.readShort(offset); in readShort()
380 public int readShort(int offset) { return dexBuf.readShort(offset); } in readShort() method in DexReader
/external/icu/android_icu4j/libcore_bridge/src/java/com/android/i18n/timezone/internal/
DBufferIterator.java85 public abstract short readShort(); in readShort() method in BufferIterator
/external/emma/core/java12/com/vladium/jcd/lib/
DUDataInputStream.java38 final short value = readShort (); in readU2()
/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()
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/dexbacked/instruction/
DDexBackedInstruction20t.java46 …@Override public int getCodeOffset() { return dexFile.getDataBuffer().readShort(instructionStart +… in getCodeOffset()
DDexBackedInstruction21t.java47 …@Override public int getCodeOffset() { return dexFile.getDataBuffer().readShort(instructionStart +… in getCodeOffset()
DDexBackedInstruction21lh.java48 …@Override public short getHatLiteral() { return (short)dexFile.getDataBuffer().readShort(instructi… in getHatLiteral()
DDexBackedInstruction21s.java47 …@Override public int getNarrowLiteral() { return dexFile.getDataBuffer().readShort(instructionStar… in getNarrowLiteral()

123456