Home
last modified time | relevance | path

Searched refs:CharType (Results 1 – 25 of 39) sorted by relevance

12

/third_party/json/include/nlohmann/detail/output/
Doutput_adapters.hpp30 template<typename CharType> struct output_adapter_protocol
32 virtual void write_character(CharType c) = 0;
33 virtual void write_characters(const CharType* s, std::size_t length) = 0;
44 template<typename CharType>
45 using output_adapter_t = std::shared_ptr<output_adapter_protocol<CharType>>;
48 template<typename CharType, typename AllocatorType = std::allocator<CharType>>
49 class output_vector_adapter : public output_adapter_protocol<CharType>
52 explicit output_vector_adapter(std::vector<CharType, AllocatorType>& vec) noexcept in output_vector_adapter() argument
56 void write_character(CharType c) override in write_character()
62 void write_characters(const CharType* s, std::size_t length) override in write_characters()
[all …]
Dbinary_writer.hpp38 template<typename BasicJsonType, typename CharType>
51 explicit binary_writer(output_adapter_t<CharType> adapter) : oa(std::move(adapter)) in binary_writer()
257 reinterpret_cast<const CharType*>(j.m_value.string->c_str()), in write_cbor()
358 reinterpret_cast<const CharType*>(j.m_value.binary->data()), in write_cbor()
577 reinterpret_cast<const CharType*>(j.m_value.string->c_str()), in write_msgpack()
689 reinterpret_cast<const CharType*>(j.m_value.binary->data()), in write_msgpack()
791 reinterpret_cast<const CharType*>(j.m_value.string->c_str()), in write_ubjson()
807 const CharType first_prefix = ubjson_prefix(j.front(), use_bjdata); in write_ubjson()
814 …std::vector<CharType> bjdx = {'[', '{', 'S', 'H', 'T', 'F', 'N', 'Z'}; // excluded markers in bjda… in write_ubjson()
866 reinterpret_cast<const CharType*>(j.m_value.binary->data()), in write_ubjson()
[all …]
/third_party/gn/src/base/files/
Dfile_path_constants.cc14 const FilePath::CharType FilePath::kSeparators[] = FILE_PATH_LITERAL("\\/");
16 const FilePath::CharType FilePath::kSeparators[] = FILE_PATH_LITERAL("/");
21 const FilePath::CharType FilePath::kCurrentDirectory[] = FILE_PATH_LITERAL(".");
22 const FilePath::CharType FilePath::kParentDirectory[] = FILE_PATH_LITERAL("..");
24 const FilePath::CharType FilePath::kExtensionSeparator = FILE_PATH_LITERAL('.');
Dfile_path.h155 using CharType = StringType::value_type; variable
156 using StringViewType = std::basic_string_view<CharType>;
162 static const CharType kSeparators[];
168 static const CharType kCurrentDirectory[];
171 static const CharType kParentDirectory[];
174 static const CharType kExtensionSeparator;
203 static bool IsSeparator(CharType character);
357 FilePath NormalizePathSeparatorsTo(CharType separator) const;
Dscoped_temp_dir.cc14 constexpr FilePath::CharType kScopedDirPrefix[] =
93 const FilePath::CharType* ScopedTempDir::GetTempDirPrefix() { in GetTempDirPrefix()
Dscoped_temp_dir.h59 static const FilePath::CharType* GetTempDirPrefix();
Dfile_path.cc39 const FilePath::CharType kStringTerminator = FILE_PATH_LITERAL('\0');
204 bool FilePath::IsSeparator(CharType character) { in IsSeparator()
624 FilePath FilePath::NormalizePathSeparatorsTo(CharType separator) const { in NormalizePathSeparatorsTo()
/third_party/gn/src/gn/
Dqt_creator_writer.cc25 base::FilePath::CharType kProjectDirName[] =
27 base::FilePath::CharType kProjectName[] = FILE_PATH_LITERAL("all");
28 base::FilePath::CharType kMainProjectFileSuffix[] =
30 base::FilePath::CharType kSourcesFileSuffix[] = FILE_PATH_LITERAL(".files");
31 base::FilePath::CharType kIncludesFileSuffix[] = FILE_PATH_LITERAL(".includes");
32 base::FilePath::CharType kDefinesFileSuffix[] = FILE_PATH_LITERAL(".config");
271 void QtCreatorWriter::GenerateFile(const base::FilePath::CharType* suffix, in GenerateFile()
Dqt_creator_writer.h39 void GenerateFile(const base::FilePath::CharType* suffix,
/third_party/googletest/googletest/src/
Dgtest-printers.cc113 template <typename CharType>
114 char32_t ToChar32(CharType in) { in ToChar32()
116 static_cast<typename std::make_unsigned<CharType>::type>(in)); in ToChar32()
336 template <typename CharType>
340 PrintCharsAsStringTo(const CharType* begin, size_t len, ostream* os) { in PrintCharsAsStringTo()
346 const CharType cur = begin[index]; in PrintCharsAsStringTo()
365 template <typename CharType>
369 UniversalPrintCharArray(const CharType* begin, size_t len, in UniversalPrintCharArray()
/third_party/node/deps/googletest/src/
Dgtest-printers.cc115 template <typename CharType>
116 char32_t ToChar32(CharType in) { in ToChar32()
118 static_cast<typename std::make_unsigned<CharType>::type>(in)); in ToChar32()
338 template <typename CharType>
342 PrintCharsAsStringTo(const CharType* begin, size_t len, ostream* os) { in PrintCharsAsStringTo()
348 const CharType cur = begin[index]; in PrintCharsAsStringTo()
367 template <typename CharType>
371 UniversalPrintCharArray(const CharType* begin, size_t len, in UniversalPrintCharArray()
/third_party/mesa3d/src/gtest/src/
Dgtest-printers.cc262 template <typename CharType>
268 const CharType* begin, size_t len, ostream* os) { in PrintCharsAsStringTo()
269 const char* const kQuoteBegin = sizeof(CharType) == 1 ? "\"" : "L\""; in PrintCharsAsStringTo()
274 const CharType cur = begin[index]; in PrintCharsAsStringTo()
293 template <typename CharType>
299 const CharType* begin, size_t len, ostream* os) { in UniversalPrintCharArray()
/third_party/gn/src/base/
Dcommand_line.h39 using CharType = StringType::value_type; variable
51 CommandLine(int argc, const CharType* const* argv);
106 void InitFromArgv(int argc, const CharType* const* argv);
Dcommand_line.cc33 const CommandLine::CharType kSwitchTerminator[] = FILE_PATH_LITERAL("--");
34 const CommandLine::CharType kSwitchValueSeparator[] = FILE_PATH_LITERAL("=");
42 const CommandLine::CharType* const kSwitchPrefixes[] = {u"--", u"-", u"/"};
45 const CommandLine::CharType* const kSwitchPrefixes[] = {"--", "-"};
170 CommandLine::CommandLine(int argc, const CommandLine::CharType* const* argv) in CommandLine()
257 const CommandLine::CharType* const* argv) { in InitFromArgv()
/third_party/mesa3d/src/gtest/include/gtest/
Dgtest-printers.h330 #define GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_(CharType) \ argument
332 class FormatForComparison<CharType*, OtherOperand> { \
334 static ::std::string Format(CharType* value) { \
349 #define GTEST_IMPL_FORMAT_C_STRING_AS_STRING_(CharType, OtherStringType) \ argument
351 class FormatForComparison<CharType*, OtherStringType> { \
353 static ::std::string Format(CharType* value) { \
Dgtest-matchers.h635 template <typename CharType>
636 bool MatchAndExplain(CharType* s, MatchResultListener* listener) const { in MatchAndExplain()
/third_party/googletest/googlemock/src/
Dgmock.cc142 template <typename CharType>
143 void InitGoogleMockImpl(int* argc, CharType** argv) { in InitGoogleMockImpl()
/third_party/node/deps/googletest/include/gtest/
Dgtest-printers.h352 #define GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_(CharType) \
354 class FormatForComparison<CharType*, OtherOperand> { \
356 static ::std::string Format(CharType* value) { \
379 #define GTEST_IMPL_FORMAT_C_STRING_AS_STRING_(CharType, OtherStringType) \
381 class FormatForComparison<CharType*, OtherStringType> { \
383 static ::std::string Format(CharType* value) { \
Dgtest-matchers.h800 template <typename CharType>
801 bool MatchAndExplain(CharType* s, MatchResultListener* listener) const {
/third_party/googletest/googletest/include/gtest/
Dgtest-printers.h350 #define GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_(CharType) \
352 class FormatForComparison<CharType*, OtherOperand> { \
354 static ::std::string Format(CharType* value) { \
377 #define GTEST_IMPL_FORMAT_C_STRING_AS_STRING_(CharType, OtherStringType) \
379 class FormatForComparison<CharType*, OtherStringType> { \
381 static ::std::string Format(CharType* value) { \
Dgtest-matchers.h833 template <typename CharType>
834 bool MatchAndExplain(CharType* s, MatchResultListener* listener) const {
/third_party/json/tests/abi/include/nlohmann/
Djson_v3_10_5.hpp13183 template<typename CharType> struct output_adapter_protocol
13185 virtual void write_character(CharType c) = 0;
13186 virtual void write_characters(const CharType* s, std::size_t length) = 0;
13197 template<typename CharType>
13198 using output_adapter_t = std::shared_ptr<output_adapter_protocol<CharType>>;
13201 template<typename CharType, typename AllocatorType = std::allocator<CharType>>
13202 class output_vector_adapter : public output_adapter_protocol<CharType>
13205 explicit output_vector_adapter(std::vector<CharType, AllocatorType>& vec) noexcept in output_vector_adapter() argument
13209 void write_character(CharType c) override in write_character()
13215 void write_characters(const CharType* s, std::size_t length) override in write_characters()
[all …]
/third_party/json/single_include/nlohmann/
Djson.hpp14820 template<typename CharType> struct output_adapter_protocol
14822 virtual void write_character(CharType c) = 0;
14823 virtual void write_characters(const CharType* s, std::size_t length) = 0;
14834 template<typename CharType>
14835 using output_adapter_t = std::shared_ptr<output_adapter_protocol<CharType>>;
14838 template<typename CharType, typename AllocatorType = std::allocator<CharType>>
14839 class output_vector_adapter : public output_adapter_protocol<CharType>
14842 explicit output_vector_adapter(std::vector<CharType, AllocatorType>& vec) noexcept in output_vector_adapter() argument
14846 void write_character(CharType c) override in write_character()
14852 void write_characters(const CharType* s, std::size_t length) override in write_characters()
[all …]
/third_party/node/deps/v8/src/date/
Ddateparser-inl.h181 template <typename CharType>
182 DateParser::DateToken DateParser::DateStringTokenizer<CharType>::Scan() { in Scan()
/third_party/cef/libcef/common/
Dcrash_reporting.cc46 const base::FilePath::CharType kChromeElfDllName[] =

12