Home
last modified time | relevance | path

Searched refs:id (Results 1 - 25 of 701) sorted by relevance

12345678910>>...29

/arkcompiler/runtime_core/static_core/runtime/coroutines/
H A Dcoroutine_stats.cpp29 void CoroutineStatsBase::StartInterval(CoroutineTimeStats id) in StartInterval() argument
34 LOG(DEBUG, COROUTINES) << "CoroutineStatsBase::StartInterval: " << ToIndex(id) << " Stats: " << this; in StartInterval()
35 ASSERT(!IsInInterval(id)); in StartInterval()
37 intervalStarts_[ToIndex(id)] = start; in StartInterval()
40 void CoroutineStatsBase::FinishInterval(CoroutineTimeStats id) in FinishInterval() argument
45 LOG(DEBUG, COROUTINES) << "CoroutineStatsBase::FinishInterval " << ToIndex(id) << " Stats: " << this; in FinishInterval()
46 ASSERT(IsInInterval(id)); in FinishInterval()
48 TimeMetricVal delay = end - intervalStarts_[ToIndex(id)]; in FinishInterval()
49 intervalStarts_[ToIndex(id)] = INVALID_TIME_METRIC_VAL; in FinishInterval()
50 auto &metric = timeStats_[ToIndex(id)]; in FinishInterval()
59 RecordTimeStatsValue(CoroutineTimeStats id, TimeMetricVal value) RecordTimeStatsValue() argument
65 RecordMemStatsValue(CoroutineMemStats id, MemMetricVal value) RecordMemStatsValue() argument
114 operator <<(std::ostream &os, CoroutineStatsBase::AggregateType id) operator <<() argument
[all...]
H A Dcoroutine_stats.h115 /// Scoped profiling: open an interval for the given metric id
116 void StartInterval(CoroutineTimeStats id);
117 /// Scoped profiling: close an interval for the given metric id
118 void FinishInterval(CoroutineTimeStats id);
119 /// Scoped profiling: check that an interval for the given metric id is active
120 bool IsInInterval(CoroutineTimeStats id) const;
122 void RecordTimeStatsValue(CoroutineTimeStats id, TimeMetricVal value);
124 void RecordMemStatsValue(CoroutineMemStats id, MemMetricVal value);
127 const SimpleHistogram<TimeMetricVal> &GetTimeStatValue(CoroutineTimeStats id) const;
128 /// obtain a summary string for the given time metric id
183 ScopedCoroutineStats(CoroutineStatsBase *stats, CoroutineTimeStats id, bool avoidNesting = false) ScopedCoroutineStats() argument
[all...]
/arkcompiler/runtime_core/static_core/libpandafile/
H A Dpanda_cache.h38 File::EntityId id; member
43 File::EntityId id; member
48 File::EntityId id; member
64 inline uint32_t GetMethodIndex(File::EntityId id) const in GetMethodIndex()
66 return ark::helpers::math::PowerOfTwoTableSlot(id.GetOffset(), methodCacheSize_); in GetMethodIndex()
69 inline uint32_t GetFieldIndex(File::EntityId id) const in GetFieldIndex()
72 return ark::helpers::math::PowerOfTwoTableSlot(id.GetOffset(), fieldCacheSize_, 2U); in GetFieldIndex()
75 inline uint32_t GetClassIndex(File::EntityId id) const in GetClassIndex()
77 return ark::helpers::math::PowerOfTwoTableSlot(id.GetOffset(), classCacheSize_); in GetClassIndex()
80 inline Method *GetMethodFromCache(File::EntityId id) cons
98 SetMethodCache(File::EntityId id, Method *method) SetMethodCache() argument
133 SetFieldCache(File::EntityId id, Field *field) SetFieldCache() argument
168 SetClassCache(File::EntityId id, Class *clazz) SetClassCache() argument
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dnative_inline_lowering.h60 void TryInlineTypedArrayIteratorBuiltin(GateRef gate, BuiltinsStubCSigns::ID id,
62 void TryInlineMathUnaryBuiltin(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, const GateMetaData* op,
64 void TryInlineMathBinaryBuiltin(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, const GateMetaData* op,
66 void TryInlineMathImulBuiltin(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, const GateMetaData* op,
68 void TryInlineGlobalFiniteBuiltin(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, const GateMetaData* op,
70 void TryInlineGlobalNanBuiltin(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, const GateMetaData* op,
72 void TryInlineMathMinMaxBuiltin(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, const GateMetaData* op,
76 void TryInlineArrayBufferIsView(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis);
77 void TryInlineBigIntAsIntN(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis);
78 void TryInlineDataViewGet(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, boo
[all...]
H A Dnative_inline_lowering.cpp81 BuiltinsStubCSigns::ID id = ctia.TryGetPGOBuiltinMethodId(); in RunNativeInlineLowering() local
82 if (IS_INVALID_ID(id) && id != BuiltinsStubCSigns::ID::BigIntConstructor) { in RunNativeInlineLowering()
85 switch (id) { in RunNativeInlineLowering()
120 TryInlineTypedArrayIteratorBuiltin(gate, id, circuit_->TypedArrayEntries(), skipThis); in RunNativeInlineLowering()
123 TryInlineTypedArrayIteratorBuiltin(gate, id, circuit_->TypedArrayKeys(), skipThis); in RunNativeInlineLowering()
126 TryInlineTypedArrayIteratorBuiltin(gate, id, circuit_->TypedArrayValues(), skipThis); in RunNativeInlineLowering()
129 TryInlineArrayIterator(gate, id, skipThis); in RunNativeInlineLowering()
132 TryInlineArrayIterator(gate, id, skipThis); in RunNativeInlineLowering()
135 TryInlineArrayIterator(gate, id, skipThi in RunNativeInlineLowering()
405 AddTraceLogs(GateRef gate, BuiltinsStubCSigns::ID id) AddTraceLogs() argument
621 auto id = BuiltinsStubCSigns::ID::NumberIsInteger; TryInlineNumberIsInteger() local
658 auto id = BuiltinsStubCSigns::ID::NumberParseFloat; TryInlineNumberParseFloat() local
680 auto id = BuiltinsStubCSigns::ID::NumberParseInt; TryInlineNumberParseInt() local
701 auto id = BuiltinsStubCSigns::ID::NumberIsSafeInteger; TryInlineNumberIsSafeInteger() local
713 TryInlineBigIntAsIntN(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineBigIntAsIntN() argument
737 TryInlineTypedArrayIteratorBuiltin(GateRef gate, BuiltinsStubCSigns::ID id, const GateMetaData* op, bool skipThis) TryInlineTypedArrayIteratorBuiltin() argument
760 TryInlineMathUnaryBuiltin(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, const GateMetaData* op, bool skipThis) TryInlineMathUnaryBuiltin() argument
782 TryInlineWhitoutParamBuiltin(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, const GateMetaData* op, bool skipThis) TryInlineWhitoutParamBuiltin() argument
842 TryInlineGlobalFiniteBuiltin(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, const GateMetaData* op, bool skipThis) TryInlineGlobalFiniteBuiltin() argument
862 TryInlineGlobalNanBuiltin(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, const GateMetaData* op, bool skipThis) TryInlineGlobalNanBuiltin() argument
882 TryInlineMathImulBuiltin(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, const GateMetaData* op, bool skipThis) TryInlineMathImulBuiltin() argument
904 TryInlineMathBinaryBuiltin(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, const GateMetaData* op, bool skipThis) TryInlineMathBinaryBuiltin() argument
926 TryInlineMathMinMaxBuiltin(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, const GateMetaData* op, double defaultValue, bool skipThis) TryInlineMathMinMaxBuiltin() argument
955 TryInlineArrayBufferIsView(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineArrayBufferIsView() argument
976 TryInlineDataViewGet(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineDataViewGet() argument
1009 TryInlineDataViewSet(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineDataViewSet() argument
1047 InlineStubBuiltin(GateRef gate, size_t builtinArgc, size_t realArgc, BuiltinsStubCSigns::ID id, const GateMetaData* op, bool skipThis) InlineStubBuiltin() argument
1093 auto id = BuiltinsStubCSigns::ID::BigIntConstructor; TryInlineBigIntConstructor() local
1135 TryInlineObjectIs(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineObjectIs() argument
1158 TryInlineObjectGetPrototypeOf(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineObjectGetPrototypeOf() argument
1181 TryInlineObjectGetProto(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineObjectGetProto() argument
1201 TryInlineObjectCreate(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineObjectCreate() argument
1223 TryInlineObjectIsPrototypeOf(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineObjectIsPrototypeOf() argument
1245 TryInlineObjectHasOwnProperty(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineObjectHasOwnProperty() argument
1267 TryInlineReflectGetPrototypeOf(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineReflectGetPrototypeOf() argument
1290 TryInlineReflectGet(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineReflectGet() argument
1317 TryInlineReflectHas(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineReflectHas() argument
1340 TryInlineReflectConstruct(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineReflectConstruct() argument
1376 TryInlineReflectApply(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineReflectApply() argument
1402 TryInlineFunctionPrototypeApply(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineFunctionPrototypeApply() argument
1425 TryInlineFunctionPrototypeBind(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineFunctionPrototypeBind() argument
1447 TryInlineFunctionPrototypeCall(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineFunctionPrototypeCall() argument
1471 TryInlineFunctionPrototypeHasInstance(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineFunctionPrototypeHasInstance() argument
1493 TryInlineIndexOfIncludes(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineIndexOfIncludes() argument
1528 TryInlineArrayIterator(GateRef gate, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineArrayIterator() argument
1549 TryInlineArrayForEach(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineArrayForEach() argument
1584 TryInlineArrayFindOrFindIndex(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineArrayFindOrFindIndex() argument
1626 TryInlineArrayFilter(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineArrayFilter() argument
1663 TryInlineArrayMap(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineArrayMap() argument
1700 TryInlineArraySome(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineArraySome() argument
1735 TryInlineArrayEvery(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineArrayEvery() argument
1770 TryInlineArrayPop(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineArrayPop() argument
1791 TryInlineArraySlice(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineArraySlice() argument
1826 TryInlineArraySort(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineArraySort() argument
[all...]
/arkcompiler/runtime_core/libpandafile/
H A Dpanda_cache.h64 inline uint32_t GetMethodIndex(File::EntityId id) const in GetMethodIndex()
66 return panda::helpers::math::PowerOfTwoTableSlot(id.GetOffset(), METHOD_CACHE_SIZE); in GetMethodIndex()
69 inline uint32_t GetFieldIndex(File::EntityId id) const in GetFieldIndex()
72 return panda::helpers::math::PowerOfTwoTableSlot(id.GetOffset(), FIELD_CACHE_SIZE, 2U); in GetFieldIndex()
75 inline uint32_t GetClassIndex(File::EntityId id) const in GetClassIndex()
77 return panda::helpers::math::PowerOfTwoTableSlot(id.GetOffset(), CLASS_CACHE_SIZE); in GetClassIndex()
80 inline Method *GetMethodFromCache(File::EntityId id) const in GetMethodFromCache()
82 uint32_t index = GetMethodIndex(id); in GetMethodFromCache()
88 if (pair.id_ == id) { in GetMethodFromCache()
94 inline void SetMethodCache(File::EntityId id, Metho argument
121 SetFieldCache(File::EntityId id, Field *field) SetFieldCache() argument
148 SetClassCache(File::EntityId id, Class *clazz) SetClassCache() argument
[all...]
/arkcompiler/ets_runtime/ecmascript/
H A Dglobal_index.h35 int id = static_cast<int>(GlobalConstBits::Decode(index_)); in GetGlobalConstId() local
36 return id - 1; in GetGlobalConstId()
39 void UpdateGlobalConstId(size_t id) in UpdateGlobalConstId() argument
41 index_ = GlobalConstBits::Update(index_, id + 1); in UpdateGlobalConstId()
51 int id = static_cast<int>(GlobalEnvBits::Decode(index_)); in GetGlobalEnvId() local
52 return id - 1; in GetGlobalEnvId()
55 void UpdateGlobalEnvId(size_t id) in UpdateGlobalEnvId() argument
57 index_ = GlobalEnvBits::Update(index_, id + 1); in UpdateGlobalEnvId()
67 int id = static_cast<int>(BuiltinEntriesBits::Decode(index_)); in GetBuiltinEntriesId() local
68 return id in GetBuiltinEntriesId()
71 UpdateBuiltinEntriesId(size_t id) UpdateBuiltinEntriesId() argument
[all...]
/arkcompiler/toolchain/tooling/client/domain/
H A Druntime_client.cpp51 uint32_t id = session->GetMessageId(); in HeapusageCommand() local
53 idMethodMap_[id] = std::make_tuple("getHeapUsage", ""); in HeapusageCommand()
55 request->Add("id", id); in HeapusageCommand()
63 session->GetDomainManager().SetDomainById(id, "Runtime"); in HeapusageCommand()
71 uint32_t id = session->GetMessageId(); in RuntimeEnableCommand() local
73 idMethodMap_[id] = std::make_tuple("enable", ""); in RuntimeEnableCommand()
75 request->Add("id", id); in RuntimeEnableCommand()
83 session->GetDomainManager().SetDomainById(id, "Runtim in RuntimeEnableCommand()
91 uint32_t id = session->GetMessageId(); RuntimeDisableCommand() local
111 uint32_t id = session->GetMessageId(); RunIfWaitingForDebuggerCommand() local
133 uint32_t id = session->GetMessageId(); GetPropertiesCommand() local
157 uint32_t id = session->GetMessageId(); GetPropertiesCommand2() local
207 GetMethodById(const int &id) GetMethodById() argument
216 GetRequestObjectIdById(const int &id) GetRequestObjectIdById() argument
225 HandleGetProperties(std::unique_ptr<PtJson> json, const int &id) HandleGetProperties() argument
[all...]
H A Dheapprofiler_client.cpp57 uint32_t id = session->GetMessageId(); in HeapDumpCommand() local
59 idEventMap_.emplace(id, HEAPDUMP); in HeapDumpCommand()
61 request->Add("id", id); in HeapDumpCommand()
72 session->GetDomainManager().SetDomainById(id, "HeapProfiler"); in HeapDumpCommand()
80 uint32_t id = session->GetMessageId(); in AllocationTrackCommand() local
82 idEventMap_.emplace(id, ALLOCATION); in AllocationTrackCommand()
84 request->Add("id", id); in AllocationTrackCommand()
93 session->GetDomainManager().SetDomainById(id, "HeapProfile in AllocationTrackCommand()
101 uint32_t id = session->GetMessageId(); AllocationTrackStopCommand() local
122 uint32_t id = session->GetMessageId(); Enable() local
142 uint32_t id = session->GetMessageId(); Disable() local
162 uint32_t id = session->GetMessageId(); Samping() local
183 uint32_t id = session->GetMessageId(); SampingStop() local
203 uint32_t id = session->GetMessageId(); CollectGarbage() local
[all...]
/arkcompiler/runtime_core/static_core/libpandafile/tests/
H A Dpanda_cache_test.cpp34 static int id = 1; in GetNewMockPointer() local
35 return reinterpret_cast<void *>(id++); in GetNewMockPointer()
116 EntityId id(i); in RunWriter()
118 SetElement(id, m); in RunWriter()
119 ASSERT_EQ(GetElement(id), m); in RunWriter()
126 EntityId id(i); in RunReader()
127 auto *m = GetElement(id); in RunReader()
129 m = GetElement(id); in RunReader()
139 virtual ElementMock *GetElement(EntityId id) = 0;
140 virtual void SetElement(EntityId id, ElementMoc
[all...]
/arkcompiler/runtime_core/static_core/verification/config/context/
H A Dcontext.h69 std::array<Synchronized<PandaUnorderedSet<Method::UniqId>>, static_cast<size_t>(WhitelistKind::LAST)> id; member
83 bool SkipVerification(Method::UniqId id) const in SkipVerification()
85 return InWhitelist(WhitelistKind::METHOD, id) || InWhitelist(WhitelistKind::CLASS, id); in SkipVerification()
88 bool SkipVerificationOfCall(Method::UniqId id) const in SkipVerificationOfCall()
90 return InWhitelist(WhitelistKind::METHOD_CALL, id) || InWhitelist(WhitelistKind::CLASS, id); in SkipVerificationOfCall()
95 void InsertBreakpoints(PandaString const &methodName, Method::UniqId id);
97 void InsertBreakpoints([[maybe_unused]] PandaString const &methodName, [[maybe_unused]] Method::UniqId id) {} in InsertBreakpoints()
100 void InsertIntoWhitelist(const PandaString &name, bool isClassName, Method::UniqId id);
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_phase/include/
H A Dmaple_phase.h27 MaplePhase(MaplePhaseKind kind, MaplePhaseID id, MemPool &mp) in MaplePhase() argument
28 : phaseAllocator(&mp), phaseKind(kind), phaseID(id), tempMemPools(phaseAllocator.Adapter()) in MaplePhase()
46 void SetPhaseID(MaplePhaseID id) in SetPhaseID() argument
48 phaseID = id; in SetPhaseID()
78 MapleModulePhase(MaplePhaseID id, MemPool *mp) : MaplePhase(kModulePhase, id, *mp) {} in MapleModulePhase() argument
87 MapleFunctionPhase(MaplePhaseID id, MemPool *mp) : MaplePhase(kFunctionPhase, id, *mp) {} in MapleFunctionPhase() argument
95 MapleSccPhase(MaplePhaseID id, MemPool *mp) : MaplePhase(kSccPhase, id, *m argument
[all...]
/arkcompiler/ets_frontend/ets2panda/util/
H A Dlanguage.h39 constexpr explicit Language(Id id) : id_(id) {} in Language() argument
43 for (auto [id, name, _] : ID_TABLE) { in ToString()
44 if (id_ == id) { in ToString()
54 for (auto [id, name, _] : ID_TABLE) { in FromString()
56 return Language(id); in FromString()
70 for (auto [id, _, isDynamic] : ID_TABLE) { in IsDynamic()
71 if (id_ == id) { in IsDynamic()
106 return std::apply([](auto... id) { return std::array<Language, COUNT> {Language(id) in All()
[all...]
/arkcompiler/ets_runtime/ecmascript/platform/common/
H A Dffrt.cpp28 ThreadId id = ffrt_this_task_get_id(); in GetCurrentThreadOrTaskId() local
29 if (id != 0) { in GetCurrentThreadOrTaskId()
30 return id; in GetCurrentThreadOrTaskId()
42 // If the current task id is zero, in GetThreadIdOrCachedTaskId()
43 // ffrt_get_cur_cached_task_id() returns the id of the last task that ran in this thread in GetThreadIdOrCachedTaskId()
44 ThreadId id = ffrt_get_cur_cached_task_id(); in GetThreadIdOrCachedTaskId() local
45 if (id != 0) { in GetThreadIdOrCachedTaskId()
46 return id; in GetThreadIdOrCachedTaskId()
/arkcompiler/toolchain/tooling/test/
H A Ddebugger_params_test.cpp80 msg = std::string() + R"({"id":0,"method":"Debugger.Test"})"; in HWTEST_F_L0()
85 msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{}})"; in HWTEST_F_L0()
89 msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{"location":10, in HWTEST_F_L0()
94 msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{"location":{"scriptId":"2", "lineNumber":3, in HWTEST_F_L0()
116 msg = std::string() + R"({"id":0,"method":"Debugger.Test"})"; in HWTEST_F_L0()
121 msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{}})"; in HWTEST_F_L0()
126 msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{"active":true}})"; in HWTEST_F_L0()
143 msg = std::string() + R"({"id":0,"method":"Debugger.Test"})"; in HWTEST_F_L0()
148 msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{}})"; in HWTEST_F_L0()
152 msg = std::string() + R"({"id" in HWTEST_F_L0()
[all...]
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/connection/
H A Dendpoint_base.cpp41 auto id = request.GetValue<JsonObject::NumT>("id"); in HandleMessage() local
54 id != nullptr ? std::make_optional(*id) : std::nullopt, in HandleMessage()
60 if (id == nullptr) { in HandleMessage()
61 LOG(INFO, DEBUGGER) << "Response object with no \"id\": " << message; in HandleMessage()
65 if (auto handler = resultHandlers_.extract(*id)) { in HandleMessage()
73 void EndpointBase::Call(const std::string &sessionId, std::optional<Id> id, const char *method, in Call() argument
76 Send([&sessionId, id, method, &params](JsonObjectBuilder &call) { in Call()
77 if (id) { in Call()
[all...]
/arkcompiler/runtime_core/static_core/libpandafile/external/
H A Dfile_ext.cpp31 ark::panda_file::File::EntityId id; member
56 if (it != methodSymbols_.end() && offset >= it->second.id.GetOffset()) { in QueryMethodSymByOffset()
67 entry.id = mda.GetCodeId().value(); in QueryMethodSymByOffset()
79 for (uint32_t id : pandaFile_->GetClasses()) { in QueryMethodSymByOffset()
80 if (pandaFile_->IsExternal(ark::panda_file::File::EntityId(id))) { in QueryMethodSymByOffset()
84 ark::panda_file::ClassDataAccessor cda {*pandaFile_, ark::panda_file::File::EntityId(id)}; in QueryMethodSymByOffset()
90 ark::panda_file::ext::MethodSymEntry *EnumerateAllMethods(uint32_t id, uint64_t offset, in EnumerateAllMethods()
93 ark::panda_file::ClassDataAccessor cda {*pandaFile_, ark::panda_file::File::EntityId(id)}; in EnumerateAllMethods()
98 entry.id = mda.GetCodeId().value(); in EnumerateAllMethods()
109 found->id in EnumerateAllMethods()
[all...]
/arkcompiler/runtime_core/assembler/
H A Dcontext.cpp37 id = this->tokens[number - 1].type; in Make()
109 signop = id; in UpSignOperation()
134 Token::Type last_id = id; in operator ++()
139 id = this->tokens[number - 1].type; in operator ++()
155 id = this->tokens[number - 1].type; in operator ++()
163 return id; in operator ++()
169 Token::Type last_id = id; in operator --()
176 id = this->tokens[number - 1].type; in operator --()
194 id = this->tokens[number - 1].type; in operator --()
202 return id; in operator --()
[all...]
/arkcompiler/runtime_core/static_core/assembler/
H A Dcontext.cpp37 id = this->tokens[number - 1].type; in Make()
114 signop = id; in UpSignOperation()
139 Token::Type lastId = id; in operator ++()
144 id = this->tokens[number - 1].type; in operator ++()
160 id = this->tokens[number - 1].type; in operator ++()
168 return id; in operator ++()
174 Token::Type lastId = id; in operator --()
181 id = this->tokens[number - 1].type; in operator --()
199 id = this->tokens[number - 1].type; in operator --()
207 return id; in operator --()
[all...]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/objects_passing/
H A Dobjects_passing.js64 function TestUserClass(name, age, id, education, description) {
67 this.id = id;
72 return 'Name: '.concat(this.name, ', Age: ').concat(this.age, ', ID: ').concat(this.id, ', Description: ').concat(this.description);
75 return 'ID: '.concat(this.id);
86 return this.id;
96 id: 555,
129 let testInnerObject = { id: 123 };
130 exports.testOuterObject = { id: 456, testInnerObject: testInnerObject };
132 return obj.testInnerObject.id;
[all...]
/arkcompiler/runtime_core/compiler/optimizer/ir/
H A Dlocations.h168 static Location MakeRegister(size_t id) in MakeRegister() argument
170 return Location(Kind::REGISTER, id); in MakeRegister()
173 static Location MakeFpRegister(size_t id) in MakeFpRegister() argument
175 return Location(Kind::FP_REGISTER, id); in MakeFpRegister()
178 static Location MakeRegister(size_t id, DataType::Type type) in MakeRegister() argument
180 return DataType::IsFloatType(type) ? MakeFpRegister(id) : MakeRegister(id); in MakeRegister()
183 static Location MakeStackSlot(size_t id) in MakeStackSlot() argument
185 return Location(Kind::STACK, id); in MakeStackSlot()
188 static Location MakeStackArgument(size_t id) in MakeStackArgument() argument
193 MakeStackParameter(size_t id) MakeStackParameter() argument
[all...]
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/
H A Dlocations.h169 static Location MakeRegister(size_t id) in MakeRegister() argument
171 return Location(Kind::REGISTER, id); in MakeRegister()
174 static Location MakeFpRegister(size_t id) in MakeFpRegister() argument
176 return Location(Kind::FP_REGISTER, id); in MakeFpRegister()
179 static Location MakeRegister(size_t id, DataType::Type type) in MakeRegister() argument
181 return DataType::IsFloatType(type) ? MakeFpRegister(id) : MakeRegister(id); in MakeRegister()
184 static Location MakeStackSlot(size_t id) in MakeStackSlot() argument
186 return Location(Kind::STACK, id); in MakeStackSlot()
189 static Location MakeStackArgument(size_t id) in MakeStackArgument() argument
194 MakeStackParameter(size_t id) MakeStackParameter() argument
[all...]
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/
H A Dets_taskpool.cpp50 size_t Taskpool::DecrementTaskCounter(EtsLong id, PandaUnorderedMap<EtsLong, size_t> &tasks) in DecrementTaskCounter() argument
52 auto taskIter = tasks.find(id); in DecrementTaskCounter()
61 bool Taskpool::MoveTaskFromWaitingToRunning(EtsLong id, PandaUnorderedMap<EtsLong, size_t> &waitingTasks, in MoveTaskFromWaitingToRunning() argument
65 auto waitingTasksAfterDecrementation = DecrementTaskCounter(id, waitingTasks); in MoveTaskFromWaitingToRunning()
66 if (idsToBeCanceled.find(id) != idsToBeCanceled.end()) { in MoveTaskFromWaitingToRunning()
67 if ((waitingTasksAfterDecrementation == 0) && (runningTasks.find(id) == runningTasks.end())) { in MoveTaskFromWaitingToRunning()
68 idsToBeCanceled.erase(id); in MoveTaskFromWaitingToRunning()
72 runningTasks[id]++; in MoveTaskFromWaitingToRunning()
90 bool Taskpool::RemoveTaskFromRunning(EtsLong id, PandaUnorderedMap<EtsLong, size_t> &runningTasks, in RemoveTaskFromRunning() argument
94 auto runningTasksAfterDecrementation = DecrementTaskCounter(id, runningTask in RemoveTaskFromRunning()
[all...]
/arkcompiler/toolchain/tooling/client/manager/
H A Dwatch_manager.cpp32 uint32_t id = session->GetMessageId(); in SendRequestWatch() local
33 watchInfoMap_.emplace(id, watchInfoIndex); in SendRequestWatch()
36 request->Add("id", id); in SendRequestWatch()
53 session->GetDomainManager().SetDomainById(id, "Debugger"); in SendRequestWatch()
61 uint32_t id = session->GetMessageId(); in GetPropertiesCommand() local
62 watchInfoMap_.emplace(id, watchInfoIndex); in GetPropertiesCommand()
65 request->Add("id", id); in GetPropertiesCommand()
77 session->GetDomainManager().SetDomainById(id, "Debugge in GetPropertiesCommand()
122 SetWatchInfoMap(const int &id, const int &index) SetWatchInfoMap() argument
127 HandleWatchResult(const std::unique_ptr<PtJson> &json, int32_t id) HandleWatchResult() argument
154 ShowWatchResult(const std::unique_ptr<PtJson> &result, int32_t id) ShowWatchResult() argument
232 ShowWatchResult2(const int &id, const std::unique_ptr<PtJson> &result) ShowWatchResult2() argument
[all...]
/arkcompiler/runtime_core/static_core/disassembler/tests/
H A Dextractor_test.cpp48 ark::disasm::DisasmBackedDebugInfoExtractor extractor(*pf, [&methodId, &sourceName](auto id, auto sn) { in TEST()
49 methodId = id; in TEST()
56 auto id = idList[0]; in TEST() local
57 ASSERT_NE(extractor.GetSourceCode(id), nullptr); in TEST()
59 ASSERT_EQ(id, methodId); in TEST()
60 ASSERT_EQ(extractor.GetSourceFile(id), sourceName); in TEST()
62 auto lineTable = extractor.GetLineNumberTable(id); in TEST()

Completed in 11 milliseconds

12345678910>>...29