• Home
  • Raw
  • Download

Lines Matching refs:Status

695     Status {
699 static Status OK;
701 Status() RETURN_TYPESTATE(consumed);
702 Status(int c) RETURN_TYPESTATE(unconsumed);
704 Status(const Status &other);
705 Status(Status &&other);
707 Status& operator=(const Status &other) CALLABLE_WHEN("unknown", "consumed");
708 Status& operator=(Status &&other) CALLABLE_WHEN("unknown", "consumed");
710 bool operator==(const Status &other) const SET_TYPESTATE(consumed);
718 ~Status() CALLABLE_WHEN("unknown", "consumed");
725 Status doSomething();
726 void handleStatus(const Status& s RETURN_TYPESTATE(consumed));
727 void handleStatusRef(Status& s);
728 void handleStatusPtr(Status* s);
729 void handleStatusUnmarked(const Status& s);
733 void checkStat(const Status& s);
749 Status s = doSomething();
756 Status testSimpleTemporariesReturn0() {
760 Status testSimpleTemporariesReturn1() {
761 Status s = doSomething();
766 Status s = doSomething();
771 Status s = doSomething();
776 Status s1 = doSomething();
779 Status s2 = doSomething();
782 Status s3 = doSomething();
785 Status s4 = doSomething();
790 Status s;
797 Status s = doSomething();
805 Status s = doSomething();
814 Status s = doSomething();
821 Status s = doSomething();
828 Status s(doSomething()); // Test the copy constructor.
833 Status s1 = doSomething(); // Test the copy constructor.
834 Status s2 = s1;
838 Status s1 = doSomething(); // Test the copy constructor.
839 Status s2(s1);
845 Status s1 = doSomething();
846 Status s2 = static_cast<Status&&>(s1);
851 Status s1 = doSomething();
852 Status s2 = static_cast<Status&&>(s1);
858 Status s1 = doSomething();
859 Status s2;
865 Status s1 = doSomething();
866 Status s2;
873 Status s1 = doSomething();
874 Status s2;
875 s2 = static_cast<Status&&>(s1);
880 Status s1 = doSomething();
881 Status s2;
882 s2 = static_cast<Status&&>(s1);
887 Status s1 = doSomething();
888 Status s2 = doSomething();
894 Status testReturnAutocast() {
895 Status s = doSomething();
908 Status s = (doSomething());
917 if ((doSomething()) == Status::OK)