Home
last modified time | relevance | path

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

123

/external/pdfium/core/fxcrt/
Dstring_view_template.h29 using CharType = T;
30 using UnsignedType = typename std::make_unsigned<CharType>::type;
31 using const_iterator = const CharType*;
38 StringViewTemplate(const CharType* ptr) in StringViewTemplate()
42 StringViewTemplate(const CharType* ptr, size_t len) in StringViewTemplate()
49 typename std::enable_if<!std::is_same<U, CharType>::value>::type* = 0)
55 StringViewTemplate(CharType& ch) { in StringViewTemplate()
71 StringViewTemplate& operator=(const CharType* src) {
84 return reinterpret_cast<const CharType*>(m_Ptr.Get()); in begin()
87 return m_Ptr ? reinterpret_cast<const CharType*>(m_Ptr.Get()) + m_Length in end()
[all …]
Dstring_data_template.h16 template <typename CharType>
24 int overhead = offsetof(StringDataTemplate, m_String) + sizeof(CharType); in Create()
26 nSize *= sizeof(CharType); in Create()
36 size_t usableLen = (totalSize - overhead) / sizeof(CharType); in Create()
50 static StringDataTemplate* Create(const CharType* pStr, size_t nLen) { in Create()
70 (other.m_nDataLength + 1) * sizeof(CharType)); in CopyContents()
73 void CopyContents(const CharType* pStr, size_t nLen) { in CopyContents()
75 memcpy(m_String, pStr, nLen * sizeof(CharType)); in CopyContents()
79 void CopyContentsAt(size_t offset, const CharType* pStr, size_t nLen) { in CopyContentsAt()
81 memcpy(m_String + offset, pStr, nLen * sizeof(CharType)); in CopyContentsAt()
[all …]
Dbytestring.h31 using CharType = char;
32 using const_iterator = const CharType*;
132 CharType operator[](const size_t index) const {
137 CharType First() const { return GetLength() ? (*this)[0] : 0; } in First()
138 CharType Last() const { return GetLength() ? (*this)[GetLength() - 1] : 0; } in Last()
Dwidestring.h32 using CharType = wchar_t;
33 using const_iterator = const CharType*;
127 CharType operator[](const size_t index) const {
132 CharType First() const { return GetLength() ? (*this)[0] : 0; } in First()
133 CharType Last() const { return GetLength() ? (*this)[GetLength() - 1] : 0; } in Last()
/external/libchrome/base/files/
Dfile_path_constants.cc13 const FilePath::CharType FilePath::kSeparators[] = FILE_PATH_LITERAL("\\/");
15 const FilePath::CharType FilePath::kSeparators[] = FILE_PATH_LITERAL("/");
20 const FilePath::CharType FilePath::kCurrentDirectory[] = FILE_PATH_LITERAL(".");
21 const FilePath::CharType FilePath::kParentDirectory[] = FILE_PATH_LITERAL("..");
23 const FilePath::CharType FilePath::kExtensionSeparator = FILE_PATH_LITERAL('.');
Dfile_path.h157 typedef StringType::value_type CharType; typedef
163 static const CharType kSeparators[];
169 static const CharType kCurrentDirectory[];
172 static const CharType kParentDirectory[];
175 static const CharType kExtensionSeparator;
206 static bool IsSeparator(CharType character);
396 FilePath NormalizePathSeparatorsTo(CharType separator) const;
Dscoped_temp_dir.cc14 constexpr FilePath::CharType kScopedDirPrefix[] =
93 const FilePath::CharType* ScopedTempDir::GetTempDirPrefix() { in GetTempDirPrefix()
/external/cldr/tools/java/org/unicode/cldr/draft/
DNormalizedIdentifierParser.java16 enum CharType { enum in NormalizedIdentifierParser
57 CharType type = getCharType(codePoint); in next()
100 public CharType getCharType(int codePoint) {
103 … return NfcSafe.contains(codePoint) ? CharType.NameContinueNFC : CharType.NameContinueOther;
105 return NfcSafe.contains(codePoint) ? CharType.NameStartNFC : CharType.NameStartOther;
107 return CharType.Illegal;
109 return CharType.Whitespace;
111 return CharType.Other;
/external/mesa3d/src/gtest/src/
Dgtest-printers.cc258 template <typename CharType>
263 const CharType* begin, size_t len, ostream* os) { in PrintCharsAsStringTo()
264 const char* const kQuoteBegin = sizeof(CharType) == 1 ? "\"" : "L\""; in PrintCharsAsStringTo()
268 const CharType cur = begin[index]; in PrintCharsAsStringTo()
282 template <typename CharType>
287 const CharType* begin, size_t len, ostream* os) { in UniversalPrintCharArray()
/external/libaom/libaom/third_party/googletest/src/googletest/src/
Dgtest-printers.cc258 template <typename CharType>
263 const CharType* begin, size_t len, ostream* os) { in PrintCharsAsStringTo()
264 const char* const kQuoteBegin = sizeof(CharType) == 1 ? "\"" : "L\""; in PrintCharsAsStringTo()
268 const CharType cur = begin[index]; in PrintCharsAsStringTo()
282 template <typename CharType>
287 const CharType* begin, size_t len, ostream* os) { in UniversalPrintCharArray()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/src/
Dgtest-printers.cc258 template <typename CharType>
263 const CharType* begin, size_t len, ostream* os) { in PrintCharsAsStringTo()
264 const char* const kQuoteBegin = sizeof(CharType) == 1 ? "\"" : "L\""; in PrintCharsAsStringTo()
268 const CharType cur = begin[index]; in PrintCharsAsStringTo()
282 template <typename CharType>
287 const CharType* begin, size_t len, ostream* os) { in UniversalPrintCharArray()
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-printers.cc261 template <typename CharType>
266 const CharType* begin, size_t len, ostream* os) { in PrintCharsAsStringTo()
267 const char* const kQuoteBegin = sizeof(CharType) == 1 ? "\"" : "L\""; in PrintCharsAsStringTo()
272 const CharType cur = begin[index]; in PrintCharsAsStringTo()
291 template <typename CharType>
296 const CharType* begin, size_t len, ostream* os) { in UniversalPrintCharArray()
/external/googletest/googletest/src/
Dgtest-printers.cc260 template <typename CharType>
265 const CharType* begin, size_t len, ostream* os) { in PrintCharsAsStringTo()
266 const char* const kQuoteBegin = sizeof(CharType) == 1 ? "\"" : "L\""; in PrintCharsAsStringTo()
271 const CharType cur = begin[index]; in PrintCharsAsStringTo()
290 template <typename CharType>
295 const CharType* begin, size_t len, ostream* os) { in UniversalPrintCharArray()
/external/libchrome/base/
Dcommand_line.h41 using CharType = StringType::value_type; variable
53 CommandLine(int argc, const CharType* const* argv);
108 void InitFromArgv(int argc, const CharType* const* argv);
Dcommand_line.cc31 const CommandLine::CharType kSwitchTerminator[] = FILE_PATH_LITERAL("--");
32 const CommandLine::CharType kSwitchValueSeparator[] = FILE_PATH_LITERAL("=");
40 const CommandLine::CharType* const kSwitchPrefixes[] = {L"--", L"-", L"/"};
43 const CommandLine::CharType* const kSwitchPrefixes[] = {"--", "-"};
167 CommandLine::CommandLine(int argc, const CommandLine::CharType* const* argv) in CommandLine()
254 const CommandLine::CharType* const* argv) { in InitFromArgv()
Dcommand_line_unittest.cc31 const CommandLine::CharType* argv[] = { in TEST()
187 static const FilePath::CharType kPath1[] = in TEST()
189 static const FilePath::CharType kPath2[] = in TEST()
307 const CommandLine::CharType* raw_argv[] = { FILE_PATH_LITERAL("prog"), in TEST()
/external/google-breakpad/src/testing/src/
Dgmock.cc126 template <typename CharType>
127 void InitGoogleMockImpl(int* argc, CharType** argv) { in InitGoogleMockImpl()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googlemock/src/
Dgmock.cc127 template <typename CharType>
128 void InitGoogleMockImpl(int* argc, CharType** argv) { in InitGoogleMockImpl()
/external/googletest/googlemock/src/
Dgmock.cc143 template <typename CharType>
144 void InitGoogleMockImpl(int* argc, CharType** argv) { in InitGoogleMockImpl()
/external/google-breakpad/src/client/
Dminidump_file_writer.h150 template <typename CharType>
151 bool WriteStringCore(const CharType *str, unsigned int length,
/external/googletest/googletest/include/gtest/
Dgtest-printers.h329 #define GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_(CharType) \ argument
331 class FormatForComparison<CharType*, OtherOperand> { \
333 static ::std::string Format(CharType* value) { \
348 #define GTEST_IMPL_FORMAT_C_STRING_AS_STRING_(CharType, OtherStringType) \ argument
350 class FormatForComparison<CharType*, OtherStringType> { \
352 static ::std::string Format(CharType* value) { \
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/
Dgtest-printers.h292 #define GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_(CharType) \ argument
294 class FormatForComparison<CharType*, OtherOperand> { \
296 static ::std::string Format(CharType* value) { \
311 #define GTEST_IMPL_FORMAT_C_STRING_AS_STRING_(CharType, OtherStringType) \ argument
313 class FormatForComparison<CharType*, OtherStringType> { \
315 static ::std::string Format(CharType* value) { \
/external/mesa3d/src/gtest/include/gtest/
Dgtest-printers.h292 #define GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_(CharType) \ argument
294 class FormatForComparison<CharType*, OtherOperand> { \
296 static ::std::string Format(CharType* value) { \
311 #define GTEST_IMPL_FORMAT_C_STRING_AS_STRING_(CharType, OtherStringType) \ argument
313 class FormatForComparison<CharType*, OtherStringType> { \
315 static ::std::string Format(CharType* value) { \
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/include/gtest/
Dgtest-printers.h293 #define GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_(CharType) \ argument
295 class FormatForComparison<CharType*, OtherOperand> { \
297 static ::std::string Format(CharType* value) { \
312 #define GTEST_IMPL_FORMAT_C_STRING_AS_STRING_(CharType, OtherStringType) \ argument
314 class FormatForComparison<CharType*, OtherStringType> { \
316 static ::std::string Format(CharType* value) { \
/external/oj-libjdwp/src/share/classes/com/sun/jdi/
DCharType.java39 public interface CharType extends PrimitiveType { interface

123