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

/system/core/adb/
H A Dsysdeps.h142 // See the comments for the !defined(_WIN32) version of unix_write().
143 static __inline__ int unix_write(int fd, const void* buf, size_t len) function
371 // unix_write(), unix_close(), but not adb_read(), adb_write(), adb_close().
376 // by unix_read(), unix_write(), unix_close()). Also, the C Runtime has
405 // adb_write(), adb_close(), but not unix_read(), unix_write(), unix_close().
554 // On Unix, unix_read(), unix_write(), unix_close() map to adb_read(),
560 #define unix_write adb_write
/system/vold/
H A DEncryptInplace.cpp44 static inline int unix_write(int fd, const void* buff, int len) function
525 if (unix_write(cryptofd, buf, CRYPT_SECTOR_SIZE) <= 0) {
550 if (unix_write(cryptofd, buf, CRYPT_INPLACE_BUFSIZE) <= 0) {
566 if (unix_write(cryptofd, buf, CRYPT_SECTOR_SIZE) <= 0) {
H A Dcryptfs.cpp578 static inline int unix_write(int fd, const void* buff, int len) function
620 unix_write(fd, pdata, CRYPT_PERSIST_DATA_SIZE);
624 unix_write(fd, pdata, CRYPT_PERSIST_DATA_SIZE);
655 unix_write(fd, crypt_ftr, sizeof(struct crypt_mnt_ftr));
931 if (unix_write(fd, persist_data, crypt_ftr.persist_data_size) ==
939 if (unix_write(fd, pdata, crypt_ftr.persist_data_size) !=

Completed in 152 milliseconds