Lines Matching refs:size
201 static size_t readFully(int fd, uint8_t* data, size_t size) {
202 size_t remaining = size;
204 ssize_t n = TEMP_FAILURE_RETRY(read(fd, data, size));
206 return size-remaining;
211 return size;
214 static size_t writeFully(int fd, uint8_t* data, size_t size) {
215 size_t remaining = size;
217 ssize_t n = TEMP_FAILURE_RETRY(write(fd, data, size));
219 return size-remaining;
224 return size;
246 bool generate_random_data(uint8_t* data, size_t size) const {
247 return (readFully(mRandom, data, size) == size);
255 * the description. The secret is stored in ciphertext, and its original size
257 * plaintext, and its size is specified in blob.info. The total size of the two
1449 socklen_t size = sizeof(cred);
1450 int credResult = getsockopt(sock, SOL_SOCKET, SO_PEERCRED, &cred, &size);