Lines Matching refs:write_u8

31   buffer.write_u8(code);  in EmitSection()
89 void WasmFunctionBuilder::Emit(WasmOpcode opcode) { body_.write_u8(opcode); } in Emit()
92 body_.write_u8(opcode); in EmitWithU8()
93 body_.write_u8(immediate); in EmitWithU8()
98 body_.write_u8(opcode); in EmitWithU8U8()
99 body_.write_u8(imm1); in EmitWithU8U8()
100 body_.write_u8(imm2); in EmitWithU8U8()
104 body_.write_u8(opcode); in EmitWithI32V()
109 body_.write_u8(opcode); in EmitWithU32V()
118 body_.write_u8(kExprI64Const); in EmitI64Const()
123 body_.write_u8(kExprF32Const); in EmitF32Const()
128 body_.write_u8(kExprF64Const); in EmitF64Const()
326 buffer.write_u8(kWasmFunctionTypeCode); in WriteTo()
329 buffer.write_u8(ValueTypes::ValueTypeCodeFor(param)); in WriteTo()
333 buffer.write_u8(ValueTypes::ValueTypeCodeFor(ret)); in WriteTo()
346 buffer.write_u8(kExternalGlobal); in WriteTo()
347 buffer.write_u8(import.type_code); in WriteTo()
348 buffer.write_u8(0); // immutable in WriteTo()
353 buffer.write_u8(kExternalFunction); in WriteTo()
374 buffer.write_u8(1); // table count in WriteTo()
375 buffer.write_u8(kLocalAnyFunc); in WriteTo()
376 buffer.write_u8(kHasMaximumFlag); in WriteTo()
385 buffer.write_u8(1); // memory count in WriteTo()
387 buffer.write_u8(has_max_memory_size_ ? MemoryFlags::kSharedAndMaximum in WriteTo()
390 buffer.write_u8(has_max_memory_size_ ? MemoryFlags::kMaximum in WriteTo()
406 buffer.write_u8(ValueTypes::ValueTypeCodeFor(global.type)); in WriteTo()
407 buffer.write_u8(global.mutability ? 1 : 0); in WriteTo()
411 buffer.write_u8(kExprI32Const); in WriteTo()
416 buffer.write_u8(kExprI64Const); in WriteTo()
421 buffer.write_u8(kExprF32Const); in WriteTo()
426 buffer.write_u8(kExprF64Const); in WriteTo()
430 buffer.write_u8(kExprGetGlobal); in WriteTo()
437 buffer.write_u8(kExprI32Const); in WriteTo()
439 buffer.write_u8(0); in WriteTo()
442 buffer.write_u8(kExprI64Const); in WriteTo()
444 buffer.write_u8(0); in WriteTo()
447 buffer.write_u8(kExprF32Const); in WriteTo()
451 buffer.write_u8(kExprF64Const); in WriteTo()
459 buffer.write_u8(kExprEnd); in WriteTo()
470 buffer.write_u8(kExternalFunction); in WriteTo()
487 buffer.write_u8(1); // count of entries in WriteTo()
488 buffer.write_u8(0); // table index in WriteTo()
489 buffer.write_u8(kExprI32Const); // offset in WriteTo()
491 buffer.write_u8(kExprEnd); in WriteTo()
517 buffer.write_u8(0); // linear memory segment in WriteTo()
518 buffer.write_u8(kExprI32Const); // initializer expression for dest in WriteTo()
520 buffer.write_u8(kExprEnd); in WriteTo()
530 buffer.write_u8(kUnknownSectionCode); in WriteTo()
537 buffer.write_u8(NameSectionKindCode::kFunction); in WriteTo()
575 buffer.write_u8(0); in WriteAsmJsOffsetTable()