Lines Matching defs:sig
498 // sig#0 -------------------------------------------------------
518 // sig#0 -------------------------------------------------------
552 // sig#0 -------------------------------------------------------
563 // sig#0 -------------------------------------------------------
580 FunctionSig* sig =
583 EXPECT_TRUE(sig != nullptr);
584 EXPECT_EQ(0, sig->parameter_count());
585 EXPECT_EQ(0, sig->return_count());
592 FunctionSig* sig =
595 EXPECT_TRUE(sig != nullptr);
596 EXPECT_EQ(0, sig->parameter_count());
597 EXPECT_EQ(1, sig->return_count());
598 EXPECT_EQ(ret_type.type, sig->GetReturn());
606 FunctionSig* sig =
609 EXPECT_TRUE(sig != nullptr);
610 EXPECT_EQ(1, sig->parameter_count());
611 EXPECT_EQ(0, sig->return_count());
612 EXPECT_EQ(param_type.type, sig->GetParam(0));
622 FunctionSig* sig =
625 EXPECT_TRUE(sig != nullptr);
626 EXPECT_EQ(1, sig->parameter_count());
627 EXPECT_EQ(1, sig->return_count());
628 EXPECT_EQ(param_type.type, sig->GetParam(0));
629 EXPECT_EQ(ret_type.type, sig->GetReturn());
641 FunctionSig* sig =
644 EXPECT_TRUE(sig != nullptr);
645 EXPECT_EQ(2, sig->parameter_count());
646 EXPECT_EQ(1, sig->return_count());
647 EXPECT_EQ(p0_type.type, sig->GetParam(0));
648 EXPECT_EQ(p1_type.type, sig->GetParam(1));
661 FunctionSig* sig = DecodeWasmSignatureForTesting(zone(), data, data + i);
662 EXPECT_EQ(nullptr, sig);
672 FunctionSig* sig =
674 EXPECT_EQ(nullptr, sig);
680 FunctionSig* sig =
682 EXPECT_EQ(nullptr, sig);
687 FunctionSig* sig =
689 EXPECT_EQ(nullptr, sig);
694 FunctionSig* sig =
696 EXPECT_EQ(nullptr, sig);
722 EXPECT_EQ(0, function->sig->parameter_count());
723 EXPECT_EQ(0, function->sig->return_count());
894 SECTION(IMPORT_TABLE, 6), 1, // sig table
895 IMPORT_SIG_INDEX(0), // sig index
906 IMPORT_SIG_INDEX(0), // sig index
919 IMPORT_SIG_INDEX(0), // sig index
934 IMPORT_SIG_INDEX(0), // sig index
948 IMPORT_SIG_INDEX(0), // sig index