Home
last modified time | relevance | path

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

/external/llvm-project/libc/test/
DErrnoSetterMatcher.h25 int ExpectedErrno; variable
29 ErrnoSetterMatcher(T ExpectedReturn, int ExpectedErrno) in ErrnoSetterMatcher() argument
30 : ExpectedReturn(ExpectedReturn), ExpectedErrno(ExpectedErrno) {} in ErrnoSetterMatcher()
35 << ActualReturn << ".\nExpecte errno to be " << strerror(ExpectedErrno) in explainError()
47 return Got == ExpectedReturn && ActualErrno == ExpectedErrno; in match()
57 int ExpectedErrno = 0) {
58 return {ExpectedReturn, ExpectedErrno};
62 static internal::ErrnoSetterMatcher<RetT> Fails(int ExpectedErrno,
64 return {ExpectedReturn, ExpectedErrno};