Searched refs:value_item (Results 1 – 2 of 2) sorted by relevance
101 auto *value_item = container_.GetOrCreateLongValueItem(value.value()); in SetIntegerFieldValue() local102 field_item->SetValue(value_item); in SetIntegerFieldValue()105 auto *value_item = container_.GetOrCreateIntegerValueItem(value.value()); in SetIntegerFieldValue() local106 field_item->SetValue(value_item); in SetIntegerFieldValue()121 auto *value_item = container_.GetOrCreateDoubleValueItem(value.value()); in SetFloatFieldValue() local122 field_item->SetValue(value_item); in SetFloatFieldValue()125 auto *value_item = container_.GetOrCreateFloatValueItem(value.value()); in SetFloatFieldValue() local126 field_item->SetValue(value_item); in SetFloatFieldValue()139 auto *value_item = container_.GetOrCreateIdValueItem(string_item); in SetStringFieldValue() local140 field_item->SetValue(value_item); in SetStringFieldValue()
1414 ValueItem *value_item = elem.GetValue(); in Write() local1416 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()