| /mOS-networking-stack/samples/lighttpd-1.4.32/src/ |
| H A D | mod_ssi_expr.c | 62 buffer_copy_string_len(token, CONST_STR_LEN("(=)")); in ssi_expr_tokenizer() 72 buffer_copy_string_len(token, CONST_STR_LEN("(>=)")); in ssi_expr_tokenizer() 79 buffer_copy_string_len(token, CONST_STR_LEN("(>)")); in ssi_expr_tokenizer() 90 buffer_copy_string_len(token, CONST_STR_LEN("(<=)")); in ssi_expr_tokenizer() 97 buffer_copy_string_len(token, CONST_STR_LEN("(<)")); in ssi_expr_tokenizer() 109 buffer_copy_string_len(token, CONST_STR_LEN("(!=)")); in ssi_expr_tokenizer() 116 buffer_copy_string_len(token, CONST_STR_LEN("(!)")); in ssi_expr_tokenizer() 127 buffer_copy_string_len(token, CONST_STR_LEN("(&&)")); in ssi_expr_tokenizer() 186 buffer_copy_string_len(token, CONST_STR_LEN("(")); in ssi_expr_tokenizer() 194 buffer_copy_string_len(token, CONST_STR_LEN(")")); in ssi_expr_tokenizer() [all …]
|
| H A D | configfile.c | 589 buffer_copy_string_len(token, CONST_STR_LEN("=>")); in config_tokenizer() 723 buffer_copy_string_len(token, CONST_STR_LEN("")); in config_tokenizer() 769 buffer_copy_string_len(token, CONST_STR_LEN("(")); in config_tokenizer() 777 buffer_copy_string_len(token, CONST_STR_LEN(")")); in config_tokenizer() 786 buffer_copy_string_len(token, CONST_STR_LEN("$")); in config_tokenizer() 793 buffer_copy_string_len(token, CONST_STR_LEN("+=")); in config_tokenizer() 798 buffer_copy_string_len(token, CONST_STR_LEN("+")); in config_tokenizer() 807 buffer_copy_string_len(token, CONST_STR_LEN("{")); in config_tokenizer() 816 buffer_copy_string_len(token, CONST_STR_LEN("}")); in config_tokenizer() 825 buffer_copy_string_len(token, CONST_STR_LEN("[")); in config_tokenizer() [all …]
|
| H A D | mod_evhost.c | 85 buffer_copy_string_len(s->path_pieces[s->len],pos,ptr-pos); in mod_evhost_parse_pattern() 88 buffer_copy_string_len(s->path_pieces[s->len+1],ptr++,2); in mod_evhost_parse_pattern() 98 buffer_copy_string_len(s->path_pieces[s->len],pos,ptr-pos); in mod_evhost_parse_pattern() 186 buffer_copy_string_len(ds->key,CONST_STR_LEN("%0")); in mod_evhost_parse_host() 190 buffer_copy_string_len(ds->value, ptr, colon-ptr); in mod_evhost_parse_host() 202 buffer_copy_string_len(ds->key,CONST_STR_LEN("%")); in mod_evhost_parse_host() 204 buffer_copy_string_len(ds->value,ptr+1,colon-ptr-1); in mod_evhost_parse_host() 215 buffer_copy_string_len(ds->key,CONST_STR_LEN("%")); in mod_evhost_parse_host() 217 buffer_copy_string_len(ds->value,ptr,colon-ptr); in mod_evhost_parse_host()
|
| H A D | array.c | 154 buffer_copy_string_len(ds_dst->value, value, val_len); in array_set_key_value() 162 buffer_copy_string_len(ds_dst->key, key, key_len); in array_set_key_value() 163 buffer_copy_string_len(ds_dst->value, value, val_len); in array_set_key_value() 354 buffer_copy_string_len(ds->key, CONST_STR_LEN("abc")); in main() 355 buffer_copy_string_len(ds->value, CONST_STR_LEN("alfrag")); in main() 360 buffer_copy_string_len(ds->key, CONST_STR_LEN("abc")); in main() 361 buffer_copy_string_len(ds->value, CONST_STR_LEN("hameplman")); in main() 366 buffer_copy_string_len(ds->key, CONST_STR_LEN("123")); in main() 367 buffer_copy_string_len(ds->value, CONST_STR_LEN("alfrag")); in main() 372 buffer_copy_string_len(dc->key, CONST_STR_LEN("def")); in main() [all …]
|
| H A D | request.c | 259 buffer_copy_string_len(ds->value, token_start, token_end-token_start+1); in http_request_split_value() 318 …buffer_copy_string_len(con->parse_request, con->request.request->ptr + 2, con->request.request->us… in http_request_parse() 347 buffer_copy_string_len(con->request.request_line, con->parse_request->ptr, i); in http_request_parse() 462 buffer_copy_string_len(con->request.uri, nuri, proto - nuri - 1); in http_request_parse() 468 buffer_copy_string_len(con->request.uri, nuri, proto - nuri - 1); in http_request_parse() 471 buffer_copy_string_len(con->request.uri, uri, proto - uri - 1); in http_request_parse() 572 buffer_copy_string_len(ds->key, CONST_STR_LEN("Host")); in http_request_parse() 573 buffer_copy_string_len(ds->value, reqline_host, reqline_hostlen); in http_request_parse() 786 buffer_copy_string_len(key_b, key, key_len); in http_request_parse() 811 buffer_copy_string_len(ds->key, key, key_len); in http_request_parse() [all …]
|
| H A D | response.c | 39 buffer_copy_string_len(b, CONST_STR_LEN("HTTP/1.1 ")); in http_response_write_header() 41 buffer_copy_string_len(b, CONST_STR_LEN("HTTP/1.0 ")); in http_response_write_header() 168 buffer_copy_string_len(envds->key, CONST_STR_LEN("SSL_CLIENT_S_DN_")); in https_add_ssl_entries() 170 buffer_copy_string_len( in https_add_ssl_entries() 195 buffer_copy_string_len(envds->key, CONST_STR_LEN("SSL_CLIENT_CERT")); in https_add_ssl_entries() 270 buffer_copy_string_len(con->uri.scheme, CONST_STR_LEN("https")); in http_response_prepare() 272 buffer_copy_string_len(con->uri.scheme, CONST_STR_LEN("http")); in http_response_prepare() 295 buffer_copy_string_len(con->uri.path_raw, con->request.uri->ptr, qstr - con->request.uri->ptr); in http_response_prepare() 650 buffer_copy_string_len(con->physical.path, srv->tmp_buf->ptr, slash - srv->tmp_buf->ptr); in http_response_prepare()
|
| H A D | http-header-glue.c | 83 buffer_copy_string_len(ds->key, key, keylen); in response_header_insert() 84 buffer_copy_string_len(ds->value, value, vallen); in response_header_insert() 127 buffer_copy_string_len(o, CONST_STR_LEN("https://")); in http_response_redirect_to_directory() 129 buffer_copy_string_len(o, CONST_STR_LEN("http://")); in http_response_redirect_to_directory()
|
| H A D | mod_ssi.c | 185 buffer_copy_string_len(srv->tmp_buf, CONST_STR_LEN("HTTP_")); in ssi_env_add_request_headers() 460 buffer_copy_string_len(b, CONST_STR_LEN("(none)")); in process_ssi_stmt() 471 buffer_copy_string_len(b, CONST_STR_LEN("(none)")); in process_ssi_stmt() 482 buffer_copy_string_len(b, CONST_STR_LEN("(none)")); in process_ssi_stmt() 513 buffer_copy_string_len(b, CONST_STR_LEN("(none)")); in process_ssi_stmt() 560 buffer_copy_string_len(p->stat_fn, CONST_STR_LEN("/")); in process_ssi_stmt() 562 buffer_copy_string_len(p->stat_fn, con->physical.path->ptr, sl - con->physical.path->ptr + 1); in process_ssi_stmt() 578 buffer_copy_string_len(p->stat_fn, con->uri.path->ptr, sl - con->uri.path->ptr + 1); in process_ssi_stmt() 614 buffer_copy_string_len(b, CONST_STR_LEN("(none)")); in process_ssi_stmt() 970 buffer_copy_string_len(p->timefmt, CONST_STR_LEN("%a, %d %b %Y %H:%M:%S %Z")); in mod_ssi_handle_request()
|
| H A D | mod_flv_streaming.c | 169 buffer_copy_string_len(ds->key, key, strlen(key)); in split_get_params() 170 buffer_copy_string_len(ds->value, val, strlen(val)); in split_get_params() 246 buffer_copy_string_len(b, CONST_STR_LEN("FLV\x1\x1\0\0\0\x9\0\0\0\x9")); in URIHANDLER_FUNC()
|
| H A D | mod_auth.c | 284 buffer_copy_string_len(p->tmp_buf, CONST_STR_LEN("Basic realm=\"")); in mod_auth_uri_handler() 293 buffer_copy_string_len(p->tmp_buf, CONST_STR_LEN("Digest realm=\"")); in mod_auth_uri_handler() 430 …buffer_copy_string_len(s->ldap_filter_pre, s->auth_ldap_filter->ptr, dollar - s->auth_ldap_filter-… in SETDEFAULTS_FUNC() 521 buffer_copy_string_len(ds->key, CONST_STR_LEN("method")); in SETDEFAULTS_FUNC() 528 buffer_copy_string_len(ds->key, CONST_STR_LEN("realm")); in SETDEFAULTS_FUNC() 535 buffer_copy_string_len(ds->key, CONST_STR_LEN("require")); in SETDEFAULTS_FUNC()
|
| H A D | buffer.h | 52 int buffer_copy_string_len(buffer *b, const char *s, size_t s_len); 120 buffer_copy_string_len(x, y, sizeof(y) - 1)
|
| H A D | mod_staticfile.c | 292 buffer_copy_string_len(b, CONST_STR_LEN("\r\n--")); in http_response_parse_range() 327 buffer_copy_string_len(b, "\r\n--", 4); in http_response_parse_range() 335 buffer_copy_string_len(p->range_buf, CONST_STR_LEN("multipart/byteranges; boundary=")); in http_response_parse_range() 343 buffer_copy_string_len(p->range_buf, CONST_STR_LEN("bytes ")); in http_response_parse_range()
|
| H A D | etag.c | 46 buffer_copy_string_len(mut, CONST_STR_LEN("\"")); in etag_mutate()
|
| H A D | status_counter.c | 28 buffer_copy_string_len(di->key, s, len); in status_counter_get_counter()
|
| H A D | mod_usertrack.c | 102 buffer_copy_string_len(s->cookie_name, CONST_STR_LEN("TRACKID")); in SETDEFAULTS_FUNC() 213 buffer_copy_string_len(ds->key, CONST_STR_LEN("Set-Cookie")); in URIHANDLER_FUNC()
|
| H A D | mod_accesslog.c | 242 buffer_copy_string_len(fields->ptr[fields->used]->string, format->ptr + start, i - start); in accesslog_parse_format() 326 buffer_copy_string_len(fields->ptr[fields->used]->string, format->ptr + i + 2, k - (i + 2)); in accesslog_parse_format() 394 buffer_copy_string_len(fields->ptr[fields->used]->string, format->ptr + start, i - start); in accesslog_parse_format() 498 …buffer_copy_string_len(s->format, CONST_STR_LEN("%h %V %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{Use… in SETDEFAULTS_FUNC() 695 buffer_copy_string_len(b, CONST_STR_LEN("")); in REQUESTDONE_FUNC()
|
| H A D | mod_webdav.c | 518 buffer_copy_string_len(b, CONST_STR_LEN("HTTP/1.1 ")); in webdav_gen_response_status_tag() 520 buffer_copy_string_len(b, CONST_STR_LEN("HTTP/1.0 ")); in webdav_gen_response_status_tag() 1109 buffer_copy_string_len(b, CONST_STR_LEN("<?xml version=\"1.0\" encoding=\"utf-8\"?>\n")); in webdav_lockdiscovery() 1348 buffer_copy_string_len(b, CONST_STR_LEN("<?xml version=\"1.0\" encoding=\"utf-8\"?>\n")); in URIHANDLER_FUNC() 1562 buffer_copy_string_len(b, CONST_STR_LEN("<?xml version=\"1.0\" encoding=\"utf-8\"?>\n")); in URIHANDLER_FUNC() 1836 buffer_copy_string_len(p->uri.scheme, start, sep - start); in URIHANDLER_FUNC() 1848 buffer_copy_string_len(p->uri.authority, start, sep - start); in URIHANDLER_FUNC() 1856 buffer_copy_string_len(p->uri.path_raw, start, sep - start); in URIHANDLER_FUNC() 2323 buffer_copy_string_len(p->tmp_buf, CONST_STR_LEN("opaquelocktoken:")); in URIHANDLER_FUNC() 2399 buffer_copy_string_len(p->tmp_buf, locktoken->ptr + 2, locktoken->used - 5); in URIHANDLER_FUNC() [all …]
|
| H A D | configfile-glue.c | 204 buffer_copy_string_len(touched->value, CONST_STR_LEN("")); in config_insert_values_global() 310 buffer_copy_string_len(srv->cond_check_buf, l->ptr, val_colon - l->ptr); in config_check_cond_nocache() 361 buffer_copy_string_len(srv->cond_check_buf, dc->string->ptr, nm_slash - dc->string->ptr); in config_check_cond_nocache()
|
| H A D | http_chunk.c | 30 buffer_copy_string_len(b, CONST_STR_LEN("0")); in http_chunk_append_len()
|
| H A D | mod_cml_lua.c | 182 buffer_copy_string_len(p->session_id, ds->value->ptr + value, i - value); 196 buffer_copy_string_len(p->session_id, ds->value->ptr + value, i - value);
|
| H A D | mod_rrdtool.c | 248 buffer_copy_string_len(p->cmd, CONST_STR_LEN("create ")); in mod_rrdtool_create_rrd() 418 buffer_copy_string_len(p->cmd, CONST_STR_LEN("update ")); in TRIGGER_FUNC()
|
| H A D | mod_fastcgi.c | 390 buffer_copy_string_len(b, CONST_STR_LEN("fastcgi.backend.")); in fastcgi_status_copy_procname() 887 buffer_copy_string_len(proc->connection_name, CONST_STR_LEN("unix:")); in fcgi_spawn_connection() 933 buffer_copy_string_len(proc->connection_name, CONST_STR_LEN("tcp:")); in fcgi_spawn_connection() 1675 buffer_copy_string_len(proc->connection_name, CONST_STR_LEN("unix:")); in fcgi_establish_connection() 1701 buffer_copy_string_len(proc->connection_name, CONST_STR_LEN("tcp:")); in fcgi_establish_connection() 1763 buffer_copy_string_len(srv->tmp_buf, CONST_STR_LEN("HTTP_")); in fcgi_env_add_request_headers() 2225 buffer_copy_string_len(ds->key, key, key_len); in fcgi_response_parse() 2276 buffer_copy_string_len(srv->tmp_buf, filename, range - filename); in fcgi_response_parse() 2365 buffer_copy_string_len(dcls->key, "Content-Length", sizeof("Content-Length")-1); in fcgi_response_parse() 2413 buffer_copy_string_len(packet->b, c->mem->ptr + c->offset, weHave); in fastcgi_get_packet() [all …]
|
| H A D | buffer.c | 139 int buffer_copy_string_len(buffer *b, const char *s, size_t s_len) { in buffer_copy_string_len() function 165 return buffer_copy_string_len(b, src->ptr, src->used - 1); in buffer_copy_string_buffer()
|
| H A D | log.c | 289 buffer_copy_string_len(srv->errorlog_buf, CONST_STR_LEN("(")); in log_error_write()
|
| H A D | mod_expire.c | 342 buffer_copy_string_len(p->expire_tstmp, CONST_STR_LEN("max-age=")); in URIHANDLER_FUNC()
|