Lines Matching refs:StatusWithSize
23 StatusWithSize ReturnStatusWithSize(StatusWithSize status) { return status; } in ReturnStatusWithSize()
33 Status TryStatus(StatusWithSize status) { in TryStatus()
52 StatusWithSize val(OkStatus(), 0); in TEST()
59 StatusWithSize val(Status::DataLoss(), i); in TEST()
66 EXPECT_EQ(TryStatus(StatusWithSize::Cancelled()), Status::Cancelled()); in TEST()
67 EXPECT_EQ(TryStatus(StatusWithSize::DataLoss()), Status::DataLoss()); in TEST()
68 EXPECT_EQ(TryStatus(StatusWithSize::Unimplemented()), in TEST()
72 Status TryStatusAssign(size_t& size_val, StatusWithSize status) { in TryStatusAssign()
85 StatusWithSize val(OkStatus(), i); in TEST()
95 StatusWithSize val(Status::OutOfRange(), i); in TEST()
101 StatusWithSize TryStatusWithSize(StatusWithSize status) { in TryStatusWithSize()
109 StatusWithSize TryStatusWithSize(Status status) { in TryStatusWithSize()
115 StatusWithSize return_val(status, 0u); in TryStatusWithSize()
120 StatusWithSize result = TryStatusWithSize(OkStatus()); in TEST()
126 StatusWithSize result = TryStatusWithSize(Status::PermissionDenied()); in TEST()
133 StatusWithSize val(OkStatus(), i); in TEST()
141 StatusWithSize val(Status::DataLoss(), i); in TEST()
142 StatusWithSize result = TryStatusWithSize(val); in TEST()
149 StatusWithSize result = TryStatusWithSize(StatusWithSize::DataLoss()); in TEST()
153 result = TryStatusWithSize(StatusWithSize::NotFound()); in TEST()
157 result = TryStatusWithSize(StatusWithSize::Unimplemented()); in TEST()