Searched refs:msg_a (Results 1 – 3 of 3) sorted by relevance
15 Message1 msg_a = Message1_init_zero; in main() local22 msg_a.data[0] = 1; in main()23 msg_a.data[0] = 2; in main()24 msg_a.data[0] = 3; in main()27 TEST(pb_encode(&ostream, Message1_fields, &msg_a)); in main()34 TEST(memcmp(&msg_b, &msg_a, sizeof(msg_a)) == 0); in main()39 Message2 msg_a = Message2_init_zero; in main() local46 msg_a.data[0].data[0] = 1; in main()47 msg_a.data[0].data[1] = 2; in main()48 msg_a.data[0].data[2] = 3; in main()[all …]
101 HeapBuffered<pbtest::NestedA> msg_a{kChunkSize, kChunkSize}; in TEST() local103 pbtest::NestedA::NestedB* msg_b = msg_a->add_repeated_a(); in TEST()106 msg_b = msg_a->add_repeated_a(); in TEST()107 msg_c = msg_a->set_super_nested(); in TEST()110 std::string serialized = msg_a.SerializeAsString(); in TEST()122 HeapBuffered<pbtest::BrowserExtension> msg_a{kChunkSize, kChunkSize}; in TEST() local124 msg_a->set_base_int(4); in TEST()126 pbtest::SystemA* msg_b = msg_a->set_extension_a(); in TEST()130 pbtest::SystemB* msg_c = msg_a->set_extension_b(); in TEST()134 msg_a->set_base_string("base string"); in TEST()[all …]
128 pbtest::NestedA msg_a; in TEST() local129 pbtest::NestedA::NestedB* msg_b = msg_a.add_repeated_a(); in TEST()132 msg_b = msg_a.add_repeated_a(); in TEST()133 msg_a.mutable_super_nested()->set_value_c(1000); in TEST()134 std::string serialized = msg_a.SerializeAsString(); in TEST()