Lines Matching defs:copy

71     { ngx_string("copy"), NGX_HTTP_COPY },
541 ngx_http_dav_copy_ctx_t copy;
688 "http copy from: \"%s\"", path.data);
693 if (ngx_http_map_uri_to_path(r, &copy.path, &root, 0) == NULL) {
699 copy.path.len--; /* omit "\0" */
701 if (copy.path.data[copy.path.len - 1] == '/') {
703 copy.path.len--;
704 copy.path.data[copy.path.len] = '\0';
711 "http copy to: \"%s\"", copy.path.data);
713 if (ngx_link_info(copy.path.data, &fi) == NGX_FILE_ERROR) {
719 copy.path.data);
740 "\"%s\" could not be created", copy.path.data);
763 "http delete: \"%s\"", copy.path.data);
765 rc = ngx_http_dav_delete_path(r, &copy.path, dir);
778 if (ngx_rename_file(path.data, copy.path.data) != NGX_FILE_ERROR) {
783 if (ngx_create_dir(copy.path.data, ngx_file_access(&fi))
788 ngx_create_dir_n, copy.path.data);
791 copy.len = path.len;
798 tree.data = ©
828 if (ngx_ext_rename_file(&path, &copy.path, &ext) == NGX_OK) {
843 if (ngx_copy_file(path.data, copy.path.data, &cf) == NGX_OK) {
857 ngx_http_dav_copy_ctx_t *copy;
860 "http copy dir: \"%s\"", path->data);
862 copy = ctx->data;
864 len = copy->path.len + path->len;
871 p = ngx_cpymem(dir, copy->path.data, copy->path.len);
872 (void) ngx_cpystrn(p, path->data + copy->len, path->len - copy->len + 1);
875 "http copy dir to: \"%s\"", dir);
893 ngx_http_dav_copy_ctx_t *copy;
896 "http copy dir time: \"%s\"", path->data);
898 copy = ctx->data;
900 len = copy->path.len + path->len;
907 p = ngx_cpymem(dir, copy->path.data, copy->path.len);
908 (void) ngx_cpystrn(p, path->data + copy->len, path->len - copy->len + 1);
911 "http copy dir time to: \"%s\"", dir);
958 ngx_http_dav_copy_ctx_t *copy;
961 "http copy file: \"%s\"", path->data);
963 copy = ctx->data;
965 len = copy->path.len + path->len;
972 p = ngx_cpymem(file, copy->path.data, copy->path.len);
973 (void) ngx_cpystrn(p, path->data + copy->len, path->len - copy->len + 1);
976 "http copy file to: \"%s\"", file);