Searched refs:__wrap_read (Results 1 – 3 of 3) sorted by relevance
/external/tpm2-tss/test/unit/ |
D | tcti-mssim.c | 181 __wrap_read (int sockfd, in __wrap_read() function 233 will_return (__wrap_read, 4); in tcti_socket_init_from_conf() 234 will_return (__wrap_read, recv_buf); in tcti_socket_init_from_conf() 236 will_return (__wrap_read, 4); in tcti_socket_init_from_conf() 237 will_return (__wrap_read, recv_buf); in tcti_socket_init_from_conf() 336 will_return (__wrap_read, 4); in tcti_socket_receive_success_test() 337 will_return (__wrap_read, &response_in [2]); in tcti_socket_receive_success_test() 339 will_return (__wrap_read, 2); in tcti_socket_receive_success_test() 340 will_return (__wrap_read, response_in); in tcti_socket_receive_success_test() 342 will_return (__wrap_read, 4); in tcti_socket_receive_success_test() [all …]
|
D | tcti-device.c | 141 __wrap_read (int fd, void *buf, size_t count) in __wrap_read() function 263 will_return (__wrap_read, BUF_SIZE); in tcti_device_receive_success() 264 will_return (__wrap_read, tpm2_buf); in tcti_device_receive_success() 291 will_return (__wrap_read, 0); in tcti_device_receive_eof_test() 292 will_return (__wrap_read, tpm2_buf); in tcti_device_receive_eof_test() 320 will_return (__wrap_read, size); in tcti_device_receive_buffer_lt_response() 321 will_return (__wrap_read, tpm2_buf); in tcti_device_receive_buffer_lt_response() 365 will_return (__wrap_read, BUF_SIZE); in tcti_device_poll_success() 366 will_return (__wrap_read, tpm2_buf); in tcti_device_poll_success()
|
D | io.c | 50 __wrap_read (int fd, void *buffer, size_t count) in __wrap_read() function 95 will_return (__wrap_read, 0); in read_all_eof_test() 110 will_return (__wrap_read, 5); in read_all_twice_eof() 111 will_return (__wrap_read, 0); in read_all_twice_eof()
|