Lines Matching refs:rv
50 int rv = DetermineMaxTokenLength(auth_library_.get(), NEGOSSP_NAME, in CreateAuthHandler() local
52 if (rv == ERR_UNSUPPORTED_AUTH_SCHEME) in CreateAuthHandler()
54 if (rv != OK) in CreateAuthHandler()
55 return rv; in CreateAuthHandler()
227 int rv = DoLoop(OK); in GenerateAuthTokenImpl() local
228 if (rv == ERR_IO_PENDING) in GenerateAuthTokenImpl()
230 return rv; in GenerateAuthTokenImpl()
234 int rv = DoLoop(result); in OnIOComplete() local
235 if (rv != ERR_IO_PENDING) in OnIOComplete()
236 DoCallback(rv); in OnIOComplete()
239 void HttpAuthHandlerNegotiate::DoCallback(int rv) { in DoCallback() argument
240 DCHECK(rv != ERR_IO_PENDING); in DoCallback()
244 callback->Run(rv); in DoCallback()
250 int rv = result; in DoLoop() local
256 DCHECK_EQ(OK, rv); in DoLoop()
257 rv = DoResolveCanonicalName(); in DoLoop()
260 rv = DoResolveCanonicalNameComplete(rv); in DoLoop()
263 DCHECK_EQ(OK, rv); in DoLoop()
264 rv = DoGenerateAuthToken(); in DoLoop()
267 rv = DoGenerateAuthTokenComplete(rv); in DoLoop()
271 rv = ERR_FAILED; in DoLoop()
274 } while (rv != ERR_IO_PENDING && next_state_ != STATE_NONE); in DoLoop()
276 return rv; in DoLoop()
293 int HttpAuthHandlerNegotiate::DoResolveCanonicalNameComplete(int rv) { in DoResolveCanonicalNameComplete() argument
294 DCHECK_NE(ERR_IO_PENDING, rv); in DoResolveCanonicalNameComplete()
295 if (rv != OK) { in DoResolveCanonicalNameComplete()
299 << origin_.host() << ": " << ErrorToString(rv); in DoResolveCanonicalNameComplete()
300 rv = OK; in DoResolveCanonicalNameComplete()
306 return rv; in DoResolveCanonicalNameComplete()
317 int HttpAuthHandlerNegotiate::DoGenerateAuthTokenComplete(int rv) { in DoGenerateAuthTokenComplete() argument
318 DCHECK_NE(ERR_IO_PENDING, rv); in DoGenerateAuthTokenComplete()
320 return rv; in DoGenerateAuthTokenComplete()