Searched refs:nbyte (Results 1 - 25 of 30) sorted by relevance

12

/macosx-10.10.1/xar-254/xar/lib/
H A Dutil.h50 ssize_t xar_read_fd(int fd, void * buffer, size_t nbyte);
51 ssize_t xar_pread_fd(int fd, void * buffer, size_t nbyte, off_t offset);
52 ssize_t xar_write_fd(int fd, void * buffer, size_t nbyte);
53 ssize_t xar_pwrite_fd( int fd, void * buffer, size_t nbyte, off_t offset );
H A Dutil.c118 ssize_t xar_read_fd( int fd, void * buffer, size_t nbyte ) {
122 while ( total < nbyte ) {
123 rb = read(fd, ((char *)buffer)+total, nbyte-total);
140 ssize_t xar_pread_fd(int fd, void * buffer, size_t nbyte, off_t offset) { argument
144 while ( total < nbyte ) {
145 rb = pread(fd, ((char *)buffer)+total, nbyte-total, offset+total);
164 ssize_t xar_write_fd( int fd, void * buffer, size_t nbyte ) {
168 while ( total < nbyte ) {
169 rb = write(fd, ((char *)buffer)+total, nbyte-total);
186 ssize_t xar_pwrite_fd( int fd, void * buffer, size_t nbyte, off_ argument
[all...]
H A Dhash.h50 void xar_hash_update(xar_hash_t hash, void *buffer, size_t nbyte);
51 void *xar_hash_finish(xar_hash_t hash, size_t *nbyte);
H A Dhash.c140 void xar_hash_update(xar_hash_t hash, void *buffer, size_t nbyte) { argument
142 CCDigestUpdate(HASH_CTX(hash)->digest, buffer, nbyte);
144 EVP_DigestUpdate(&HASH_CTX(hash)->digest, buffer, nbyte);
148 void *xar_hash_finish(xar_hash_t hash, size_t *nbyte) { argument
164 *nbyte = HASH_CTX(hash)->length;
/macosx-10.10.1/xnu-2782.1.97/libsyscall/mach/
H A Dpanic.c64 extern int write(int fd, const char* cbuf, int nbyte);
H A Dfprintf_stderr.c41 int write(int fd, const char* cbuf, int nbyte);
/macosx-10.10.1/xnu-2782.1.97/bsd/sys/
H A Dguarded.h57 extern user_ssize_t guarded_write_np(int fd, const guardid_t *guard, user_addr_t cbuf, user_size_t nbyte);
58 extern user_ssize_t guarded_pwrite_np(int fd, const guardid_t *guard, user_addr_t buf, user_size_t nbyte, off_t offset);
/macosx-10.10.1/passwordserver_sasl-193/cyrus_sasl/pwcheck/
H A Dpwcheck.c228 * Keep calling the write() system call with 'fd', 'buf', and 'nbyte'
231 int retry_write(int fd, const char *buf, unsigned int nbyte) argument
236 if (nbyte == 0)
240 n = write(fd, buf, nbyte);
249 if ((unsigned int) n >= nbyte)
253 nbyte -= n;
/macosx-10.10.1/dyld-353.2.1/src/
H A DdyldSyscallInterface.h44 ssize_t (*pread)(int fd, void* buf, size_t nbyte, off_t offset);
45 ssize_t (*write)(int fd, const void* buf, size_t nbyte);
/macosx-10.10.1/passwordserver_sasl-193/cyrus_sasl/saslauthd/
H A Dtestsaslauthd.c67 * Keep calling the read() system call with 'fd', 'buf', and 'nbyte'
70 int retry_read(int fd, void *inbuf, unsigned nbyte) argument
76 if (nbyte == 0) return 0;
79 n = read(fd, buf, nbyte);
87 if (n >= (int) nbyte) return nread;
90 nbyte -= n;
/macosx-10.10.1/apr-32/apr-util/apr-util/include/
H A Dapr_buckets.h823 * @param nbyte The number of bytes to write
828 const char *str, apr_size_t nbyte);
1359 * @param nbyte The size of the data to insert.
1364 apr_size_t nbyte,
1371 * @param nbyte The size of the data to insert.
1376 apr_size_t nbyte);
1381 * @param nbyte The size of the data to insert.
1386 apr_size_t nbyte,
1393 * @param nbyte The size of the data to insert.
1398 apr_size_t nbyte);
[all...]
/macosx-10.10.1/apache-793/httpd/include/
H A Dutil_filter.h558 * @param nbyte The number of bytes in the data
560 #define ap_fwrite(f, bb, data, nbyte) \
561 apr_brigade_write(bb, ap_filter_flush, f, data, nbyte)
H A Dhttp_protocol.h399 * @param nbyte The number of bytes to send from the buffer
403 AP_DECLARE(int) ap_rwrite(const void *buf, int nbyte, request_rec *r);
/macosx-10.10.1/apr-32/apr-util/apr-util/buckets/
H A Dapr_brigade.c432 const char *str, apr_size_t nbyte)
451 if (nbyte > remaining) {
456 e = apr_bucket_transient_create(str, nbyte, b->bucket_alloc);
461 e = apr_bucket_heap_create(str, nbyte, NULL, b->bucket_alloc);
482 memcpy(buf, str, nbyte);
483 e->length += nbyte;
/macosx-10.10.1/tcsh-65/tcsh/
H A Dsh.misc.c630 xread(int fildes, void *buf, size_t nbyte) argument
638 while ((res = read(fildes, buf, nbyte)) == -1 && errno == EINTR);
656 xwrite(int fildes, const void *buf, size_t nbyte) argument
664 while ((res = write(fildes, buf, nbyte)) == -1 && errno == EINTR);
/macosx-10.10.1/xnu-2782.1.97/bsd/kern/
H A Dsys_generic.c152 user_addr_t bufp, user_size_t nbyte,
155 user_addr_t bufp, user_size_t nbyte,
213 error = dofileread(&context, fp, uap->cbuf, uap->nbyte,
252 error = dofileread(&context, fp, uap->buf, uap->nbyte,
258 uap->fd, uap->nbyte, (unsigned int)((uap->offset >> 32)), (unsigned int)(uap->offset), 0);
341 user_addr_t bufp, user_size_t nbyte, off_t offset, int flags,
349 if (nbyte > INT_MAX)
359 uio_addiov(auio, bufp, nbyte);
361 bytecnt = nbyte;
476 error = dofilewrite(&context, fp, uap->cbuf, uap->nbyte,
340 dofileread(vfs_context_t ctx, struct fileproc *fp, user_addr_t bufp, user_size_t nbyte, off_t offset, int flags, user_ssize_t *retval) argument
572 dofilewrite(vfs_context_t ctx, struct fileproc *fp, user_addr_t bufp, user_size_t nbyte, off_t offset, int flags, user_ssize_t *retval) argument
[all...]
H A Dkern_guarded.c56 user_addr_t bufp, user_size_t nbyte, off_t offset,
776 * user_addr_t cbuf, user_ssize_t nbyte);
807 error = dofilewrite(&context, fp, uap->cbuf, uap->nbyte,
820 * user_addr_t buf, user_size_t nbyte, off_t offset);
869 error = dofilewrite(&context, fp, uap->buf, uap->nbyte,
880 uap->fd, uap->nbyte, (unsigned int)((uap->offset >> 32)), (unsigned int)(uap->offset), 0);
/macosx-10.10.1/ksh-23/ksh/src/cmd/ksh93/edit/
H A Dedit.c929 * put <string> of length <nbyte> onto lookahead stack
934 static int putstack(Edit_t *ep,char string[], register int nbyte, int type) argument
939 int size, offset = ep->e_lookahead + nbyte;
940 *(endp = &p[nbyte]) = 0;
941 endp = &p[nbyte];
998 for(size=offset;size < nbyte;size++)
1001 ep->e_lookahead += nbyte-offset;
1003 while (nbyte > 0)
1005 c = string[--nbyte] & STRIP;
/macosx-10.10.1/emacs-93/emacs/src/
H A Dsysdep.c3361 emacs_read (fildes, buf, nbyte)
3364 unsigned int nbyte;
3368 while ((rtnval = read (fildes, buf, nbyte)) == -1
3375 emacs_write (fildes, buf, nbyte)
3378 unsigned int nbyte;
3384 while (nbyte > 0)
3386 rtnval = write (fildes, buf, nbyte);
3405 nbyte -= rtnval;
4305 sys_read (fildes, buf, nbyte)
4308 unsigned int nbyte;
[all...]
/macosx-10.10.1/dtrace-147/libproc/
H A Dlibproc.c726 ssize_t Pread(struct ps_prochandle *P, void *buf, size_t nbyte, mach_vm_address_t address) { argument
731 kern_return_t err = mach_vm_read(CSSymbolicatorGetTask(P->symbolicator), (mach_vm_address_t)address, (mach_vm_size_t)nbyte, &mapped_address, &mapped_size);
733 bytes_read = nbyte;
734 memcpy(buf, (void*)mapped_address, nbyte);
/macosx-10.10.1/smb-759.0/kernel/sys5/kern/
H A Dsubr_mchain.c517 user_size_t nbyte = size; local
529 uio_addiov(auio, bufp, nbyte);
880 user_size_t nbyte = size; local
892 uio_addiov(auio, bufp, nbyte);
/macosx-10.10.1/passwordserver_sasl-193/cyrus_sasl/lib/
H A Dcheckpw.c613 static int retry_read(int fd, void *buf0, unsigned nbyte, unsigned delta) argument
616 unsigned nleft = nbyte;
635 return nbyte - nleft;
/macosx-10.10.1/apache-793/httpd/server/
H A Dprotocol.c1567 AP_DECLARE(int) ap_rwrite(const void *buf, int nbyte, request_rec *r) argument
1572 if (buffer_output(r, buf, nbyte) != APR_SUCCESS)
1575 return nbyte;
/macosx-10.10.1/libclosure-65/objectTests/
H A Dtest.pl142 ssize_t hacked_write(int fildes, const void *buf, size_t nbyte)
148 return write(fildes, buf, nbyte);
/macosx-10.10.1/objc4-646/test/
H A Dtest.pl143 ssize_t hacked_write(int fildes, const void *buf, size_t nbyte)
149 return write(fildes, buf, nbyte);

Completed in 265 milliseconds

12