/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.h | 54 void SetAttributes(const JSThread *thread, int entry, const PropertyAttributes &metaData); 56 const PropertyAttributes &metaData); 58 const PropertyAttributes &metaData); 60 void UpdateAttributes(int entry, const PropertyAttributes &metaData); 104 void SetAttributes(const JSThread *thread, int entry, const PropertyAttributes &metaData); 106 const JSTaggedValue &value, const PropertyAttributes &metaData); 108 const PropertyAttributes &metaData); 110 void UpdateAttributes(int entry, const PropertyAttributes &metaData);
|
D | tagged_dictionary.cpp | 149 …ameDictionary::SetAttributes(const JSThread *thread, int entry, const PropertyAttributes &metaData) in SetAttributes() argument 152 Set(thread, index, metaData.GetTaggedValue()); in SetAttributes() 156 const PropertyAttributes &metaData) in SetEntry() argument 160 SetAttributes(thread, entry, metaData); in SetEntry() 164 const PropertyAttributes &metaData) in UpdateValueAndAttributes() argument 167 SetAttributes(thread, entry, metaData); in UpdateValueAndAttributes() 178 PropertyAttributes metaData; in ClearEntry() local 179 SetEntry(thread, entry, hole, hole, metaData); in ClearEntry() 318 …berDictionary::SetAttributes(const JSThread *thread, int entry, const PropertyAttributes &metaData) in SetAttributes() argument 321 Set(thread, index, metaData.GetTaggedValue()); in SetAttributes() [all …]
|
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() 192 const PropertyAttributes &metaData) in InvalidatePropertyBox() argument 196 PropertyAttributes newAttr(metaData); in InvalidatePropertyBox()
|
D | global_dictionary.h | 53 const PropertyAttributes &metaData); 72 const PropertyAttributes &metaData); 76 … inline void SetAttributes(const JSThread *thread, int entry, const PropertyAttributes &metaData);
|
D | js_hclass.cpp | 37 … const JSHandle<JSTaggedValue> &metaData) in PutIfAbsent() argument 39 int hash = TransitionsDictionary::Hash(key.GetTaggedValue(), metaData.GetTaggedValue()); in PutIfAbsent() 42 int entry = dictionary->FindEntry(key.GetTaggedValue(), metaData.GetTaggedValue()); in PutIfAbsent() 56 newDictionary->SetEntry(thread, entry, key.GetTaggedValue(), val, metaData.GetTaggedValue()); in PutIfAbsent() 62 int TransitionsDictionary::FindEntry(const JSTaggedValue &key, const JSTaggedValue &metaData) in FindEntry() argument 66 int32_t hash = TransitionsDictionary::Hash(key, metaData); in FindEntry() 77 …if (TransitionsDictionary::IsMatch(key, metaData, element, GetAttributes(entry).GetWeakRawValue())… in FindEntry() 87 const JSTaggedValue &metaData) in Remove() argument 89 int entry = table->FindEntry(key.GetTaggedValue(), metaData); in Remove()
|
D | js_hclass-inl.h | 150 const PropertyAttributes &metaData) in UpdatePropertyMetaData() argument 156 uint32_t entry = metaData.GetOffset(); in UpdatePropertyMetaData() 158 layoutInfo->SetNormalAttr(thread, entry, metaData); in UpdatePropertyMetaData()
|
D | tagged_hash_table.h | 411 const PropertyAttributes &metaData) in PutIfAbsent() argument 420 PropertyAttributes attr(metaData); in PutIfAbsent() 438 const PropertyAttributes &metaData) in Put() argument 441 PropertyAttributes attr(metaData); in Put()
|
D | js_object.h | 231 explicit PropertyMetaData(uint32_t metaData) : metaData_(metaData) {} in PropertyMetaData() argument 288 OperationResult(const JSThread *thread, JSTaggedValue value, PropertyMetaData metaData) in OperationResult() argument 289 : metaData_(metaData) in OperationResult()
|
D | js_hclass.h | 379 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_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 | 721 BreakpointDetails metaData{}; in RemoveBreakpoint() local 722 if (!BreakpointDetails::ParseBreakpointId(id, &metaData)) { in RemoveBreakpoint() 725 DebugInfoExtractor *extractor = GetExtractor(metaData.url_); in RemoveBreakpoint() 734 if (!MatchScripts(scriptFunc, metaData.url_, ScriptMatchType::URL)) { in RemoveBreakpoint() 735 LOG_DEBUGGER(ERROR) << "RemoveBreakpoint: Unknown url: " << metaData.url_; in RemoveBreakpoint() 743 if (!extractor->MatchWithLocation(callbackFunc, metaData.line_, metaData.column_, in RemoveBreakpoint() 744 metaData.url_, GetRecordName(metaData.url_))) { in RemoveBreakpoint() 746 << metaData.line_ << ":" << metaData.column_; in RemoveBreakpoint() 750 LOG_DEBUGGER(INFO) << "remove breakpoint line number:" << metaData.line_; in RemoveBreakpoint() 822 BreakpointDetails metaData{lineNumber, 0, url}; in SetBreakpointByUrl() local [all …]
|
/arkcompiler/toolchain/tooling/base/ |
D | pt_types.h | 49 static BreakpointId ToString(const BreakpointDetails &metaData) in ToString() 51 … return "id:" + std::to_string(metaData.line_) + ":" + std::to_string(metaData.column_) + ":" + in ToString() 52 metaData.url_; in ToString() 55 static bool ParseBreakpointId(const BreakpointId &id, BreakpointDetails *metaData) in ParseBreakpointId() 72 metaData->line_ = std::stoi(lineStr); in ParseBreakpointId() 73 metaData->column_ = std::stoi(columnStr); in ParseBreakpointId() 74 metaData->url_ = url; in ParseBreakpointId()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | stub_builder.h | 440 …GateRef IsMatchInTransitionDictionary(GateRef element, GateRef key, GateRef metaData, GateRef attr… 441 …f FindEntryFromTransitionDictionary(GateRef glue, GateRef elements, GateRef key, GateRef metaData);
|
D | stub_builder.cpp | 335 GateRef StubBuilder::IsMatchInTransitionDictionary(GateRef element, GateRef key, GateRef metaData, … in IsMatchInTransitionDictionary() argument 337 return BoolAnd(Equal(element, key), Int32Equal(metaData, attr)); in IsMatchInTransitionDictionary() 341 …r::FindEntryFromTransitionDictionary(GateRef glue, GateRef elements, GateRef key, GateRef metaData) in FindEntryFromTransitionDictionary() argument 386 hash = Int32Add(*hash, metaData); in FindEntryFromTransitionDictionary() 417 IsMatchInTransitionDictionary(element, key, metaData, in FindEntryFromTransitionDictionary() 716 GateRef metaData = GetPropertyMetaDataFromAttr(attr); in JSHClassAddProperty() local 717 GateRef newClass = FindTransitions(glue, receiver, hclass, key, metaData); in JSHClassAddProperty() 2618 …der::FindTransitions(GateRef glue, GateRef receiver, GateRef hclass, GateRef key, GateRef metaData) in FindTransitions() argument 2650 Branch(Int32Equal(metaData, cachedMetaData), &isMatch, ¬Match); in FindTransitions() 2669 GateRef entryA = FindEntryFromTransitionDictionary(glue, transition, key, metaData); in FindTransitions()
|
D | bytecode_circuit_builder.cpp | 541 auto metaData = circuit_->FrameArgs(); in BuildFrameArgs() local 549 GateRef frameArgs = circuit_->NewGate(metaData, args); in BuildFrameArgs()
|