/system/tpm/trunks/ |
tpm_handle.cc | 87 char response_buf[kTpmBufferSize]; local 88 result = HANDLE_EINTR(read(fd_, response_buf, kTpmBufferSize)); 93 response->assign(response_buf, static_cast<size_t>(result));
|
/device/google/marlin/dataservices/rmnetctl/src/ |
librmnetctl.c | 108 uint8_t *request_buf, *response_buf; local 115 response_buf = NULL; 136 response_buf = (uint8_t *)malloc(MAX_BUF_SIZE * sizeof(uint8_t)); 137 if (!response_buf) { 147 memset(response_buf, 0, MAX_BUF_SIZE*sizeof(uint8_t)); 169 free(response_buf); 175 response_buf, 183 free(response_buf); 187 memcpy(response, (void *)NLMSG_DATA(response_buf), 192 free(response_buf); [all...] |
/device/huawei/angler/dataservices/rmnetctl/src/ |
librmnetctl.c | 105 uint8_t *request_buf, *response_buf; local 112 response_buf = NULL; 133 response_buf = (uint8_t *)malloc(MAX_BUF_SIZE * sizeof(uint8_t)); 134 if (!response_buf) { 144 memset(response_buf, 0, MAX_BUF_SIZE*sizeof(uint8_t)); 166 free(response_buf); 172 response_buf, 180 free(response_buf); 184 memcpy(response, (void *)NLMSG_DATA(response_buf), 189 free(response_buf); [all...] |
/device/lge/bullhead/dataservices/rmnetctl/src/ |
librmnetctl.c | 106 uint8_t *request_buf, *response_buf; local 113 response_buf = NULL; 134 response_buf = (uint8_t *)malloc(MAX_BUF_SIZE * sizeof(uint8_t)); 135 if (!response_buf) { 145 memset(response_buf, 0, MAX_BUF_SIZE*sizeof(uint8_t)); 167 free(response_buf); 173 response_buf, 181 free(response_buf); 185 memcpy(response, (void *)NLMSG_DATA(response_buf), 190 free(response_buf); [all...] |
/device/moto/shamu/dataservices/rmnetctl/src/ |
librmnetctl.c | 94 uint8_t *request_buf, *response_buf; local 99 response_buf = NULL; 120 response_buf = (uint8_t *)malloc(MAX_BUF_SIZE * sizeof(uint8_t)); 121 if (!response_buf) { 131 memset(response_buf, 0, MAX_BUF_SIZE*sizeof(uint8_t)); 152 free(response_buf); 157 response_buf, 165 free(response_buf); 169 memcpy(response, (void *)NLMSG_DATA(response_buf), 174 free(response_buf); [all...] |
/external/libnfc-nci/halimpl/pn54x/hal/ |
phNxpNciHal.c | 2709 static uint8_t response_buf[][30] = {"STATUS_OK", local [all...] |
/external/libnfc-nci/src/nfc/include/ |
rw_api.h | 168 UINT8 *response_buf; /* Buffer of responses (length + SENSF_RES) see $8.1.2.2 of NCI specs */ member in struct:__anon17333 [all...] |