Searched refs:bufsize (Results 1 - 25 of 284) sorted by relevance

1234567891011>>

/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.c-torture/execute/
H A D991014-1.c4 #define bufsize ((1L << (8 * sizeof(Size_t) - 2))-256) macro
8 short buf[bufsize];
18 char buf[bufsize];
38 /* Check the exact sizeof value. bufsize is aligned on 256b. */
39 if (union_size() != sizeof(char) * bufsize)
42 if (struct_size() != sizeof(short) * bufsize + 4*sizeof(int))
45 if (struct_a_offset() < sizeof(short) * bufsize)
/netbsd-6-1-5-RELEASE/lib/libc/gen/
H A Dshquotev.c52 shquotev(int argc, char * const * argv, char *buf, size_t bufsize) argument
60 if (bufsize != 0)
66 callrv = shquote(argv[i], buf, bufsize);
71 bufsize = (bufsize > callrv) ? (bufsize - callrv) : 0;
75 if (bufsize > 1) {
77 bufsize--;
H A Dgetmntinfo.c60 static size_t bufsize; local
67 if (bufsize > 0 &&
68 (mntsize = getvfsstat(mntbuf, bufsize, flags)) == -1)
70 while (bufsize <= mntsize * sizeof(struct statvfs)) {
73 bufsize = (mntsize + 1) * sizeof(struct statvfs);
74 if ((mntbuf = malloc(bufsize)) == NULL)
76 if ((mntsize = getvfsstat(mntbuf, bufsize, flags)) == -1)
H A Dshquote.c77 * The buffer supplied is filled in and NUL-terminated. If 'bufsize'
79 * first (bufsize - 1) bytes of quoted argument are filled in and the
113 if (bufsize != 0) { \
114 if (bufsize < outchlen || \
115 (bufsize == outchlen && \
118 bufsize = 0; \
122 bufsize -= outchlen; \
128 shquote(const char *arg, char *buf, size_t bufsize)
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.c-torture/execute/
H A D991014-1.c5 #define bufsize ((1LL << (8 * sizeof(Size_t) - 2))-256) macro
7 #define bufsize ((1L << (8 * sizeof(Size_t) - 2))-256) macro
12 short buf[bufsize];
22 char buf[bufsize];
42 /* Check the exact sizeof value. bufsize is aligned on 256b. */
43 if (union_size() != sizeof(char) * bufsize)
46 if (struct_size() != sizeof(short) * bufsize + 4*sizeof(int))
49 if (struct_a_offset() < sizeof(short) * bufsize)
/netbsd-6-1-5-RELEASE/lib/libc/compat/gen/
H A Dcompat_getmntinfo.c67 static size_t bufsize; local
74 if (bufsize > 0 &&
75 (mntsize = getfsstat(mntbuf, (long)bufsize, flags)) == -1)
77 while (bufsize <= mntsize * sizeof(struct statfs12)) {
80 bufsize = (mntsize + 1) * sizeof(struct statfs12);
81 if ((mntbuf = malloc(bufsize)) == NULL)
83 if ((mntsize = getfsstat(mntbuf, (long)bufsize, flags)) == -1)
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/ms/
H A Dtenc.bat4 %ssleay% %1 %2 %3 %4 %5 %6 -e -bufsize 113 -k test -in %input% -out %tmp1%
5 %ssleay% %1 %2 %3 %4 %5 %6 -d -bufsize 157 -k test -in %tmp1% -out %out1%
10 %ssleay% %1 %2 %3 %4 %5 %6 -a -e -bufsize 113 -k test -in %input% -out %tmp1%
11 %ssleay% %1 %2 %3 %4 %5 %6 -a -d -bufsize 157 -k test -in %tmp1% -out %out1%
H A Dtencce.bat5 cerun CE:\OpenSSL\%ssleay% %1 %2 %3 %4 %5 %6 -e -bufsize 113 -k test -in \OpenSSL\%input% -out \OpenSSL\%tmp1%
6 cerun CE:\OpenSSL\%ssleay% %1 %2 %3 %4 %5 %6 -d -bufsize 157 -k test -in \OpenSSL\%tmp1% -out \OpenSSL\%out1%
13 cerun CE:\OpenSSL\%ssleay% %1 %2 %3 %4 %5 %6 -a -e -bufsize 113 -k test -in \OpenSSL\%input% -out \OpenSSL\%tmp1%
14 cerun CE:\OpenSSL\%ssleay% %1 %2 %3 %4 %5 %6 -a -d -bufsize 157 -k test -in \OpenSSL\%tmp1% -out \OpenSSL\%out1%
/netbsd-6-1-5-RELEASE/lib/libc/citrus/
H A Dcitrus_aliasname_local.h34 void *buf, size_t bufsize)
37 buf, bufsize, _LOOKUP_CASE_SENSITIVE);
33 __unaliasname(const char *dbname, const char *alias, void *buf, size_t bufsize) argument
/netbsd-6-1-5-RELEASE/tests/fs/nfs/nfsservice/
H A Dgetmntinfo.c64 static size_t bufsize; local
71 if (bufsize > 0 &&
72 (mntsize = getvfsstat(mntbuf, bufsize, flags)) == -1)
74 while (bufsize <= mntsize * sizeof(struct statvfs)) {
77 bufsize = (mntsize + 1) * sizeof(struct statvfs);
78 if ((mntbuf = malloc(bufsize)) == NULL)
80 if ((mntsize = getvfsstat(mntbuf, bufsize, flags)) == -1)
/netbsd-6-1-5-RELEASE/usr.bin/mail/
H A Dv7.local.c57 findmail(const char *user, char *buf, size_t bufsize) argument
62 (void)snprintf(buf, bufsize, "%s/%s", _PATH_MAILDIR, user);
64 (void)strlcpy(buf, mbox, bufsize);
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/isc/unix/include/isc/
H A Dstrerror.h43 isc__strerror(int num, char *buf, size_t bufsize);
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/isc/win32/include/isc/
H A Dstrerror.h40 isc__strerror(int num, char *buf, size_t bufsize);
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/lib/isc/unix/include/isc/
H A Dstrerror.h43 isc__strerror(int num, char *buf, size_t bufsize);
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/lib/isc/win32/include/isc/
H A Dstrerror.h40 isc__strerror(int num, char *buf, size_t bufsize);
/netbsd-6-1-5-RELEASE/lib/libc/gdtoa/
H A Dg_dfmt.c38 g_dfmt(buf, d, ndig, bufsize) char *buf; double *d; int ndig; size_t bufsize;
40 g_dfmt(char *buf, double *d, int ndig, size_t bufsize)
55 if (bufsize < ndig + 10)
62 if (bufsize < 10)
98 return g__fmt(buf, s, se, decpt, sign, bufsize);
H A Dg_ffmt.c38 g_ffmt(buf, f, ndig, bufsize) char *buf; float *f; int ndig; size_t bufsize;
40 g_ffmt(char *buf, float *f, int ndig, size_t bufsize)
55 if (bufsize < ndig + 10)
88 if (bufsize < 16)
96 return g__fmt(buf, s, se, decpt, sign, bufsize);
H A Dg_xLfmt.c54 g_xLfmt(buf, V, ndig, bufsize) char *buf; char *V; int ndig; size_t bufsize;
56 g_xLfmt(char *buf, void *V, int ndig, size_t bufsize)
71 if (bufsize < ndig + 10)
109 if (bufsize < 32)
116 return g__fmt(buf, s, se, decpt, sign, bufsize);
H A Dg_Qfmt.c56 g_Qfmt(buf, V, ndig, bufsize) char *buf; char *V; int ndig; size_t bufsize;
58 g_Qfmt(char *buf, void *V, int ndig, size_t bufsize)
73 if (bufsize < ndig + 10)
115 if (bufsize < 48)
122 return g__fmt(buf, s, se, decpt, sign, bufsize);
H A Dg_xfmt.c58 g_xfmt(buf, V, ndig, bufsize) char *buf; char *V; int ndig; size_t bufsize;
60 g_xfmt(char *buf, void *V, int ndig, size_t bufsize)
76 if (bufsize < ndig + 10)
115 if (bufsize < 32)
122 return g__fmt(buf, s, se, decpt, sign, bufsize);
/netbsd-6-1-5-RELEASE/lib/libc/stdio/
H A Dmakebuf.c98 __swhatbuf(fp, bufsize, couldbetty)
100 size_t *bufsize;
106 _DIAGASSERT(bufsize != NULL);
111 *bufsize = BUFSIZ;
118 *bufsize = BUFSIZ;
127 *bufsize = st.st_blksize;
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/test/
H A Dtestenc33 $cmd $i -bufsize 113 -e -k test < $test > $test.$i.cipher
34 $cmd $i -bufsize 157 -d -k test < $test.$i.cipher >$test.$i.clear
44 $cmd $i -bufsize 113 -a -e -k test < $test > $test.$i.cipher
45 $cmd $i -bufsize 157 -a -d -k test < $test.$i.cipher >$test.$i.clear
/netbsd-6-1-5-RELEASE/usr.bin/sort/
H A Dfsort.c87 size_t bufsize = DEFBUFSIZE; local
98 buffer = allocrec(NULL, bufsize);
99 bufend = (u_char *)buffer + bufsize;
150 || (bufsize >= MAXBUFSIZE && nelem > 8))
156 bufsize *= 2;
157 nbuffer = allocrec(buffer, bufsize);
160 bufsize);
169 bufend = (u_char *)buffer + bufsize;
/netbsd-6-1-5-RELEASE/sys/kern/
H A Dsubr_optstr.c43 * with a maximum of bufsize bytes. If the key is found, returns true;
47 optstr_get(const char *optstr, const char *key, char *buf, size_t bufsize) argument
85 lastbuf = buf + (bufsize - 1);
/netbsd-6-1-5-RELEASE/external/bsd/openpam/dist/lib/
H A Dopenpam_subst.c42 if (buf && len < *bufsize) \
69 char *buf, size_t *bufsize, const char *template)
117 if (len > *bufsize)
119 *bufsize = len;
137 * =bufsize argument specifies the size of that buffer.
139 * character, is stored in the location pointed to by the =bufsize
143 * string, =bufsize is updated to reflect the amount of space required to
146 * If =openpam_subst fails for any other reason, the =bufsize argument is
68 openpam_subst(const pam_handle_t *pamh, char *buf, size_t *bufsize, const char *template) argument

Completed in 315 milliseconds

1234567891011>>