Home
last modified time | relevance | path

Searched refs:char_type (Results 1 - 25 of 27) sorted by relevance

12

/third_party/json/include/nlohmann/detail/input/
H A Dlexer.hpp117 using char_type = typename InputAdapterType::char_type;
118 using char_int_type = typename std::char_traits<char_type>::int_type;
268 case std::char_traits<char_type>::eof(): in scan_string()
857 case std::char_traits<char_type>::eof(): in scan_comment()
874 case std::char_traits<char_type>::eof(): in scan_comment()
1300 token_type scan_literal(const char_type* literal_text, const std::size_t length, in scan_literal()
1303 JSON_ASSERT(std::char_traits<char_type>::to_char_type(current) == literal_text[0]); in scan_literal()
1306 if (JSON_HEDLEY_UNLIKELY(std::char_traits<char_type>::to_char_type(get()) != literal_text[i])) in scan_literal()
1324 token_string.push_back(std::char_traits<char_type>
[all...]
H A Dinput_adapters.hpp48 using char_type = char;
87 using char_type = char;
142 using char_type = typename std::iterator_traits<IteratorType>::value_type;
148 typename std::char_traits<char_type>::int_type get_character() in get_character()
152 auto result = std::char_traits<char_type>::to_int_type(*current); in get_character()
157 return std::char_traits<char_type>::eof(); in get_character()
302 using char_type = char;
347 using char_type = typename std::iterator_traits<iterator_type>::value_type;
370 using char_type = typename std::iterator_traits<iterator_type>::value_type;
372 using adapter_type = wide_string_input_adapter<base_adapter_type, char_type>;
[all...]
H A Dbinary_reader.hpp75 using char_type = typename InputAdapterType::char_type;
76 using char_int_type = typename std::char_traits<char_type>::int_type;
149 if (JSON_HEDLEY_UNLIKELY(current != std::char_traits<char_type>::eof())) in sax_parse()
232 return get_string(input_format_t::bson, len - static_cast<NumberType>(1), result) && get() != std::char_traits<char_type>::eof(); in get_bson_string()
426 case std::char_traits<char_type>::eof(): in parse_cbor_internal()
1201 case std::char_traits<char_type>::eof(): in parse_msgpack_internal()
2303 case std::char_traits<char_type>::eof(): // EOF in get_ubjson_value()
2748 `std::char_traits<char_type>::eof()` in that case.
2890 if (JSON_HEDLEY_UNLIKELY(current == std::char_traits<char_type> in unexpect_eof()
[all...]
/third_party/gn/src/base/strings/
H A Dstring_split.cc18 template <typename char_type>
19 std::basic_string_view<char_type> WhitespaceForType();
61 template <typename char_type, typename OutputStringType, typename DelimiterType>
63 std::basic_string_view<char_type> str, in SplitStringT()
71 using ViewType = std::basic_string_view<char_type>; in SplitStringT()
87 piece = TrimString(piece, WhitespaceForType<char_type>(), TRIM_ALL); in SplitStringT()
123 template <typename char_type, typename OutputStringType>
124 void SplitStringUsingSubstrT(std::basic_string_view<char_type> input, in SplitStringUsingSubstrT()
125 std::basic_string_view<char_type> delimiter, in SplitStringUsingSubstrT()
129 using Piece = std::basic_string_view<char_type>; in SplitStringUsingSubstrT()
[all...]
H A Dstring_tokenizer.h85 typedef typename str::value_type char_type; typedef in base::StringTokenizerT
203 bool IsDelim(char_type c) const { return delims_.find(c) != str::npos; } in IsDelim()
205 bool IsQuote(char_type c) const { return quotes_.find(c) != str::npos; } in IsQuote()
210 char_type quote_char;
215 bool AdvanceOne(AdvanceState* state, char_type c) { in AdvanceOne()
H A Dstring_util.cc279 template <typename char_type>
280 std::basic_string_view<char_type> TrimStringPieceT( in TrimStringPieceT()
281 std::basic_string_view<char_type> input, in TrimStringPieceT()
282 std::basic_string_view<char_type> trim_chars, in TrimStringPieceT()
286 if (begin == std::basic_string_view<char_type>::npos) in TrimStringPieceT()
287 return std::basic_string_view<char_type>(); // All trimmed. in TrimStringPieceT()
524 template <typename char_type>
526 std::basic_string_view<char_type> str, in StartsWithCaseInsensitiveASCIIT()
527 std::basic_string_view<char_type> search_for) { in StartsWithCaseInsensitiveASCIIT()
531 std::basic_string_view<char_type> sourc in StartsWithCaseInsensitiveASCIIT()
[all...]
/third_party/protobuf/src/google/protobuf/io/
H A Dio_win32.cc83 template <typename char_type>
85 static bool is_alpha(char_type ch);
98 template <typename char_type>
99 bool null_or_empty(const char_type* s) { in null_or_empty()
107 template <typename char_type>
108 bool has_drive_letter(const char_type* ch) { in has_drive_letter()
109 return CharTraits<char_type>::is_alpha(ch[0]) && ch[1] == ':'; in has_drive_letter()
113 template <typename char_type>
114 bool has_longpath_prefix(const char_type* path) { in has_longpath_prefix()
119 template <typename char_type>
[all...]
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtx/
H A Dio.hpp46 typedef CTy char_type; typedef in glm::io::format_punct
55 char_type separator;
56 char_type delim_left;
57 char_type delim_right;
58 char_type space;
59 char_type newline;
77 typedef typename state_type::char_type char_type; typedef in glm::io::basic_state_saver
86 char_type fill_;
/third_party/zlib/contrib/iostream3/
H A Dzfstream.cc250 char_type last_char = traits_type::to_char_type(c); in overflow()
266 gzfilebuf::setbuf(char_type* p, in setbuf()
317 buffer = new char_type[buffer_size]; in enable_buffer()
330 buffer = new char_type[buffer_size]; in enable_buffer()
H A Dzfstream.h136 setbuf(char_type* p,
207 char_type* buffer;
/third_party/rust/crates/bindgen/bindgen-tests/tests/
H A Dstylo.hpp16242 typedef _CharT char_type;
16249 assign(char_type& __c1, const char_type& __c2)
16253 eq(const char_type& __c1, const char_type& __c2)
16257 lt(const char_type& __c1, const char_type& __c2)
16261 compare(const char_type* __s1, const char_type* __s2, std::size_t __n);
16264 length(const char_type* __
[all...]
/third_party/node/deps/openssl/openssl/crypto/asn1/
H A Dcharmap.h22 static const unsigned short char_type[] = { variable
/third_party/openssl/crypto/asn1/
H A Dcharmap.h22 static const unsigned short char_type[] = { variable
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/descriptor_indexing/
H A DvktDescriptorSetsIndexingTests.hpp357 content.assign(std::istream_iterator<std::ifstream::char_type>(file), in readFile()
358 std::istream_iterator<std::ifstream::char_type>()); in readFile()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/descriptor_indexing/
H A DvktDescriptorSetsIndexingTests.hpp357 content.assign(std::istream_iterator<std::ifstream::char_type>(file), in readFile()
358 std::istream_iterator<std::ifstream::char_type>()); in readFile()
/third_party/vk-gl-cts/external/amber/src/src/
H A Dpipeline_test.cc595 auto char_type = parser.Parse("R8_SINT"); in TEST_F() local
596 auto char_fmt = MakeUnique<Format>(char_type.get()); in TEST_F()
765 auto char_type = parser.Parse("R8_SINT"); in TEST_F() local
766 auto char_fmt = MakeUnique<Format>(char_type.get()); in TEST_F()
923 auto char_type = parser.Parse("R8_SINT"); in TEST_F() local
924 auto char_fmt = MakeUnique<Format>(char_type.get()); in TEST_F()
/third_party/skia/third_party/externals/freetype/src/sfnt/
H A Dsfdriver.c491 char_type_func char_type, in get_win_string()
516 if ( p[0] == 0 && char_type( p[1] ) ) in get_win_string()
550 char_type_func char_type, in get_apple_string()
575 if ( char_type( *p ) ) in get_apple_string()
488 get_win_string( FT_Memory memory, FT_Stream stream, TT_Name entry, char_type_func char_type, FT_Bool report_invalid_characters ) get_win_string() argument
547 get_apple_string( FT_Memory memory, FT_Stream stream, TT_Name entry, char_type_func char_type, FT_Bool report_invalid_characters ) get_apple_string() argument
/third_party/python/Modules/_io/
H A Dwinconsoleio.c580 WORD char_type; in read_console_w() local
582 GetStringTypeW(CT_CTYPE3, &buf[*readlen - 1], 1, &char_type) && in read_console_w()
583 char_type == C3_HIGHSURROGATE) { in read_console_w()
/third_party/json/tests/abi/include/nlohmann/
H A Djson_v3_10_5.hpp5247 using char_type = char;
5284 using char_type = char;
5339 using char_type = typename std::iterator_traits<IteratorType>::value_type;
5345 typename std::char_traits<char_type>::int_type get_character()
5349 auto result = std::char_traits<char_type>::to_int_type(*current);
5354 return std::char_traits<char_type>::eof();
5499 using char_type = char;
5544 using char_type = typename std::iterator_traits<iterator_type>::value_type;
5567 using char_type = typename std::iterator_traits<iterator_type>::value_type;
5569 using adapter_type = wide_string_input_adapter<base_adapter_type, char_type>;
[all...]
/third_party/json/single_include/nlohmann/
H A Djson.hpp6117 using char_type = char;
6156 using char_type = char;
6211 using char_type = typename std::iterator_traits<IteratorType>::value_type;
6217 typename std::char_traits<char_type>::int_type get_character() in get_character()
6221 auto result = std::char_traits<char_type>::to_int_type(*current); in get_character()
6226 return std::char_traits<char_type>::eof(); in get_character()
6371 using char_type = char;
6416 using char_type = typename std::iterator_traits<iterator_type>::value_type;
6439 using char_type = typename std::iterator_traits<iterator_type>::value_type;
6441 using adapter_type = wide_string_input_adapter<base_adapter_type, char_type>;
[all...]
/third_party/nghttp2/src/
H A Dtemplate.h227 using value_type = traits_type::char_type;
379 using value_type = traits_type::char_type;
/third_party/skia/third_party/externals/angle2/src/common/
H A Ddebug.h151 std::ostream::char_type oldFill = os.fill(); in FmtHex()
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
H A Diostream_state_saver.h49 using fill_type = typename ostream_type::char_type;
/third_party/mesa3d/src/compiler/spirv/
H A Dvtn_opencl.c742 const struct glsl_type *char_type = glsl_get_array_element(deref->var->type); in vtn_add_printf_string() local
743 vtn_fail_if(char_type != glsl_uint8_t_type() && in vtn_add_printf_string()
744 char_type != glsl_int8_t_type(), in vtn_add_printf_string()
/third_party/ltp/tools/sparse/sparse-src/
H A Devaluate.c119 struct symbol *char_type = expr->wide ? wchar_ctype : &char_ctype; in evaluate_string() local
122 sym->bit_size = length * char_type->bit_size; in evaluate_string()
136 array->ctype.alignment = char_type->ctype.alignment; in evaluate_string()
138 array->ctype.base_type = char_type; in evaluate_string()
2832 struct symbol *char_type = e->wide ? wchar_ctype : &char_ctype; in handle_initializer() local
2833 unsigned int size_with_null = ctype->bit_size + char_type->bit_size; in handle_initializer()

Completed in 71 milliseconds

12