Lines Matching refs:Validate
1246 bool Validate(const byte* pc, TagIndexImmediate<validate>& imm) {
1255 bool Validate(const byte* pc, GlobalIndexImmediate<validate>& imm) {
1282 bool Validate(const byte* pc, StructIndexImmediate<validate>& imm) {
1291 bool Validate(const byte* pc, FieldImmediate<validate>& imm) {
1292 if (!Validate(pc, imm.struct_imm)) return false;
1302 bool Validate(const byte* pc, ArrayIndexImmediate<validate>& imm) {
1320 bool Validate(const byte* pc, CallFunctionImmediate<validate>& imm) {
1329 bool Validate(const byte* pc, CallIndirectImmediate<validate>& imm) {
1357 bool Validate(const byte* pc, BranchDepthImmediate<validate>& imm,
1366 bool Validate(const byte* pc, BranchTableImmediate<validate>& imm,
1376 bool Validate(const byte* pc, WasmOpcode opcode,
1422 bool Validate(const byte* pc, Simd128Immediate<validate>& imm) {
1435 bool Validate(const byte* pc, BlockTypeImmediate<validate>& imm) {
1446 bool Validate(const byte* pc, MemoryIndexImmediate<validate>& imm) {
1458 bool Validate(const byte* pc, MemoryAccessImmediate<validate>& imm) {
1466 bool Validate(const byte* pc, MemoryInitImmediate<validate>& imm) {
1468 Validate(pc + imm.data_segment.length, imm.memory);
1471 bool Validate(const byte* pc, MemoryCopyImmediate<validate>& imm) {
1472 return Validate(pc, imm.memory_src) &&
1473 Validate(pc + imm.memory_src.length, imm.memory_dst);
1476 bool Validate(const byte* pc, TableInitImmediate<validate>& imm) {
1492 bool Validate(const byte* pc, TableCopyImmediate<validate>& imm) {
1505 // The following Validate* functions all validate an IndexImmediate, albeit
1977 CHECK(Validate(pc + 1, imm));
1982 CHECK(Validate(pc + 1, imm));
1989 CHECK(Validate(pc + 1, imm));
2083 CHECK(Validate(pc + 2, imm));
2088 CHECK(Validate(pc + 2, imm));
2582 if (!this->Validate(this->pc_ + 1, imm)) return 0;
2595 if (!this->Validate(this->pc_ + 1, imm, control_.size())) return 0;
2609 if (!this->Validate(this->pc_ + 1, imm)) return 0;
2621 if (!this->Validate(this->pc_ + 1, imm)) return 0;
2636 if (!this->Validate(this->pc_ + 1, imm)) return 0;
2668 if (!this->Validate(this->pc_ + 1, imm, control_depth() - 1)) return 0;
2715 if (!this->Validate(this->pc_ + 1, imm, control_.size())) return 0;
2753 if (!this->Validate(this->pc_ + 1, imm, control_.size())) return 0;
2799 if (!this->Validate(this->pc_ + 1, imm)) return 0;
2826 if (!this->Validate(this->pc_ + 1, imm)) return 0;
2839 if (!this->Validate(this->pc_ + 1, imm)) return 0;
2963 if (!this->Validate(this->pc_ + 1, imm, control_.size())) return 0;
2976 if (!this->Validate(this->pc_ + 1, imm, control_.size())) return 0;
2993 if (!this->Validate(this->pc_ + 1, imm, control_.size())) return 0;
3206 if (!this->Validate(this->pc_ + 1, imm)) return 0;
3215 if (!this->Validate(this->pc_ + 1, imm)) return 0;
3285 if (!this->Validate(this->pc_ + 1, imm)) return 0;
3299 if (!this->Validate(this->pc_ + 1, imm)) return 0;
3309 if (!this->Validate(this->pc_ + 1, imm)) return 0;
3321 if (!this->Validate(this->pc_ + 1, imm)) return 0;
3337 if (!this->Validate(this->pc_ + 1, imm)) return 0;
3353 if (!this->Validate(this->pc_ + 1, imm)) return 0;
3764 if (!this->Validate(this->pc_ + prefix_len, imm)) return 0;
3781 if (!this->Validate(this->pc_ + opcode_length, imm)) return 0;
3795 if (!this->Validate(this->pc_ + opcode_length, mem_imm)) return 0;
3798 if (!this->Validate(this->pc_ + opcode_length, opcode, lane_imm)) return 0;
3814 if (!this->Validate(this->pc_ + opcode_length, mem_imm)) return 0;
3817 if (!this->Validate(this->pc_ + opcode_length, opcode, lane_imm)) return 0;
3830 if (!this->Validate(this->pc_ + prefix_len, imm)) return 0;
3850 if (this->Validate(this->pc_ + opcode_length, opcode, imm)) {
3864 if (this->Validate(this->pc_ + opcode_length, opcode, imm)) {
3877 if (this->Validate(this->pc_ + opcode_length, imm)) {
4057 if (!this->Validate(this->pc_ + opcode_length, imm)) return 0;
4078 if (!this->Validate(this->pc_ + opcode_length, imm)) return 0;
4107 if (!this->Validate(this->pc_ + opcode_length, field)) return 0;
4131 if (!this->Validate(this->pc_ + opcode_length, field)) return 0;
4154 if (!this->Validate(this->pc_ + opcode_length, field)) return 0;
4174 if (!this->Validate(this->pc_ + opcode_length, imm)) return 0;
4196 if (!this->Validate(this->pc_ + opcode_length, imm)) return 0;
4223 if (!this->Validate(this->pc_ + opcode_length, array_imm)) return 0;
4271 if (!this->Validate(this->pc_ + opcode_length, imm)) return 0;
4292 if (!this->Validate(this->pc_ + opcode_length, imm)) return 0;
4312 if (!this->Validate(this->pc_ + opcode_length, imm)) return 0;
4342 if (!this->Validate(this->pc_ + opcode_length, dst_imm)) return 0;
4351 if (!this->Validate(this->pc_ + opcode_length + dst_imm.length,
4378 if (!this->Validate(this->pc_ + opcode_length, array_imm)) return 0;
4572 if (!this->Validate(this->pc_ + opcode_length, branch_depth,
4657 if (!this->Validate(this->pc_ + opcode_length, branch_depth,
4820 if (!this->Validate(this->pc_ + opcode_length, branch_depth,
4877 if (!this->Validate(this->pc_ + opcode_length, branch_depth,
4971 if (!this->Validate(this->pc_ + opcode_length, imm)) return false;
5007 if (!this->Validate(this->pc_ + opcode_length, imm)) return 0;
5027 if (!this->Validate(this->pc_ + opcode_length, imm)) return 0;
5038 if (!this->Validate(this->pc_ + opcode_length, imm)) return 0;
5049 if (!this->Validate(this->pc_ + opcode_length, imm)) return 0;
5067 if (!this->Validate(this->pc_ + opcode_length, imm)) return 0;