Searched refs:ref (Results 1 – 3 of 3) sorted by relevance
28 pb_bytes_array_t *ref = (pb_bytes_array_t*) *arg; in callback_check() local30 for (i = 0; i < ref->size; i++) in callback_check()35 if (byte != ref->bytes[i]) in callback_check()353 struct { pb_size_t size; uint8_t bytes[10]; } ref; in main() local355 dest.data.arg = &ref; in main()359 ref.size = 1; ref.bytes[0] = 0x55; in main()362 ref.size = 3; ref.bytes[0] = ref.bytes[1] = ref.bytes[2] = 0x55; in main()365 ref.size = 1; ref.bytes[0] = 0x55; in main()368 ref.size = 4; ref.bytes[0] = ref.bytes[1] = ref.bytes[2] = ref.bytes[3] = 0xAA; in main()371 ref.size = 8; memset(ref.bytes, 0xAA, 8); in main()[all …]
95 SubMessage *ref = *arg; in read_submsg() local100 TEST(strcmp(submsg.substuff1, ref->substuff1) == 0); in read_submsg()101 TEST(submsg.substuff2 == ref->substuff2); in read_submsg()102 TEST(submsg.has_substuff3 == ref->has_substuff3); in read_submsg()103 TEST(submsg.substuff3 == ref->substuff3); in read_submsg()
95 SubMessage *ref = *arg; in read_submsg() local100 TEST(strcmp(submsg.substuff1, ref->substuff1) == 0); in read_submsg()101 TEST(submsg.substuff2 == ref->substuff2); in read_submsg()102 TEST(submsg.substuff3 == ref->substuff3); in read_submsg()