Home
last modified time | relevance | path

Searched refs:getShort (Results 1 – 25 of 71) sorted by relevance

123

/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DResourceTypes.java115 this.type = buf.getShort(offset); in ResChunk_header()
116 this.headerSize = buf.getShort(offset + 2); in ResChunk_header()
325 this.size = buf.getShort(offset); in Res_value()
505 public int getShort(int i) { in getShort() method in ResourceTypes.ResStringPool_header
506 return myBuf().getShort(myOffset() + i); in getShort()
839 this.attributeStart = buf.getShort(offset + 8); in ResXMLTree_attrExt()
840 this.attributeSize = buf.getShort(offset + 10); in ResXMLTree_attrExt()
841 this.attributeCount = buf.getShort(offset + 12); in ResXMLTree_attrExt()
842 this.idIndex = buf.getShort(offset + 14); in ResXMLTree_attrExt()
843 this.classIndex = buf.getShort(offset + 16); in ResXMLTree_attrExt()
[all …]
DResourceString.java171 int length = (buffer.getShort(offset) & 0xFFFF); in decodeLengthUTF16()
173 length = ((length & 0x7FFF) << 16) | (buffer.getShort(offset + 2) & 0xFFFF); in decodeLengthUTF16()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/apple/
DBaseMediaInfoAtom.java42 graphicsMode = content.getShort(); in _parseDetails()
46 balance = content.getShort(); in _parseDetails()
47 reserved = content.getShort(); in _parseDetails()
DQuicktimeTextSampleEntry.java67 fontNumber = content.getShort(); in _parseDetails()
68 fontFace = content.getShort(); in _parseDetails()
70 reserved3 = content.getShort(); in _parseDetails()
/external/noto-fonts/emoji-compat-flatbuffers/src/java/androidx/text/emoji/flatbuffer/
DMetadataItem.java37 public short sdkAdded() { int o = __offset(8); return o != 0 ? bb.getShort(o + bb_pos) : 0; } in sdkAdded()
38 public short compatAdded() { int o = __offset(10); return o != 0 ? bb.getShort(o + bb_pos) : 0; } in compatAdded()
39 public short width() { int o = __offset(12); return o != 0 ? bb.getShort(o + bb_pos) : 0; } in width()
40 public short height() { int o = __offset(14); return o != 0 ? bb.getShort(o + bb_pos) : 0; } in height()
/external/libese/apps/boot/card/src/com/android/verifiedboot/storage/
DJcopBackupImpl.java74 if (Util.getShort(in, (short)1) != (short)2) { in restore()
77 if (Util.getShort(in, (short)3) != MAGIC) { in restore()
91 length = Util.getShort(in, (short)1); in restore()
/external/nist-sip/java/gov/nist/javax/sip/header/
DSIPObject.java116 if (f.getShort(this) != g.getShort(that)) in equals()
206 if (f.getShort(this) != g.getShort(that)) in match()
322 short shortField = f.getShort(this); in debugDump()
/external/nist-sip/java/gov/nist/javax/sip/address/
DNetObject.java114 if (f.getShort(this) != g.getShort(that)) in equals()
204 if (f.getShort(this) != g.getShort(that)) in match()
315 short shortField = f.getShort(this); in debugDump()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/samplegrouping/
DRateShareEntry.java60 operationPointCut = byteBuffer.getShort(); in parse()
62 targetRateShare = byteBuffer.getShort(); in parse()
66 … entries.add(new Entry(l2i(IsoTypeReader.readUInt32(byteBuffer)), byteBuffer.getShort())); in parse()
DRollRecoveryEntry.java44 rollDistance = byteBuffer.getShort(); in parse()
/external/llvm/unittests/Support/
DTrailingObjectsTest.cpp84 short getShort() const { in getShort() function in __anon66f92f250111::Class2
138 EXPECT_EQ(C1->getShort(), 4); in TEST()
144 EXPECT_EQ(C2->getShort(), 0); in TEST()
/external/flatbuffers/php/
DTable.php54 …return $vtable_offset < $this->bb->getShort($vtable) ? $this->bb->getShort($vtable + $vtable_offse…
DFlatbufferBuilder.php842 $len = $this->bb->getShort($vt1);
844 if ($len == $this->bb->getShort($vt2)) {
846 if ($this->bb->getShort($vt1 + $j) != $this->bb->getShort($vt2 + $j)) {
889 $ok = $this->bb->getShort($vtable_start + $field) != 0;
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowMatrixCursorTest.java105 assertThat(cursor.getShort(0)).isEqualTo((short) 42); in shouldAllowTypeFlexibility()
112 assertThat(cursor.getShort(1)).isEqualTo((short) 3); in shouldAllowTypeFlexibility()
166 assertThat(singleColumnSingleNullValueMatrixCursor.getShort(0)).isEqualTo((short) 0); in returnsZeroWhenGettingShortFromNullColumn()
/external/flatbuffers/tests/
DphpTest.php284 $assert->ok($vtable_offset < $view->getShort($vtable));
285 $field_offset = $offset + $view->getShort($vtable + $vtable_offset);
297 $assert->strictEqual($view->getShort($field_offset), $short_val);
484 $assert->Equal(1, $uut->getShort(0));
491 $assert->Equal(-32768, $uut->getShort(0));
497 $uut->getShort(2);
504 $uut->getShort(1);
/external/flatbuffers/java/com/google/flatbuffers/
DTable.java53 return vtable_offset < vtable_size ? bb.getShort(vtable_start + vtable_offset) : 0; in __offset()
58 return bb.getShort(vtable + vtable_offset - bb.getInt(vtable)) + vtable; in __offset()
302 vtable_size = bb.getShort(vtable_start); in __reset()
DFlatBufferBuilder.java832 short len = bb.getShort(vt1); in endTable()
833 if (len == bb.getShort(vt2)) { in endTable()
835 if (bb.getShort(vt1 + j) != bb.getShort(vt2 + j)) { in endTable()
873 boolean ok = bb.getShort(vtable_start + field) != 0; in required()
DByteBufferReadWriteBuf.java26 public short getShort(int index) { in getShort() method in ByteBufferReadWriteBuf
27 return buffer.getShort(index); in getShort()
DReadBuf.java27 short getShort(int index); in getShort() method
DShortVector.java47 return bb.getShort(__element(j)); in get()
/external/nist-sip/java/gov/nist/core/
DGenericObject.java247 short shortField = f.getShort(mergeObject); in merge()
441 if (f.getShort(this) != g.getShort(that)) in equals()
526 if (f.getShort(this) != g.getShort(that)) in match()
625 short shortField = f.getShort(this); in debugDump()
/external/llvm-project/llvm/unittests/Support/
DTrailingObjectsTest.cpp86 short getShort() const { in getShort() function in __anon3b787c530111::Class2
159 EXPECT_EQ(C1->getShort(), 4); in TEST()
165 EXPECT_EQ(C2->getShort(), 0); in TEST()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowCursorWrapper.java127 public short getShort(int i) { in getShort() method in ShadowCursorWrapper
128 return wrappedCursor.getShort(i); in getShort()
/external/flatbuffers/tests/MyGame/Example/
DTest.php30 return $this->bb->getShort($this->bb_pos + 0);
/external/libphonenumber/internal/prefixmapper/src/com/google/i18n/phonenumbers/prefixmapper/
DFlyweightMapStorage.java223 objectOutput.writeShort(inputBuffer.getShort(wordIndex)); in writeExternalWord()
241 return wordSize == SHORT_NUM_BYTES ? buffer.getShort(wordIndex) : buffer.getInt(wordIndex); in readWordFromBuffer()

123