Searched refs:bufsiz (Results 1 - 25 of 64) sorted by relevance

123

/macosx-10.10.1/lukemftp-14/tnftp/libnetbsd/
H A Dfgetln.c43 static size_t bufsiz = 0; local
48 bufsiz = BUFSIZ;
49 if ((buf = malloc(bufsiz)) == NULL)
53 if (fgets(buf, bufsiz, fp) == NULL)
58 size_t nbufsiz = bufsiz + BUFSIZ;
70 *len = bufsiz;
71 if (fgets(&buf[bufsiz], BUFSIZ, fp) == NULL)
74 bufsiz = nbufsiz;
H A Dgetnameinfo.c318 ip6_sa2str(const struct sockaddr_in6 *sa6, char *buf, size_t bufsiz, int flags) argument
325 return(snprintf(buf, bufsiz, "%d", sa6->sin6_scope_id));
336 bufsiz >= IF_NAMESIZE) {
345 return(snprintf(buf, bufsiz, "%u", sa6->sin6_scope_id));
/macosx-10.10.1/Heimdal-398.1.2/lib/libedit/src/
H A Dfgetln.c51 static size_t bufsiz = 0; local
56 bufsiz = BUFSIZ;
57 if ((buf = malloc(bufsiz)) == NULL)
61 if (fgets(buf, bufsiz, fp) == NULL)
66 size_t nbufsiz = bufsiz + BUFSIZ;
78 if (fgets(&buf[bufsiz], BUFSIZ, fp) == NULL) {
79 buf[bufsiz] = '\0';
84 *len = bufsiz;
85 bufsiz = nbufsiz;
/macosx-10.10.1/Libc-1044.1.2/include/
H A Dmonitor.h38 extern void monitor (char *lowpc, char *highpc, char *buf, int bufsiz, int cntsiz);
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/port/
H A Dastcopy.c61 static int bufsiz; local
82 if (n > bufsiz)
85 bufsiz = roundof(n, BUFSIZ);
86 if (!(buf = newof(0, char, bufsiz, 0))) return(-1);
/macosx-10.10.1/Libc-1044.1.2/gen/FreeBSD/
H A Dreadpassphrase.c56 readpassphrase(const char *prompt, char *buf, size_t bufsiz, int flags) argument
67 if (bufsiz == 0) {
116 end = buf + bufsiz - 1;
170 const size_t bufsiz = _PASSWORD_LEN + 1; local
174 buf = malloc(bufsiz);
180 if (readpassphrase(prompt, buf, bufsiz, RPP_ECHO_OFF) == NULL) {
/macosx-10.10.1/apr-32/apr/apr/passwd/
H A Dapr_getpass.c230 APR_DECLARE(apr_status_t) apr_password_get(const char *prompt, char *pwbuf, apr_size_t *bufsiz)
234 if (getpass_r(prompt, pwbuf, *bufsiz) == NULL)
247 if (strlen(pw_got) >= *bufsiz) {
250 apr_cpystrn(pwbuf, pw_got, *bufsiz);
/macosx-10.10.1/apache-793/httpd/modules/proxy/
H A Dmod_proxy_ajp.c176 apr_size_t bufsiz = 0; local
238 bufsiz = maxsize;
239 status = ajp_alloc_data_msg(r->pool, &buff, &bufsiz, &msg);
278 " at %" APR_SIZE_T_FMT ")", bufsiz, msg->pos);
280 status = apr_brigade_flatten(input_brigade, buff, &bufsiz);
292 "got %" APR_SIZE_T_FMT " bytes of data", bufsiz);
293 if (bufsiz > 0) {
294 status = ajp_send_data_msg(conn->sock, msg, bufsiz);
310 conn->worker->s->transferred += bufsiz;
378 bufsiz
[all...]
/macosx-10.10.1/Libc-1044.1.2/stdtime/
H A Dgetdate.c77 int bufsiz, offset, len, dateset, timeset, saveerrno, wday_set, save_mon; local
101 if((buf = malloc(bufsiz = BUFSIZ)) == NULL) {
108 if(fgets(buf + offset, bufsiz - offset, fp) == NULL) {
118 } else if((len = strlen(buf)) == bufsiz - 1
120 char *newptr = realloc(buf, (bufsiz += BUFSIZ));
/macosx-10.10.1/OpenSSH-189/openssh/openbsd-compat/
H A Dreadpassphrase.c54 readpassphrase(const char *prompt, char *buf, size_t bufsiz, int flags) argument
64 if (bufsiz == 0) {
128 end = buf + bufsiz - 1;
/macosx-10.10.1/bash-94.1.2/bash-3.2/lib/sh/
H A Dpathphys.c52 _path_readlink (path, buf, bufsiz)
55 int bufsiz;
58 return readlink (path, buf, bufsiz);
/macosx-10.10.1/postfix-255/
H A Dchunking.pl41 --bufsiz n output buffer size
54 'bufsiz=i',
1497 state $bufsiz = undef;
1502 if (!defined($bufsiz)) {
1503 $bufsiz = $opts{bufsiz};
1504 if (!defined($bufsiz)) {
1507 $bufsiz = 0;
1509 $bufsiz = int(rand(64)) + 1;
1511 $bufsiz
[all...]
/macosx-10.10.1/Libc-1044.1.2/gmon/
H A Dgmon.c208 int bufsiz,
204 monitor( char *lowpc, char *highpc, char *buf, int bufsiz, int nfunc) argument
/macosx-10.10.1/libdispatch-442.1.4/src/
H A Dsemaphore_internal.h67 size_t bufsiz);
H A Dio_internal.h179 size_t _dispatch_io_debug(dispatch_io_t channel, char* buf, size_t bufsiz);
182 size_t bufsiz);
H A Ddata_internal.h103 size_t _dispatch_data_debug(dispatch_data_t data, char* buf, size_t bufsiz);
H A Dsource_internal.h267 size_t _dispatch_source_debug(dispatch_source_t ds, char* buf, size_t bufsiz);
275 size_t _dispatch_mach_debug(dispatch_mach_t dm, char* buf, size_t bufsiz);
279 size_t _dispatch_mach_msg_debug(dispatch_mach_msg_t dmsg, char* buf, size_t bufsiz);
H A Ddata.c226 _dispatch_data_debug(dispatch_data_t dd, char* buf, size_t bufsiz) argument
229 offset += dsnprintf(&buf[offset], bufsiz - offset, "data[%p] = { ", dd);
231 offset += dsnprintf(&buf[offset], bufsiz - offset,
234 offset += dsnprintf(&buf[offset], bufsiz - offset,
240 offset += dsnprintf(&buf[offset], bufsiz - offset, "record[%zd] = "
245 offset += dsnprintf(&buf[offset], bufsiz - offset, "}");
/macosx-10.10.1/sudo-73/src/
H A Dtgetpass.c240 getln(fd, buf, bufsiz, feedback)
243 size_t bufsiz;
246 size_t left = bufsiz;
267 left = bufsiz;
/macosx-10.10.1/zsh-61/zsh/Src/
H A Dcompat.c261 int bufsiz, pos; local
273 buf = zhalloc(bufsiz = PATH_MAX);
274 pos = bufsiz - 1;
361 char *newbuf = zhalloc(2*bufsiz);
362 memcpy(newbuf + bufsiz, buf, bufsiz);
364 pos += bufsiz;
365 bufsiz *= 2;
396 if (!getcwd(buf, bufsiz)) {
/macosx-10.10.1/ntp-92/libntp/
H A Daudio.c211 int bufsiz, /* buffer size */
270 printf("audio_init: <%s> bufsiz %d\n", dname, bufsiz);
280 s_size.play_size = s_size.rec_size = bufsiz;
344 info.record.buffer_size = bufsiz;
209 audio_init( char *dname, int bufsiz, int unit ) argument
/macosx-10.10.1/Libc-1044.1.2/locale/FreeBSD/
H A Dsetlocale.c227 size_t bufsiz = _LC_LAST * (ENCODING_LEN + 1/*"/"*/ + 1); local
231 current_locale_string = malloc(bufsiz);
237 (void)strlcpy(current_locale_string, current_categories[1], bufsiz);
/macosx-10.10.1/bind9-45.101/bind9/lib/lwres/
H A Dgetipnode.c536 static unsigned int bufsiz = 4095; local
555 buf = malloc(bufsiz);
564 lifc.lifc_len = bufsiz;
575 if (lifc.lifc_len + 2 * sizeof(lifreq) < bufsiz)
581 if (bufsiz > 1000000)
585 bufsiz += 4096;
680 static unsigned int bufsiz = 4095;
716 buf = malloc(bufsiz);
719 ifc.ifc_len = bufsiz;
739 if (ifc.ifc_len + 2 * sizeof(u.ifreq) < bufsiz)
[all...]
/macosx-10.10.1/CommonCrypto-60061/lib/
H A DCommonRSACryptor.c290 size_t bufsiz; local
296 bufsiz = ccrsa_export_pub_size(ccrsa_ctx_public(cryptor->fk));
297 if(*outLen <= bufsiz) {
298 *outLen = bufsiz;
301 *outLen = bufsiz;
302 if(ccrsa_export_pub(ccrsa_ctx_public(cryptor->fk), bufsiz, out))
306 bufsiz = ccrsa_export_priv_size(cryptor->fk);
307 if(*outLen < bufsiz) {
308 *outLen = bufsiz;
311 *outLen = bufsiz;
[all...]
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/libraries/liblutil/
H A Dutils.c660 int bufsiz; member in struct:lutil_int_decnum
674 unsigned char *out = tmp + prev->bufsiz - prev->len;
676 memset( tmp, 0, prev->bufsiz );
697 out = tmp + prev->bufsiz;
707 prev->beg = prev->bufsiz - i;
789 num.bufsiz = out->bv_len;
790 num.beg = num.bufsiz-1;

Completed in 296 milliseconds

123