Searched defs:unix_read (Results 1 - 2 of 2) sorted by relevance

/system/core/adb/
H A Dsysdeps.h231 // Like unix_read(), but may return EINTR.
234 // See the comments for the !defined(_WIN32) version of unix_read().
235 static __inline__ int unix_read(int fd, void* buf, size_t len) { function
493 // Open a file and return a file descriptor that may be used with unix_read(),
499 // by unix_read(), unix_write(), unix_close()). Also, the C Runtime has
528 // adb_write(), adb_close(), but not unix_read(), unix_write(), unix_close().
571 // Like unix_read(), but does not handle EINTR.
677 // On Unix, unix_read(), unix_write(), unix_close() map to adb_read(),
682 #define unix_read adb_read
/system/vold/
H A Dcryptfs.c663 static inline int unix_read(int fd, void* buff, int len) function
909 if (unix_read(fd, pdata, crypt_ftr.persist_data_size) < 0){
988 if (unix_read(fd, pdata, crypt_ftr.persist_data_size) < 0) {
2723 if (unix_read(realfd, buf, CRYPT_SECTOR_SIZE) <= 0) {
2749 if (unix_read(realfd, buf, CRYPT_INPLACE_BUFSIZE) <= 0) {
2772 if (unix_read(realfd, buf, CRYPT_SECTOR_SIZE) <= 0) {
2857 if (unix_read(fd, block, sizeof(block)) < 0) {

Completed in 279 milliseconds