• Home
  • Raw
  • Download

Lines Matching refs:entry

18   Entry* entry = new (zone) Entry(loc);  in AddImport()  local
19 entry->local_name = local_name; in AddImport()
20 entry->import_name = import_name; in AddImport()
21 entry->module_request = AddModuleRequest(module_request); in AddImport()
22 AddRegularImport(entry); in AddImport()
29 Entry* entry = new (zone) Entry(loc); in AddStarImport() local
30 entry->local_name = local_name; in AddStarImport()
31 entry->module_request = AddModuleRequest(module_request); in AddStarImport()
32 AddNamespaceImport(entry, zone); in AddStarImport()
43 Entry* entry = new (zone) Entry(loc); in AddExport() local
44 entry->export_name = export_name; in AddExport()
45 entry->local_name = local_name; in AddExport()
46 AddRegularExport(entry); in AddExport()
55 Entry* entry = new (zone) Entry(loc); in AddExport() local
56 entry->export_name = export_name; in AddExport()
57 entry->import_name = import_name; in AddExport()
58 entry->module_request = AddModuleRequest(module_request); in AddExport()
59 AddSpecialExport(entry, zone); in AddExport()
65 Entry* entry = new (zone) Entry(loc); in AddStarExport() local
66 entry->module_request = AddModuleRequest(module_request); in AddStarExport()
67 AddSpecialExport(entry, zone); in AddStarExport()
99 Handle<ModuleInfoEntry> entry) { in Deserialize() argument
102 isolate, avfactory, handle(entry->export_name(), isolate)); in Deserialize()
104 isolate, avfactory, handle(entry->local_name(), isolate)); in Deserialize()
106 isolate, avfactory, handle(entry->import_name(), isolate)); in Deserialize()
107 result->module_request = entry->module_request(); in Deserialize()
108 result->cell_index = entry->cell_index(); in Deserialize()
175 Entry* entry = in DeserializeRegularExports() local
177 entry->local_name = avfactory->GetString(local_name); in DeserializeRegularExports()
178 entry->export_name = avfactory->GetString(export_name); in DeserializeRegularExports()
179 entry->cell_index = cell_index; in DeserializeRegularExports()
181 AddRegularExport(entry); in DeserializeRegularExports()
188 Entry* entry = it->second; in MakeIndirectExportsExplicit() local
189 DCHECK_NOT_NULL(entry->local_name); in MakeIndirectExportsExplicit()
190 auto import = regular_imports_.find(entry->local_name); in MakeIndirectExportsExplicit()
194 DCHECK_NULL(entry->import_name); in MakeIndirectExportsExplicit()
195 DCHECK_LT(entry->module_request, 0); in MakeIndirectExportsExplicit()
200 entry->import_name = import->second->import_name; in MakeIndirectExportsExplicit()
201 entry->module_request = import->second->module_request; in MakeIndirectExportsExplicit()
208 entry->location = import->second->location; in MakeIndirectExportsExplicit()
209 entry->local_name = nullptr; in MakeIndirectExportsExplicit()
210 AddSpecialExport(entry, zone); in MakeIndirectExportsExplicit()
232 Entry* entry = it->second; in AssignCellIndices() local
233 DCHECK_NOT_NULL(entry->local_name); in AssignCellIndices()
234 DCHECK_NULL(entry->import_name); in AssignCellIndices()
235 DCHECK_LT(entry->module_request, 0); in AssignCellIndices()
236 DCHECK_EQ(entry->cell_index, 0); in AssignCellIndices()
237 entry->cell_index = export_index; in AssignCellIndices()
245 Entry* entry = elem.second; in AssignCellIndices() local
246 DCHECK_NOT_NULL(entry->local_name); in AssignCellIndices()
247 DCHECK_NOT_NULL(entry->import_name); in AssignCellIndices()
248 DCHECK_LE(0, entry->module_request); in AssignCellIndices()
249 DCHECK_EQ(entry->cell_index, 0); in AssignCellIndices()
250 entry->cell_index = import_index; in AssignCellIndices()
284 for (auto entry : special_exports_) { in FindDuplicateExport() local
285 if (entry->export_name == nullptr) continue; // Star export. in FindDuplicateExport()
286 duplicate = BetterDuplicate(entry, export_names, duplicate); in FindDuplicateExport()
299 const Entry* entry = FindDuplicateExport(zone); in Validate() local
300 if (entry != nullptr) { in Validate()
302 entry->location.beg_pos, entry->location.end_pos, in Validate()
303 MessageTemplate::kDuplicateExport, entry->export_name); in Validate()
310 const Entry* entry = elem.second; in Validate() local
311 DCHECK_NOT_NULL(entry->local_name); in Validate()
312 if (module_scope->LookupLocal(entry->local_name) == nullptr) { in Validate()
314 entry->location.beg_pos, entry->location.end_pos, in Validate()
315 MessageTemplate::kModuleExportUndefined, entry->local_name); in Validate()