Lines Matching refs:out
124 static int build_doc_root(server *srv, connection *con, plugin_data *p, buffer *out, buffer *host) { in build_doc_root() argument
127 buffer_prepare_copy(out, 128); in build_doc_root()
130 buffer_copy_string_buffer(out, p->conf.server_root); in build_doc_root()
138 BUFFER_APPEND_SLASH(out); in build_doc_root()
141 buffer_append_string_buffer(out, host); in build_doc_root()
143 buffer_append_string_len(out, host->ptr, dp - host->ptr); in build_doc_root()
146 BUFFER_APPEND_SLASH(out); in build_doc_root()
149 buffer_append_string_len(out, p->conf.document_root->ptr + 1, p->conf.document_root->used - 2); in build_doc_root()
151 buffer_append_string_buffer(out, p->conf.document_root); in build_doc_root()
152 BUFFER_APPEND_SLASH(out); in build_doc_root()
155 buffer_copy_string_buffer(out, con->conf.document_root); in build_doc_root()
156 BUFFER_APPEND_SLASH(out); in build_doc_root()
159 if (HANDLER_ERROR == stat_cache_get_entry(srv, con, out, &sce)) { in build_doc_root()
162 strerror(errno), out); in build_doc_root()