Home
last modified time | relevance | path

Searched refs:path_pieces (Results 1 – 2 of 2) sorted by relevance

/lighttpd1.4/src/
H A Dmod_evhost.c29 const buffer *path_pieces; member
44 static void mod_evhost_free_path_pieces(const buffer *path_pieces) { in mod_evhost_free_path_pieces() argument
46 *(const buffer **)&b = path_pieces; in mod_evhost_free_path_pieces()
47 for (; path_pieces->ptr; ++path_pieces) free(path_pieces->ptr); in mod_evhost_free_path_pieces()
128 buffer * const path_pieces = ck_malloc((used+1) * sizeof(buffer)); in mod_evhost_parse_pattern() local
129 return memcpy(path_pieces, bptr, (used+1) * sizeof(buffer)); in mod_evhost_parse_pattern()
136 pconf->path_pieces = cpv->v.v; in mod_evhost_merge_config_cpv()
281 for (const char *ptr; (ptr = path_pieces->ptr); ++path_pieces) { in mod_evhost_build_doc_root_path()
318 buffer_append_string_buffer(b, path_pieces); in mod_evhost_build_doc_root_path()
334 if (NULL == p->conf.path_pieces) return HANDLER_GO_ON; in mod_evhost_uri_handler()
[all …]
/lighttpd1.4/src/t/
H A Dtest_mod_evhost.c18 const buffer *path_pieces = mod_evhost_parse_pattern(t->pattern); in test_mod_evhost_build_doc_root_path_loop() local
19 assert(NULL != path_pieces); in test_mod_evhost_build_doc_root_path_loop()
20 mod_evhost_build_doc_root_path(b, a, authority, path_pieces); in test_mod_evhost_build_doc_root_path_loop()
22 mod_evhost_free_path_pieces(path_pieces); in test_mod_evhost_build_doc_root_path_loop()