Searched refs:expect_len (Results 1 – 2 of 2) sorted by relevance
/external/libevent/test/ |
D | regress_buffer.c | 933 size_t datalen, expect_len; in test_evbuffer_add_file() local 1018 expect_len = mapping_len; in test_evbuffer_add_file() 1021 expect_len = datalen; in test_evbuffer_add_file() 1025 segment_offset = expect_len / 3; in test_evbuffer_add_file() 1026 segment_len = expect_len / 2; in test_evbuffer_add_file() 1028 expect_len = segment_len; in test_evbuffer_add_file() 1090 tt_int_op(addfile_test_total_written, ==, expect_len); in test_evbuffer_add_file() 1091 tt_int_op(addfile_test_total_read, ==, expect_len); in test_evbuffer_add_file() 1093 compare = (char *)evbuffer_pullup(dest, expect_len); in test_evbuffer_add_file() 1095 if (memcmp(compare, expect_data, expect_len)) { in test_evbuffer_add_file()
|
/external/u-boot/common/ |
D | usb.c | 919 static int get_descriptor_len(struct usb_device *dev, int len, int expect_len) in get_descriptor_len() argument 928 if (err < expect_len) { in get_descriptor_len() 935 expect_len, err); in get_descriptor_len()
|