Searched refs:bufsz (Results 1 - 25 of 34) sorted by relevance

12

/macosx-10.9.5/xar-202/xar/lib/
H A Dlinuxattr.c91 int bufsz; member in struct:_linuxattr_context
100 LINUXATTR_CONTEXT(context)->bufsz = 1024;
102 LINUXATTR_CONTEXT(context)->buf = malloc(LINUXATTR_CONTEXT(context)->bufsz);
105 memset(LINUXATTR_CONTEXT(context)->buf, 0, LINUXATTR_CONTEXT(context)->bufsz);
106 r = lgetxattr(LINUXATTR_CONTEXT(context)->file, LINUXATTR_CONTEXT(context)->attrname, LINUXATTR_CONTEXT(context)->buf, LINUXATTR_CONTEXT(context)->bufsz);
109 case ERANGE: LINUXATTR_CONTEXT(context)->bufsz *= 2; free(LINUXATTR_CONTEXT(context)->buf); goto AGAIN2;
115 LINUXATTR_CONTEXT(context)->bufsz = r;
118 if( (LINUXATTR_CONTEXT(context)->bufsz-LINUXATTR_CONTEXT(context)->off) <= len ) {
120 ret = LINUXATTR_CONTEXT(context)->bufsz - LINUXATTR_CONTEXT(context)->off;
140 int ret, retval=0, bufsz local
[all...]
H A Dfbsdattr.c69 int bufsz; member in struct:_fbsdattr_context
77 FBSDATTR_CONTEXT(context)->bufsz = extattr_get_link(FBSDATTR_CONTEXT(context)->file, FBSDATTR_CONTEXT(context)->ns, FBSDATTR_CONTEXT(context)->attrname, NULL, 0);
78 if( FBSDATTR_CONTEXT(context)->bufsz < 0 )
80 FBSDATTR_CONTEXT(context)->buf = malloc(FBSDATTR_CONTEXT(context)->bufsz);
84 FBSDATTR_CONTEXT(context)->bufsz = extattr_get_link(FBSDATTR_CONTEXT(context)->file, FBSDATTR_CONTEXT(context)->ns, FBSDATTR_CONTEXT(context)->attrname, FBSDATTR_CONTEXT(context)->buf, FBSDATTR_CONTEXT(context)->bufsz);
87 if( (FBSDATTR_CONTEXT(context)->bufsz - FBSDATTR_CONTEXT(context)->off) <= len ) {
90 ret = FBSDATTR_CONTEXT(context)->bufsz - FBSDATTR_CONTEXT(context)->off;
110 int ret, retval=0, bufsz, i; local
169 bufsz
[all...]
H A Ddarwinattr.c209 int ret, bufsz, attrsz; local
220 bufsz = ret;
223 buf = malloc(bufsz);
226 ret = listxattr(file, buf, bufsz, XATTR_NOFOLLOW);
229 case ERANGE: bufsz = bufsz*2; free(buf); goto TRYAGAIN;
/macosx-10.9.5/Libc-997.90.3/db/btree/FreeBSD/
H A Dbt_overflow.c72 * bufsz: storage size
78 __ovfl_get(BTREE *t, void *p, size_t *ssz, void **buf, size_t *bufsz) argument
94 if (*bufsz < sz) {
98 *bufsz = sz;
/macosx-10.9.5/Security-55471.14.18/libsecurity_transform/lib/
H A DUtilities.cpp106 size_t bufsz = sizeof(os_build);
107 sysctl(mib, 2, os_build, &bufsz, NULL, 0);
/macosx-10.9.5/libauto-185.5/auto_tester/
H A Dauto_perf.c39 char *duration_description(uint64_t time, char *buf, int bufsz) { argument
49 snprintf(buf, bufsz, "%3.3g %s", (float)time/divisor, suffixes[suffix]);
/macosx-10.9.5/file_cmds-230/pax/
H A Dgen_subs.c423 fieldcpy(char *buf, size_t bufsz, const char *field, size_t fieldsz) argument
429 if (fieldsz > bufsz)
430 fieldsz = bufsz;
435 if (i < bufsz)
/macosx-10.9.5/libauto-185.5/
H A DBlockRef.h60 inline void get_description(char *buf, usword_t bufsz) const { snprintf(buf, bufsz, "Subzone=%p, q=%ld", subzone(), (long)q()); }
99 inline void get_description(char *buf, usword_t bufsz) const { snprintf(buf, bufsz, "Large=%p", _large); }
H A DThread.cpp561 char *Thread::description(char *buf, size_t bufsz) { argument
563 snprintf(buf, bufsz, "Thread %p: unbound", this);
565 snprintf(buf, bufsz, "Thread %p: _pthread = %p, _thread = 0x%x, _stack_base = %p, enlivening %s, %d local blocks",
H A DThread.h544 char *description(char *buf, size_t bufsz);
/macosx-10.9.5/ICU-511.35/icuSources/extra/uconv/
H A Duconv.cpp538 bufsz(0), signature(0) {}
542 bufsz = bufferSize;
544 buf = new char[2 * bufsz];
545 outbuf = buf + bufsz;
548 fromoffsets = new int32_t[bufsz + 1];
573 size_t bufsz; member in class:ConvertFile
741 rd = fread(buf, 1, bufsz, infile);
761 flush = (UBool)(rd != bufsz);
768 unibuf = unibufp = u.getBuffer((int32_t)bufsz);
770 // Use bufsz instea
1104 size_t bufsz = DEFAULT_BUFSZ; local
[all...]
/macosx-10.9.5/awk-18/src/
H A Drun.c460 int bufsz = recsize; local
463 if ((buf = (char *) malloc(bufsz)) == NULL)
471 if (!adjbuf(&buf, &bufsz, strlen(buf)+strlen(s)+nsub+1, recsize, 0, "array"))
510 int bufsz = recsize; local
512 if ((buf = (char *) malloc(bufsz)) == NULL)
518 if (!adjbuf(&buf, &bufsz, strlen(buf)+strlen(s)+nsub+1, recsize, 0, "awkdelete"))
538 int bufsz = recsize; local
550 if ((buf = (char *) malloc(bufsz)) == NULL) {
557 if (!adjbuf(&buf, &bufsz, strlen(buf)+strlen(s)+nsub+1, recsize, 0, "intest"))
950 int bufsz local
973 int bufsz=3*recsize; local
1757 int bufsz = recsize; local
1818 int bufsz = recsize; local
[all...]
H A Dlex.c362 static int bufsz = 500; local
364 if (buf == 0 && (buf = (char *) malloc(bufsz)) == NULL)
367 if (!adjbuf(&buf, &bufsz, bp-buf+2, 500, &bp, "string"))
508 static int bufsz = 500; local
511 if (buf == 0 && (buf = (char *) malloc(bufsz)) == NULL)
515 if (!adjbuf(&buf, &bufsz, bp-buf+3, 500, &bp, "regexpr"))
H A Db.c317 static int bufsz = 100; local
320 if (buf == 0 && (buf = (uschar *) malloc(bufsz)) == NULL)
338 if (!adjbuf((char **) &buf, &bufsz, bp-buf+2, 100, (char **) &bp, "cclenter1"))
346 if (!adjbuf((char **) &buf, &bufsz, bp-buf+2, 100, (char **) &bp, "cclenter2"))
955 static int bufsz = 100; local
984 if (buf == 0 && (buf = (uschar *) malloc(bufsz)) == NULL)
994 if (!adjbuf((char **) &buf, &bufsz, n, n, (char **) &bp, "relex1"))
1013 if (!adjbuf((char **) &buf, &bufsz, bp-buf+1, 100, (char **) &bp, "relex2"))
/macosx-10.9.5/dtrace-118.1/libdtrace/
H A Ddt_strtab.c70 dt_strtab_create(size_t bufsz) argument
75 assert(bufsz != 0);
91 sp->str_bufsz = bufsz;
/macosx-10.9.5/dtrace-118.1/tools/ctfconvert/
H A Dctf.c845 size_t bufsz = h->cth_objtoff - h->cth_lbloff; local
851 for (ctl = (ctf_lblent_t *)buf; (caddr_t)ctl < buf + bufsz; ctl++) {
890 size_t bufsz = h->cth_funcoff - h->cth_objtoff; local
894 for (dptr = buf; dptr < buf + bufsz; dptr += 2) {
903 dptr - buf, bufsz);
933 size_t bufsz = h->cth_typeoff - h->cth_funcoff; local
942 while (dptr < buf + bufsz) {
1002 size_t bufsz = h->cth_stroff - h->cth_typeoff; local
1030 for (dptr = buf, tcnt = 0, tid = 1; dptr < buf + bufsz; tcnt++, tid++) {
1333 ctf_load(char *file, caddr_t buf, size_t bufsz, symit_data_ argument
[all...]
/macosx-10.9.5/kext_tools-326.95.1/
H A Dsafecalls.c98 int bufsz; local
103 bufsz = nmnts * sizeof(struct statfs);
104 if (!(mounts = malloc(bufsz))) goto finish;
105 if (-1 == getfsstat(mounts, bufsz, MNT_NOWAIT)) goto finish;
H A Dkextd_watchvol.c1988 size_t bufsz; local
1996 bufsz = nfsys * sizeof(struct statfs);
1997 if (!(mounts = malloc(bufsz))) goto finish;
1998 if (-1 == getfsstat(mounts, (int)bufsz, MNT_NOWAIT)) goto finish;
H A Dbootcaches.c1973 ssize_t bufsz; local
1985 bufsz = (ssize_t)CFDataGetLength(data);
1986 if (bufsz < 0) goto finish;
2003 if (write(fd, buf, bufsz) != bufsz) {
/macosx-10.9.5/netcat-20/
H A Dsocks.c89 proxy_read_line(int fd, char *buf, size_t bufsz) argument
94 if (off >= bufsz)
/macosx-10.9.5/vim-53/runtime/syntax/
H A Dterminfo.vim33 \ ncv nlab pb vt wsl bitwin bitype bufsz btns
/macosx-10.9.5/OpenSSH-186/openssh/
H A Dmisc.c624 read_keyfile_line(FILE *f, const char *filename, char *buf, size_t bufsz, argument
627 while (fgets(buf, bufsz, f) != NULL) {
/macosx-10.9.5/libdispatch-339.92.1/src/
H A Dinit.c284 size_t bufsz = sizeof(_dispatch_build); local
286 sysctl(mib, 2, _dispatch_build, &bufsz, NULL, 0);
/macosx-10.9.5/BerkeleyDB-21/db/rep/
H A Drep_backup.c999 u_int32_t bufsz, filecnt, fvers, mvers, zero; local
1055 bufsz = (u_int32_t)(updlen + filelen);
1070 (ret = __os_write(env, fhp, &bufsz, sizeof(bufsz), &cnt)) != 0 ||
1071 (ret = __os_write(env, fhp, buf, bufsz, &cnt)) != 0 ||
/macosx-10.9.5/bind9-45.100/bind9/bin/nsupdate/
H A Dnsupdate.c1851 int bufsz; local
1857 bufsz = INITTEXT;
1859 if (bufsz > MAXTEXT) {
1866 result = isc_buffer_allocate(mctx, &buf, bufsz);
1869 bufsz *= 2;

Completed in 409 milliseconds

12