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

/system/core/adb/
H A Dsysdeps.h242 // See the comments for the !defined(_WIN32) version of unix_write().
243 static __inline__ int unix_write(int fd, const void* buf, size_t len) function
494 // unix_write(), unix_close(), but not adb_read(), adb_write(), adb_close().
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().
677 // On Unix, unix_read(), unix_write(), unix_close() map to adb_read(),
683 #define unix_write adb_write
/system/vold/
H A Dcryptfs.c668 static inline int unix_write(int fd, const void* buff, int len) function
710 unix_write(fd, pdata, CRYPT_PERSIST_DATA_SIZE);
714 unix_write(fd, pdata, CRYPT_PERSIST_DATA_SIZE);
745 unix_write(fd, crypt_ftr, sizeof(struct crypt_mnt_ftr));
1010 if (unix_write(fd, persist_data, crypt_ftr.persist_data_size) ==
1018 if (unix_write(fd, pdata, crypt_ftr.persist_data_size) !=
2728 if (unix_write(cryptofd, buf, CRYPT_SECTOR_SIZE) <= 0) {
2753 if (unix_write(cryptofd, buf, CRYPT_INPLACE_BUFSIZE) <= 0) {
2776 if (unix_write(cryptofd, buf, CRYPT_SECTOR_SIZE) <= 0) {

Completed in 182 milliseconds