Home
last modified time | relevance | path

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

12

/third_party/json/include/nlohmann/detail/output/
Doutput_adapters.hpp22 template<typename CharType> struct output_adapter_protocol
24 virtual void write_character(CharType c) = 0;
25 virtual void write_characters(const CharType* s, std::size_t length) = 0;
36 template<typename CharType>
37 using output_adapter_t = std::shared_ptr<output_adapter_protocol<CharType>>;
40 template<typename CharType>
41 class output_vector_adapter : public output_adapter_protocol<CharType>
44 explicit output_vector_adapter(std::vector<CharType>& vec) noexcept in output_vector_adapter()
48 void write_character(CharType c) override in write_character()
54 void write_characters(const CharType* s, std::size_t length) override in write_characters()
[all …]
Dbinary_writer.hpp27 template<typename BasicJsonType, typename CharType>
40 explicit binary_writer(output_adapter_t<CharType> adapter) : oa(std::move(adapter)) in binary_writer()
246 reinterpret_cast<const CharType*>(j.m_value.string->c_str()), in write_cbor()
347 reinterpret_cast<const CharType*>(j.m_value.binary->data()), in write_cbor()
566 reinterpret_cast<const CharType*>(j.m_value.string->c_str()), in write_msgpack()
678 reinterpret_cast<const CharType*>(j.m_value.binary->data()), in write_msgpack()
778 reinterpret_cast<const CharType*>(j.m_value.string->c_str()), in write_ubjson()
794 const CharType first_prefix = ubjson_prefix(j.front()); in write_ubjson()
851 reinterpret_cast<const CharType*>(j.m_value.binary->data()), in write_ubjson()
882 const CharType first_prefix = ubjson_prefix(j.front()); in write_ubjson()
[all …]
/third_party/gn/src/base/files/
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;
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('.');
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/googletest/googletest/src/
Dgtest-printers.cc114 template <typename CharType>
115 char32_t ToChar32(CharType in) { in ToChar32()
117 static_cast<typename std::make_unsigned<CharType>::type>(in)); in ToChar32()
311 template <typename CharType>
317 const CharType* begin, size_t len, ostream* os) { in PrintCharsAsStringTo()
323 const CharType cur = begin[index]; in PrintCharsAsStringTo()
342 template <typename CharType>
348 const CharType* begin, size_t len, ostream* os) { in UniversalPrintCharArray()
/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/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.cc143 template <typename CharType>
144 void InitGoogleMockImpl(int* argc, CharType** argv) { in InitGoogleMockImpl()
/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.h813 template <typename CharType>
814 bool MatchAndExplain(CharType* s, MatchResultListener* listener) const {
/third_party/json/single_include/nlohmann/
Djson.hpp13466 template<typename CharType> struct output_adapter_protocol
13468 virtual void write_character(CharType c) = 0;
13469 virtual void write_characters(const CharType* s, std::size_t length) = 0;
13480 template<typename CharType>
13481 using output_adapter_t = std::shared_ptr<output_adapter_protocol<CharType>>;
13484 template<typename CharType>
13485 class output_vector_adapter : public output_adapter_protocol<CharType>
13488 explicit output_vector_adapter(std::vector<CharType>& vec) noexcept in output_vector_adapter()
13492 void write_character(CharType c) override in write_character()
13498 void write_characters(const CharType* s, std::size_t length) override in write_characters()
[all …]
/third_party/cef/libcef/common/
Dcrash_reporting.cc46 const base::FilePath::CharType kChromeElfDllName[] =
/third_party/googletest/googlemock/include/gmock/
Dgmock-matchers.h920 template <typename CharType>
921 bool MatchAndExplain(CharType* s, MatchResultListener* listener) const {
988 template <typename CharType>
989 bool MatchAndExplain(CharType* s, MatchResultListener* listener) const {
1042 template <typename CharType>
1043 bool MatchAndExplain(CharType* s, MatchResultListener* listener) const {
1096 template <typename CharType>
1097 bool MatchAndExplain(CharType* s, MatchResultListener* listener) const {
/third_party/cef/tools/distrib/gtest/
Dgtest-all.cc8044 template <typename CharType>
8045 void ParseGoogleTestFlagsOnlyImpl(int* argc, CharType** argv) { in ParseGoogleTestFlagsOnlyImpl()
8120 template <typename CharType>
8121 void InitGoogleTestImpl(int* argc, CharType** argv) { in InitGoogleTestImpl()
11872 template <typename CharType>
11873 char32_t ToChar32(CharType in) { in ToChar32()
11875 static_cast<typename std::make_unsigned<CharType>::type>(in)); in ToChar32()
12069 template <typename CharType>
12075 const CharType* begin, size_t len, ostream* os) { in PrintCharsAsStringTo()
12081 const CharType cur = begin[index]; in PrintCharsAsStringTo()
[all …]
Dgtest.h5412 #define GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_(CharType) \
5414 class FormatForComparison<CharType*, OtherOperand> { \
5416 static ::std::string Format(CharType* value) { \
5439 #define GTEST_IMPL_FORMAT_C_STRING_AS_STRING_(CharType, OtherStringType) \
5441 class FormatForComparison<CharType*, OtherStringType> { \
5443 static ::std::string Format(CharType* value) { \
6899 template <typename CharType>
6900 bool MatchAndExplain(CharType* s, MatchResultListener* listener) const {
/third_party/json/include/nlohmann/
Djson.hpp187 template<typename BasicJsonType, typename CharType>
226 template<typename CharType>
227 using output_adapter_t = ::nlohmann::detail::output_adapter_t<CharType>;
231 …template<typename CharType> using binary_writer = ::nlohmann::detail::binary_writer<basic_json, Ch…
/third_party/googletest/googletest/test/
Dgtest_unittest.cc5761 template <typename CharType>
5762 static void AssertStringArrayEq(int size1, CharType** array1, int size2, in AssertStringArrayEq()
5763 CharType** array2) { in AssertStringArrayEq()
5796 template <typename CharType>
5797 static void TestParsingFlags(int argc1, const CharType** argv1, in TestParsingFlags()
5798 int argc2, const CharType** argv2, in TestParsingFlags()
5808 internal::ParseGoogleTestFlagsOnly(&argc1, const_cast<CharType**>(argv1)); in TestParsingFlags()

12