Lines Matching refs:oa
13562 : oa(std::make_shared<output_vector_adapter<CharType>>(vec)) {} in output_adapter()
13566 : oa(std::make_shared<output_stream_adapter<CharType>>(s)) {} in output_adapter()
13570 : oa(std::make_shared<output_string_adapter<CharType, StringType>>(s)) {} in output_adapter()
13574 return oa; in operator output_adapter_t<CharType>()
13578 output_adapter_t<CharType> oa = nullptr; member in nlohmann::detail::output_adapter
13608 explicit binary_writer(output_adapter_t<CharType> adapter) : oa(std::move(adapter)) in binary_writer()
13610 JSON_ASSERT(oa); in binary_writer()
13652 oa->write_character(to_char_type(0xF6)); in write_cbor()
13658 oa->write_character(j.m_value.boolean in write_cbor()
13677 oa->write_character(to_char_type(0x18)); in write_cbor()
13682 oa->write_character(to_char_type(0x19)); in write_cbor()
13687 oa->write_character(to_char_type(0x1A)); in write_cbor()
13692 oa->write_character(to_char_type(0x1B)); in write_cbor()
13707 oa->write_character(to_char_type(0x38)); in write_cbor()
13712 oa->write_character(to_char_type(0x39)); in write_cbor()
13717 oa->write_character(to_char_type(0x3A)); in write_cbor()
13722 oa->write_character(to_char_type(0x3B)); in write_cbor()
13737 oa->write_character(to_char_type(0x18)); in write_cbor()
13742 oa->write_character(to_char_type(0x19)); in write_cbor()
13747 oa->write_character(to_char_type(0x1A)); in write_cbor()
13752 oa->write_character(to_char_type(0x1B)); in write_cbor()
13763 oa->write_character(to_char_type(0xF9)); in write_cbor()
13764 oa->write_character(to_char_type(0x7E)); in write_cbor()
13765 oa->write_character(to_char_type(0x00)); in write_cbor()
13770 oa->write_character(to_char_type(0xf9)); in write_cbor()
13771 … oa->write_character(j.m_value.number_float > 0 ? to_char_type(0x7C) : to_char_type(0xFC)); in write_cbor()
13772 oa->write_character(to_char_type(0x00)); in write_cbor()
13791 oa->write_character(to_char_type(0x78)); in write_cbor()
13796 oa->write_character(to_char_type(0x79)); in write_cbor()
13801 oa->write_character(to_char_type(0x7A)); in write_cbor()
13807 oa->write_character(to_char_type(0x7B)); in write_cbor()
13813 oa->write_characters( in write_cbor()
13829 oa->write_character(to_char_type(0x98)); in write_cbor()
13834 oa->write_character(to_char_type(0x99)); in write_cbor()
13839 oa->write_character(to_char_type(0x9A)); in write_cbor()
13845 oa->write_character(to_char_type(0x9B)); in write_cbor()
13892 oa->write_character(to_char_type(0x58)); in write_cbor()
13897 oa->write_character(to_char_type(0x59)); in write_cbor()
13902 oa->write_character(to_char_type(0x5A)); in write_cbor()
13908 oa->write_character(to_char_type(0x5B)); in write_cbor()
13914 oa->write_characters( in write_cbor()
13931 oa->write_character(to_char_type(0xB8)); in write_cbor()
13936 oa->write_character(to_char_type(0xB9)); in write_cbor()
13941 oa->write_character(to_char_type(0xBA)); in write_cbor()
13947 oa->write_character(to_char_type(0xBB)); in write_cbor()
13976 oa->write_character(to_char_type(0xC0)); in write_msgpack()
13982 oa->write_character(j.m_value.boolean in write_msgpack()
14003 oa->write_character(to_char_type(0xCC)); in write_msgpack()
14009 oa->write_character(to_char_type(0xCD)); in write_msgpack()
14015 oa->write_character(to_char_type(0xCE)); in write_msgpack()
14021 oa->write_character(to_char_type(0xCF)); in write_msgpack()
14036 oa->write_character(to_char_type(0xD0)); in write_msgpack()
14043 oa->write_character(to_char_type(0xD1)); in write_msgpack()
14050 oa->write_character(to_char_type(0xD2)); in write_msgpack()
14057 oa->write_character(to_char_type(0xD3)); in write_msgpack()
14074 oa->write_character(to_char_type(0xCC)); in write_msgpack()
14080 oa->write_character(to_char_type(0xCD)); in write_msgpack()
14086 oa->write_character(to_char_type(0xCE)); in write_msgpack()
14092 oa->write_character(to_char_type(0xCF)); in write_msgpack()
14116 oa->write_character(to_char_type(0xD9)); in write_msgpack()
14122 oa->write_character(to_char_type(0xDA)); in write_msgpack()
14128 oa->write_character(to_char_type(0xDB)); in write_msgpack()
14133 oa->write_characters( in write_msgpack()
14151 oa->write_character(to_char_type(0xDC)); in write_msgpack()
14157 oa->write_character(to_char_type(0xDD)); in write_msgpack()
14213 oa->write_character(to_char_type(output_type)); in write_msgpack()
14225 oa->write_character(to_char_type(output_type)); in write_msgpack()
14234 oa->write_character(to_char_type(output_type)); in write_msgpack()
14245 oa->write_characters( in write_msgpack()
14264 oa->write_character(to_char_type(0xDE)); in write_msgpack()
14270 oa->write_character(to_char_type(0xDF)); in write_msgpack()
14304 oa->write_character(to_char_type('Z')); in write_ubjson()
14313 oa->write_character(j.m_value.boolean in write_ubjson()
14342 oa->write_character(to_char_type('S')); in write_ubjson()
14345 oa->write_characters( in write_ubjson()
14355 oa->write_character(to_char_type('[')); in write_ubjson()
14372 oa->write_character(to_char_type('$')); in write_ubjson()
14373 oa->write_character(first_prefix); in write_ubjson()
14379 oa->write_character(to_char_type('#')); in write_ubjson()
14390 oa->write_character(to_char_type(']')); in write_ubjson()
14400 oa->write_character(to_char_type('[')); in write_ubjson()
14406 oa->write_character(to_char_type('$')); in write_ubjson()
14407 oa->write_character('U'); in write_ubjson()
14412 oa->write_character(to_char_type('#')); in write_ubjson()
14418 oa->write_characters( in write_ubjson()
14426 oa->write_character(to_char_type('U')); in write_ubjson()
14427 oa->write_character(j.m_value.binary->data()[i]); in write_ubjson()
14433 oa->write_character(to_char_type(']')); in write_ubjson()
14443 oa->write_character(to_char_type('{')); in write_ubjson()
14460 oa->write_character(to_char_type('$')); in write_ubjson()
14461 oa->write_character(first_prefix); in write_ubjson()
14467 oa->write_character(to_char_type('#')); in write_ubjson()
14474 oa->write_characters( in write_ubjson()
14482 oa->write_character(to_char_type('}')); in write_ubjson()
14521 oa->write_character(to_char_type(element_type)); // boolean in write_bson_entry_header()
14522 oa->write_characters( in write_bson_entry_header()
14534 oa->write_character(value ? to_char_type(0x01) : to_char_type(0x00)); in write_bson_boolean()
14564 oa->write_characters( in write_bson_string()
14686 oa->write_character(to_char_type(0x00)); in write_bson_array()
14700 oa->write_characters(reinterpret_cast<const CharType*>(value.data()), value.size()); in write_bson_binary()
14826 oa->write_character(to_char_type(0x00)); in write_bson_object()
14869 oa->write_character(get_ubjson_float_prefix(n)); in write_number_with_ubjson_prefix()
14884 oa->write_character(to_char_type('i')); // int8 in write_number_with_ubjson_prefix()
14892 oa->write_character(to_char_type('U')); // uint8 in write_number_with_ubjson_prefix()
14900 oa->write_character(to_char_type('I')); // int16 in write_number_with_ubjson_prefix()
14908 oa->write_character(to_char_type('l')); // int32 in write_number_with_ubjson_prefix()
14916 oa->write_character(to_char_type('L')); // int64 in write_number_with_ubjson_prefix()
14924 oa->write_character(to_char_type('H')); // high-precision number in write_number_with_ubjson_prefix()
14931 oa->write_character(to_char_type(static_cast<std::uint8_t>(number[i]))); in write_number_with_ubjson_prefix()
14947 oa->write_character(to_char_type('i')); // int8 in write_number_with_ubjson_prefix()
14955 oa->write_character(to_char_type('U')); // uint8 in write_number_with_ubjson_prefix()
14963 oa->write_character(to_char_type('I')); // int16 in write_number_with_ubjson_prefix()
14971 oa->write_character(to_char_type('l')); // int32 in write_number_with_ubjson_prefix()
14979 oa->write_character(to_char_type('L')); // int64 in write_number_with_ubjson_prefix()
14988 oa->write_character(to_char_type('H')); // high-precision number in write_number_with_ubjson_prefix()
14995 oa->write_character(to_char_type(static_cast<std::uint8_t>(number[i]))); in write_number_with_ubjson_prefix()
15124 oa->write_characters(vec.data(), sizeof(NumberType)); in write_number()
15137 oa->write_character(format == detail::input_format_t::cbor in write_compact_float()
15144 oa->write_character(format == detail::input_format_t::cbor in write_compact_float()
15200 output_adapter_t<CharType> oa = nullptr; member in nlohmann::detail::binary_writer