Searched refs:nbytes (Results 1 - 25 of 349) sorted by relevance

1234567891011>>

/macosx-10.9.5/Heimdal-323.92.1/lib/roken/
H A Dswab.c40 swab (char *from, char *to, int nbytes) argument
42 while(nbytes >= 2) {
47 nbytes -= 2;
H A Deread.c43 eread (int fd, void *buf, size_t nbytes) argument
47 ret = net_read (fd, buf, nbytes);
H A Dewrite.c43 ewrite (int fd, const void *buf, size_t nbytes) argument
47 ret = net_write (fd, buf, nbytes);
H A Dnet_read.c45 net_read (rk_socket_t fd, void *buf, size_t nbytes) argument
49 size_t rem = nbytes;
64 return nbytes;
70 net_read(rk_socket_t sock, void *buf, size_t nbytes) argument
74 size_t rem = nbytes;
115 return nbytes;
H A Dnet_write.c45 net_write (rk_socket_t fd, const void *buf, size_t nbytes) argument
49 size_t rem = nbytes;
62 return nbytes;
68 net_write(rk_socket_t sock, const void *buf, size_t nbytes) argument
72 size_t rem = nbytes;
104 return nbytes;
/macosx-10.9.5/dtrace-118.1/libdwarf/
H A Dpro_encode_nm.h44 int _dwarf_pro_encode_leb128_nm(Dwarf_Unsigned val, int *nbytes,
47 int _dwarf_pro_encode_signed_leb128_nm(Dwarf_Signed value, int *nbytes,
H A Dpro_section.h84 it will see if there's enoungh space for nbytes in current
89 unsigned long nbytes);
91 #define GET_CHUNK(dbg,sectno,ptr,nbytes,error) \
93 (ptr) = _dwarf_pro_buffer((dbg),(sectno),(nbytes)); \
/macosx-10.9.5/smb-697.95.1/lib/librpc/
H A Dmemory.cpp48 std::size_t nbytes)
52 if (nbytes % platform::pagesize()) {
53 buf = ::malloc(nbytes);
55 buf = ::valloc(nbytes);
58 buf = ::realloc(buf, nbytes);
46 allocate( void * buf, std::size_t nbytes) argument
/macosx-10.9.5/xnu-2422.115.4/EXTERNAL_HEADERS/corecrypto/
H A Dccpad.h15 /* Contract is nbytes is at least 1 block + 1 byte. Also in is nbytes long out is nbytes long. */
17 unsigned long nbytes, const void *in, void *out);
19 /* Contract is nbytes is at least 1 block + 1 byte. Also in is nbytes long out is nbytes long. */
21 unsigned long nbytes, const void *in, void *out);
23 /* Contract is nbytes is at least 1 block + 1 byte. Also in is nbytes lon
[all...]
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/test/
H A Dreadchild.c24 apr_size_t nbytes, total_bytes; local
37 nbytes = sizeof(buf);
38 while ((rv = apr_file_read(in, buf, &nbytes)) == APR_SUCCESS) {
39 total_bytes += nbytes;
40 nbytes = sizeof(buf);
/macosx-10.9.5/apr-30/apr/apr/test/
H A Dreadchild.c24 apr_size_t nbytes, total_bytes; local
37 nbytes = sizeof(buf);
38 while ((rv = apr_file_read(in, buf, &nbytes)) == APR_SUCCESS) {
39 total_bytes += nbytes;
40 nbytes = sizeof(buf);
/macosx-10.9.5/dtrace-118.1/test/tst/common/speculation/
H A Derr.D_ACT_SPEC.SpeculateWithCopyOut.d43 size_t nbytes;
48 nbytes = 10;
57 copyout(buf, addr, nbytes);
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/libraries/liblutil/
H A Dentropy.c38 * lutil_entropy() provides nbytes of entropy in buf.
49 int lutil_entropy( unsigned char *buf, ber_len_t nbytes )
51 if( nbytes == 0 ) return 0;
64 rc = read( fd, buf, nbytes );
68 nbytes-=rc;
71 } while( nbytes > 0 );
74 return nbytes > 0 ? -1 : 0;
87 if(!CryptGenRandom(hProv, (DWORD) nbytes, (BYTE *) buf)) {
138 for( n = 0; n < nbytes; n += 16 ) {
158 lutil_MD5Update( &ctx, buf, nbytes );
[all...]
/macosx-10.9.5/bash-92/bash-3.2/lib/malloc/
H A Dimalloc.h81 #define MALLOC_BZERO(charp, nbytes) \
83 if ((nbytes) <= 32) { \
85 unsigned long mctmp = (nbytes)/sizeof(size_t); \
99 memset ((charp), 0, (nbytes)); \
102 #define MALLOC_ZERO(charp, nbytes) \
104 size_t mzsz = (nbytes); \
120 #define MALLOC_MEMSET(charp, xch, nbytes) \
122 if ((nbytes) <= 32) { \
124 unsigned long mctmp = (nbytes); \
138 memset ((charp), (xch), (nbytes)); \
[all...]
/macosx-10.9.5/expat-12/expat/xmlwf/
H A Dreadfilemap.c48 size_t nbytes; local
67 nbytes = sb.st_size;
68 /* malloc will return NULL with nbytes == 0, handle files with size 0 */
69 if (nbytes == 0) {
75 p = malloc(nbytes);
81 n = read(fd, p, nbytes);
88 if (n != nbytes) {
94 processor(p, nbytes, name, arg);
H A Dunixfilemap.c26 size_t nbytes; local
46 nbytes = sb.st_size;
48 if (nbytes == 0) {
54 p = (void *)mmap((caddr_t)0, (size_t)nbytes, PROT_READ,
61 processor(p, nbytes, name, arg);
62 munmap((caddr_t)p, nbytes);
/macosx-10.9.5/groff-38/groff/src/libs/libbib/
H A Dmap.c41 char *mapread(int fd, int nbytes) argument
43 char *p = (char *)mmap((void *)0, (size_t)nbytes, PROT_READ,
70 char *mapread(int fd, int nbytes) argument
/macosx-10.9.5/xnu-2422.115.4/osfmk/x86_64/
H A Dcopyio.c79 vm_size_t nbytes, vm_size_t *lencopied, int use_kernel_map)
96 nbytes, thread->machine.copyio_state, 0);
98 if (nbytes == 0)
110 ((nbytes && (user_addr+nbytes <= user_addr)) || ((user_addr + nbytes) > vm_map_max(thread->map)))) {
137 copy_type, (void *)user_addr, kernel_addr, nbytes, lencopied, use_kernel_map,
144 (unsigned)kernel_addr, nbytes, 0, 0);
151 nbytes);
157 nbytes);
78 copyio(int copy_type, user_addr_t user_addr, char *kernel_addr, vm_size_t nbytes, vm_size_t *lencopied, int use_kernel_map) argument
250 copyinmsg(const user_addr_t user_addr, char *kernel_addr, mach_msg_size_t nbytes) argument
256 copyin(const user_addr_t user_addr, char *kernel_addr, vm_size_t nbytes) argument
262 copyinstr(const user_addr_t user_addr, char *kernel_addr, vm_size_t nbytes, vm_size_t *lencopied) argument
270 copyoutmsg(const char *kernel_addr, user_addr_t user_addr, mach_msg_size_t nbytes) argument
276 copyout(const void *kernel_addr, user_addr_t user_addr, vm_size_t nbytes) argument
[all...]
/macosx-10.9.5/apache-786.1/httpd/modules/proxy/
H A Dmod_proxy_connect.c83 apr_size_t i, o, nbytes; local
230 nbytes = apr_snprintf(buffer, sizeof(buffer),
232 apr_socket_send(sock, buffer, &nbytes);
233 nbytes = apr_snprintf(buffer, sizeof(buffer),
235 apr_socket_send(sock, buffer, &nbytes);
240 nbytes = apr_snprintf(buffer, sizeof(buffer),
242 ap_xlate_proto_to_ascii(buffer, nbytes);
243 apr_socket_send(client_socket, buffer, &nbytes);
244 nbytes = apr_snprintf(buffer, sizeof(buffer),
246 ap_xlate_proto_to_ascii(buffer, nbytes);
[all...]
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/file_io/unix/
H A Dfullrw.c21 apr_size_t nbytes,
28 apr_size_t amt = nbytes;
32 nbytes -= amt;
34 } while (status == APR_SUCCESS && nbytes > 0);
44 apr_size_t nbytes,
51 apr_size_t amt = nbytes;
55 nbytes -= amt;
57 } while (status == APR_SUCCESS && nbytes > 0);
H A Dreadwrite.c29 apr_size_t *nbytes)
34 apr_uint64_t size = *nbytes;
78 *nbytes = pos - (char *)buf;
79 if (*nbytes) {
85 APR_DECLARE(apr_status_t) apr_file_read(apr_file_t *thefile, void *buf, apr_size_t *nbytes)
90 if (*nbytes <= 0) {
91 *nbytes = 0;
97 rv = file_read_buffered(thefile, buf, nbytes);
107 (*nbytes)--;
109 if (*nbytes
28 file_read_buffered(apr_file_t *thefile, void *buf, apr_size_t *nbytes) argument
286 apr_size_t nbytes = 1; local
299 apr_size_t nbytes = 1; local
404 apr_size_t nbytes; local
[all...]
/macosx-10.9.5/apr-30/apr/apr/file_io/unix/
H A Dfullrw.c21 apr_size_t nbytes,
28 apr_size_t amt = nbytes;
32 nbytes -= amt;
34 } while (status == APR_SUCCESS && nbytes > 0);
44 apr_size_t nbytes,
51 apr_size_t amt = nbytes;
55 nbytes -= amt;
57 } while (status == APR_SUCCESS && nbytes > 0);
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/NVPTX/
H A DNVPTXutil.cpp37 static int encode_leb128(uint64_t val, int *nbytes, argument
56 *nbytes = a - space;
74 int nbytes; local
76 int retval = encode_leb128(temp64.x, &nbytes, encoded, 16);
82 assert(nbytes <= 8 &&
86 for (int i=0; i<nbytes; ++i)
/macosx-10.9.5/tcl-102/tcl_ext/tclxml/tclxml/expat/xmlwf/
H A Dreadfilemap.c67 size_t nbytes; local
86 nbytes = sb.st_size;
87 p = malloc(nbytes);
92 n = read(fd, p, nbytes);
98 if ((size_t) n != nbytes) {
103 processor(p, nbytes, name, arg);
/macosx-10.9.5/tcl-102/tcl_ext/xotcl/xotcl/library/xml/TclExpat-1.1/
H A Dreadfilemap.c49 size_t nbytes; local
68 nbytes = sb.st_size;
69 p = malloc(nbytes);
74 n = read(fd, p, nbytes);
80 if (n != nbytes) {
85 processor(p, nbytes, name, arg);

Completed in 230 milliseconds

1234567891011>>