Home
last modified time | relevance | path

Searched refs:jsMethod (Results 1 - 5 of 5) sorted by relevance

/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/ets_proxy/
H A Dets_proxy.cpp45 napi_value jsMethod; in GetETSFunction() local
46 const napi_status resolveStatus = napi_get_named_property(env, jsClass, methodName.data(), &jsMethod); in GetETSFunction()
47 if (UNLIKELY(napi_ok != resolveStatus || GetValueType(env, jsMethod) != napi_function)) { in GetETSFunction()
53 NAPI_CHECK_FATAL(NapiObjectSeal(env, jsMethod)); in GetETSFunction()
54 return jsMethod; in GetETSFunction()
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
H A Dpgo_profiler_info.cpp173 bool PGOMethodInfoMap::AddMethod(Chunk *chunk, Method *jsMethod, SampleMode mode) in AddMethod() argument
175 PGOMethodId methodId(jsMethod->GetMethodId()); in AddMethod()
183 CString methodName = jsMethod->GetMethodName(); in AddMethod()
194 auto checksum = PGOMethodInfo::CalcChecksum(jsMethod->GetMethodName(), jsMethod->GetBytecodeArray(), in AddMethod()
195 jsMethod->GetCodeSize()); in AddMethod()
584 bool PGORecordDetailInfos::AddMethod(ProfileType recordProfileType, Method *jsMethod, SampleMode mode) in AddMethod() argument
588 ASSERT(jsMethod != nullptr); in AddMethod()
589 return curMethodInfos->AddMethod(chunk_.get(), jsMethod, mode); in AddMethod()
H A Dpgo_profiler.cpp1941 ApEntityId PGOProfiler::GetMethodAbcId(JSTaggedValue jsMethod) in GetMethodAbcId() argument
1943 ASSERT(jsMethod.IsMethod()); in GetMethodAbcId()
1946 const auto *pf = Method::Cast(jsMethod)->GetJSPandaFile(); in GetMethodAbcId()
1959 auto jsMethod = jsFunction->GetMethod(); in GetMethodAbcId() local
1960 if (jsMethod.IsMethod()) { in GetMethodAbcId()
1961 return GetMethodAbcId(jsMethod); in GetMethodAbcId()
1970 auto jsMethod = jsFunction->GetMethod(); in GetRecordProfileType() local
1971 if (jsMethod.IsMethod()) { in GetRecordProfileType()
1972 const auto *pf = Method::Cast(jsMethod)->GetJSPandaFile(); in GetRecordProfileType()
H A Dpgo_profiler_info.h286 bool AddMethod(Chunk *chunk, Method *jsMethod, SampleMode mode);
471 bool AddMethod(ProfileType recordProfileType, Method *jsMethod, SampleMode mode);
H A Dpgo_profiler.h338 static ApEntityId PUBLIC_API GetMethodAbcId(JSTaggedValue jsMethod);

Completed in 9 milliseconds