Lines Matching refs:EmitUint8
26 void EmitUint8(byte** b, uint8_t x) { in EmitUint8() function
283 EmitUint8(header, decl_bits); in Serialize()
336 EmitUint8(header, 1); // init in Serialize()
505 EmitUint8(&header, kDeclMemory); in WriteTo()
506 EmitUint8(&header, 16); // min memory size in WriteTo()
507 EmitUint8(&header, 16); // max memory size in WriteTo()
508 EmitUint8(&header, 0); // memory export in WriteTo()
512 EmitUint8(&header, kDeclGlobals); in WriteTo()
517 EmitUint8(&header, WasmOpcodes::MemTypeCodeFor(global.first)); in WriteTo()
518 EmitUint8(&header, global.second); in WriteTo()
524 EmitUint8(&header, kDeclSignatures); in WriteTo()
528 EmitUint8(&header, static_cast<byte>(sig->parameter_count())); in WriteTo()
530 EmitUint8(&header, WasmOpcodes::LocalTypeCodeFor(sig->GetReturn())); in WriteTo()
532 EmitUint8(&header, kLocalVoid); in WriteTo()
535 EmitUint8(&header, WasmOpcodes::LocalTypeCodeFor(sig->GetParam(j))); in WriteTo()
542 EmitUint8(&header, kDeclFunctions); in WriteTo()
552 EmitUint8(&header, kDeclDataSegments); in WriteTo()
562 EmitUint8(&header, kDeclFunctionTable); in WriteTo()
570 if (sizes.body_size > 0) EmitUint8(&header, kDeclEnd); in WriteTo()