Home
last modified time | relevance | path

Searched refs:as_int32 (Results 1 – 9 of 9) sorted by relevance

/external/perfetto/src/protozero/
Dproto_decoder_unittest.cc85 ASSERT_EQ(11, field.as_int32()); in TEST()
89 ASSERT_EQ(13, field.as_int32()); in TEST()
102 EXPECT_EQ(it.field().as_int32(), 10); in TEST()
171 std::to_string(fld.id()) + ":" + std::to_string(fld.as_int32()) + ";"; in TEST()
180 EXPECT_EQ(tpd.Get(1).as_int32(), 11); in TEST()
181 EXPECT_EQ(tpd.Get(2).as_int32(), 22); in TEST()
182 EXPECT_EQ(tpd.Get(3).as_int32(), 30); in TEST()
290 EXPECT_EQ(decoder2.Get(1).as_int32(), 10); in TEST()
554 ASSERT_EQ(field.as_int32(), 11); in TEST()
559 ASSERT_EQ(field.as_int32(), 99); in TEST()
[all …]
/external/perfetto/src/protozero/filtering/
Dmessage_filter_unittest.cc111 EXPECT_EQ(dec.FindField(11).as_int32(), INT32_MIN); in TEST()
115 EXPECT_EQ(dec.FindField(15).as_int32(), INT32_MIN); in TEST()
116 EXPECT_EQ(dec.FindField(16).as_int32(), INT32_MAX); in TEST()
125 EXPECT_EQ(nest_dec.FindField(2).as_int32(), -2000000000ll); in TEST()
178 EXPECT_EQ(dec.FindField(3).as_int32(), 103); in TEST()
195 EXPECT_EQ(dec.FindField(5).as_int32(), 105); in TEST()
/external/perfetto/src/trace_processor/util/
Dproto_to_args_parser.cc181 delegate.AddInteger(key_prefix_, field.as_int32()); in ParseSimpleField()
216 delegate.AddInteger(key_prefix_, field.as_int32()); in ParseSimpleField()
221 field.as_int32()); in ParseSimpleField()
224 delegate.AddInteger(key_prefix_, field.as_int32()); in ParseSimpleField()
Dprotozero_to_text.cc81 std::to_string(field.as_int32())); in ConvertProtoTypeToFieldAndValueString()
133 field.as_int32()); in ConvertProtoTypeToFieldAndValueString()
Dproto_to_args_parser_unittest.cc257 writer.AddInteger({key, key}, field.as_int32()); in TEST_F()
/external/perfetto/include/perfetto/protozero/
Dfield.h82 int32_t as_int32() const { in as_int32() function
168 void get(int32_t* val) const { *val = as_int32(); } in get()
183 *val = static_cast<T>(as_int32()); in get()
/external/dtc/pylibfdt/
Dlibfdt.i710 def as_int32(self):
/external/dtc/tests/
Dpylibfdt_tests.py380 self.assertEqual(-2, self.get_prop("prop-int32").as_int32())
/external/tensorflow/tensorflow/compiler/xla/service/
Delemental_ir_emitter.cc206 auto as_int32 = b->CreateBitCast(reduced_precision, b->getInt32Ty()); in EmitF32ToBF16() local
207 auto shifted = b->CreateLShr(as_int32, 16); in EmitF32ToBF16()
214 auto as_int32 = b->CreateZExt(as_int16, b->getInt32Ty()); in EmitBF16ToF32() local
215 auto shifted = b->CreateShl(as_int32, 16); in EmitBF16ToF32()