Lines Matching defs:methodId
26 MethodLiteral::MethodLiteral(EntityId methodId)
28 ASSERT(methodId.IsValid());
29 SetMethodId(methodId);
35 EntityId methodId = GetMethodId();
36 panda_file::MethodDataAccessor mda(*pf, methodId);
89 std::string MethodLiteral::ParseFunctionName(const JSPandaFile* jsPandaFile, EntityId methodId)
91 std::string_view methodName = ParseFunctionNameView(jsPandaFile, methodId).first;
97 const JSPandaFile* jsPandaFile, EntityId methodId)
103 auto [methodName, isASCII] = GetMethodNameView(jsPandaFile, methodId);
117 CString MethodLiteral::ParseFunctionNameToCString(const JSPandaFile *jsPandaFile, EntityId methodId)
123 CString methodName(GetMethodName(jsPandaFile, methodId));
137 const char* MethodLiteral::GetMethodName(const JSPandaFile* jsPandaFile, EntityId methodId, bool cpuProfiler)
142 return GetMethodNameView(jsPandaFile, methodId, cpuProfiler).first.data();
146 const JSPandaFile* jsPandaFile, EntityId methodId, bool cpuProfiler)
150 return jsPandaFile->GetCpuProfilerMethodName(methodId);
152 return const_cast<JSPandaFile*>(jsPandaFile)->GetMethodName(methodId);
155 CString MethodLiteral::GetRecordName(const JSPandaFile *jsPandaFile, EntityId methodId)
161 return const_cast<JSPandaFile *>(jsPandaFile)->GetRecordName(methodId);
164 const char *MethodLiteral::GetRecordNameWithSymbol(const JSPandaFile *jsPandaFile, EntityId methodId)
171 panda_file::MethodDataAccessor mda(*pf, methodId);
176 uint32_t MethodLiteral::GetCodeSize(const JSPandaFile *jsPandaFile, EntityId methodId)
183 panda_file::MethodDataAccessor mda(*pandaFile, methodId);
197 EntityId methodId = GetMethodId();
198 panda_file::MethodDataAccessor mda(*pf, methodId);