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

/httpd/server/
H A Dapreq_error.c24 static char *stuffbuffer(char *buf, apr_size_t bufsize, const char *s) argument
26 apr_cpystrn(buf,s,bufsize);
99 apr_size_t bufsize)
102 return apr_strerror(statcode, buf, bufsize);
103 return stuffbuffer(buf, bufsize, apreq_error_string(statcode));
98 apreq_strerror(apr_status_t statcode, char *buf, apr_size_t bufsize) argument
H A Dutil.c935 apr_status_t (*gets_func) (void *buf, apr_size_t bufsize, void *param),
973 static apr_status_t ap_cfg_getline_core(char *buf, apr_size_t bufsize, argument
981 apr_size_t cbufsize = bufsize - offset;
1020 else if (cp - buf >= bufsize - 1) {
1029 if (bufsize < 2) {
1059 if (i >= bufsize - 1) {
1092 AP_DECLARE(apr_status_t) ap_cfg_getline(char *buf, apr_size_t bufsize,
1095 apr_status_t rc = ap_cfg_getline_core(buf, bufsize, 0, cfp);
932 ap_pcfg_open_custom( apr_pool_t *p, const char *descr, void *param, apr_status_t (*getc_func) (char *ch, void *param), apr_status_t (*gets_func) (void *buf, apr_size_t bufsize, void *param), apr_status_t (*close_func) (void *param)) argument
/httpd/include/
H A Dapreq_error.h34 apr_size_t bufsize);
H A Dhttp_config.h801 * @param bufsize size of the buffer
803 * @return error status, APR_ENOSPC if bufsize is too small for the line
805 AP_DECLARE(apr_status_t) ap_cfg_getline(char *buf, apr_size_t bufsize, ap_configfile_t *cfp);
/httpd/support/
H A Dpasswd_common.c145 apr_size_t bufsize = sizeof(buf); local
146 if (apr_password_get("Enter password: ", buf, &bufsize) != 0)
151 apr_size_t bufsize = sizeof(buf); local
152 if (apr_password_get("New password: ", buf, &bufsize) != 0)
155 bufsize = sizeof(buf);
157 apr_password_get("Re-type new password: ", buf, &bufsize);
/httpd/os/win32/
H A Dap_regkey.c536 apr_size_t bufsize; local
546 bufsize = 1; /* For trailing second null */
548 bufsize += strlen(elts[i]) + 1;
551 ++bufsize;
554 bufrem = bufsize;
555 buf = apr_palloc(pool, bufsize * 2);
574 bufsize = (bufsize - bufrem) * 2;
584 bufsize = 1; /* For trailing second null */
586 bufsize
[all...]
/httpd/modules/ssl/
H A Dssl_engine_pphrase.c456 int ssl_pphrase_Handle_CB(char *buf, int bufsize, int verify, void *srv)
471 apr_cpystrn(buf, cpp, bufsize);
499 memset(buf, 0, (unsigned int)bufsize);
509 memset(buf, 0, (unsigned int)bufsize);
554 i = pipe_get_passwd_cb(buf, bufsize, "", FALSE);
557 i = EVP_read_pw_string(buf, bufsize, "", FALSE);
561 memset(buf, 0, (unsigned int)bufsize);
589 apr_cpystrn(buf, result, bufsize);
/httpd/modules/filters/
H A Dmod_sed.c54 int bufsize; member in struct:sed_filter_ctxt
96 ctx->outbuf = apr_palloc(ctx->tpool, ctx->bufsize + 1);
161 remainbytes = ctx->bufsize - (ctx->curoutbuf - ctx->outbuf);
170 status = append_bucket(ctx, ctx->outbuf, ctx->bufsize);
175 if ((status == APR_SUCCESS) && (sz >= ctx->bufsize)) {
254 ctx->bufsize = MODSED_OUTBUF_SIZE;
/httpd/modules/core/
H A Dmod_macro.c331 replace name by replacement at the beginning of buf of bufsize.
336 const int bufsize,
358 if (size >= bufsize) {
410 substitute macro arguments by replacements in buf of bufsize.
416 int bufsize,
432 const char *errmsg = substitute(ptr, buf - ptr + bufsize,
613 static apr_status_t array_getstr(void *buf, size_t bufsize, void *param) argument
622 while (i < bufsize - 1 && next != LF &&
634 return ml->next->getstr(buf, bufsize, ml->next->param);
335 substitute(char *buf, const int bufsize, const char *name, const char *replacement, const int do_esc) argument
414 substitute_macro_args( char *buf, int bufsize, const ap_macro_t * macro, const apr_array_header_t * replacements, apr_array_header_t * used) argument
/httpd/modules/dav/fs/
H A Drepos.c1004 const void *buf, apr_size_t bufsize)
1008 status = apr_file_write_full(stream->f, buf, bufsize, NULL);
1003 dav_fs_write_stream(dav_stream *stream, const void *buf, apr_size_t bufsize) argument
/httpd/modules/dav/main/
H A Dmod_dav.h1845 const void *buf, apr_size_t bufsize);

Completed in 2740 milliseconds