Home
last modified time | relevance | path

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

/external/llvm-project/libc/test/
DErrnoSetterMatcher.h23 T ExpectedReturn; variable
29 ErrnoSetterMatcher(T ExpectedReturn, int ExpectedErrno) in ErrnoSetterMatcher() argument
30 : ExpectedReturn(ExpectedReturn), ExpectedErrno(ExpectedErrno) {} in ErrnoSetterMatcher()
33 if (ActualReturn != ExpectedReturn) in explainError()
34 OS << "Expected return to be " << ExpectedReturn << " but got " in explainError()
38 OS << "Correct value " << ExpectedReturn in explainError()
47 return Got == ExpectedReturn && ActualErrno == ExpectedErrno; in match()
56 static internal::ErrnoSetterMatcher<RetT> Succeeds(RetT ExpectedReturn = 0,
58 return {ExpectedReturn, ExpectedErrno};
63 RetT ExpectedReturn = -1) {
[all …]