/httpd/build/ |
H A D | mkdep.perl | 53 $len = length $str; 59 $len = length $str; 78 if ($len + $nlen > 72) 86 $len += $nlen;
|
/httpd/modules/proxy/ |
H A D | ajp_msg.c | 49 apr_size_t len = msg->len; local 53 if (len > count) 54 len = count; 58 (len + 15) / 16 * AJP_MSG_DUMP_LINE_LENGTH; 64 " len=%" APR_SIZE_T_FMT " max=%" APR_SIZE_T_FMT "\n", 65 err, msg->pos, msg->len, msg->max_size); 67 for (i = 0; i < len; i += AJP_MSG_DUMP_BYTES_PER_LINE) { 76 line_len = len - i; 146 * @param len Pointe 149 ajp_msg_check_header(ajp_msg_t *msg, apr_size_t *len) argument 225 apr_size_t len = msg->len - AJP_HEADER_LEN; local 260 apr_size_t len = msg->len; local 285 apr_size_t len = msg->len; local 308 apr_size_t len = msg->len; local 332 apr_size_t len; local [all...] |
H A D | ajp_link.c | 29 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 D | util_ebcdic.h | 52 * @param len Number of bytes to translate. 56 void ap_xlate_proto_to_ascii(char *buffer, apr_size_t len); 62 * @param len Number of bytes to translate. 66 void ap_xlate_proto_from_ascii(char *buffer, apr_size_t len);
|
H A D | util_md5.h | 47 * @param len The length of the buffer 50 AP_DECLARE(char *) ap_md5_binary(apr_pool_t *a, const unsigned char *buf, int len);
|
/httpd/server/ |
H A D | util_ebcdic.c | 73 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 D | log.c | 672 int len; local 677 len = apr_snprintf(buf, buflen, "(%d)", status); 680 len = apr_snprintf(buf, buflen, "(EAI %d)", 684 len = apr_snprintf(buf, buflen, "(OS %d)", 688 len = apr_snprintf(buf, buflen, "(os 0x%08x)", 691 apr_strerror(status, buf + len, buflen - len); 692 len += strlen(buf + len); 693 return len; 766 int len; local 857 int len = 0; local 957 int len = 0; local 1020 write_logline(char *errstr, apr_size_t len, apr_file_t *logf, int level) argument 1143 int len = 0, errstr_start = 0, errstr_end = 0; local 1344 fmt_data(unsigned char *buf, const void *vdata, apr_size_t len, apr_size_t *off) argument 1390 log_data_core(const char *file, int line, int module_index, int level, const server_rec *s, const conn_rec *c, const request_rec *r, const char *label, const void *data, apr_size_t len, unsigned int flags) argument 1425 ap_log_data_(const char *file, int line, int module_index, int level, const server_rec *s, const char *label, const void *data, apr_size_t len, unsigned int flags) argument 1435 ap_log_rdata_(const char *file, int line, int module_index, int level, const request_rec *r, const char *label, const void *data, apr_size_t len, unsigned int flags) argument 1445 ap_log_cdata_(const char *file, int line, int module_index, int level, const conn_rec *c, const char *label, const void *data, apr_size_t len, unsigned int flags) argument 1455 ap_log_csdata_(const char *file, int line, int module_index, int level, const conn_rec *c, const server_rec *s, const char *label, const void *data, apr_size_t len, unsigned int flags) argument [all...] |
H A D | apreq_util.c | 96 apr_size_t len = hlen; local 100 while ( (hay = memchr(hay, ndl[0], len)) ) { 101 len = end - hay; 104 if ( memcmp(hay, ndl, MIN(nlen, len)) == 0 ) { 105 if (type == APREQ_MATCH_FULL && len < nlen) 109 --len; 433 apr_size_t len = 0; local 445 len = (const char *)d - s; 447 slen -= len; 462 apr_size_t slen, len; local 527 is_quoted(const char *p, const apr_size_t len) argument 603 apr_size_t len, slen; local 705 apr_size_t len; local 952 spool_bucket_read(apr_bucket *e, const char **str, apr_size_t *len, apr_read_type_e block) argument 1135 apr_size_t len; local 1157 apr_size_t len; local [all...] |
H A D | eoc_bucket.c | 21 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 D | util_xml.c | 71 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 D | util_regex.c | 191 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);
|
/httpd/modules/ssl/ |
H A D | ssl_util_ocsp.c | 33 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...] |
H A D | ssl_ct_sct.c | 92 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 D | ssl_util_ssl.c | 198 int len; local 205 len = BIO_pending(bio); 206 if (len > 0) { 207 result = apr_palloc(p, len+1); 208 len = BIO_read(bio, result, len); 209 result[len] = NUL; 219 ap_xlate_proto_from_ascii(result, len); 231 int len; local 236 len [all...] |
H A D | ssl_ct_util.h | 72 apr_size_t *len); 94 apr_uint16_t len); 98 apr_uint32_t len);
|
H A D | ssl_engine_io.c | 364 * proceeds. It will read at most *len bytes. 368 char *c, apr_size_t *len) 414 consume = (str_len + actual > *len) ? *len - actual : str_len; 435 /* This could probably be actual == *len, but be safe from stray 437 if (actual >= *len) { 442 *len = actual; 593 apr_size_t *len) 595 apr_size_t wanted = *len; 599 *len 366 brigade_consume(apr_bucket_brigade *bb, apr_read_type_e block, char *c, apr_size_t *len) argument 591 ssl_io_input_read(bio_filter_in_ctx_t *inctx, char *buf, apr_size_t *len) argument 747 ssl_io_input_getline(bio_filter_in_ctx_t *inctx, char *buf, apr_size_t *len) argument 802 ssl_filter_write(ap_filter_t *f, const char *data, apr_size_t len) argument 1384 apr_size_t len = sizeof(inctx->buffer); /* length of block to return */ local 1631 apr_size_t len; local 1771 apr_size_t len; local 1849 apr_size_t len; local 2100 ssl_io_data_dump(conn_rec *c, server_rec *s, const char *b, long len) argument [all...] |
/httpd/support/ |
H A D | ctlogconfig | 44 if len(args) < 1 or args[0][0] != '#' or len(args[0]) < 2: 53 assert len(recs) < 2 54 if len(recs) == 0: 61 if len(args) < 1 or len(args[0]) != 64: 67 if len(re.compile(r'[A-Z0-9]').findall(log_id)) != len(log_id): 74 if len(args) < 1: 85 if len(arg [all...] |
H A D | firehose.c | 83 apr_size_t len; member in struct:filter_rec 88 apr_size_t len; member in struct:header_rec 285 apr_size_t len) 299 if (len > filter->len && !strncmp(filter->prefix, str, filter->len)) { 320 const char *str, apr_size_t len) 344 if (APR_SUCCESS != (status = apr_file_write_full(handle, str, len, 428 const char *str, apr_size_t len) 434 const char *end = str + len; 284 check_prefix(file_rec *file, header_rec *header, const char *str, apr_size_t len) argument 319 process_body(file_rec *file, header_rec *header, const char *str, apr_size_t len) argument 427 process_header(file_rec *file, header_rec *header, const char *str, apr_size_t len) argument 502 apr_size_t len = 0; local [all...] |
H A D | ctauditscts | 51 while offset < len(log_bytes): 92 while offset < len(log_bytes) and \ 119 if len(recs) > 0 and recs[0][6] is not None: 138 if len(sys.argv) != 2 and len(sys.argv) != 3: 144 if len(sys.argv) == 3:
|
/httpd/modules/filters/ |
H A D | mod_data.c | 108 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...] |
/httpd/support/win32/ |
H A D | wintty.c | 95 DWORD len; local 160 else if (!GetUserObjectInformation(hsavewinsta, UOI_NAME, str, sizeof(str), &len)) { 328 while (ReadFile(hstdin, str, sizeof(str), &len, NULL)) 329 if (!len || !WriteFile(conout, str, len, &len, NULL)) 349 len = GetLastError(); 352 len = GetLastError(); 365 DWORD len; local 367 while (ReadFile(feed->in, str, sizeof(str), &len, NUL [all...] |
/httpd/modules/echo/ |
H A D | mod_echo.c | 74 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 D | mod_case_filter.c | 69 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 D | mod_case_filter_in.c | 91 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);
|
/httpd/modules/loggers/ |
H A D | mod_journald.c | 79 const char *format, int len, ...) 82 va_start(ap, len); 88 if (len < 0) { 92 iov->iov_len = len; 98 const char *errstr, int len, int priority, 123 IOVEC_ADD_LEN("MESSAGE=%s", errstr, len + 8); 150 apr_size_t len) 168 journald_log(pool, log_name, errstr, len, 184 apr_size_t len) 192 str = apr_palloc(r->pool, len 78 iovec_add_entry(apr_pool_t *pool, struct iovec *iov, const char *format, int len, ...) argument 97 journald_log(apr_pool_t *pool, const char *log, const char *errstr, int len, int priority, const server_rec *s, const request_rec *r) argument 148 journald_error_log(const ap_errorlog_info *info, void *handle, const char *errstr, apr_size_t len) argument 179 journald_log_writer(request_rec *r, void *handle, const char **strs, int *strl, int nelts, apr_size_t len) argument [all...] |