Home
last modified time | relevance | path

Searched refs:FindField (Results 1 – 16 of 16) sorted by relevance

/external/perfetto/src/protozero/filtering/
Dmessage_filter_unittest.cc101 EXPECT_TRUE(dec.FindField(1).valid()); in TEST()
102 EXPECT_EQ(dec.FindField(1).as_int64(), -1000000000ll); in TEST()
103 EXPECT_FALSE(dec.FindField(2).valid()); in TEST()
104 EXPECT_TRUE(dec.FindField(3).valid()); in TEST()
105 EXPECT_EQ(dec.FindField(3).as_std_string(), "foobar"); in TEST()
106 EXPECT_FALSE(dec.FindField(4).valid()); in TEST()
107 EXPECT_TRUE(dec.FindField(6).valid()); in TEST()
109 EXPECT_TRUE(dec.FindField(i).valid()); in TEST()
111 EXPECT_EQ(dec.FindField(11).as_int32(), INT32_MIN); in TEST()
112 EXPECT_EQ(dec.FindField(12).as_int64(), INT64_MIN); in TEST()
[all …]
/external/cronet/third_party/protobuf/src/google/protobuf/util/
Dtype_resolver_util_test.cc72 const Field* FindField(const Type& type, const std::string& name) { in FindField() function in google::protobuf::util::__anondcf0081c0111::DescriptorPoolTypeResolverTest
84 const Field* field = FindField(type, name); in HasField()
94 const Field* field = FindField(type, name); in CheckFieldTypeUrl()
103 const Field* field = FindField(type, name); in FieldInOneof()
112 const Field* field = FindField(type, name); in IsPacked()
375 const Field* field = FindField(type, "field1"); in TEST_F()
426 EXPECT_EQ("optionalInt32", FindField(type, "optional_int32")->json_name()); in TEST_F()
432 EXPECT_EQ("@value", FindField(type, "value")->json_name()); in TEST_F()
/external/protobuf/src/google/protobuf/util/
Dtype_resolver_util_test.cc72 const Field* FindField(const Type& type, const std::string& name) { in FindField() function in google::protobuf::util::__anonb5f277090111::DescriptorPoolTypeResolverTest
84 const Field* field = FindField(type, name); in HasField()
94 const Field* field = FindField(type, name); in CheckFieldTypeUrl()
103 const Field* field = FindField(type, name); in FieldInOneof()
112 const Field* field = FindField(type, name); in IsPacked()
375 const Field* field = FindField(type, "field1"); in TEST_F()
426 EXPECT_EQ("optionalInt32", FindField(type, "optional_int32")->json_name()); in TEST_F()
432 EXPECT_EQ("@value", FindField(type, "value")->json_name()); in TEST_F()
/external/cronet/third_party/protobuf/src/google/protobuf/util/internal/
Dtype_info.h78 virtual const google::protobuf::Field* FindField(
Dtype_info.cc109 const google::protobuf::Field* FindField( in FindField() function in google::protobuf::util::converter::__anondb659a460111::TypeInfoForTypeResolver
Dproto_writer.cc757 typeinfo_->FindField(&e->type(), unnormalized_name); in Lookup()
/external/protobuf/src/google/protobuf/util/internal/
Dtype_info.h78 virtual const google::protobuf::Field* FindField(
Dtype_info.cc109 const google::protobuf::Field* FindField( in FindField() function in google::protobuf::util::converter::__anon908ec1130111::TypeInfoForTypeResolver
Dproto_writer.cc757 typeinfo_->FindField(&e->type(), unnormalized_name); in Lookup()
/external/perfetto/src/trace_processor/importers/proto/
Dpacket_sequence_state_generation.cc33 auto field = decoder.FindField(kIidFieldNumber); in InternMessage()
/external/rust/crates/quiche/deps/boringssl/src/ssl/test/
Dtest_config.cc47 T *FindField(TestConfig *config, const Flag<T> (&flags)[N], const char *flag) { in FindField() function
286 bool *bool_field = FindField(out_config, kBoolFlags, flag); in ParseFlag()
294 std::string *string_field = FindField(out_config, kStringFlags, flag); in ParseFlag()
308 FindField(out_config, kOptionalStringFlags, flag); in ParseFlag()
321 std::string *base64_field = FindField(out_config, kBase64Flags, flag); in ParseFlag()
338 int *int_field = FindField(out_config, kIntFlags, flag); in ParseFlag()
352 FindField(out_config, kIntVectorFlags, flag); in ParseFlag()
368 FindField(out_config, kBase64VectorFlags, flag); in ParseFlag()
387 FindField(out_config, kStringPairVectorFlags, flag); in ParseFlag()
/external/perfetto/src/protozero/
Dproto_decoder_unittest.cc260 TEST(ProtoDecoderTest, FindField) { in TEST() argument
264 auto field = pd.FindField(1); in TEST()
268 auto field2 = pd.FindField(2); in TEST()
Dproto_decoder.cc161 Field ProtoDecoder::FindField(uint32_t field_id) { in FindField() function in protozero::ProtoDecoder
/external/perfetto/include/perfetto/protozero/
Dproto_decoder.h59 Field FindField(uint32_t field_id);
/external/perfetto/src/trace_processor/importers/ftrace/
Dftrace_tokenizer.cc141 if (auto ts_field = decoder.FindField(kTimestampFieldNumber)) { in TokenizeFtraceEvent()
Dftrace_parser.cc559 if (auto pid_field = decoder.FindField(FtraceEvent::kPidFieldNumber)) { in ParseFtraceEvent()