Lines Matching refs:b
45 buffer *b; in mod_evhost_free_path_pieces() local
46 *(const buffer **)&b = path_pieces; in mod_evhost_free_path_pieces()
48 free(b); in mod_evhost_free_path_pieces()
179 if (!buffer_is_blank(cpv->v.b)) { in SETDEFAULTS_FUNC()
180 const char * const ptr = cpv->v.b->ptr; in SETDEFAULTS_FUNC()
276 static void mod_evhost_build_doc_root_path(buffer *b, array *parsed_host, buffer *authority, const … in mod_evhost_build_doc_root_path() argument
278 mod_evhost_parse_host(b, parsed_host, authority); in mod_evhost_build_doc_root_path()
279 buffer_clear(b); in mod_evhost_build_doc_root_path()
287 buffer_append_char(b, '%'); in mod_evhost_build_doc_root_path()
293 buffer_append_string_buffer(b, authority); /* adds fqdn */ in mod_evhost_build_doc_root_path()
296 buffer_append_string_len(b, authority->ptr, colon - authority->ptr); /* adds fqdn */ in mod_evhost_build_doc_root_path()
303 buffer_append_string_buffer(b, &ds->value); in mod_evhost_build_doc_root_path()
306 buffer_append_char(b, ds->value.ptr[(ptr[4]-'0')-1]); in mod_evhost_build_doc_root_path()
313 buffer_append_string_buffer(b, &ds->value); in mod_evhost_build_doc_root_path()
318 buffer_append_string_buffer(b, path_pieces); in mod_evhost_build_doc_root_path()
322 buffer_append_slash(b); in mod_evhost_build_doc_root_path()
336 buffer * const b = r->tmp_buf;/*(tmp_buf cleared before use in call below)*/ in mod_evhost_uri_handler() local
337 mod_evhost_build_doc_root_path(b, &p->split_vals, &r->uri.authority, p->conf.path_pieces); in mod_evhost_uri_handler()
339 if (!stat_cache_path_isdir(b)) { in mod_evhost_uri_handler()
340 log_perror(r->conf.errh, __FILE__, __LINE__, "%s", b->ptr); in mod_evhost_uri_handler()
342 buffer_copy_buffer(&r->physical.doc_root, b); in mod_evhost_uri_handler()