Lines Matching defs:Import
854 for (const wasm::WasmImport &Import : Imports) {
855 writeString(Import.Module);
856 writeString(Import.Field);
857 W->OS << char(Import.Kind);
859 switch (Import.Kind) {
861 encodeULEB128(Import.SigIndex, W->OS);
864 W->OS << char(Import.Global.Type);
865 W->OS << char(Import.Global.Mutable ? 1 : 0);
868 encodeULEB128(Import.Memory.Flags, W->OS);
872 W->OS << char(Import.Table.ElemType);
873 encodeULEB128(Import.Table.Limits.Flags, W->OS);
878 encodeULEB128(Import.SigIndex, W->OS);
1381 wasm::WasmImport Import;
1382 Import.Module = WS.getImportModule();
1383 Import.Field = WS.getImportName();
1384 Import.Kind = wasm::WASM_EXTERNAL_FUNCTION;
1385 Import.SigIndex = getFunctionType(WS);
1386 Imports.push_back(Import);
1393 wasm::WasmImport Import;
1394 Import.Field = WS.getImportName();
1395 Import.Kind = wasm::WASM_EXTERNAL_GLOBAL;
1396 Import.Module = WS.getImportModule();
1397 Import.Global = WS.getGlobalType();
1398 Imports.push_back(Import);
1405 wasm::WasmImport Import;
1406 Import.Module = WS.getImportModule();
1407 Import.Field = WS.getImportName();
1408 Import.Kind = wasm::WASM_EXTERNAL_TAG;
1409 Import.SigIndex = getTagType(WS);
1410 Imports.push_back(Import);
1417 wasm::WasmImport Import;
1418 Import.Module = WS.getImportModule();
1419 Import.Field = WS.getImportName();
1420 Import.Kind = wasm::WASM_EXTERNAL_TABLE;
1421 Import.Table = WS.getTableType();
1422 Imports.push_back(Import);
1433 wasm::WasmImport Import;
1435 Import.Module = "GOT.func";
1437 Import.Module = "GOT.mem";
1438 Import.Field = WS.getName();
1439 Import.Kind = wasm::WASM_EXTERNAL_GLOBAL;
1440 Import.Global = {wasm::WASM_TYPE_I32, true};
1441 Imports.push_back(Import);