Home
last modified time | relevance | path

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

123

/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/gptfdisk/
Dgptcl.cc165 partNum = (int) GetInt(attributeOperation, 1) - 1; in DoOptions()
200 partNum = (int) GetInt(partName, 1) - 1; in DoOptions()
295 newPartNum = (int) GetInt(newPartInfo, 1) - 1; in DoOptions()
344 p1 = GetInt(twoParts, 1) - 1; in DoOptions()
345 p2 = GetInt(twoParts, 2) - 1; in DoOptions()
372 partNum = (int) GetInt(typeCode, 1) - 1; in DoOptions()
401 partNum = (int) GetInt(partGUID, 1) - 1; in DoOptions()
513 origPartNum = GetInt(argument, i + 1) - 1; in BuildMBR()
566 uint64_t GetInt(const string & argument, int itemNum) { in GetInt() function
Dgptcl.h52 uint64_t GetInt(const string & argument, int itemNum);
/external/u-boot/tools/binman/
Dentry.py156 self.offset = fdt_util.GetInt(self._node, 'offset')
157 self.size = fdt_util.GetInt(self._node, 'size')
158 self.orig_offset = fdt_util.GetInt(self._node, 'orig-offset')
159 self.orig_size = fdt_util.GetInt(self._node, 'orig-size')
166 self.image_pos = fdt_util.GetInt(self._node, 'image-pos')
167 self.uncomp_size = fdt_util.GetInt(self._node, 'uncomp-size')
169 self.align = fdt_util.GetInt(self._node, 'align')
173 self.pad_before = fdt_util.GetInt(self._node, 'pad-before', 0)
174 self.pad_after = fdt_util.GetInt(self._node, 'pad-after', 0)
175 self.align_size = fdt_util.GetInt(self._node, 'align-size')
[all …]
Dfdt_test.py54 self.assertEquals(3, fdt_util.GetInt(node, 'intval'))
76 self.assertEquals(0x090a0b0c, fdt_util.GetInt(node, 'longbytearray'))
/external/v8/src/snapshot/
Ddeserializer.cc482 Handle<HeapObject> obj = back_refs_[source_.GetInt()]; in GetBackReferencedObject()
502 const int size_in_tagged = source_.GetInt(); in ReadObject()
671 int target_offset = source().GetInt(); in VisitInternalReference()
688 int builtin_index = source().GetInt(); in VisitOffHeapTarget()
808 uint32_t chunk_index = source_.GetInt(); in ReadSingleBytecodeData()
809 uint32_t chunk_offset = source_.GetInt(); in ReadSingleBytecodeData()
822 int id = source_.GetInt(); in ReadSingleBytecodeData()
833 int cache_index = source_.GetInt(); in ReadSingleBytecodeData()
844 int cache_index = source_.GetInt(); in ReadSingleBytecodeData()
881 int index = source_.GetInt(); in ReadSingleBytecodeData()
[all …]
Dcontext-deserializer.cc81 int index = source()->GetInt(); in DeserializeEmbedderFields()
82 int size = source()->GetInt(); in DeserializeEmbedderFields()
Dsnapshot-source-sink.cc39 int size = GetInt(); in GetBlob()
/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/u-boot/tools/dtoc/
Dfdt_util.py90 def GetInt(node, propname, default=None): function
204 return GetInt(node, propname)
/external/flatbuffers/tests/MyGame/
DInParentNamespace.cs16 …espace(ByteBuffer _bb, InParentNamespace obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _b… in GetRootAsInParentNamespace()
/external/flatbuffers/tests/MyGame/Example2/
DMonster.cs16 …GetRootAsMonster(ByteBuffer _bb, Monster obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _b… in GetRootAsMonster()
/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/namespace_test/NamespaceA/
DSecondTableInA.cs16 …dTableInA(ByteBuffer _bb, SecondTableInA obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _b… in GetRootAsSecondTableInA()
DTableInC.cs11 …GetRootAsTableInC(ByteBuffer _bb, TableInC obj) { return (obj.__init(_bb.GetInt(_bb.Position) + _b… in GetRootAsTableInC()
/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/NamespaceC/
DTableInC.cs16 …tRootAsTableInC(ByteBuffer _bb, TableInC obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _b… in GetRootAsTableInC()

123