Searched refs:bufsize (Results 226 - 250 of 419) sorted by relevance

1234567891011>>

/macosx-10.10.1/ruby-106/ruby/ext/socket/
H A Dsocket.c1649 int bufsize;
1660 bufsize = sizeof(initbuf);
1664 conf.ifc_len = bufsize;
1667 /* fprintf(stderr, "bufsize: %d\n", bufsize); */
1677 if (bufsize - EXTRA_SPACE < conf.ifc_len) {
1678 if (bufsize < conf.ifc_len) {
1680 bufsize = conf.ifc_len + EXTRA_SPACE;
1683 bufsize = bufsize <<
[all...]
/macosx-10.10.1/xnu-2782.1.97/bsd/hfs/
H A Dhfs_xattr.c273 size_t bufsize; local
287 bufsize = 32;
312 *ap->a_size = bufsize;
315 if ((user_size_t)uio_resid(uio) < bufsize)
318 result = uiomove((caddr_t)&finderinfo , bufsize, uio);
453 size_t bufsize = 0; local
546 bufsize = sizeof(HFSPlusAttrData) - 2 + recp->attrData.attrSize;
548 MALLOC(recp, HFSPlusAttrRecord *, bufsize, M_TEMP, M_WAITOK);
555 btdata.itemSize = bufsize;
2377 int bufsize; local
2427 int bufsize; local
[all...]
/macosx-10.10.1/apr-32/apr/apr/file_io/os2/
H A Dopen.c63 dafile->bufsize = APR_FILE_DEFAULT_BUFSIZE;
201 (*file)->bufsize = APR_FILE_DEFAULT_BUFSIZE;
/macosx-10.10.1/cups-408/cups/cups/
H A Dtls-darwin.c55 static const char *http_cdsa_default_path(char *buffer, size_t bufsize);
634 size_t bufsize) /* I - Size of buffer */
640 DEBUG_printf(("httpCredentialsString(credentials=%p, buffer=%p, bufsize=" CUPS_LLFMT ")", credentials, buffer, CUPS_LLCAST bufsize));
645 if (buffer && bufsize > 0)
671 snprintf(buffer, bufsize, "%s / %s / %02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X", name, httpGetDateString(expiration), md5_digest[0], md5_digest[1], md5_digest[2], md5_digest[3], md5_digest[4], md5_digest[5], md5_digest[6], md5_digest[7], md5_digest[8], md5_digest[9], md5_digest[10], md5_digest[11], md5_digest[12], md5_digest[13], md5_digest[14], md5_digest[15]);
1501 size_t bufsize) /* I - Size of buffer */
1507 snprintf(buffer, bufsize, "%s/Library/Keychains/login.keychain", home);
1509 strlcpy(buffer, "/Library/Keychains/System.keychain", bufsize);
631 httpCredentialsString( cups_array_t *credentials, char *buffer, size_t bufsize) argument
1500 http_cdsa_default_path(char *buffer, size_t bufsize) argument
H A Dipp-support.c587 static size_t ipp_col_string(ipp_t *col, char *buffer, size_t bufsize);
604 size_t bufsize) /* I - Size of string buffer */
625 bufend = buffer + bufsize - 1;
2217 size_t bufsize) /* I - Size of buffer */
2227 bufend = buffer + bufsize - 1;
601 ippAttributeString( ipp_attribute_t *attr, char *buffer, size_t bufsize) argument
2215 ipp_col_string(ipp_t *col, char *buffer, size_t bufsize) argument
H A Dhttp-addr.c895 size_t bufsize) /* I - Size of buffer */
913 strlcpy(buffer, "localhost", bufsize);
915 strlcpy(buffer, http->hostname, bufsize);
893 httpResolveHostname(http_t *http, char *buffer, size_t bufsize) argument
H A Dppd-private.h198 size_t bufsize);
/macosx-10.10.1/cups-408/cups/filter/
H A Draster.c52 size_t bufsize; /* Buffer size */ member in struct:_cups_raster_s
764 if ((size_t)len > r->bufsize)
775 r->bufsize = len;
1026 if ((size_t)count > r->bufsize)
1044 r->bufsize = (size_t)count;
1067 remaining = (*r->iocb)(r->ctx, r->buffer, r->bufsize);
1287 if ((size_t)count > r->bufsize)
1298 r->bufsize = count;
/macosx-10.10.1/libpcap-48/libpcap/
H A Ddlpisubs.c332 p->bufsize = PKTBUFSIZE;
333 p->buffer = (u_char *)malloc(p->bufsize + p->offset);
H A Dpcap-can-linux.c151 handle->bufsize = 24;
186 handle->buffer = malloc(handle->bufsize);
/macosx-10.10.1/ntp-92/lib/isc/unix/
H A Difiter_getifaddrs.c41 unsigned int bufsize; /*%< (always 0) */ member in struct:isc_interfaceiter
69 iter->bufsize = 0;
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/libraries/liblutil/
H A Dutils.c945 * - if next is not NULL, *next will be set to buf + bufsize - 1
953 lutil_snprintf( char *buf, ber_len_t bufsize, char **next, ber_len_t *len, LDAP_CONST char *fmt, ... ) argument
959 assert( bufsize > 0 );
963 ret = vsnprintf( buf, bufsize, fmt, ap );
974 if ( (unsigned) ret >= bufsize ) {
976 *next = &buf[ bufsize - 1 ];
/macosx-10.10.1/autofs-246/automountd/
H A Dautod_readdir.c374 size_t bufsize; local
401 bufsize = total_bytes_wanted + sizeof (struct dirent_nonext);
403 bufsize, VM_FLAGS_ANYWHERE);
411 memset(outbuf, 0, bufsize);
464 vm_deallocate(current_task(), buffer_vm_address, bufsize); local
/macosx-10.10.1/network_cmds-457/rarpd.tproj/
H A Drarpd.c401 int bufsize, maxfd = 0; local
408 if (ioctl(iflist->ii_fd, BIOCGBLEN, (caddr_t) & bufsize) < 0) {
412 buf = (u_char *) malloc((unsigned) bufsize);
439 cc = read(fd, (char *) buf, bufsize);
448 (lseek(fd, 0, SEEK_CUR) + bufsize) < 0) {
/macosx-10.10.1/SmartcardCCID-55008/ccid/ccid/src/
H A Dsimclist.c1086 uint32_t bufsize; local
1153 ser_buf = l->attrs.serializer(x->data, &bufsize);
1154 header.totlistlen += bufsize;
1156 if (header.elemlen != bufsize) {
1170 WRITE_ERRCHECK(fd, ser_buf, bufsize);
1172 WRITE_ERRCHECK(fd, & bufsize, sizeof(size_t));
1173 WRITE_ERRCHECK(fd, ser_buf, bufsize);
1182 bufsize = l->attrs.meter(x->data);
1183 header.totlistlen += bufsize;
1185 if (header.elemlen != bufsize) {
[all...]
/macosx-10.10.1/lukemftp-14/tnftp/src/
H A Dftp.c583 * Read data from infd & write to outfd, using buf/bufsize as the temporary
592 copy_bytes(int infd, int outfd, char *buf, size_t bufsize, argument
606 bufchunk = bufsize;
617 inc = read(infd, buf, MIN(bufsize, bufrem));
680 static size_t bufsize; local
783 if (sndbuf_size > bufsize) {
786 bufsize = sndbuf_size;
787 buf = ftp_malloc(bufsize);
798 c = copy_bytes(fileno(fin), fileno(dout), buf, bufsize,
909 static size_t bufsize; local
[all...]
H A Dftp.c.orig579 * Read data from infd & write to outfd, using buf/bufsize as the temporary
588 copy_bytes(int infd, int outfd, char *buf, size_t bufsize,
602 bufchunk = bufsize;
613 inc = read(infd, buf, MIN(bufsize, bufrem));
676 static size_t bufsize;
779 if (sndbuf_size > bufsize) {
782 bufsize = sndbuf_size;
783 buf = ftp_malloc(bufsize);
794 c = copy_bytes(fileno(fin), fileno(dout), buf, bufsize,
905 static size_t bufsize;
[all...]
/macosx-10.10.1/system_cmds-643.1.1/sar.tproj/
H A Dsar.c811 int bufsize = 0; local
849 if (bufsize < (hdr.rec_count * hdr.rec_size))
853 bufsize = hdr.rec_count * hdr.rec_size;
854 if((buf = (char *)malloc(bufsize)) == NULL)
912 int bufsize = 0; local
952 if (bufsize < (hdr.rec_count * hdr.rec_size))
956 bufsize = hdr.rec_count * hdr.rec_size;
957 if((buf = (char *)malloc(bufsize)) == NULL)
1051 skip_data(bufsize)
1052 int bufsize;
[all...]
/macosx-10.10.1/Libinfo-459/lookup.subproj/
H A Dlibinfo.c3039 getgrnam_r(const char *name, struct group *grp, char *buffer, size_t bufsize, struct group **result) argument
3051 if ((grp == NULL) || (buffer == NULL) || (result == NULL) || (bufsize == 0)) return ERANGE;
3058 status = copy_group_r(g, grp, buffer, bufsize);
3068 getgrgid_r(gid_t gid, struct group *grp, char *buffer, size_t bufsize, struct group **result) argument
3080 if ((grp == NULL) || (buffer == NULL) || (result == NULL) || (bufsize == 0)) return ERANGE;
3087 status = copy_group_r(g, grp, buffer, bufsize);
3097 getgruuid_r(uuid_t uuid, struct group *grp, char *buffer, size_t bufsize, struct group **result) argument
3111 if ((grp == NULL) || (buffer == NULL) || (result == NULL) || (bufsize == 0)) return ERANGE;
3118 status = copy_group_r(g, grp, buffer, bufsize);
3128 getpwnam_r(const char *name, struct passwd *pw, char *buffer, size_t bufsize, struc argument
3157 getpwuid_r(uid_t uid, struct passwd *pw, char *buffer, size_t bufsize, struct passwd **result) argument
3186 getpwuuid_r(uuid_t uuid, struct passwd *pw, char *buffer, size_t bufsize, struct passwd **result) argument
[all...]
/macosx-10.10.1/emacs-93/emacs/src/
H A Dcallproc.c229 int bufsize = CALLPROC_BUFFER_SIZE_MIN;
782 while (nread < bufsize - 1024)
785 bufsize - nread);
944 if (bufsize < CALLPROC_BUFFER_SIZE_MAX && total_read > 32 * bufsize)
945 if ((bufsize *= 2) > CALLPROC_BUFFER_SIZE_MAX)
946 bufsize = CALLPROC_BUFFER_SIZE_MAX;
228 int bufsize = CALLPROC_BUFFER_SIZE_MIN; variable
/macosx-10.10.1/xnu-2782.1.97/bsd/kern/
H A Duipc_mbuf.c2680 m_clalloc(const u_int32_t num, const int wait, const u_int32_t bufsize) argument
2684 int numpages = 0, large_buffer = (bufsize == m_maxsize(MC_16KCL));
2690 VERIFY(bufsize == m_maxsize(MC_BIGCL) ||
2691 bufsize == m_maxsize(MC_16KCL));
2717 i = m_howmany(num, bufsize);
2723 size = round_page(i * bufsize);
2735 if (bufsize == m_maxsize(MC_BIGCL)) {
2762 if (bufsize == m_maxsize(MC_BIGCL)) {
2804 if (bufsize == m_maxsize(MC_BIGCL)) {
2815 mbc, mbc, bufsize,
3768 m_getpackets_internal(unsigned int *num_needed, int num_with_pkthdrs, int wait, int wantall, size_t bufsize) argument
3893 size_t bufsize, r_bufsize; local
5190 m_howmany(int num, size_t bufsize) argument
[all...]
/macosx-10.10.1/bootp-298/bootplib/
H A Dcfutil.c130 size_t bufsize; local
134 buf = read_file(filename, &bufsize);
138 data = CFDataCreateWithBytesNoCopy(NULL, buf, bufsize, kCFAllocatorNull);
/macosx-10.10.1/curl-83.1.2/curl/lib/
H A Dhostip.c168 * bufsize bytes big.
173 Curl_printable_address(const Curl_addrinfo *ai, char *buf, size_t bufsize) argument
187 bufsize);
193 bufsize);
/macosx-10.10.1/vim-55/src/
H A Dif_cscope.c58 static char * cs_parse_results __ARGS((int cnumber, char *buf, int bufsize, char **context, char **linenumber, char **search));
1812 cs_parse_results(cnumber, buf, bufsize, context, linenumber, search)
1815 int bufsize;
1824 if (fgets(buf, bufsize, csinfo[cnumber].fr_fp) == NULL)
2052 int bufsize = 0; /* Track available bufsize */ local
2075 bufsize = newsize;
2111 if (bufsize < newsize)
2115 bufsize = 0;
2117 bufsize
[all...]
/macosx-10.10.1/autofs-246/automountlib/
H A Dauto_subr.c862 natisa(char *buf, size_t bufsize) argument
865 (void) strlcpy(buf, "powerpc", bufsize);
867 (void) strlcpy(buf, "i386", bufsize);
869 (void) strlcpy(buf, "x86_64", bufsize);

Completed in 398 milliseconds

1234567891011>>