Home
last modified time | relevance | path

Searched refs:patchMethodIndex (Results 1 – 2 of 2) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/patch/
Dpatch_loader.h57 std::size_t operator()(const PatchMethodIndex &patchMethodIndex) const in operator()
59 return std::hash<CString>{}(patchMethodIndex.recordName) ^ in operator()
60 …std::hash<CString>{}(patchMethodIndex.className) ^ std::hash<CString>{}(patchMethodIndex.methodNam… in operator()
64 bool operator==(const PatchMethodIndex &patchMethodIndex) const
66 … return recordName == patchMethodIndex.recordName && className == patchMethodIndex.className &&
67 methodName == patchMethodIndex.methodName;
Dpatch_loader.cpp458 PatchMethodIndex patchMethodIndex = {baseRecordName, baseClassName, baseMethodName}; in FindSameMethod() local
459 auto methodIter = patchMethodLiterals.find(patchMethodIndex); in FindSameMethod()
506 PatchMethodIndex patchMethodIndex = {recordName, className, methodName}; in GeneratePatchInfo() local
507 if (patchMethodLiterals.find(patchMethodIndex) == patchMethodLiterals.end()) { in GeneratePatchInfo()
508 patchMethodLiterals.emplace(patchMethodIndex, methodLiteral); in GeneratePatchInfo()