Home
last modified time | relevance | path

Searched refs:ValueItem (Results 1 – 7 of 7) sorted by relevance

/arkcompiler/runtime_core/libpandafile/
Dfile_item_container.h80 …static_assert(!std::is_same_v<T, ValueItem>, "Use GetOrCreateValueItem functions to create ValueIt… in CreateItem()
129 std::unordered_map<uint32_t, ValueItem *> *GetIntValueMap() in GetIntValueMap()
134 std::unordered_map<uint64_t, ValueItem *> *GetLongValueMap() in GetLongValueMap()
139 std::unordered_map<uint32_t, ValueItem *> *GetFloatValueMap() in GetFloatValueMap()
144 std::unordered_map<uint64_t, ValueItem *> *GetDoubleValueMap() in GetDoubleValueMap()
149 std::unordered_map<BaseItem *, ValueItem *> *GetScalarValueMap() in GetScalarValueMap()
545 std::unordered_map<uint32_t, ValueItem *> int_value_map_;
546 std::unordered_map<uint64_t, ValueItem *> long_value_map_;
550 std::unordered_map<uint32_t, ValueItem *> float_value_map_;
551 std::unordered_map<uint64_t, ValueItem *> double_value_map_;
[all …]
Dfile_items.h478 class ValueItem; variable
516 void SetValue(ValueItem *value);
578 ValueItem *value_;
1466 class ValueItem : public IndexedItem {
1470 explicit ValueItem(Type type, ItemContainer *container) : IndexedItem(container), type_(type) {} in ValueItem() function
1472 ~ValueItem() override = default;
1474 DEFAULT_MOVE_SEMANTIC(ValueItem);
1475 DEFAULT_COPY_SEMANTIC(ValueItem);
1505 class ScalarValueItem : public ValueItem {
1507 …explicit ScalarValueItem(uint32_t v, ItemContainer *container) : ValueItem(Type::INTEGER, containe… in ScalarValueItem()
[all …]
Dfile_reader.cpp212 ValueItem *elem_value_item = nullptr; in CreateAnnotationItem()
301 elem_value_item = static_cast<ValueItem *>( in CreateAnnotationItem()
312 elem_value_item = static_cast<ValueItem *>( in CreateAnnotationItem()
323 elem_value_item = static_cast<ValueItem *>( in CreateAnnotationItem()
334 elem_value_item = static_cast<ValueItem *>( in CreateAnnotationItem()
345 elem_value_item = static_cast<ValueItem *>( in CreateAnnotationItem()
356 elem_value_item = static_cast<ValueItem *>( in CreateAnnotationItem()
367 elem_value_item = static_cast<ValueItem *>( in CreateAnnotationItem()
378 elem_value_item = static_cast<ValueItem *>( in CreateAnnotationItem()
389 elem_value_item = static_cast<ValueItem *>( in CreateAnnotationItem()
[all …]
Dfile_items.cpp875 ScalarValueItem *ValueItem::GetAsScalar() in GetAsScalar()
881 ArrayValueItem *ValueItem::GetAsArray() in GetAsArray()
1272 void FieldItem::SetValue(ValueItem *value) in SetValue()
1283 if (value_->GetType() == ValueItem::Type::INTEGER) { in CalculateSize()
1306 if (value_->GetType() == ValueItem::Type::INTEGER) { in WriteValue()
1311 } else if (value_->GetType() == ValueItem::Type::FLOAT) { in WriteValue()
1316 } else if (value_->GetType() == ValueItem::Type::ID) { in WriteValue()
1414 ValueItem *value_item = elem.GetValue(); in Write()
1417 case ValueItem::Type::INTEGER: { in Write()
1423 case ValueItem::Type::FLOAT: { in Write()
[all …]
/arkcompiler/runtime_core/libpandafile/tests/
Dfile_item_container_test.cpp60 ValueItem *int_item = container.GetOrCreateIntegerValueItem(1);
63 ValueItem *long_item = container.GetOrCreateLongValueItem(1);
67 ValueItem *float_item = container.GetOrCreateFloatValueItem(1.0);
72 ValueItem *double_item = container.GetOrCreateDoubleValueItem(1.0);
/arkcompiler/runtime_core/assembler/
Dassembly-emitter.h208 static panda_file::ValueItem *CreateValueItem(
Dassembly-emitter.cpp59 using panda::panda_file::ValueItem;
388 ValueItem *AsmEmitter::CreateValueItem(ItemContainer *container, const Value *value, const Program … in CreateValueItem()