Lines Matching refs:data

51 static uint32_t xor32_checksum(const void *data, size_t len)  in xor32_checksum()  argument
53 const uint8_t *buf = (const uint8_t*)data; in xor32_checksum()
289 void do_roundtrips(const uint8_t *data, size_t size, bool expect_valid) in do_roundtrips() argument
295 …if (do_decode(data, size, sizeof(alltypes_static_AllTypes), alltypes_static_AllTypes_fields, 0, ex… in do_roundtrips()
297 do_roundtrip(data, size, sizeof(alltypes_static_AllTypes), alltypes_static_AllTypes_fields); in do_roundtrips()
298 …do_stream_decode(data, size, SIZE_MAX, sizeof(alltypes_static_AllTypes), alltypes_static_AllTypes_… in do_roundtrips()
299 do_callback_decode(data, size, true); in do_roundtrips()
304 …if (do_decode(data, size, sizeof(alltypes_proto3_static_AllTypes), alltypes_proto3_static_AllTypes… in do_roundtrips()
306 …do_roundtrip(data, size, sizeof(alltypes_proto3_static_AllTypes), alltypes_proto3_static_AllTypes_… in do_roundtrips()
307 …do_stream_decode(data, size, SIZE_MAX, sizeof(alltypes_proto3_static_AllTypes), alltypes_proto3_st… in do_roundtrips()
312 …if (do_decode(data, size, sizeof(alltypes_pointer_AllTypes), alltypes_pointer_AllTypes_fields, 0, … in do_roundtrips()
314 … do_roundtrip(data, size, sizeof(alltypes_pointer_AllTypes), alltypes_pointer_AllTypes_fields); in do_roundtrips()
315 …do_stream_decode(data, size, SIZE_MAX, sizeof(alltypes_pointer_AllTypes), alltypes_pointer_AllType… in do_roundtrips()
320 …if (do_decode(data, size, sizeof(alltypes_proto3_pointer_AllTypes), alltypes_proto3_pointer_AllTyp… in do_roundtrips()
322 …do_roundtrip(data, size, sizeof(alltypes_proto3_pointer_AllTypes), alltypes_proto3_pointer_AllType… in do_roundtrips()
323 …do_stream_decode(data, size, SIZE_MAX, sizeof(alltypes_proto3_pointer_AllTypes), alltypes_proto3_p… in do_roundtrips()
335 …do_stream_decode(data, size, size - 16, sizeof(alltypes_static_AllTypes), alltypes_static_AllTypes… in do_roundtrips()
336 …do_stream_decode(data, size, size - 16, sizeof(alltypes_pointer_AllTypes), alltypes_pointer_AllTyp… in do_roundtrips()
341 …do_decode(data, size, sizeof(alltypes_static_AllTypes), alltypes_static_AllTypes_fields, PB_DECODE… in do_roundtrips()
342 …do_decode(data, size, sizeof(alltypes_static_AllTypes), alltypes_static_AllTypes_fields, PB_DECODE… in do_roundtrips()
345 do_callback_decode(data, size, false); in do_roundtrips()
352 int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument
357 do_roundtrips(data, size, false); in LLVMFuzzerTestOneInput()