Lines Matching defs:Import
856 for (const wasm::WasmImport &Import : Imports) {
857 writeString(Import.Module);
858 writeString(Import.Field);
859 W->OS << char(Import.Kind);
861 switch (Import.Kind) {
863 encodeULEB128(Import.SigIndex, W->OS);
866 W->OS << char(Import.Global.Type);
867 W->OS << char(Import.Global.Mutable ? 1 : 0);
870 encodeULEB128(Import.Memory.Flags, W->OS);
874 W->OS << char(Import.Table.ElemType);
875 encodeULEB128(Import.Table.Limits.Flags, W->OS);
880 encodeULEB128(Import.SigIndex, W->OS);
1383 wasm::WasmImport Import;
1384 Import.Module = WS.getImportModule();
1385 Import.Field = WS.getImportName();
1386 Import.Kind = wasm::WASM_EXTERNAL_FUNCTION;
1387 Import.SigIndex = getFunctionType(WS);
1388 Imports.push_back(Import);
1395 wasm::WasmImport Import;
1396 Import.Field = WS.getImportName();
1397 Import.Kind = wasm::WASM_EXTERNAL_GLOBAL;
1398 Import.Module = WS.getImportModule();
1399 Import.Global = WS.getGlobalType();
1400 Imports.push_back(Import);
1407 wasm::WasmImport Import;
1408 Import.Module = WS.getImportModule();
1409 Import.Field = WS.getImportName();
1410 Import.Kind = wasm::WASM_EXTERNAL_TAG;
1411 Import.SigIndex = getTagType(WS);
1412 Imports.push_back(Import);
1419 wasm::WasmImport Import;
1420 Import.Module = WS.getImportModule();
1421 Import.Field = WS.getImportName();
1422 Import.Kind = wasm::WASM_EXTERNAL_TABLE;
1423 Import.Table = WS.getTableType();
1424 Imports.push_back(Import);
1435 wasm::WasmImport Import;
1437 Import.Module = "GOT.func";
1439 Import.Module = "GOT.mem";
1440 Import.Field = WS.getName();
1441 Import.Kind = wasm::WASM_EXTERNAL_GLOBAL;
1442 Import.Global = {wasm::WASM_TYPE_I32, true};
1443 Imports.push_back(Import);