Lines Matching defs:jsPandaFile
32 void MethodLiteral::Initialize(const JSPandaFile *jsPandaFile, const JSThread *thread)
34 const panda_file::File *pf = jsPandaFile->GetPandaFile();
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)
99 if (UNLIKELY(jsPandaFile == nullptr)) {
103 auto [methodName, isASCII] = GetMethodNameView(jsPandaFile, methodId);
117 CString MethodLiteral::ParseFunctionNameToCString(const JSPandaFile *jsPandaFile, EntityId methodId)
119 if (jsPandaFile == nullptr) {
123 CString methodName(GetMethodName(jsPandaFile, methodId));
137 const char* MethodLiteral::GetMethodName(const JSPandaFile* jsPandaFile, EntityId methodId, bool cpuProfiler)
139 if (jsPandaFile == nullptr) {
142 return GetMethodNameView(jsPandaFile, methodId, cpuProfiler).first.data();
146 const JSPandaFile* jsPandaFile, EntityId methodId, bool cpuProfiler)
148 ASSERT(jsPandaFile != nullptr && "jsPandaFile is null");
150 return jsPandaFile->GetCpuProfilerMethodName(methodId);
152 return const_cast<JSPandaFile*>(jsPandaFile)->GetMethodName(methodId);
155 CString MethodLiteral::GetRecordName(const JSPandaFile *jsPandaFile, EntityId methodId)
157 if (jsPandaFile == nullptr) {
161 return const_cast<JSPandaFile *>(jsPandaFile)->GetRecordName(methodId);
164 const char *MethodLiteral::GetRecordNameWithSymbol(const JSPandaFile *jsPandaFile, EntityId methodId)
166 if (jsPandaFile == nullptr) {
170 const panda_file::File *pf = jsPandaFile->GetPandaFile();
176 uint32_t MethodLiteral::GetCodeSize(const JSPandaFile *jsPandaFile, EntityId methodId)
178 if (jsPandaFile == nullptr) {
182 const panda_file::File *pandaFile = jsPandaFile->GetPandaFile();
193 std::optional<std::set<uint32_t>> MethodLiteral::GetConcurrentRequestedModules(const JSPandaFile *jsPandaFile) const
195 ASSERT(jsPandaFile != nullptr);
196 const panda_file::File *pf = jsPandaFile->GetPandaFile();