Lines Matching refs:size
30 for (i = 0; i < ref->size; i++) in callback_check()
264 struct { pb_size_t size; uint8_t bytes[5]; } d; in main() member
272 TEST((s = S("\x00"), pb_dec_bytes(&s, &f) && d.size == 0)) in main()
273 TEST((s = S("\x01\xFF"), pb_dec_bytes(&s, &f) && d.size == 1 && d.bytes[0] == 0xFF)) in main()
274 TEST((s = S("\x05xxxxx"), pb_dec_bytes(&s, &f) && d.size == 5)) in main()
353 struct { pb_size_t size; uint8_t bytes[10]; } ref; in main() member
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()
377 ref.size = 1; ref.bytes[0] = 0x56; in main()