Home
last modified time | relevance | path

Searched refs:value_item (Results 1 – 2 of 2) sorted by relevance

/arkcompiler/runtime_core/libpandafile/
Dfile_reader.h101 auto *value_item = container_.GetOrCreateLongValueItem(value.value()); in SetIntegerFieldValue() local
102 field_item->SetValue(value_item); in SetIntegerFieldValue()
105 auto *value_item = container_.GetOrCreateIntegerValueItem(value.value()); in SetIntegerFieldValue() local
106 field_item->SetValue(value_item); in SetIntegerFieldValue()
121 auto *value_item = container_.GetOrCreateDoubleValueItem(value.value()); in SetFloatFieldValue() local
122 field_item->SetValue(value_item); in SetFloatFieldValue()
125 auto *value_item = container_.GetOrCreateFloatValueItem(value.value()); in SetFloatFieldValue() local
126 field_item->SetValue(value_item); in SetFloatFieldValue()
139 auto *value_item = container_.GetOrCreateIdValueItem(string_item); in SetStringFieldValue() local
140 field_item->SetValue(value_item); in SetStringFieldValue()
Dfile_items.cpp1414 ValueItem *value_item = elem.GetValue(); in Write() local
1416 switch (value_item->GetType()) { in Write()
1418 if (!writer->Write(value_item->GetAsScalar()->GetValue<uint32_t>())) { in Write()
1424 … if (!writer->Write(bit_cast<uint32_t>(value_item->GetAsScalar()->GetValue<float>()))) { in Write()
1430 if (!writer->Write(value_item->GetAsScalar()->GetId().GetOffset())) { in Write()
1436 ASSERT(value_item->GetOffset() != 0); in Write()
1437 if (!writer->Write(value_item->GetOffset())) { in Write()