Lines Matching refs:err
341 dav_error *err;
355 if ((err = dav_lock_query(propdb->lockdb, propdb->resource,
357 return dav_push_error(propdb->p, err->status, 0,
361 err);
497 dav_error *err;
503 err = (*propdb->db_hooks->open)(propdb->p, propdb->resource, ro,
505 if (err != NULL) {
509 err);
601 dav_error *err;
607 err = (*db_hooks->first_name)(propdb->db, &name);
608 while (!err && name.ns) {
629 if ((err = (*db_hooks->output_value)(propdb->db, &name,
645 err = (*db_hooks->next_name)(propdb->db, &name);
733 dav_error *err;
754 if ((err = dav_insert_liveprop(propdb, elem, DAV_PROP_INSERT_VALUE,
823 if ((err = (*db_hooks->output_value)(propdb->db, &name,
939 ctx->err = dav_new_error(propdb->p, HTTP_CONFLICT,
948 ctx->err = (*priv->provider->patch_validate)(propdb->resource,
952 if (ctx->err != NULL || !defer_to_dead)
964 && (ctx->err = dav_really_open_db(propdb, 0 /* ro */)) != NULL) {
975 ctx->err = dav_new_error(propdb->p, HTTP_INTERNAL_SERVER_ERROR,
1007 dav_error *err = NULL;
1013 err = (*priv->provider->patch_exec)(propdb->resource,
1028 if ((err = (*propdb->db_hooks
1036 err = (*propdb->db_hooks->store)(propdb->db, &name, ctx->prop,
1063 if (err != NULL) {
1068 ctx->err = dav_push_error(propdb->p, HTTP_INTERNAL_SERVER_ERROR,
1070 "Could not execute PROPPATCH.", err);
1079 ** Note that a commit implies ctx->err is NULL. The caller should assume
1093 dav_error *err = NULL;
1107 err = (*priv->provider->patch_rollback)(ctx->propdb->resource,
1113 err = (*ctx->propdb->db_hooks
1117 if (err != NULL) {
1118 if (ctx->err == NULL)
1119 ctx->err = err;
1121 dav_error *scan = err;
1126 scan->prev = ctx->err;
1127 ctx->err = err;