/external/u-boot/drivers/tpm/ |
D | tpm_atmel_twi.c | 72 uint8_t *recvbuf, size_t *recv_len) in tpm_atmel_twi_xfer() argument 78 memset(recvbuf, 0xcc, *recv_len); in tpm_atmel_twi_xfer() 95 while ((res = i2c_read(0x29, 0, 0, recvbuf, 10))) in tpm_atmel_twi_xfer() 97 while ((res = dm_i2c_read(dev, 0, recvbuf, 10))) in tpm_atmel_twi_xfer() 109 hdr_recv_len = get_unaligned_be32(recvbuf + 2); in tpm_atmel_twi_xfer() 119 res = i2c_read(0x29, 0, 0, recvbuf, *recv_len); in tpm_atmel_twi_xfer() 121 res = dm_i2c_read(dev, 0, recvbuf, *recv_len); in tpm_atmel_twi_xfer() 129 print_buffer(0, recvbuf, 1, *recv_len, 0); in tpm_atmel_twi_xfer() 136 print_buffer(0, recvbuf, 1, *recv_len, 0); in tpm_atmel_twi_xfer()
|
D | tpm_tis_sandbox.c | 140 size_t send_size, uint8_t *recvbuf, in sandbox_tpm_xfer() argument 161 memset(recvbuf, '\0', *recv_len); in sandbox_tpm_xfer() 162 put_unaligned_be32(22, recvbuf + in sandbox_tpm_xfer() 164 data = recvbuf + TPM_RESPONSE_HEADER_LENGTH + in sandbox_tpm_xfer() 179 put_unaligned_be32(22, recvbuf + in sandbox_tpm_xfer() 197 memset(recvbuf, '\0', *recv_len); in sandbox_tpm_xfer() 208 memset(recvbuf, '\0', *recv_len); in sandbox_tpm_xfer() 209 put_unaligned_be32(length, recvbuf + in sandbox_tpm_xfer() 214 data = recvbuf + TPM_RESPONSE_HEADER_LENGTH + in sandbox_tpm_xfer() 224 memcpy(recvbuf + TPM_RESPONSE_HEADER_LENGTH + in sandbox_tpm_xfer() [all …]
|
D | tpm-uclass.c | 72 uint8_t *recvbuf, size_t *recv_size) in tpm_xfer() argument 81 return ops->xfer(dev, sendbuf, send_size, recvbuf, recv_size); in tpm_xfer() 111 memcpy(recvbuf, priv->buf, ret); in tpm_xfer()
|
D | tpm2_tis_sandbox.c | 259 size_t send_size, u8 *recvbuf, in sandbox_tpm2_xfer() argument 265 u8 *recv = recvbuf; in sandbox_tpm2_xfer() 435 *recv_len = recv - recvbuf; in sandbox_tpm2_xfer() 436 put_unaligned_be32(*recv_len, recvbuf + sizeof(tag)); in sandbox_tpm2_xfer() 519 *recv_len = recv - recvbuf; in sandbox_tpm2_xfer() 520 put_unaligned_be32(*recv_len, recvbuf + sizeof(tag)); in sandbox_tpm2_xfer()
|
/external/ltp/testcases/network/stress/ns-tools/ |
D | ns-udpclient.c | 156 char *recvbuf = NULL; /* Pointer to the message */ in main() local 291 recvbuf = malloc(MESSAGE_LEN + 1); in main() 292 if (recvbuf == NULL) { in main() 320 if ((recvlen = recvfrom(sock_fd, recvbuf, MESSAGE_LEN, 0, in main() 336 recvbuf[recvlen] = '\0'; in main() 338 fprintf(stderr, "Message is %s\n", recvbuf); in main()
|
D | ns-tcpclient.c | 145 char *recvbuf; /* pointer to the received message */ in main() local 305 recvbuf = malloc(recvbuf_size); in main() 306 if (recvbuf == NULL) { in main() 319 recvbyte_size = recv(sock_fd, recvbuf, recvbuf_size, 0); in main() 340 free(recvbuf); in main()
|
/external/u-boot/include/ |
D | tpm-common.h | 122 int (*recv)(struct udevice *dev, u8 *recvbuf, size_t max_size); 152 u8 *recvbuf, size_t *recv_size); 201 u8 *recvbuf, size_t *recv_size);
|
/external/webrtc/webrtc/base/ |
D | nat_unittest.cc | 195 char recvbuf[kRecvBufSize]; in TestConnectivity() local 197 int received = server->RecvFrom(recvbuf, kRecvBufSize, &addr); in TestConnectivity() 198 return received == sent && ::memcmp(buf, recvbuf, len) == 0; in TestConnectivity()
|
/external/ipsec-tools/src/racoon/ |
D | racoonctl.c | 335 vchar_t *recvbuf; in evt_poll() local 349 if (com_recv(&recvbuf) == 0) { in evt_poll() 350 handle_recv(recvbuf); in evt_poll() 351 vfree(recvbuf); in evt_poll()
|
/external/clang/test/Sema/ |
D | warn-type-safety-mpi-hdf5.c | 35 void *recvbuf, int recvcount, MPI_Datatype recvtype)
|