Lines Matching refs:op_
101 flags_internal::Delete(flag_impl_.op_, value_.heap_allocated); in ~FlagState()
161 std::memcpy(buf.data(), &default_value_, Sizeof(op_)); in Init()
190 FlagFastTypeId lhs_type_id = flags_internal::FastTypeId(op_); in AssertValidType()
199 flags_internal::RuntimeTypeId(op_); in AssertValidType()
217 res = flags_internal::Clone(op_, default_value_.dynamic_value); in MakeInitValue()
220 res = flags_internal::Alloc(op_); in MakeInitValue()
224 res = flags_internal::Clone(op_, &default_value_); in MakeInitValue()
227 return {res, DynValueDeleter{op_}}; in MakeInitValue()
233 Copy(op_, src, AlignedBufferValue()); in StoreValue()
237 std::memcpy(&one_word_val, src, Sizeof(op_)); in StoreValue()
243 std::memcpy(&two_words_val, src, Sizeof(op_)); in StoreValue()
266 return flags_internal::FastTypeId(op_); in TypeId()
278 return flags_internal::Unparse(op_, obj.get()); in DefaultValue()
286 return flags_internal::Unparse(op_, AlignedBufferValue()); in CurrentValue()
292 return flags_internal::Unparse(op_, one_word_val.data()); in CurrentValue()
298 return flags_internal::Unparse(op_, two_words_val.data()); in CurrentValue()
347 *this, flags_internal::Clone(op_, AlignedBufferValue()), modified, in SaveState()
393 size_t offset = flags_internal::ValueOffset(op_); in OffsetValue()
422 if (!flags_internal::Parse(op_, value, tentative_value.get(), &parse_err)) { in TryParse()
437 flags_internal::CopyConstruct(op_, AlignedBufferValue(), dst); in Read()
443 std::memcpy(dst, &one_word_val, Sizeof(op_)); in Read()
449 std::memcpy(dst, &two_words_val, Sizeof(op_)); in Read()
458 if (ShouldValidateFlagValue(flags_internal::FastTypeId(op_))) { in Write()
459 std::unique_ptr<void, DynValueDeleter> obj{flags_internal::Clone(op_, src), in Write()
460 DynValueDeleter{op_}}; in Write()
462 std::string src_as_str = flags_internal::Unparse(op_, src); in Write()
463 if (!flags_internal::Parse(op_, src_as_str, obj.get(), &ignored_error)) { in Write()
546 if (!flags_internal::Parse(op_, v, dst.get(), &error)) { in CheckDefaultValueParsingRoundtrip()
563 return flags_internal::Parse(op_, value, obj.get(), &ignored_error); in ValidateInputValue()