Home
last modified time | relevance | path

Searched refs:error_chain_start (Results 1 – 4 of 4) sorted by relevance

/external/libbrillo/brillo/errors/
Derror.cc118 const Error* Error::FindErrorOfDomain(const Error* error_chain_start, in FindErrorOfDomain() argument
120 while (error_chain_start) { in FindErrorOfDomain()
121 if (error_chain_start->GetDomain() == domain) in FindErrorOfDomain()
123 error_chain_start = error_chain_start->GetInnerError(); in FindErrorOfDomain()
125 return error_chain_start; in FindErrorOfDomain()
128 const Error* Error::FindError(const Error* error_chain_start, in FindError() argument
131 while (error_chain_start) { in FindError()
132 if (error_chain_start->GetDomain() == domain && in FindError()
133 error_chain_start->GetCode() == code) in FindError()
135 error_chain_start = error_chain_start->GetInnerError(); in FindError()
[all …]
Derror.h86 static const Error* FindErrorOfDomain(const Error* error_chain_start,
92 static const Error* FindError(const Error* error_chain_start,
/external/libweave/src/
Derror.cc103 const Error* Error::FindError(const Error* error_chain_start, in FindError() argument
105 while (error_chain_start) { in FindError()
106 if (error_chain_start->GetCode() == code) in FindError()
108 error_chain_start = error_chain_start->GetInnerError(); in FindError()
110 return error_chain_start; in FindError()
/external/libweave/include/weave/
Derror.h92 static const Error* FindError(const Error* error_chain_start,