Home
last modified time | relevance | path

Searched refs:buffer_copy_string_len (Results 1 – 25 of 40) sorted by relevance

12

/mOS-networking-stack/samples/lighttpd-1.4.32/src/
H A Dmod_ssi_expr.c62 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 Dconfigfile.c589 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 Dmod_evhost.c85 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 Darray.c154 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 Drequest.c259 buffer_copy_string_len(ds->value, token_start, token_end-token_start+1); in http_request_split_value()
318buffer_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 Dresponse.c39 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 Dhttp-header-glue.c83 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 Dmod_ssi.c185 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 Dmod_flv_streaming.c169 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 Dmod_auth.c284 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()
430buffer_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 Dbuffer.h52 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 Dmod_staticfile.c292 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 Detag.c46 buffer_copy_string_len(mut, CONST_STR_LEN("\"")); in etag_mutate()
H A Dstatus_counter.c28 buffer_copy_string_len(di->key, s, len); in status_counter_get_counter()
H A Dmod_usertrack.c102 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 Dmod_accesslog.c242 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()
498buffer_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 Dmod_webdav.c518 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 Dconfigfile-glue.c204 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 Dhttp_chunk.c30 buffer_copy_string_len(b, CONST_STR_LEN("0")); in http_chunk_append_len()
H A Dmod_cml_lua.c182 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 Dmod_rrdtool.c248 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 Dmod_fastcgi.c390 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 Dbuffer.c139 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 Dlog.c289 buffer_copy_string_len(srv->errorlog_buf, CONST_STR_LEN("(")); in log_error_write()
H A Dmod_expire.c342 buffer_copy_string_len(p->expire_tstmp, CONST_STR_LEN("max-age=")); in URIHANDLER_FUNC()

12