Searched refs:as_int32 (Results 1 – 9 of 9) sorted by relevance
/external/perfetto/src/protozero/ |
D | proto_decoder_unittest.cc | 85 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/ |
D | message_filter_unittest.cc | 111 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/ |
D | proto_to_args_parser.cc | 181 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()
|
D | protozero_to_text.cc | 81 std::to_string(field.as_int32())); in ConvertProtoTypeToFieldAndValueString() 133 field.as_int32()); in ConvertProtoTypeToFieldAndValueString()
|
D | proto_to_args_parser_unittest.cc | 257 writer.AddInteger({key, key}, field.as_int32()); in TEST_F()
|
/external/perfetto/include/perfetto/protozero/ |
D | field.h | 82 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/ |
D | libfdt.i | 710 def as_int32(self):
|
/external/dtc/tests/ |
D | pylibfdt_tests.py | 380 self.assertEqual(-2, self.get_prop("prop-int32").as_int32())
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | elemental_ir_emitter.cc | 206 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()
|