Home
last modified time | relevance | path

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

123

/external/flatbuffers/net/FlatBuffers/
DTable.cs44 int vtable = bb_pos - bb.GetInt(bb_pos); in __offset()
51 return (int)bb.GetShort(vtable + vtableOffset - bb.GetInt(vtable)) + vtable; in __offset()
57 return offset + bb.GetInt(offset); in __indirect()
62 return offset + bb.GetInt(offset); in __indirect()
68 offset += bb.GetInt(offset); in __string()
69 var len = bb.GetInt(offset); in __string()
78 offset += bb.GetInt(offset); in __vector_len()
79 return bb.GetInt(offset); in __vector_len()
86 return offset + bb.GetInt(offset) + sizeof(int); // data starts after the length in __vector()
176 offset_1 += bb.GetInt(offset_1); in CompareStrings()
[all …]
DByteBufferUtil.cs28 return bb.GetInt(bb.Position); in GetSizePrefix()
/external/pigweed/pw_random/
Dxor_shift_test.cc47 EXPECT_EQ(rng.GetInt(val).status(), OkStatus()); in TEST()
56 EXPECT_EQ(rng.GetInt(val).status(), OkStatus()); in TEST()
65 EXPECT_EQ(rng.GetInt(val).status(), OkStatus()); in TEST()
75 EXPECT_EQ(rng_1.GetInt(first_val).status(), OkStatus()); in TEST()
82 EXPECT_EQ(rng_2.GetInt(second_val).status(), OkStatus()); in TEST()
94 EXPECT_EQ(rng_1.GetInt(first_val).status(), OkStatus()); in TEST()
103 EXPECT_EQ(rng_2.GetInt(second_val).status(), OkStatus()); in TEST()
117 EXPECT_EQ(rng.GetInt(val).status(), OkStatus()); in TEST()
/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/flatbuffers/tests/namespace_test/NamespaceA/NamespaceB/
DStructInNestedNS.cs19 public int A { get { return __p.bb.GetInt(__p.bb_pos + 0); } }
21 public int B { get { return __p.bb.GetInt(__p.bb_pos + 4); } }
DTableInNestedNS.cs18 …NestedNS(ByteBuffer _bb, TableInNestedNS obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _b… in GetRootAsTableInNestedNS()
22 …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.cs15 …tRootAsAttacker(ByteBuffer _bb, Attacker obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _b… in GetRootAsAttacker()
19 …public int SwordAttackDamage { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetInt(o + __…
DRapunzel.cs16 public int HairLength { get { return __p.bb.GetInt(__p.bb_pos + 0); } }
DBookReader.cs16 public int BooksRead { get { return __p.bb.GetInt(__p.bb_pos + 0); } }
/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()
DTestTable.cs94 return t.bb.GetInt(t.bb_pos + off); in GetSlot()
/external/flatbuffers/tests/MyGame/Example/
DReferrable.cs18 …tAsReferrable(ByteBuffer _bb, Referrable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _b… in GetRootAsReferrable()
45 int span = bb.GetInt(vectorLocation - 4); in __lookup_by_key()
DArrayStruct.cs21 public int B(int j) { return __p.bb.GetInt(__p.bb_pos + 4 + j * 4); } in B()
26 public int E { get { return __p.bb.GetInt(__p.bb_pos + 136); } }
/external/libchrome/base/debug/
Dactivity_analyzer_unittest.cc309 EXPECT_EQ(-2222, user_data.at("int2").GetInt()); in TEST_F()
337 EXPECT_EQ(-1111, user_data.at("int1").GetInt()); in TEST_F()
387 EXPECT_EQ(-9999, snapshot.at("int").GetInt()); in TEST_F()
541 EXPECT_EQ(1001, pdata1.at("pid").GetInt()); in TEST_F()
542 EXPECT_EQ(2002, pdata2.at("pid").GetInt()); in TEST_F()
/external/pigweed/pw_random/public/pw_random/
Drandom.h36 StatusWithSize GetInt(T& dest) { in GetInt() function
/external/tensorflow/tensorflow/c/eager/
Dabstract_op_attrs.h38 virtual bool GetInt(absl::string_view, int64_t* result) const = 0;
/external/flatbuffers/tests/MyGame/
DInParentNamespace.cs18 …espace(ByteBuffer _bb, InParentNamespace obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _b… in GetRootAsInParentNamespace()
/external/flatbuffers/tests/MyGame/Example2/
DMonster.cs18 …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/libchrome/components/policy/core/common/
Dplist_writer.cc28 int value = node.GetInt(); in BuildPlistString()
/external/openscreen/util/json/
Djson_value_unittest.cc13 TEST(JsonValueTest, GetInt) { in TEST() argument
/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/
DTableInC.cs11 …GetRootAsTableInC(ByteBuffer _bb, TableInC obj) { return (obj.__init(_bb.GetInt(_bb.Position) + _b… in GetRootAsTableInC()
DSecondTableInA.cs18 …dTableInA(ByteBuffer _bb, SecondTableInA obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _b… in GetRootAsSecondTableInA()

123