Lines Matching refs:token
77 const char *token;
144 if a lock already exists with that token, and if so, verify that
147 if (args->token)
151 args->token, trail,
163 "Lock failed: token refers to existing "
171 errors about {the path not existing as a key, the path's token
191 SVN_ERR(delete_lock_and_token(existing_lock->token,
198 if (args->token)
199 lock->token = apr_pstrdup(trail->pool, args->token);
201 SVN_ERR(svn_fs_base__generate_lock_token(&(lock->token), trail->fs,
209 SVN_ERR(add_lock_and_token(lock, lock->token, args->path, trail));
221 const char *token,
235 args.token = token;
247 svn_fs_base__generate_lock_token(const char **token,
255 *token = apr_pstrcat(pool, "opaquelocktoken:",
264 const char *token;
283 /* Sanity check: The lock token must exist, and must match. */
284 if (args->token == NULL)
286 else if (strcmp(lock_token, args->token) != 0)
312 const char *token,
321 args.token = token;
527 If FS hasn't been supplied with a matching lock-token for LOCK,
549 else if (svn_hash_gets(fs->access_ctx->lock_tokens, lock->token) == NULL)
552 _("Cannot verify lock on path '%s'; no matching lock-token available"),