Lines Matching defs:order
40 // returns true if order is equal to VAL
42 spv_result_t Equals(int order) {
43 return order == VAL ? SPV_SUCCESS : RET;
46 // returns true if order is between MIN and MAX(inclusive)
50 spv_result_t operator()(int order) {
51 return (inverse_ ^ (order >= MIN && order <= MAX)) ? SPV_SUCCESS : RET;
158 // instructions vector and reinserts it in the location specified by order.
161 std::vector<std::string> GenerateCode(std::string substr, int order) {
170 code.insert(std::begin(code) + order, inst.front());
178 int order;
184 std::tie(order, testCase) = GetParam();
188 if (test_pred(order)) return;
190 std::vector<std::string> code = GenerateCode(instruction, order);
201 ASSERT_EQ(pred(order), result = ValidateInstructions(env))
203 << "\nExpected: " << spvResultToString(pred(order))
204 << "\nOrder: " << order