Home
last modified time | relevance | path

Searched refs:second (Results 1 - 25 of 649) sorted by relevance

12345678910>>...26

/arkcompiler/toolchain/tooling/client/manager/
H A Dsource_manager.cpp94 std::cout << " fileName : " << it->second.first <<std::endl; in GetFileName()
106 int scriptId = scriptIdIt->second; in SetFileSource()
109 if (it != fileSource_.end() && it->second.second.empty()) { in SetFileSource()
114 it->second.second.push_back(line); in SetFileSource()
118 it->second.second.push_back(fileSource.substr(startPos)); in SetFileSource()
129 for (const std::string& value : it->second.second) { in GetFileSource()
[all...]
H A Dstack_manager.cpp24 callFrames_[callFrame.first] = std::move(callFrame.second); in SetCallFrames()
32 if (callFrame.second->GetFunctionName().empty()) { in ShowCallFrames()
33 callFrame.second->SetFunctionName("<anonymous function>"); in ShowCallFrames()
35 std::cout << callFrame.first << ". " << callFrame.second->GetFunctionName() << "(), " in ShowCallFrames()
36 << callFrame.second->GetUrl() << ": " << callFrame.second->GetLocation()->GetLine() << std::endl; in ShowCallFrames()
44 int32_t callFramId = callFram.second->GetCallFrameId(); in GetScopeChainInfo()
45 for (const auto &scope : *(callFram.second->GetScopeChain())) { in GetScopeChainInfo()
/arkcompiler/ets_frontend/ets2panda/evaluate/
H A DpathResolver.cpp40 ASSERT(!optOverloadSet->second.empty()); in FindImportedFunctions()
41 for (const auto &[path, entity] : optOverloadSet->second) { in FindImportedFunctions()
60 ASSERT(!optOverloadSet->second.empty()); in FindExportedFunctions()
61 for (const auto &[path, entity] : optOverloadSet->second) { in FindExportedFunctions()
74 ASSERT(!optReExportAll->second.empty()); in FindExportedFunctions()
75 for (const auto &[path, entity] : optReExportAll->second) { in FindExportedFunctions()
99 ASSERT(!optEntity->second.empty()); in FindNamedImportAll()
100 for (const auto &[path, entity] : optEntity->second) { in FindNamedImportAll()
124 ASSERT(!optEntity->second.empty()); in FindImportedEntity()
125 if (optEntity->second in FindImportedEntity()
[all...]
H A DdebugInfoStorage.cpp98 return iter->second->pf.get(); in GetPandaFile()
107 return &LazyLoadImportExportTable(iter->second); in GetImportExportTable()
116 return &iter->second->globalClassAcc; in GetGlobalClassAccessor()
125 return iter->second->moduleName; in GetModuleName()
135 const auto &records = LazyLoadRecords(iter->second); in FindClass()
138 return classIter == records.end() ? panda_file::File::EntityId() : classIter->second; in FindClass()
200 auto recordName = helpers::SplitRecordName(GetFullRecordName(*pf, classId)).second; in LazyLoadRecords()
202 if (!records.emplace(recordNameView, classId).second) { in LazyLoadRecords()
215 return find->second; in GetDebugInfoByModuleName()
/arkcompiler/ets_runtime/ecmascript/
H A Dwaiter_list.cpp25 iter->second.pTail->next_ = node; in AddNode()
26 node->prev_ = iter->second.pTail; in AddNode()
27 iter->second.pTail = node; in AddNode()
37 WaiterListNode *temp = iter->second.pHead; in DeleteNode()
47 if (node == iter->second.pHead && node == iter->second.pTail) { in DeleteNode()
52 if (node == iter->second.pHead) { in DeleteNode()
53 iter->second.pHead = node->next_; in DeleteNode()
59 if (node == iter->second.pTail) { in DeleteNode()
60 iter->second in DeleteNode()
[all...]
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/napi_impl/detail/
H A Denumerate_napi.h21 #define EVERY_SECOND2(first, second) , second
22 #define EVERY_SECOND3(first, second, ...) , second EVERY_SECOND2(__VA_ARGS__)
23 #define EVERY_SECOND4(first, second, ...) , second EVERY_SECOND3(__VA_ARGS__)
24 #define EVERY_SECOND5(first, second, ...) , second EVERY_SECOND4(__VA_ARGS__)
25 #define EVERY_SECOND6(first, second, ...) , second EVERY_SECOND
[all...]
/arkcompiler/ets_frontend/es2panda/aot/
H A DresolveDepsRelation.cpp42 for (const auto &record : progInfo.second->program.record_table) { in FillRecord2ProgramMap()
43 if (record.second.field_list.empty()) { in FillRecord2ProgramMap()
47 resolvedDepsRelation_[progInfo.first].insert(record.second.name); in FillRecord2ProgramMap()
53 if (CollectCommonjsRecords(record.second.field_list, progInfo.first, record.second.name)) { in FillRecord2ProgramMap()
56 record2ProgramMap[record.second.name] = progInfo.first; in FillRecord2ProgramMap()
85 for (auto r : dep.second) { in DumpDepsRelations()
109 const auto progItr = progsInfo_.find(progkeyItr->second); in Resolve()
111 std::cerr << "Failed to find program for file: " << progkeyItr->second << std::endl; in Resolve()
114 resolvedDepsRelation_[progkeyItr->second] in Resolve()
[all...]
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
H A Dmemory_coalescing.h30 Inst *second; member
74 void ReplacePair(Inst *first, Inst *second, Inst *insertAfter);
76 Inst *ReplaceLoadArray(Inst *first, Inst *second, Inst *insertAfter);
77 Inst *ReplaceLoadArrayI(Inst *first, Inst *second, Inst *insertAfter);
78 Inst *ReplaceLoadObject(Inst *first, Inst *second, Inst *insertAfter);
79 Inst *ReplaceStoreArray(Inst *first, Inst *second, Inst *insertAfter);
80 Inst *ReplaceStoreArrayI(Inst *first, Inst *second, Inst *insertAfter);
81 Inst *ReplaceStoreObject(Inst *first, Inst *second, Inst *insertAfter);
H A Dmemory_coalescing.cpp85 << "v" << entry.first->GetId() << " = {" << entry.second.initial << ", " << entry.second.step << "}"; in VariableAnalysis()
90 << "v" << entry.first->GetId() << " = v" << entry.second.base->GetId() << " + " << entry.second.diff; in VariableAnalysis()
358 // We have already checked the second inst. We now want to check the first one in FindUpperInsertAfter()
361 checkInst = pair.first->IsPrecedingInSameBlock(pair.second) ? pair.first : pair.second; in FindUpperInsertAfter()
412 // We have already checked the first inst. We now want to check the second one in FindLowerInsertAfter()
415 checkInst = pair.first->IsPrecedingInSameBlock(pair.second) ? pair.second in FindLowerInsertAfter()
435 Inst *second = nullptr; TryAddCoalescedPair() local
649 InsertPair(Inst *first, Inst *second, Inst *insertAfter) InsertPair() argument
693 ReplaceLoadArray(Inst *first, Inst *second, Inst *insertAfter) ReplaceLoadArray() argument
710 ReplaceLoadObject(Inst *first, Inst *second, Inst *insertAfter) ReplaceLoadObject() argument
735 ReplaceLoadArrayI(Inst *first, Inst *second, Inst *insertAfter) ReplaceLoadArrayI() argument
752 ReplaceStoreArray(Inst *first, Inst *second, Inst *insertAfter) ReplaceStoreArray() argument
772 ReplaceStoreObject(Inst *first, Inst *second, Inst *insertAfter) ReplaceStoreObject() argument
799 ReplaceStoreArrayI(Inst *first, Inst *second, Inst *insertAfter) ReplaceStoreArrayI() argument
[all...]
H A Dcse.cpp111 Inst *temp = rpair.second; in ConvertTreeForestToStarForest()
119 temp = it->second; in ConvertTreeForestToStarForest()
132 pair.second->ReplaceUsers(pair.first); in EliminateAlongDomTree()
133 deletedInsts_.emplace_back(pair.second); in EliminateAlongDomTree()
165 pair.second.emplace_back(instr); in BuildSetOfPairs()
209 auto &pair = sameExpPair_.find(exp)->second; in GlobalCse()
215 auto lrpair = std::make_pair(instl, *(pair.second.begin())); in GlobalCse()
226 auto &pair = tuple.second; in GlobalCse()
228 phi->AppendInput(pair.second); in GlobalCse()
/arkcompiler/ets_runtime/ecmascript/dfx/vmstat/
H A Dopt_code_profiler.cpp30 profVec.emplace_back(std::make_pair(it->first, it->second)); in PrintAndReset()
31 it->second.ResetStat(); in PrintAndReset()
35 return x.second.Count() > y.second.Count(); in PrintAndReset()
56 Value val = it->second; in PrintAndReset()
95 if (it->second == false) { in FilterMethodToPrint()
111 profVec.emplace_back(std::make_pair(it->first, it->second)); in FilterMethodToPrint()
115 return x.second.Count() > y.second.Count(); in FilterMethodToPrint()
124 PrintMethodRecord(itr->first, itr->second in FilterMethodToPrint()
[all...]
/arkcompiler/runtime_core/bytecode_optimizer/
H A Dbytecode_analysis_results.cpp33 constant_local_export_values_.emplace(external_name_iter, *iter.second); in SetModuleConstantAnalysisResult()
91 import_name = iter->second.import_name; in GetRegularImportInfo()
92 source_record = iter->second.source_record_name; in GetRegularImportInfo()
102 source_record = iter->second; in GetNamespaceImportInfo()
110 value = iter->second; in GetExportedConstantValue()
121 os << iter.first << ": " << iter.second.ToString() << std::endl; in Dump()
138 os << iter.first << ": import_name: " << iter.second.import_name in Dump()
139 << ", source_record_name: " << iter.second.source_record_name << std::endl; in Dump()
143 os << iter.first << ": " << iter.second << std::endl; in Dump()
175 auto &analysis_resut = iter->second; in GetLocalExportConstForRecord()
[all...]
/arkcompiler/runtime_core/static_core/assembler/tests/
H A Dlexer_test.cpp37 ASSERT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
47 ASSERT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
61 ASSERT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
71 ASSERT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
83 ASSERT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
94 ASSERT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
103 ASSERT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
112 ASSERT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
129 ASSERT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
140 ASSERT_EQ(tok.second in TEST()
[all...]
/arkcompiler/runtime_core/assembler/tests/
H A Dassembler_lexer_test.cpp45 EXPECT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in HWTEST_F()
61 EXPECT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in HWTEST_F()
81 EXPECT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in HWTEST_F()
97 EXPECT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in HWTEST_F()
115 EXPECT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in HWTEST_F()
132 EXPECT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in HWTEST_F()
147 EXPECT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in HWTEST_F()
162 EXPECT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in HWTEST_F()
185 EXPECT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in HWTEST_F()
202 EXPECT_EQ(tok.second in HWTEST_F()
[all...]
H A Dlexer_test.cpp34 ASSERT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
44 ASSERT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
58 ASSERT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
68 ASSERT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
80 ASSERT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
91 ASSERT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
100 ASSERT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
109 ASSERT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
126 ASSERT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
137 ASSERT_EQ(tok.second in TEST()
[all...]
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ap_file/
H A Dpgo_proto_transition_type_pool.h59 profileTypeRef.ConvertFrom(context, entry.second);
96 stream << entry.second.GetTypeString();
108 Add(entry.second); in Merge()
121 if (result.second) { in Add()
126 if (iter->second.IsNone()) { in Add()
129 auto combineType = iter->second.CombineType(type); in Add()
137 if (entry.second.IsNone()) { in Iterate()
140 callback(entry.second); in Iterate()
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/
H A Dinspector.cpp114 inspectorServer_.CallRuntimeConsoleApiCalled(thread, type, timestamp, it->second.OnConsoleCall(arguments)); in ConsoleCall()
125 it->second.OnException(catchLocation.GetBytecodeOffset() == panda_file::INVALID_OFFSET); in Exception()
134 it->second.OnFramePop(); in FramePop()
143 if (it->second.OnMethodEntry()) { in MethodEntry()
169 it->second.OnSingleStep(location); in SingleStep()
195 it->second.BreakOnStart(); in ThreadStart()
237 it->second.Touch(); in RunIfWaitingForDebugger()
250 it->second.Pause(); in Pause()
263 it->second.Continue(); in Continue()
276 it->second in SetBreakpointsActive()
[all...]
H A Dsource_manager.cpp28 ScriptId id(p.first->second); in GetScriptId()
30 bool isNewForThread = knownSources_[thread].insert(id).second; in GetScriptId()
32 if (p.second) { in GetScriptId()
46 return it->second; in GetSourceFileName()
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
H A Dpgo_profiler_info.h280 entry.second->Clear(); in Clear()
328 methodNameSet.second.Clear(); in Clear()
354 if ((iter != methodInfoMap_.end()) && (iter->second.GetFirstMethodInfo() != nullptr)) { in GetTypeInfo()
355 iter->second.GetFirstMethodInfo()->GetPGOMethodTypeSet().GetTypeInfo(callback); in GetTypeInfo()
363 if ((iter != methodInfoMap_.end()) && (iter->second.GetMethodInfo(checksum) != nullptr)) { in GetTypeInfo()
364 return iter->second.GetMethodInfo(checksum)->GetPGOMethodTypeSet().GetTypeInfo(callback); in GetTypeInfo()
377 iter->second.SetMatch(); in MatchAndMarkMethod()
405 ASSERT(ret.second); in GetOrCreateMethodInfo()
408 return methodIter->second; in GetOrCreateMethodInfo()
417 auto ret = methodMap_.emplace(checksum, method.second in Merge()
[all...]
H A Dpgo_profiler_layout.cpp84 return iter->second; in GetHClassLayoutDesc()
93 return iter->second; in GetOrInsertHClassLayoutDesc()
113 rootLayout = iter->second; in DumpForRoot()
132 childLayout = iter->second; in DumpForChild()
168 auto parentLayoutDesc = transitionLayout_.find(parentType)->second; in UpdateForTransition()
169 auto childLayoutDesc = transitionLayout_.find(childType)->second; in UpdateForTransition()
184 PGOHandler oldHandler = desc.second; in InsertKeyAndDesc()
191 desc.second.SetPropertyMeta(handler.GetPropertyMeta()); in InsertKeyAndDesc()
197 desc.second.SetPropertyMeta(handler.GetPropertyMeta()); in InsertKeyAndDesc()
206 desc.second in InsertKeyAndDesc()
[all...]
/arkcompiler/ets_runtime/ecmascript/mem/
H A Dmem_controller_utils.cpp32 if (timeMs != 0 && a.second >= timeMs) { in CalculateAverageSpeed()
35 return std::make_pair(a.first + b.first, a.second + b.second); in CalculateAverageSpeed()
39 double durations = sum.second; in CalculateAverageSpeed()
/arkcompiler/ets_frontend/es2panda/parser/module/
H A DsourceTextModuleRecord.cpp30 return insertedRes.first->second; in AddModuleRequest()
117 const SourceTextModuleRecord::ExportEntry *e = entryUnit.second; in HasDuplicateExport()
139 ConvertLocalExportToIndirect(regularImport->second, exportEntry); in CheckImplicitIndirectExport()
150 if (range.first == range.second) { in CheckImplicitIndirectExport()
154 for (auto it = range.first; it != range.second; ++it) { in CheckImplicitIndirectExport()
155 SourceTextModuleRecord::ExportEntry *exportEntry = it->second; in CheckImplicitIndirectExport()
159 localExportEntries_.erase(range.first, range.second); in CheckImplicitIndirectExport()
183 for (auto local_iter = range.first; local_iter != range.second; local_iter++) { in AssignIndexToModuleVariable()
184 local_iter->second->SetAsConstant(); in AssignIndexToModuleVariable()
220 return it.second in GetModuleRequestIdx()
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/pgo_type/
H A Dpgo_type_manager.cpp24 for (auto &hclassIter : iter.second) { in Iterate()
25 v(Root::ROOT_VM, ObjectSlot(reinterpret_cast<uintptr_t>(&(hclassIter.second)))); in Iterate()
68 for (auto& child: root.second) { in GetSymbolCountFromHClassData()
69 if (!JSTaggedValue(child.second).IsJSHClass()) { in GetSymbolCountFromHClassData()
72 JSHClass* hclass = JSHClass::Cast(JSTaggedValue(child.second).GetTaggedObject()); in GetSymbolCountFromHClassData()
97 for (auto& child: root.second) { in GenSymbolInfo()
98 if (!JSTaggedValue(child.second).IsJSHClass()) { in GenSymbolInfo()
102 JSHClass* hclass = JSHClass::Cast(JSTaggedValue(child.second).GetTaggedObject()); in GenSymbolInfo()
133 count += root.second.size(); in GenHClassInfo()
142 for (auto& child: root.second) { in GenHClassInfo()
[all...]
/arkcompiler/ets_runtime/ecmascript/tests/
H A Dwaiter_list_test.cpp65 EXPECT_EQ(indexOneIter->second.pTail, listNode); in HWTEST_F_L0()
66 EXPECT_EQ(indexOneIter->second.pHead, listNode); in HWTEST_F_L0()
71 EXPECT_EQ(indexOneIter1->second.pTail, listNode); in HWTEST_F_L0()
72 EXPECT_EQ(indexOneIter1->second.pTail->next_, listNode); in HWTEST_F_L0()
73 EXPECT_EQ(indexOneIter1->second.pHead, listNode); in HWTEST_F_L0()
/arkcompiler/runtime_core/static_core/tools/sampler/
H A Dtrace_dumper.cpp39 pf = it->second.get(); in DumpTraces()
88 return it->second.at(fileId); in ResolveName()
116 auto isSuccessInsert = returnPair.second; in ResolveStream()
122 WriteThreadId(it->second, sample.threadInfo.threadId); in ResolveStream()
125 WriteThreadStatus(it->second, sample.threadInfo.threadStatus); in ResolveStream()
128 return it->second; in ResolveStream()

Completed in 11 milliseconds

12345678910>>...26