Lines Matching defs:__value

71 __write_escaped_code_unit(basic_string<_CharT>& __str, char32_t __value, const _CharT* __prefix) {
76 to_chars_result __r = std::to_chars(std::begin(__buffer), std::end(__buffer), __value, 16);
89 _LIBCPP_HIDE_FROM_ABI void __write_well_formed_escaped_code_unit(basic_string<_CharT>& __str, char32_t __value) {
90 __formatter::__write_escaped_code_unit(__str, __value, _LIBCPP_STATICALLY_WIDEN(_CharT, "\\u{"));
99 _LIBCPP_HIDE_FROM_ABI void __write_escape_ill_formed_code_unit(basic_string<_CharT>& __str, char32_t __value) {
100 __formatter::__write_escaped_code_unit(__str, __value, _LIBCPP_STATICALLY_WIDEN(_CharT, "\\x{"));
105 __is_escaped_sequence_written(basic_string<_CharT>& __str, bool __last_escaped, char32_t __value) {
108 if (__value > 127)
116 if (!__escaped_output_table::__needs_escape(__value))
122 if (!__last_escaped || __extended_grapheme_custer_property_boundary::__get_property(__value) !=
126 __formatter::__write_well_formed_escaped_code_unit(__str, __value);
131 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr char32_t __to_char32(_CharT __value) {
132 return static_cast<make_unsigned_t<_CharT>>(__value);
140 basic_string<_CharT>& __str, char32_t __value, bool __last_escaped, __escape_quotation_mark __mark) {
142 switch (__value) {
156 __str += __value;
162 __str += __value;
170 __str += __value;
182 return __formatter::__is_escaped_sequence_written(__str, __last_escaped, __formatter::__to_char32(__value));
203 ranges::for_each(__first, __view.__position(), [&](_CharT __value) {
204 __formatter::__write_escape_ill_formed_code_unit(__str, __formatter::__to_char32(__value));
212 __format_escaped_char(_CharT __value,
217 __formatter::__escape(__str, basic_string_view{std::addressof(__value), 1}, __escape_quotation_mark::__apostrophe);