Searched defs:nbyte (Results 1 - 7 of 7) sorted by relevance

/external/qemu/android/utils/
H A Dmapfile.c112 mapfile_read(MapFile* handle, void* buf, size_t nbyte) argument
117 if (ReadFile(handle, buf, nbyte, &read_bytes, NULL)) {
125 return HANDLE_EINTR(read((int)(ptrdiff_t)handle, buf, nbyte));
130 mapfile_read_at(MapFile* handle, size_t offset, void* buf, size_t nbyte) argument
141 return mapfile_read(handle, buf, nbyte);
144 return res >= 0 ? mapfile_read(handle, buf, nbyte) : res;
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
H A Dkernel_wrap_win.cc151 int _read(int fd, void* buf, size_t nbyte) { argument
155 return ki_read(fd, buf, nbyte);
158 int _read_nolock(int fd, void* buf, size_t nbyte) { argument
162 return ki_read(fd, buf, nbyte);
218 int _write(int fd, const void* buf, size_t nbyte) { argument
222 return ki_write(fd, buf, nbyte);
H A Dkernel_intercept.cc240 ssize_t ki_read(int fd, void* buf, size_t nbyte) { argument
242 return s_state.kp->read(fd, buf, nbyte);
245 ssize_t ki_write(int fd, const void* buf, size_t nbyte) { argument
247 return s_state.kp->write(fd, buf, nbyte);
/external/qemu/android/
H A Dsnapshot.c48 /* Reads 'nbyte' bytes from 'fd' into 'buf', retrying on interrupts.
52 read_or_die(int fd, void *buf, size_t nbyte) argument
54 int ret = HANDLE_EINTR(read(fd, buf, nbyte));
/external/openssl/crypto/pem/
H A Dpvkfmt.c90 static int read_lebn(const unsigned char **in, unsigned int nbyte, BIGNUM **r) argument
95 p = *in + nbyte - 1;
96 tmpbuf = OPENSSL_malloc(nbyte);
100 for (i = 0; i < nbyte; i++)
102 *r = BN_bin2bn(tmpbuf, nbyte, NULL);
106 *in += nbyte;
216 unsigned int nbyte, hnbyte; local
217 nbyte = (bitlen + 7) >> 3;
226 return 44 + 3 * nbyte;
231 return 64 + 2 * nbyte;
318 unsigned int nbyte; local
376 unsigned int nbyte, hnbyte; local
578 int nbyte, hnbyte, bitlen; local
613 int nbyte, hnbyte; local
631 int nbyte; local
[all...]
/external/yaffs2/yaffs2/direct/
H A Dyaffsfs.c510 int yaffs_read(int fd, void *buf, unsigned int nbyte) argument
539 if(nbyte > maxRead)
541 nbyte = maxRead;
545 if(nbyte > 0)
547 nRead = yaffs_ReadDataFromFile(obj,buf,pos,nbyte);
571 int yaffs_write(int fd, const void *buf, unsigned int nbyte) argument
603 nWritten = yaffs_WriteDataToFile(obj,buf,pos,nbyte,writeThrough);
/external/fio/os/windows/
H A Dposix.c686 ssize_t pwrite(int fildes, const void *buf, size_t nbyte, argument
690 ssize_t len = _write(fildes, buf, nbyte);
695 ssize_t pread(int fildes, void *buf, size_t nbyte, off_t offset) argument
698 ssize_t len = read(fildes, buf, nbyte);

Completed in 7319 milliseconds