Lines Matching refs:zone
61 Zone zone; in TEST() local
62 WasmModuleBuilder* builder = new (&zone) WasmModuleBuilder(&zone); in TEST()
69 WasmModuleWriter* writer = builder->Build(&zone); in TEST()
70 TestModule(writer->WriteTo(&zone), kReturnValue); in TEST()
75 Zone zone; in TEST() local
76 WasmModuleBuilder* builder = new (&zone) WasmModuleBuilder(&zone); in TEST()
91 WasmModuleWriter* writer = builder->Build(&zone); in TEST()
92 TestModule(writer->WriteTo(&zone), 99); in TEST()
98 Zone zone; in TEST() local
99 WasmModuleBuilder* builder = new (&zone) WasmModuleBuilder(&zone); in TEST()
108 builder->AddDataSegment(new (&zone) WasmDataSegmentEncoder( in TEST()
109 &zone, data, sizeof(data), kDataSegmentDest0)); in TEST()
110 WasmModuleWriter* writer = builder->Build(&zone); in TEST()
111 TestModule(writer->WriteTo(&zone), 0xddccbbaa); in TEST()
126 Zone zone; in TEST() local
127 WasmModuleBuilder* builder = new (&zone) WasmModuleBuilder(&zone); in TEST()
143 WasmModuleWriter* writer = builder->Build(&zone); in TEST()
144 TestModule(writer->WriteTo(&zone), 11); in TEST()
152 Zone zone; in TEST() local
153 WasmModuleBuilder* builder = new (&zone) WasmModuleBuilder(&zone); in TEST()
169 WasmModuleWriter* writer = builder->Build(&zone); in TEST()
170 TestModule(writer->WriteTo(&zone), 55); in TEST()
178 Zone zone; in TEST() local
179 WasmModuleBuilder* builder = new (&zone) WasmModuleBuilder(&zone); in TEST()
196 WasmModuleWriter* writer = builder->Build(&zone); in TEST()
197 TestModule(writer->WriteTo(&zone), 97); in TEST()