Lines Matching defs:src
323 /* Copy or move src to dst; src_finfo is used to propagate permissions
329 const char *src,
363 if ((status = apr_file_open(&inf, src, APR_READ | APR_BINARY,
436 if (is_move && (status = apr_file_remove(src, p)) != APR_SUCCESS) {
449 "inconsistent state.", src, dst));
484 const char *src;
488 src = apr_pstrcat(p, src_dir, "/" DAV_FS_STATE_DIR "/", src_file, NULL);
491 rv = apr_stat(&src_finfo, src, APR_FINFO_NORM, p);
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);
554 const dav_resource *src,
570 (void) dav_fs_dir_file_name(src, &src_dir, &src_file);
1211 const dav_resource *src,
1224 if (src->collection) {
1230 params.pool = src->info->pool;
1231 params.root = src;
1249 return dav_new_error(src->info->pool, HTTP_MULTI_STATUS, 0, 0,
1258 if ((err = dav_fs_copymove_file(is_move, src->info->pool,
1259 src->info->pathname, dst->info->pathname,
1260 &src->info->finfo,
1268 return dav_fs_copymoveset(is_move, src->info->pool, src, dst, &work_buf);
1272 const dav_resource *src,
1280 if (src->hooks != dst->hooks) {
1285 return dav_new_error(src->info->pool, HTTP_INTERNAL_SERVER_ERROR, 0, 0,
1291 if ((err = dav_fs_copymove_resource(0, src, dst, depth,
1296 dst->collection = src->collection;
1303 dav_resource *src,
1307 dav_resource_private *srcinfo = src->info;
1313 if (src->hooks != dst->hooks) {
1318 return dav_new_error(src->info->pool, HTTP_INTERNAL_SERVER_ERROR, 0, 0,
1330 if ((err = dav_fs_copymove_resource(1, src, dst, DAV_INFINITY,
1334 dst->collection = src->collection;
1335 src->exists = 0;
1336 src->collection = 0;
1353 dst->collection = src->collection;
1354 src->exists = 0;
1355 src->collection = 0;
1357 if ((err = dav_fs_copymoveset(1, src->info->pool,
1358 src, dst, NULL)) == NULL) {
1378 src->exists = 1;
1379 src->collection = dst->collection;