• Home
  • Raw
  • Download

Lines Matching full:second

340         for (const auto &k : f.second.label_table) {  in ParseResetFunctionLabelsAndParams()
341 if (!k.second.file_location->is_defined) { in ParseResetFunctionLabelsAndParams()
343 … k.second.file_location->bound_left, k.second.file_location->bound_right, in ParseResetFunctionLabelsAndParams()
344 k.second.file_location->whole_line); in ParseResetFunctionLabelsAndParams()
354 for (const auto &v : t.second) { in ParseResetFunctionLabelsAndParams()
357 curr_func_->ins[v.first - 1].regs[v.second] += in ParseResetFunctionLabelsAndParams()
360 if (curr_func_->ins[v.first - 1].regs[v.second] >= max_reg_number) { in ParseResetFunctionLabelsAndParams()
376 if (!k.second.file_location->is_defined) { in ParseResetFunctionTable()
377 … context_.err = Error("This function does not exist.", k.second.file_location->line_number, in ParseResetFunctionTable()
378 … Error::ErrorType::ERR_BAD_ID_FUNCTION, "", k.second.file_location->bound_left, in ParseResetFunctionTable()
379 … k.second.file_location->bound_right, k.second.file_location->whole_line); in ParseResetFunctionTable()
381 } else if (k.second.HasImplementation() != k.second.body_presence) { in ParseResetFunctionTable()
383 …Error("Inconsistent definition of the function and its metadata.", k.second.file_location->line_nu… in ParseResetFunctionTable()
384 … Error::ErrorType::ERR_BAD_DEFINITION_FUNCTION, "", k.second.file_location->bound_left, in ParseResetFunctionTable()
385 k.second.file_location->bound_right, k.second.file_location->whole_line); in ParseResetFunctionTable()
388 for (auto insn_it = k.second.ins.begin(); insn_it != k.second.ins.end(); ++insn_it) { in ParseResetFunctionTable()
399 auto insn_idx = std::distance(k.second.ins.begin(), insn_it); in ParseResetFunctionTable()
414 if (!k.second.file_location->is_defined) { in ParseResetRecordTable()
415 context_.err = Error("This record does not exist.", k.second.file_location->line_number, in ParseResetRecordTable()
416 … Error::ErrorType::ERR_BAD_ID_RECORD, "", k.second.file_location->bound_left, in ParseResetRecordTable()
417 … k.second.file_location->bound_right, k.second.file_location->whole_line); in ParseResetRecordTable()
419 } else if (k.second.HasImplementation() != k.second.body_presence) { in ParseResetRecordTable()
421 … k.second.file_location->line_number, Error::ErrorType::ERR_BAD_DEFINITION_RECORD, "", in ParseResetRecordTable()
422 … k.second.file_location->bound_left, k.second.file_location->bound_right, in ParseResetRecordTable()
423 k.second.file_location->whole_line); in ParseResetRecordTable()
426 for (const auto &fld : k.second.field_list) { in ParseResetRecordTable()
650 if (func.second.metadata->HasImplementation()) { in ParseAfterMainLoop()
651 func.second.source_file = file_name; in ParseAfterMainLoop()
656 if (rec.second.HasImplementation()) { in ParseAfterMainLoop()
657 rec.second.source_file = file_name; in ParseAfterMainLoop()
1326 // the record name is before the second dot, and the field name is after the second dot. in ParseOperandField()
1338 …auto it_field = std::find_if(it_record->second.field_list.begin(), it_record->second.field_list.en… in ParseOperandField()
1341 if (!field_name.empty() && it_field == it_record->second.field_list.end()) { in ParseOperandField()
1342 it_record->second.field_list.emplace_back(program_.lang); in ParseOperandField()
1343 auto &field = it_record->second.field_list.back(); in ParseOperandField()
1424 if (iter == program_.record_table.end() || !iter->second.file_location->is_defined) { in ParseRecordName()
1460 if (iter == program_.function_table.end() || !iter->second.file_location->is_defined) { in ParseFunctionName()