Home
last modified time | relevance | path

Searched refs:FindField (Results 1 – 13 of 13) 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/protobuf/src/google/protobuf/util/
Dtype_resolver_util_test.cc71 const Field* FindField(const Type& type, const std::string& name) { in FindField() function in google::protobuf::util::__anon294036ab0111::DescriptorPoolTypeResolverTest
83 const Field* field = FindField(type, name); in HasField()
93 const Field* field = FindField(type, name); in CheckFieldTypeUrl()
102 const Field* field = FindField(type, name); in FieldInOneof()
111 const Field* field = FindField(type, name); in IsPacked()
374 const Field* field = FindField(type, "field1"); in TEST_F()
425 EXPECT_EQ("optionalInt32", FindField(type, "optional_int32")->json_name()); in TEST_F()
431 EXPECT_EQ("@value", FindField(type, "value")->json_name()); in TEST_F()
/external/protobuf/src/google/protobuf/util/internal/
Dtype_info.h77 virtual const google::protobuf::Field* FindField(
Dtype_info.cc108 const google::protobuf::Field* FindField( in FindField() function in google::protobuf::util::converter::__anon7f5bb3750111::TypeInfoForTypeResolver
Dproto_writer.cc761 typeinfo_->FindField(&e->type(), unnormalized_name); in Lookup()
/external/perfetto/src/trace_processor/importers/proto/
Dpacket_sequence_state.cc31 auto field = decoder.FindField(kIidFieldNumber); in InternMessage()
/external/boringssl/src/ssl/test/
Dtest_config.cc44 T *FindField(TestConfig *config, const Flag<T> (&flags)[N], const char *flag) { in FindField() function
250 bool *bool_field = FindField(out_config, kBoolFlags, flag); in ParseFlag()
258 std::string *string_field = FindField(out_config, kStringFlags, flag); in ParseFlag()
272 FindField(out_config, kOptionalStringFlags, flag); in ParseFlag()
285 std::string *base64_field = FindField(out_config, kBase64Flags, flag); in ParseFlag()
311 int *int_field = FindField(out_config, kIntFlags, flag); in ParseFlag()
325 FindField(out_config, kIntVectorFlags, flag); in ParseFlag()
341 FindField(out_config, kStringPairVectorFlags, flag); in ParseFlag()
/external/perfetto/src/protozero/
Dproto_decoder_unittest.cc259 TEST(ProtoDecoderTest, FindField) { in TEST() argument
263 auto field = pd.FindField(1); in TEST()
267 auto field2 = pd.FindField(2); in TEST()
Dproto_decoder.cc158 Field ProtoDecoder::FindField(uint32_t field_id) { in FindField() function in protozero::ProtoDecoder
/external/rust/crates/quiche/deps/boringssl/src/ssl/test/
Dtest_config.cc44 T *FindField(TestConfig *config, const Flag<T> (&flags)[N], const char *flag) { in FindField() function
234 bool *bool_field = FindField(out_config, kBoolFlags, flag); in ParseFlag()
242 std::string *string_field = FindField(out_config, kStringFlags, flag); in ParseFlag()
255 std::string *base64_field = FindField(out_config, kBase64Flags, flag); in ParseFlag()
281 int *int_field = FindField(out_config, kIntFlags, flag); in ParseFlag()
295 FindField(out_config, kIntVectorFlags, flag); in ParseFlag()
/external/perfetto/src/trace_processor/importers/ftrace/
Dftrace_tokenizer.cc89 if (auto ts_field = decoder.FindField(kTimestampFieldNumber)) { in TokenizeFtraceEvent()
Dftrace_parser.cc335 if (auto pid_field = decoder.FindField(FtraceEvent::kPidFieldNumber)) { in ParseFtraceEvent()
/external/perfetto/include/perfetto/protozero/
Dproto_decoder.h59 Field FindField(uint32_t field_id);