Lines Matching refs:out
132 static void build_doc_root_path(buffer *out, const buffer *sroot, const buffer *host, const buffer … in build_doc_root_path() argument
133 buffer_copy_buffer(out, sroot); in build_doc_root_path()
141 buffer_append_string_buffer(out, host); in build_doc_root_path()
143 buffer_append_string_len(out, host->ptr, dp - host->ptr); in build_doc_root_path()
148 buffer_append_path_len(out, BUF_PTR_LEN(droot)); in build_doc_root_path()
151 buffer_append_slash(out); in build_doc_root_path()
155 static int build_doc_root(request_st * const r, plugin_data *p, buffer *out, const buffer *host) { in build_doc_root() argument
157 build_doc_root_path(out, p->conf.server_root, host, p->conf.document_root); in build_doc_root()
160 if (buffer_is_equal(out, &p->last_root)) return 1; in build_doc_root()
162 if (!stat_cache_path_isdir(out)) { in build_doc_root()
164 log_perror(r->conf.errh, __FILE__, __LINE__, "%s", out->ptr); in build_doc_root()
169 buffer_copy_buffer(&p->last_root, out); in build_doc_root()