Lines Matching refs:overwrite
662 …y_file(server *srv, connection *con, plugin_data *p, physical *src, physical *dst, int overwrite) { in webdav_copy_file() argument
672 …if (-1 == (ofd = open(dst->path->ptr, O_WRONLY|O_TRUNC|O_CREAT|(overwrite ? 0 : O_EXCL), WEBDAV_FI… in webdav_copy_file()
737 …py_dir(server *srv, connection *con, plugin_data *p, physical *src, physical *dst, int overwrite) { in webdav_copy_dir() argument
786 if (0 != (status = webdav_copy_dir(srv, con, p, &s, &d, overwrite))) { in webdav_copy_dir()
813 if (0 != (status = webdav_copy_file(srv, con, p, &s, &d, overwrite))) { in webdav_copy_dir()
1786 int overwrite = 1; in URIHANDLER_FUNC() local
1815 overwrite = (ds->value->ptr[0] == 'F' ? 0 : 1); in URIHANDLER_FUNC()
1911 if (overwrite == 0) { in URIHANDLER_FUNC()
1925 if (0 != (r = webdav_copy_dir(srv, con, p, &(con->physical), &(p->physical), overwrite))) { in URIHANDLER_FUNC()
1970 } else if (overwrite == 0) { in URIHANDLER_FUNC()
2028 if (0 != (r = webdav_copy_file(srv, con, p, &(con->physical), &(p->physical), overwrite))) { in URIHANDLER_FUNC()