Searched defs:len (Results 1 - 25 of 121) sorted by relevance

12345

/httpd/server/
H A Deoc_bucket.c21 apr_size_t *len, apr_read_type_e block)
24 *len = 0;
20 eoc_bucket_read(apr_bucket *b, const char **str, apr_size_t *len, apr_read_type_e block) argument
H A Deor_bucket.c44 apr_size_t *len, apr_read_type_e block)
47 *len = 0;
43 eor_bucket_read(apr_bucket *b, const char **str, apr_size_t *len, apr_read_type_e block) argument
H A Derror_bucket.c25 apr_size_t *len, apr_read_type_e block)
28 *len = 0;
24 error_bucket_read(apr_bucket *b, const char **str, apr_size_t *len, apr_read_type_e block) argument
H A Dutil_ebcdic.c73 void ap_xlate_proto_to_ascii(char *buffer, apr_size_t len) argument
77 inbytes_left = outbytes_left = len;
82 void ap_xlate_proto_from_ascii(char *buffer, apr_size_t len) argument
86 inbytes_left = outbytes_left = len;
96 apr_size_t len; local
104 len = strlen(s);
105 ascii_s = apr_pstrmemdup(r->pool, s, len);
106 ap_xlate_proto_to_ascii(ascii_s, len);
111 written += len;
H A Dutil_xml.c71 apr_size_t len; local
82 status = apr_bucket_read(bucket, &data, &len, APR_BLOCK_READ);
87 total_read += len;
96 status = apr_xml_parser_feed(parser, data, len);
H A Dutil_cookies.c182 apr_size_t len = strlen(name); local
201 if (!strncmp(trim, name, len)) {
203 if (strcmp(v->encoded, trim + len)) {
207 v->encoded = apr_pstrdup(v->r->pool, trim + len);
H A Dutil_regex.c191 AP_DECLARE(void) ap_rxplus_match(ap_rxplus_t *rx, int n, int *len, argument
196 *len = rx->pmatch[n].rm_eo - rx->pmatch[n].rm_so;
199 *len = -1;
205 int len; local
207 ap_rxplus_match(rx, n, &len, &match);
208 return apr_pstrndup(pool, match, len);
H A Dutil_time.c160 int len = APR_CTIME_LEN; local
161 return ap_recent_ctime_ex(date_str, t, AP_CTIME_OPTION_NONE, &len);
165 int option, int *len)
187 if (len && *len >= needed) {
188 *len = needed;
191 if (len != NULL) {
192 *len = 0;
/httpd/modules/proxy/
H A Dajp_link.c29 length = msg->len;
50 apr_size_t len)
52 apr_size_t length = len;
56 while (rdlen < len) {
68 length = len - rdlen;
109 "ajp_ilink_receive() received packet len=%" APR_SIZE_T_FMT
49 ilink_read(apr_socket_t *sock, apr_byte_t *buf, apr_size_t len) argument
/httpd/include/
H A Dapreq_util.h226 apr_size_t len; local
227 apr_status_t rv = apreq_decode(str, &len, str, strlen(str));
229 return (apr_ssize_t)len;
/httpd/modules/http/
H A Dchunk_filter.c95 apr_size_t len; local
97 rv = apr_bucket_read(e, &data, &len, APR_BLOCK_READ);
101 if (len > 0) {
107 bytes += len;
/httpd/test/
H A Dtest_limits.c187 apr_ssize_t len; local
190 while ((len = read(sd, buff, 512)) > 0)
191 len = write(1, buff, len);
H A Dcls.c100 unsigned int len; local
143 len = hex2sec(line + 35);
/httpd/modules/debugging/
H A Dmod_bucketeer.c89 apr_size_t len, i, lastpos; local
118 apr_bucket_read(e, &data, &len, APR_BLOCK_READ);
120 if (len > 0) {
122 for (i = 0; i < len; i++) {
/httpd/modules/filters/
H A Dmod_data.c108 apr_off_t len, clen; local
109 apr_brigade_length(ctx->bb, 1, &len);
112 ap_set_content_length(r, len +
133 apr_size_t len; local
145 len = apr_base64_encode_binary(encoded, ctx->overflow,
147 apr_brigade_write(ctx->bb, NULL, NULL, encoded, len - 1);
202 len = apr_base64_encode_binary(encoded, ctx->overflow,
204 apr_brigade_write(ctx->bb, NULL, NULL, encoded, len - 1);
212 len = apr_base64_encode_binary(buffer,
214 apr_brigade_write(ctx->bb, NULL, NULL, buffer, len
[all...]
H A Dmod_ratelimit.c169 apr_off_t len = 0; local
184 apr_brigade_length(bb, 1, &len);
234 apr_size_t *len, apr_read_type_e block)
237 *len = 0;
233 rl_bucket_read(apr_bucket *b, const char **str, apr_size_t *len, apr_read_type_e block) argument
H A Dmod_reflector.c127 apr_size_t len; local
143 status = apr_bucket_read(bucket, &data, &len, APR_BLOCK_READ);
149 apr_brigade_write(bbout, NULL, NULL, data, len);
/httpd/modules/loggers/
H A Dmod_syslog.c132 apr_size_t len)
137 syslog(level < LOG_PRIMASK ? level : APLOG_DEBUG, "%.*s", (int)len, errstr);
130 syslog_error_log(const ap_errorlog_info *info, void *handle, const char *errstr, apr_size_t len) argument
/httpd/modules/ssl/
H A Dssl_scache.c119 unsigned int len; local
123 len = i2d_SSL_SESSION(sess, NULL);
124 if (len > sizeof encoded) {
126 "session is too big (%u bytes)", len);
131 len = i2d_SSL_SESSION(sess, &ptr);
138 expiry, encoded, len, p);
H A Dssl_ct_sct.c92 apr_size_t len, cert_chain *cc,
96 apr_size_t orig_len = len;
101 if (len < 1 + LOG_ID_SIZE + 8) {
105 len);
113 len -= 1;
116 len -= LOG_ID_SIZE;
117 rv = ctutil_deserialize_uint64(&cur, &len, &fields->timestamp);
128 if (len < 2) {
131 "for extension len", orig_len);
135 rv = ctutil_deserialize_uint16(&cur, &len,
90 sct_parse(const char *source, server_rec *s, const unsigned char *sct, apr_size_t len, cert_chain *cc, sct_fields_t *fields) argument
[all...]
H A Dssl_util_ocsp.c33 int len; local
35 len = i2d_OCSP_REQUEST(req, NULL);
46 uri->hostname, uri->port, len);
67 int len; local
106 while ((len = BIO_read(request, buf, sizeof buf)) > 0) {
108 apr_size_t remain = len;
136 apr_size_t len; local
148 rv = apr_brigade_pflatten(bbout, &line, &len, p);
155 if (len == 0) {
161 if (line[len
233 apr_size_t len; local
[all...]
/httpd/modules/arch/netware/
H A Dmod_netware.c75 int i, len; local
81 len = strlen(CGIhdlr);
82 for (i=0; i<len; i++) {
/httpd/modules/echo/
H A Dmod_echo.c74 apr_size_t len; local
77 if ((rv = apr_bucket_read(b, &str, &len, APR_NONBLOCK_READ))
81 if ((pos = memchr(str, APR_ASCII_LF, len)) != NULL)
82 len = pos - str;
83 if (len > bufflen - readbytes)
84 len = bufflen - readbytes;
85 memcpy (buff + readbytes, str, len);
86 readbytes += len;
/httpd/modules/examples/
H A Dmod_case_filter.c69 apr_size_t len; local
82 apr_bucket_read(pbktIn,&data,&len,APR_BLOCK_READ);
85 buf = apr_bucket_alloc(len, c->bucket_alloc);
86 for(n=0 ; n < len ; ++n)
89 pbktOut = apr_bucket_heap_create(buf, len, apr_bucket_free,
H A Dmod_case_filter_in.c91 apr_size_t len; local
108 ret=apr_bucket_read(pbktIn, &data, &len, eBlock);
112 buf = ap_malloc(len);
113 for(n=0 ; n < len ; ++n)
116 pbktOut = apr_bucket_heap_create(buf, len, 0, c->bucket_alloc);

Completed in 248 milliseconds

12345