Searched refs:bufsize (Results 1 - 25 of 417) sorted by path

1234567891011>>

/macosx-10.9.5/AppleUSBCDCDriver-4201.2.5/AppleUSBCDCECM/DataDriver/Headers/
H A Dlinkup.h39 int bufsize, // size of the buffer
52 if (buffer == NULL || bufsize == 0) {
54 bufsize = sizeof(line);
72 snprintf(buffer, bufsize, "Ethernet [%s]: Link up on %s%d, %d-%s, %s-duplex, %s flow-control%s%s, Debug [%04x,%04x,%04x,%04x,%04x,%04x]%s%s",
37 LinkUpMessage( char *buffer, int bufsize, const char *kextname, IONetworkInterface *netif, int megabits, bool fullDuplex, LinkUpFlow flowState, const char *port, UInt16 phyregs[LinkUp_Phy_Count], const char *loopback ) argument
/macosx-10.9.5/AppleUSBIrDA-145.2.4/IrDA/TinyTP/
H A Dttp2.cpp146 { int position, bufsize; local
148 bufsize = BufSize(userData); // amount read
149 XTRACE(kHandleDataIndication, position, bufsize);
/macosx-10.9.5/BerkeleyDB-21/db/db/
H A Ddb_overflow.c430 u_int32_t bufsize, cmp_bytes, key_left; local
443 bufsize = 0;
446 &local_dbt, tlen, pgno, &buf, &bufsize)) != 0)
/macosx-10.9.5/BerkeleyDB-21/db/tcl/
H A Dtcl_db.c1084 int bufsize, data_buf_size; local
1095 COMPQUIET(bufsize, 0);
1142 Tcl_GetIntFromObj(interp, objv[i], &bufsize);
1442 (size_t)bufsize, &save.data)) != 0) {
1447 save.ulen = (u_int32_t)bufsize;
/macosx-10.9.5/BerkeleyDB-21/db/test/
H A Drecd011.tcl33 set bufsize [expr 8 * 1024]
34 set maxsize [expr 8 * $bufsize]
35 set flags "-create -txn -home $testdir -log_buffer $bufsize \
H A Dtest095.tcl150 proc t95_gettest { db tnum letter bufsize expectfail } {
151 t95_gettest_body $db $tnum $letter $bufsize $expectfail 0
153 proc t95_cgettest { db tnum letter bufsize expectfail } {
154 t95_gettest_body $db $tnum $letter $bufsize $expectfail 1
156 proc t95_flagtest { db tnum letter bufsize } {
157 t95_flagtest_body $db $tnum $letter $bufsize 0
159 proc t95_cflagtest { db tnum letter bufsize } {
160 t95_flagtest_body $db $tnum $letter $bufsize 1
164 proc t95_gettest_body { db tnum letter bufsize expectfail usecursor } {
178 puts "\tTest$tnum.$letter: $action with bufsize
[all...]
H A Dtest102.tcl107 proc t102_gettest { db tnum letter bufsize expectfail } {
108 t102_gettest_body $db $tnum $letter $bufsize $expectfail 0
110 proc t102_cgettest { db tnum letter bufsize expectfail } {
111 t102_gettest_body $db $tnum $letter $bufsize $expectfail 1
115 proc t102_gettest_body { db tnum letter bufsize expectfail usecursor } {
129 puts "\tTest$tnum.$letter: $action with bufsize $bufsize"
151 {eval $db get -$flag $bufsize $key} res]
155 -$flag $bufsize -set $key} tres] } \
158 -$flag $bufsize
[all...]
/macosx-10.9.5/CPANInternal-140/Digest-SHA/src/
H A Dsha.c335 UINT bufsize = sizeof(buf); local
336 ULNG bufbits = (ULNG) bufsize << 3;
350 while (nbytes > bufsize) {
351 for (i = 0; i < bufsize; i++)
355 bitcnt -= nbits, bitstr += bufsize, nbytes -= bufsize;
/macosx-10.9.5/CPANInternal-140/YAML-Syck/
H A Demitter.c130 e->bufsize = SYCK_BUFFERSIZE;
276 e->buffer = S_ALLOC_N( char, e->bufsize );
277 S_MEMZERO( e->buffer, char, e->bufsize );
301 if ( len + at >= e->bufsize )
305 long rest = e->bufsize - (e->marker - e->buffer);
333 if ( e->bufsize > ( e->marker - e->buffer ) + check_room )
340 check_room = e->bufsize;
H A Dsyck.h267 size_t bufsize; member in struct:_syck_parser
339 size_t bufsize; member in struct:_syck_emitter
H A Dsyck_.c122 p->buffer = S_ALLOC_N( char, p->bufsize );
123 S_MEMZERO( p->buffer, char, p->bufsize );
171 p->bufsize = SYCK_BUFFERSIZE;
/macosx-10.9.5/Heimdal-323.92.1/appl/ftp/ftp/
H A Dftp.c586 static size_t bufsize; local
641 buf = alloc_buffer (buf, &bufsize,
646 while ((n = read (fileno (from), buf, bufsize)) > 0) {
904 static size_t bufsize; local
1028 buf = alloc_buffer (buf, &bufsize,
1046 while ((c = sec_read (fileno (din), buf, bufsize)) > 0) {
/macosx-10.9.5/Heimdal-323.92.1/appl/ftp/ftpd/
H A Dftpd.c1344 static size_t bufsize; local
1405 buf = alloc_buffer (buf, &bufsize,
1413 while ((cnt = read(filefd, buf, bufsize)) > 0 &&
1460 static size_t bufsize; local
1465 buf = alloc_buffer (buf, &bufsize,
1478 while ((cnt = sec_read(fileno(instr), buf, bufsize)) > 0) {
1503 bufsize - cr_flag)) > 0){
/macosx-10.9.5/Heimdal-323.92.1/appl/telnet/telnetd/
H A Dtelnetd.c1228 readstream(int p, char *ibuf, int bufsize) argument
1243 strbufd.maxlen = bufsize-1;
/macosx-10.9.5/Heimdal-323.92.1/lib/roken/
H A Dgetifaddrs.c333 size_t bufsize = 65536, lastbufsize = 0; local
339 void *newbuff = realloc(buff, bufsize);
340 if (newbuff == NULL || bufsize < lastbufsize) {
345 result = read_size = nl_recvmsg(sd, request, seq, buff, bufsize, &msg_flags);
347 lastbufsize = bufsize;
348 bufsize *= 2;
/macosx-10.9.5/JavaScriptCore-7537.78.1/runtime/
H A DDatePrototype.cpp282 const int bufsize = 128;
283 char timebuffer[bufsize];
286 size_t ret = strftime(timebuffer, bufsize, formatString, &localTM);
289 size_t ret = strftime(timebuffer, bufsize, formatStrings[format], &localTM);
317 UChar buffer[bufsize];
318 wchar_t tempbuffer[bufsize];
319 size_t length = mbstowcs(tempbuffer, timebuffer, bufsize - 1);
/macosx-10.9.5/Libc-997.90.3/gdtoa/FreeBSD/
H A D_hdtoa.c129 int bufsize, f; local
170 bufsize = (sigfigs > ndigits) ? sigfigs : ndigits;
171 s0 = rv_alloc(bufsize);
181 for (s = s0 + bufsize - 1; s > s0 + sigfigs - 1; s--)
231 int bufsize, f; local
267 bufsize = (sigfigs > ndigits) ? sigfigs : ndigits;
268 s0 = rv_alloc(bufsize);
278 for (s = s0 + bufsize - 1; s > s0 + sigfigs - 1; s--)
/macosx-10.9.5/Libc-997.90.3/gen/FreeBSD/
H A Dgetmntinfo.c51 static long bufsize; local
55 if (bufsize > 0 && (mntsize = getfsstat(mntbuf, bufsize, flags)) < 0)
57 while (bufsize <= mntsize * sizeof(struct statfs)) {
60 bufsize = (mntsize + 1) * sizeof(struct statfs);
61 if ((mntbuf = (struct statfs *)malloc(bufsize)) == 0)
63 if ((mntsize = getfsstat(mntbuf, bufsize, flags)) < 0)
H A Dgetmntinfo64.c51 static long bufsize; local
55 if (bufsize > 0 && (mntsize = getfsstat64(mntbuf, bufsize, flags)) < 0)
57 while (bufsize <= mntsize * sizeof(struct statfs64)) {
60 bufsize = (mntsize + 1) * sizeof(struct statfs64);
61 if ((mntbuf = (struct statfs64 *)malloc(bufsize)) == 0)
63 if ((mntsize = getfsstat64(mntbuf, bufsize, flags)) < 0)
H A Dtelldir.h70 size_t __getdirentries64(int fd, void *buf, size_t bufsize, __darwin_off_t *basep);
/macosx-10.9.5/Libc-997.90.3/locale/FreeBSD/
H A Dldpart.c63 size_t namesize, bufsize; local
86 bufsize = namesize + st.st_size;
87 if ((lbuf = malloc(bufsize)) == NULL) {
/macosx-10.9.5/Libc-997.90.3/posix1e/
H A Dacl_translate.c606 size_t bufsize = 1024; local
620 if ((buf = malloc(bufsize)) == NULL)
623 if (!raosnprintf(&buf, &bufsize, len_p, "!#acl %d", 1))
633 if(!raosnprintf(&buf, &bufsize, len_p, "%s%s",
657 valid = raosnprintf(&buf, &bufsize, len_p, "\n%s:%s:%s:%d:%s",
664 valid = raosnprintf(&buf, &bufsize, len_p, "\nuser:%s:::%s",
681 if(!raosnprintf(&buf, &bufsize, len_p, ",%s",
694 if(!raosnprintf(&buf, &bufsize, len_p, "%s%s",
/macosx-10.9.5/Libc-997.90.3/stdio/FreeBSD/
H A Dmakebuf.c103 __swhatbuf(fp, bufsize, couldbetty)
105 size_t *bufsize;
112 *bufsize = BUFSIZ;
119 *bufsize = BUFSIZ;
128 fp->_blksize = *bufsize = st.st_blksize > MAXBUFSIZE ? MAXBUFSIZE : st.st_blksize;
/macosx-10.9.5/Libc-997.90.3/stdlib/NetBSD/
H A Dstrfmon.c520 size_t bufsize; local
565 bufsize = strlen(avalue)*2+1;
566 rslt = malloc(bufsize);
571 memset(rslt, 0, bufsize);
572 bufend = rslt + bufsize - 1; /* reserve space for trailing '\0' */
628 bufsize = bufsize - (bufend - rslt) + 1;
629 memmove(rslt, bufend, bufsize);
/macosx-10.9.5/Libinfo-449.1.3/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...]

Completed in 346 milliseconds

1234567891011>>