Lines Matching refs:dst

323 /* Copy or move src to dst; src_finfo is used to propagate permissions
324 * bits across if non-NULL; dst_finfo must be non-NULL iff dst already
330 const char *dst,
351 if ((status = apr_file_perms_set(dst, perms)) != APR_SUCCESS) {
371 status = apr_file_open(&outf, dst, APR_WRITE | APR_CREATE | APR_TRUNCATE
390 if ((lcl_status = apr_file_remove(dst, p)) != APR_SUCCESS) {
417 if ((lcl_status = apr_file_remove(dst, p)) != APR_SUCCESS) {
449 "inconsistent state.", src, dst));
452 else if ((lcl_status = apr_file_remove(dst, p)) != APR_SUCCESS) {
485 const char *dst;
497 dst = apr_pstrcat(p, dst_dir, "/" DAV_FS_STATE_DIR, NULL);
502 rv = apr_dir_make(dst, APR_OS_DEFAULT, p);
512 rv = apr_stat(&dst_state_finfo, dst, APR_FINFO_NORM, p);
529 dst = apr_pstrcat(p, dst, "/", dst_file, NULL);
534 rv = apr_file_rename(src, dst, p);
536 return dav_fs_copymove_file(is_move, p, src, dst, NULL, NULL, pbuf);
547 return dav_fs_copymove_file(is_move, p, src, dst, NULL, NULL, pbuf);
555 const dav_resource *dst,
571 (void) dav_fs_dir_file_name(dst, &dst_dir, &dst_file);
1212 const dav_resource *dst,
1241 if ((err = dav_fs_internal_walk(&params, depth, is_move, dst,
1259 src->info->pathname, dst->info->pathname,
1261 dst->exists ? &dst->info->finfo : NULL,
1268 return dav_fs_copymoveset(is_move, src->info->pool, src, dst, &work_buf);
1273 dav_resource *dst,
1280 if (src->hooks != dst->hooks) {
1291 if ((err = dav_fs_copymove_resource(0, src, dst, depth,
1295 dst->exists = 1;
1296 dst->collection = src->collection;
1304 dav_resource *dst,
1308 dav_resource_private *dstinfo = dst->info;
1313 if (src->hooks != dst->hooks) {
1330 if ((err = dav_fs_copymove_resource(1, src, dst, DAV_INFINITY,
1333 dst->exists = 1;
1334 dst->collection = src->collection;
1352 dst->exists = 1;
1353 dst->collection = src->collection;
1358 src, dst, NULL)) == NULL) {
1379 src->collection = dst->collection;
1380 dst->exists = 0;
1381 dst->collection = 0;