Lines Matching refs:active

15 struct active {  struct
16 active() = default;
18 active(bool a_, bool b_, bool c_, bool d_, bool e_, bool f_, int i_ = 0) : in active() argument
24 friend bool operator == (const active& x, const active& y) noexcept { in operator ==() argument
34 const active& matches) in test()
38 active m; in test()
63 [&]{ m = active{}; }, in test()
72 test(__LINE__, {""}, active{}); in main()
74 test(__LINE__, {"a"}, active{}); in main()
75 test(__LINE__, {"b"}, active{}); in main()
76 test(__LINE__, {"c"}, active{}); in main()
77 test(__LINE__, {"-x"}, active{}); in main()
79 test(__LINE__, {"a", "-x"}, active{1,0,0,0,0,0, 0}); in main()
80 test(__LINE__, {"b", "-x"}, active{0,1,0,0,0,0, 0}); in main()
81 test(__LINE__, {"c", "-x"}, active{0,0,1,0,0,0, 0}); in main()
83 test(__LINE__, {"b", "u"}, active{0,0,0,0,0,0, 1}); in main()
84 test(__LINE__, {"b", "v"}, active{0,0,0,0,0,0, 2}); in main()
85 test(__LINE__, {"b", "w"}, active{0,0,0,0,0,0, 3}); in main()
87 test(__LINE__, {"b", "-x", "u"}, active{0,1,0,0,0,0, 1}); in main()
88 test(__LINE__, {"b", "-x", "v"}, active{0,1,0,0,0,0, 2}); in main()
89 test(__LINE__, {"b", "-x", "w"}, active{0,1,0,0,0,0, 3}); in main()
91 test(__LINE__, {"b", "u", "-x"}, active{0,0,0,0,0,0, 1}); in main()
92 test(__LINE__, {"b", "v", "-x"}, active{0,0,0,0,0,0, 2}); in main()
93 test(__LINE__, {"b", "w", "-x"}, active{0,0,0,0,0,0, 3}); in main()
95 test(__LINE__, {"b", "-x", "u", "-e"}, active{0,1,0,0,1,0, 1}); in main()
96 test(__LINE__, {"b", "-x", "v", "-e"}, active{0,1,0,0,1,0, 2}); in main()
97 test(__LINE__, {"b", "-x", "w", "-e"}, active{0,1,0,0,1,0, 3}); in main()
99 test(__LINE__, {"b", "u", "-x", "-e"}, active{0,0,0,0,1,0, 1}); in main()
100 test(__LINE__, {"b", "v", "-x", "-e"}, active{0,0,0,0,1,0, 2}); in main()
101 test(__LINE__, {"b", "w", "-x", "-e"}, active{0,0,0,0,1,0, 3}); in main()
103 test(__LINE__, {"b", "-x", "u", "-e"}, active{0,1,0,0,1,0, 1}); in main()
104 test(__LINE__, {"b", "-x", "v", "-e"}, active{0,1,0,0,1,0, 2}); in main()
105 test(__LINE__, {"b", "-x", "w", "-e"}, active{0,1,0,0,1,0, 3}); in main()
107 test(__LINE__, {"b", "-x", "-e", "u"}, active{0,1,0,0,0,0, 1}); in main()
108 test(__LINE__, {"b", "-x", "-e", "v"}, active{0,1,0,0,0,0, 2}); in main()
109 test(__LINE__, {"b", "-x", "-e", "w"}, active{0,1,0,0,0,0, 3}); in main()
111 test(__LINE__, {"c", "-x", "-i"}, active{0,0,1,0,0,0, 0}); in main()
112 test(__LINE__, {"c", "-x", "-f"}, active{0,0,1,0,0,0, 0}); in main()
113 test(__LINE__, {"c", "-x", "123"}, active{0,0,1,0,0,0, 0}); in main()
115 test(__LINE__, {"c", "-x", "-i", "123"}, active{0,0,1,0,0,0, 0}); in main()
116 test(__LINE__, {"c", "-x", "-i", "-f"}, active{0,0,1,0,0,0, 0}); in main()
117 test(__LINE__, {"c", "-x", "123", "-i"}, active{0,0,1,0,0,0, 0}); in main()
118 test(__LINE__, {"c", "-x", "123", "-f"}, active{0,0,1,0,0,0, 0}); in main()
120 test(__LINE__, {"c", "-x", "-i", "123", "-f"}, active{0,0,1,0,0,0, 0}); in main()
122 test(__LINE__, {"c", "-x", "d"}, active{0,0,1,1,0,0, 0}); in main()
124 test(__LINE__, {"c", "-x", "d", "-i"}, active{0,0,1,1,1,0, 0}); in main()
125 test(__LINE__, {"c", "-x", "d", "-f"}, active{0,0,1,1,0,1, 0}); in main()
126 test(__LINE__, {"c", "-x", "d", "123"}, active{0,0,1,1,0,0, 0}); in main()
128 test(__LINE__, {"c", "-x", "d", "-i", "123"}, active{0,0,1,1,1,0, 123}); in main()
129 test(__LINE__, {"c", "-x", "d", "-i", "-f"}, active{0,0,1,1,1,1, 0}); in main()
130 test(__LINE__, {"c", "-x", "d", "123", "-i"}, active{0,0,1,1,1,0, 0}); in main()
131 test(__LINE__, {"c", "-x", "d", "123", "-f"}, active{0,0,1,1,0,1, 0}); in main()
133 test(__LINE__, {"c", "-x", "d", "-i", "123", "-f"}, active{0,0,1,1,1,1, 123}); in main()
135 test(__LINE__, {"c", "-x", "d", "-f", "-i"}, active{0,0,1,1,1,1, 0}); in main()
136 test(__LINE__, {"c", "-x", "d", "-f", "-i", "123"}, active{0,0,1,1,1,1, 123}); in main()
138 test(__LINE__, {"c", "d", "-f", "-i", "123"}, active{0,0,0,1,1,1, 123}); in main()
139 test(__LINE__, {"c", "d", "-i", "123", "-f"}, active{0,0,0,1,1,1, 123}); in main()
141 test(__LINE__, {"c", "d", "-x", "-i", "123", "-f"}, active{0,0,0,1,1,1, 123}); in main()
142 test(__LINE__, {"c", "d", "-f", "-i", "123", "-x"}, active{0,0,0,1,1,1, 123}); in main()