Home
last modified time | relevance | path

Searched refs:GetInt (Results 1 – 25 of 49) sorted by relevance

12

/external/flatbuffers/net/FlatBuffers/
DTable.cs36 int vtable = bb_pos - bb.GetInt(bb_pos); in __offset()
43 return (int)bb.GetShort(vtable + vtableOffset - bb.GetInt(vtable)) + vtable; in __offset()
49 return offset + bb.GetInt(offset); in __indirect()
54 return offset + bb.GetInt(offset); in __indirect()
60 offset += bb.GetInt(offset); in __string()
61 var len = bb.GetInt(offset); in __string()
70 offset += bb.GetInt(offset); in __vector_len()
71 return bb.GetInt(offset); in __vector_len()
78 return offset + bb.GetInt(offset) + sizeof(int); // data starts after the length in __vector()
143 t.__init(offset + bb.GetInt(offset), bb);
[all …]
DByteBufferUtil.cs28 return bb.GetInt(bb.Position); in GetSizePrefix()
/external/v8/src/snapshot/
Ddeserializer.cc105 int size = source_.GetInt() << kPointerSizeLog2; in DeserializeDeferredObjects()
287 obj = allocator()->GetLargeObject(source_.GetInt()); in GetBackReferencedObject()
290 obj = allocator()->GetMap(source_.GetInt()); in GetBackReferencedObject()
293 uint32_t chunk_index = source_.GetInt(); in GetBackReferencedObject()
294 uint32_t chunk_offset = source_.GetInt(); in GetBackReferencedObject()
310 uint32_t chunk_index = source_.GetInt(); in GetBackReferencedObject()
311 uint32_t chunk_offset = source_.GetInt(); in GetBackReferencedObject()
335 const int size = source_.GetInt() << kObjectAlignmentBits; in ReadObject()
503 int size = source_.GetInt(); in ReadData()
527 int pc_offset = source_.GetInt(); in ReadData()
[all …]
Dpartial-deserializer.cc76 int index = source()->GetInt(); in DeserializeEmbedderFields()
77 int size = source()->GetInt(); in DeserializeEmbedderFields()
Dnatives-external.cc66 int debugger_count = source->GetInt(); in MakeFromScriptsSource()
69 int library_count = source->GetInt(); in MakeFromScriptsSource()
Dsnapshot-source-sink.cc37 int size = GetInt(); in GetBlob()
/external/u-boot/tools/binman/
Dentry.py117 self.pos = fdt_util.GetInt(self._node, 'pos')
118 self.size = fdt_util.GetInt(self._node, 'size')
119 self.align = fdt_util.GetInt(self._node, 'align')
123 self.pad_before = fdt_util.GetInt(self._node, 'pad-before', 0)
124 self.pad_after = fdt_util.GetInt(self._node, 'pad-after', 0)
125 self.align_size = fdt_util.GetInt(self._node, 'align-size')
129 self.align_end = fdt_util.GetInt(self._node, 'align-end')
Dbsection.py71 self._size = fdt_util.GetInt(self._node, 'size')
72 self._align_size = fdt_util.GetInt(self._node, 'align-size')
76 self._pad_before = fdt_util.GetInt(self._node, 'pad-before', 0)
77 self._pad_after = fdt_util.GetInt(self._node, 'pad-after', 0)
78 self._pad_byte = fdt_util.GetInt(self._node, 'pad-byte', 0)
Dfdt_test.py50 self.assertEquals(3, fdt_util.GetInt(node, 'intval'))
72 self.assertEquals(0x090a0b0c, fdt_util.GetInt(node, 'longbytearray'))
Dimage.py51 self._size = fdt_util.GetInt(self._node, 'size')
/external/gptfdisk/
Dgptcl.cc163 partNum = (int) GetInt(attributeOperation, 1) - 1; in DoOptions()
198 partNum = (int) GetInt(partName, 1) - 1; in DoOptions()
289 newPartNum = (int) GetInt(newPartInfo, 1) - 1; in DoOptions()
335 p1 = GetInt(twoParts, 1) - 1; in DoOptions()
336 p2 = GetInt(twoParts, 2) - 1; in DoOptions()
363 partNum = (int) GetInt(typeCode, 1) - 1; in DoOptions()
392 partNum = (int) GetInt(partGUID, 1) - 1; in DoOptions()
495 origPartNum = GetInt(argument, i + 1) - 1; in BuildMBR()
542 uint64_t GetInt(const string & argument, int itemNum) { in GetInt() function
Dgptcl.h52 uint64_t GetInt(const string & argument, int itemNum);
/external/flatbuffers/tests/namespace_test/NamespaceA/NamespaceB/
DStructInNestedNS.cs18 public int A { get { return __p.bb.GetInt(__p.bb_pos + 0); } }
20 public int B { get { return __p.bb.GetInt(__p.bb_pos + 4); } }
DTableInNestedNS.cs16 …NestedNS(ByteBuffer _bb, TableInNestedNS obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _b… in GetRootAsTableInNestedNS()
20 …public int Foo { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (i…
/external/flatbuffers/tests/union_vector/
DAttacker.cs13 …tRootAsAttacker(ByteBuffer _bb, Attacker obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _b… in GetRootAsAttacker()
17 …public int SwordAttackDamage { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetInt(o + __…
DBookReader.cs15 public int BooksRead { get { return __p.bb.GetInt(__p.bb_pos + 0); } }
DRapunzel.cs15 public int HairLength { get { return __p.bb.GetInt(__p.bb_pos + 0); } }
/external/flatbuffers/tests/MyGame/Example/
DReferrable.cs16 …tAsReferrable(ByteBuffer _bb, Referrable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _b… in GetRootAsReferrable()
43 int span = bb.GetInt(vectorLocation - 4); in __lookup_by_key()
DTestSimpleTableWithEnum.cs16 …(ByteBuffer _bb, TestSimpleTableWithEnum obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _b… in GetRootAsTestSimpleTableWithEnum()
/external/flatbuffers/tests/FlatBuffers.Test/
DByteBufferTests.cs220 Assert.AreEqual(0x0A0B0C0D, uut.GetInt(0)); in ByteBuffer_GetIntReturnsCorrectData()
228 Assert.Throws<ArgumentOutOfRangeException>(() => uut.GetInt(4)); in ByteBuffer_GetIntChecksOffset()
235 Assert.Throws<ArgumentOutOfRangeException>(() => uut.GetInt(0)); in ByteBuffer_GetIntChecksLength()
337 Assert.AreEqual(0x0A0B0C0D, uut.GetInt(0)); in ByteBuffer_Duplicate_MatchesBuffer()
/external/flatbuffers/tests/MyGame/
DInParentNamespace.cs16 …espace(ByteBuffer _bb, InParentNamespace obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _b… in GetRootAsInParentNamespace()
/external/libchrome/base/
Dvalues_unittest.cc61 EXPECT_EQ(-37, value.GetInt()); in TEST()
191 EXPECT_EQ(value.GetInt(), copied_value.GetInt()); in TEST()
197 EXPECT_EQ(value.GetInt(), blank.GetInt()); in TEST()
292 EXPECT_EQ(74, moved_value.GetInt()); in TEST()
298 EXPECT_EQ(47, blank.GetInt()); in TEST()
348 EXPECT_EQ(123, moved_value.FindKey("Int")->GetInt()); in TEST()
358 EXPECT_EQ(123, blank.FindKey("Int")->GetInt()); in TEST()
367 EXPECT_EQ(123, moved_value.GetList().back().GetInt()); in TEST()
372 EXPECT_EQ(123, blank.GetList().back().GetInt()); in TEST()
396 EXPECT_EQ(123, dict.FindKey("foo")->GetInt()); in TEST()
[all …]
/external/flatbuffers/tests/MyGame/Example2/
DMonster.cs16 …GetRootAsMonster(ByteBuffer _bb, Monster obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _b… in GetRootAsMonster()
/external/chromium-trace/catapult/devil/devil/android/sdk/
Dshared_prefs_test.py65 self.assertEquals(prefs.GetInt('myValue'), 444)
71 prefs.GetInt('myValue')
/external/flatbuffers/tests/namespace_test/NamespaceA/
DSecondTableInA.cs16 …dTableInA(ByteBuffer _bb, SecondTableInA obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _b… in GetRootAsSecondTableInA()

12