/arkcompiler/ets_runtime/ecmascript/ |
D | transitions_dictionary.h | 40 …static inline bool IsMatch(const JSTaggedValue &key, const JSTaggedValue &metaData, const JSTagged… in IsMatch() argument 43 return key == otherKey && metaData == otherDetails; in IsMatch() 46 static inline int Hash(const JSTaggedValue &key, const JSTaggedValue &metaData) in Hash() argument 56 … int metaDataHash = metaData.IsInt() ? metaData.GetInt() : static_cast<int>(metaData.GetRawData()); in Hash() 102 inline void SetAttributes(const JSThread *thread, int entry, JSTaggedValue metaData) in SetAttributes() argument 105 HashTableT::Set(thread, index, metaData); in SetAttributes() 109 const JSTaggedValue &metaData) in SetEntry() argument 114 if (!metaData.IsHeapObject()) { in SetEntry() 115 SetAttributes(thread, entry, metaData); in SetEntry() 118 JSTaggedValue weakMetaData = JSTaggedValue(metaData.CreateAndGetWeakRef()); in SetEntry() [all …]
|
D | tagged_dictionary.cpp | 202 …ameDictionary::SetAttributes(const JSThread *thread, int entry, const PropertyAttributes &metaData) in SetAttributes() argument 205 Set(thread, index, metaData.GetTaggedValue()); in SetAttributes() 209 const PropertyAttributes &metaData) in SetEntry() argument 213 SetAttributes(thread, entry, metaData); in SetEntry() 217 const PropertyAttributes &metaData) in UpdateValueAndAttributes() argument 220 SetAttributes(thread, entry, metaData); in UpdateValueAndAttributes() 231 PropertyAttributes metaData; in ClearEntry() local 232 SetEntry(thread, entry, hole, hole, metaData); in ClearEntry() 378 …berDictionary::SetAttributes(const JSThread *thread, int entry, const PropertyAttributes &metaData) in SetAttributes() argument 381 Set(thread, index, metaData.GetTaggedValue()); in SetAttributes() [all …]
|
D | tagged_dictionary.h | 53 void SetAttributes(const JSThread *thread, int entry, const PropertyAttributes &metaData); 55 const PropertyAttributes &metaData); 57 const PropertyAttributes &metaData); 59 void UpdateAttributes(int entry, const PropertyAttributes &metaData); 116 void SetAttributes(const JSThread *thread, int entry, const PropertyAttributes &metaData); 118 const JSTaggedValue &value, const PropertyAttributes &metaData); 120 const PropertyAttributes &metaData); 122 void UpdateAttributes(int entry, const PropertyAttributes &metaData);
|
D | global_dictionary-inl.h | 78 PropertyAttributes metaData; in ClearEntry() local 79 SetEntry(thread, entry, hole, hole, metaData); in ClearEntry() 83 const PropertyAttributes &metaData) in UpdateValueAndAttributes() argument 86 SetAttributes(thread, entry, metaData); in UpdateValueAndAttributes() 89 …balDictionary::SetAttributes(const JSThread *thread, int entry, const PropertyAttributes &metaData) in SetAttributes() argument 92 Set(thread, index, metaData.GetTaggedValue()); in SetAttributes()
|
D | global_dictionary.h | 71 const PropertyAttributes &metaData); 75 … inline void SetAttributes(const JSThread *thread, int entry, const PropertyAttributes &metaData);
|
D | tagged_hash_table.h | 413 const PropertyAttributes &metaData) in PutIfAbsent() argument 422 PropertyAttributes attr(metaData); in PutIfAbsent() 440 const PropertyAttributes &metaData) in Put() argument 443 PropertyAttributes attr(metaData); in Put() 446 attr.SetDictTrackType(metaData.GetTrackType()); in Put()
|
D | js_hclass-inl.h | 152 const PropertyAttributes &metaData) in UpdatePropertyMetaData() argument 158 uint32_t entry = metaData.GetOffset(); in UpdatePropertyMetaData() 160 layoutInfo->SetNormalAttr(thread, entry, metaData); in UpdatePropertyMetaData()
|
D | js_hclass.cpp | 41 … const JSHandle<JSTaggedValue> &metaData) in PutIfAbsent() argument 43 int hash = TransitionsDictionary::Hash(key.GetTaggedValue(), metaData.GetTaggedValue()); in PutIfAbsent() 46 int entry = dictionary->FindEntry(key.GetTaggedValue(), metaData.GetTaggedValue()); in PutIfAbsent() 60 newDictionary->SetEntry(thread, entry, key.GetTaggedValue(), val, metaData.GetTaggedValue()); in PutIfAbsent() 66 int TransitionsDictionary::FindEntry(const JSTaggedValue &key, const JSTaggedValue &metaData) in FindEntry() argument 70 int32_t hash = TransitionsDictionary::Hash(key, metaData); in FindEntry() 81 …if (TransitionsDictionary::IsMatch(key, metaData, element, GetAttributes(entry).GetWeakRawValue())… in FindEntry() 91 const JSTaggedValue &metaData) in Remove() argument 93 int entry = table->FindEntry(key.GetTaggedValue(), metaData); in Remove()
|
D | js_object.h | 263 explicit PropertyMetaData(uint32_t metaData) : metaData_(metaData) {} in PropertyMetaData() argument 320 OperationResult(const JSThread *thread, JSTaggedValue value, PropertyMetaData metaData) in OperationResult() argument 321 : metaData_(metaData) in OperationResult()
|
D | js_hclass.h | 451 const PropertyAttributes &metaData);
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | transitions_dictionary_test.cpp | 58 JSHandle<JSTaggedValue> metaData(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0() local 60 bool result = TransitionsDictionary::IsMatch(key.GetTaggedValue(), metaData.GetTaggedValue(), in HWTEST_F_L0() 64 result = TransitionsDictionary::IsMatch(key.GetTaggedValue(), metaData.GetTaggedValue(), in HWTEST_F_L0() 65 key.GetTaggedValue(), metaData.GetTaggedValue()); in HWTEST_F_L0() 130 JSHandle<JSTaggedValue> metaData(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0() local 137 TransitionsDictionary::PutIfAbsent(thread, transDic, key, value, metaData); in HWTEST_F_L0() 164 JSHandle<JSTaggedValue> metaData(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0() local 170 …transDic->SetEntry(thread, index, key.GetTaggedValue(), value.GetTaggedValue(), metaData.GetTagged… in HWTEST_F_L0() 181 JSHandle<JSTaggedValue> metaData(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0() local 187 transDic = TransitionsDictionary::PutIfAbsent(thread, transDic, key, value, metaData); in HWTEST_F_L0() [all …]
|
D | tagged_dictionary_test.cpp | 144 PropertyAttributes metaData; in HWTEST_F_L0() local 146 … dictHandle = NameDictionary::PutIfAbsent(thread, tempHandle, keyHandle, valueHandle, metaData); in HWTEST_F_L0() 174 PropertyAttributes metaData; in HWTEST_F_L0() local 176 …le<NameDictionary> newDict = NameDictionary::PutIfAbsent(thread, dictHandle, key, value, metaData); in HWTEST_F_L0() 272 PropertyAttributes metaData; in HWTEST_F_L0() local 273 … dictHandle = NumberDictionary::PutIfAbsent(thread, tempHandle, keyHandle, valueHandle, metaData); in HWTEST_F_L0() 303 PropertyAttributes metaData; in HWTEST_F_L0() local 305 … dictHandle = NumberDictionary::PutIfAbsent(thread, tempHandle, keyHandle, valueHandle, metaData); in HWTEST_F_L0() 328 PropertyAttributes metaData; in HWTEST_F_L0() local 330 NumberDictionary::PutIfAbsent(thread, dictHandle, keyHandle, valueHandle, metaData); in HWTEST_F_L0()
|
D | global_dictionary_test.cpp | 229 PropertyAttributes metaData; in HWTEST_F_L0() local 232 … handleNameKey, handleValue, metaData)); in HWTEST_F_L0() 271 PropertyAttributes metaData; in HWTEST_F_L0() local 276 metaData.SetEnumerable(enumerable); in HWTEST_F_L0() 279 … handleNameKey, handleValue, metaData)); in HWTEST_F_L0() 331 PropertyAttributes metaData; in HWTEST_F_L0() local 333 metaData.SetDictionaryOrder(invalidatedPosition); in HWTEST_F_L0() 336 metaData.SetConfigurable(true); in HWTEST_F_L0() 339 propertyBox.GetTaggedValue(), metaData); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/include/ |
D | profile.h | 115 …rseMethodSignature(const char *data, int fileNum, std::unordered_set<std::string> &metaData) const; 116 void ParseMeta(const char *data, int fileNum, std::unordered_set<std::string> &metaData) const;
|
/arkcompiler/ets_frontend/ets2panda/compiler/debugger/ |
D | debuginfoDumper.h | 40 void WriteMetaData(const std::vector<pandasm::AnnotationData> &metaData);
|
D | debuginfoDumper.cpp | 115 void DebugInfoDumper::WriteMetaData(const std::vector<pandasm::AnnotationData> &metaData) in WriteMetaData() argument 117 for (const auto &it : metaData) { in WriteMetaData()
|
/arkcompiler/ets_frontend/es2panda/compiler/debugger/ |
D | debuginfoDumper.h | 40 void WriteMetaData(const std::vector<pandasm::AnnotationData> &metaData);
|
D | debuginfoDumper.cpp | 118 void DebugInfoDumper::WriteMetaData(const std::vector<pandasm::AnnotationData> &metaData) in WriteMetaData() argument 120 for (const auto &it : metaData) { in WriteMetaData()
|
/arkcompiler/toolchain/tooling/agent/ |
D | debugger_impl.cpp | 920 BreakpointDetails metaData{}; in RemoveBreakpoint() local 921 if (!BreakpointDetails::ParseBreakpointId(id, &metaData)) { in RemoveBreakpoint() 928 if (!MatchScripts(scriptFunc, metaData.url_, ScriptMatchType::URL)) { in RemoveBreakpoint() 929 LOG_DEBUGGER(ERROR) << "RemoveBreakpoint: Unknown url: " << metaData.url_; in RemoveBreakpoint() 933 std::vector<DebugInfoExtractor *> extractors = GetExtractors(metaData.url_); in RemoveBreakpoint() 944 if (!extractor->MatchWithLocation(callbackFunc, metaData.line_, metaData.column_, in RemoveBreakpoint() 945 metaData.url_, GetRecordName(metaData.url_))) { in RemoveBreakpoint() 947 << metaData.line_ << ":" << metaData.column_; in RemoveBreakpoint() 951 LOG_DEBUGGER(INFO) << "remove breakpoint line number:" << metaData.line_; in RemoveBreakpoint() 1025 BreakpointDetails metaData{lineNumber, 0, url}; in SetBreakpointByUrl() local [all …]
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/src/ |
D | profile.cpp | 144 …arseMethodSignature(const char *data, int fileNum, std::unordered_set<std::string> &metaData) const in ParseMethodSignature() 159 metaData.insert(methodSigStr); in ParseMethodSignature() 216 void Profile::ParseMeta(const char *data, int32 fileNum, std::unordered_set<std::string> &metaData)… in ParseMeta() 228 metaData.insert(strMap.at(metaItem->idx)); in ParseMeta()
|
/arkcompiler/toolchain/tooling/base/ |
D | pt_types.h | 51 static BreakpointId ToString(const BreakpointDetails &metaData) in ToString() 53 … return "id:" + std::to_string(metaData.line_) + ":" + std::to_string(metaData.column_) + ":" + in ToString() 54 metaData.url_; in ToString() 57 static bool ParseBreakpointId(const BreakpointId &id, BreakpointDetails *metaData) in ParseBreakpointId() 74 metaData->line_ = std::stoi(lineStr); in ParseBreakpointId() 75 metaData->column_ = std::stoi(columnStr); in ParseBreakpointId() 76 metaData->url_ = url; in ParseBreakpointId()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | bytecode_circuit_builder.cpp | 399 auto metaData = circuit_->FrameArgs(accessor.ToValue()); in BuildFrameArgs() local 400 size_t numArgs = metaData->GetNumIns(); in BuildFrameArgs() 408 GateRef frameArgs = circuit_->NewGate(metaData, args); in BuildFrameArgs()
|
D | frame_states.cpp | 415 const GateMetaData* metaData = bbNext.loopNumber > 0 ? in NewMerge() local 417 auto merge = circuit_->NewGate(metaData, in NewMerge()
|
D | stub_builder.h | 514 …GateRef IsMatchInTransitionDictionary(GateRef element, GateRef key, GateRef metaData, GateRef attr… 515 …f FindEntryFromTransitionDictionary(GateRef glue, GateRef elements, GateRef key, GateRef metaData);
|
D | stub_builder.cpp | 397 GateRef StubBuilder::IsMatchInTransitionDictionary(GateRef element, GateRef key, GateRef metaData, … in IsMatchInTransitionDictionary() argument 399 return BoolAnd(Equal(element, key), Int32Equal(metaData, attr)); in IsMatchInTransitionDictionary() 403 …r::FindEntryFromTransitionDictionary(GateRef glue, GateRef elements, GateRef key, GateRef metaData) in FindEntryFromTransitionDictionary() argument 448 hash = Int32Add(*hash, metaData); in FindEntryFromTransitionDictionary() 479 IsMatchInTransitionDictionary(element, key, metaData, in FindEntryFromTransitionDictionary() 820 GateRef metaData = GetPropertyMetaDataFromAttr(attr); in JSHClassAddProperty() local 821 GateRef newClass = FindTransitions(glue, receiver, hclass, key, metaData); in JSHClassAddProperty() 3242 …der::FindTransitions(GateRef glue, GateRef receiver, GateRef hclass, GateRef key, GateRef metaData) in FindTransitions() argument 3274 Branch(Int32Equal(metaData, cachedMetaData), &isMatch, ¬Match); in FindTransitions() 3298 GateRef entryA = FindEntryFromTransitionDictionary(glue, transition, key, metaData); in FindTransitions()
|