Home
last modified time | relevance | path

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

1234

/external/pdfium/core/fxcrt/
Dstring_view_template.h31 using CharType = T;
32 using UnsignedType = typename std::make_unsigned<CharType>::type;
33 using const_iterator = const CharType*;
42 StringViewTemplate(const CharType* ptr) noexcept in StringViewTemplate()
46 constexpr StringViewTemplate(const CharType* ptr, size_t len) noexcept in StringViewTemplate()
50 const pdfium::span<const CharType>& other) noexcept in StringViewTemplate()
58 typename std::enable_if<!std::is_same<U, CharType>::value>::type* =
65 typename std::enable_if<!std::is_same<U, CharType>::value>::type* =
72 constexpr StringViewTemplate(CharType& ch) noexcept in StringViewTemplate()
81 StringViewTemplate& operator=(const CharType* src) {
[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()
44 static StringDataTemplate* Create(const CharType* pStr, size_t nLen) { in Create()
63 (other.m_nDataLength + 1) * sizeof(CharType)); in CopyContents()
66 void CopyContents(const CharType* pStr, size_t nLen) { in CopyContents()
70 memcpy(m_String, pStr, nLen * sizeof(CharType)); in CopyContents()
74 void CopyContentsAt(size_t offset, const CharType* pStr, size_t nLen) { in CopyContentsAt()
79 memcpy(m_String + offset, pStr, nLen * sizeof(CharType)); in CopyContentsAt()
[all …]
Dbytestring.h30 using CharType = char;
31 using const_iterator = const CharType*;
144 CharType operator[](const size_t index) const {
149 CharType Front() const { return GetLength() ? (*this)[0] : 0; } in Front()
150 CharType Back() const { return GetLength() ? (*this)[GetLength() - 1] : 0; } in Back()
Dfx_string.h35 std::vector<StrType> Split(const StrType& that, typename StrType::CharType ch) { in Split()
37 StringViewTemplate<typename StrType::CharType> remaining(that.span()); in Split()
/external/llvm-project/flang/runtime/
Dformat.h82 using CharType = typename Context::CharType; variable
85 FormatControl(const Terminator &, const CharType *format,
91 IoErrorHandler &, const CharType *format, std::size_t formatLength);
121 CharType PeekNext() { in PeekNext()
125 CharType GetNextChar(IoErrorHandler &handler) { in GetNextChar()
134 int GetIntField(IoErrorHandler &, CharType firstCh = '\0');
143 static constexpr CharType Capitalize(CharType ch) { in Capitalize()
152 const CharType *format_{nullptr};
Dformat-implementation.h26 const CharType *format, std::size_t formatLength, int maxHeight) in FormatControl()
38 IoErrorHandler &handler, const CharType *format, std::size_t formatLength) { in GetMaxParenthesisNesting()
41 const CharType *end{format + formatLength}; in GetMaxParenthesisNesting()
42 std::optional<CharType> quote; in GetMaxParenthesisNesting()
44 for (const CharType *p{format}; p < end; ++p) { in GetMaxParenthesisNesting()
91 IoErrorHandler &handler, CharType firstCh) { in GetIntField()
92 CharType ch{firstCh ? firstCh : PeekNext()}; in GetIntField()
229 CharType ch{GetNextChar(context)}; in CueUpNextDataEdit()
301 CharType quote{ch}; in CueUpNextDataEdit()
333 CharType next{'\0'}; in CueUpNextDataEdit()
[all …]
Dio-stmt.h189 using CharType = CHAR;
191 std::conditional_t<DIR == Direction::Input, const CharType *, CharType *>;
197 bool Emit(const CharType *, std::size_t chars /* not necessarily bytes */,
217 using CharType = CHAR;
218 using typename InternalIoStatementState<DIR, CharType>::Buffer;
220 const CharType *format, std::size_t formatLength,
222 InternalFormattedIoStatementState(const Descriptor &, const CharType *format,
234 using InternalIoStatementState<DIR, CharType>::unit_;
243 using CharType = CHAR;
244 using typename InternalIoStatementState<DIR, CharType>::Buffer;
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DStringIntegerAssignmentCheck.cpp47 CharExpressionDetector(QualType CharType, const ASTContext &Ctx) in CharExpressionDetector() argument
48 : CharType(CharType), Ctx(Ctx) {} in CharExpressionDetector()
116 return EvalResult.Val.getInt().getActiveBits() <= Ctx.getTypeSize(CharType); in isCharValuedConstant()
122 CharType.getTypePtr(); in isCharTyped()
125 const QualType CharType; member in clang::tidy::bugprone::CharExpressionDetector
132 const auto CharType = in check() local
137 if (CharExpressionDetector(CharType, *Result.Context) in check()
150 bool IsWideCharType = CharType->isWideCharType(); in check()
151 if (!CharType->isCharType() && !IsWideCharType) in check()
/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/llvm-project/clang-tools-extra/clang-tidy/boost/
DUseToStringCheck.cpp42 auto CharType = in check() local
46 if (CharType->isSpecificBuiltinType(BuiltinType::Char_S) || in check()
47 CharType->isSpecificBuiltinType(BuiltinType::Char_U)) in check()
49 else if (CharType->isSpecificBuiltinType(BuiltinType::WChar_S) || in check()
50 CharType->isSpecificBuiltinType(BuiltinType::WChar_U)) in check()
/external/llvm-project/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/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()
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/src/
Dgtest-printers.cc261 template <typename CharType>
267 const CharType* begin, size_t len, ostream* os) { in PrintCharsAsStringTo()
268 const char* const kQuoteBegin = sizeof(CharType) == 1 ? "\"" : "L\""; in PrintCharsAsStringTo()
273 const CharType cur = begin[index]; in PrintCharsAsStringTo()
292 template <typename CharType>
298 const CharType* begin, size_t len, ostream* os) { in UniversalPrintCharArray()
/external/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()
/external/libaom/libaom/third_party/googletest/src/googletest/src/
Dgtest-printers.cc227 template <typename CharType>
231 PrintCharsAsStringTo(const CharType *begin, size_t len, ostream *os) { in PrintCharsAsStringTo()
232 const char *const kQuoteBegin = sizeof(CharType) == 1 ? "\"" : "L\""; in PrintCharsAsStringTo()
237 const CharType cur = begin[index]; in PrintCharsAsStringTo()
256 template <typename CharType>
260 UniversalPrintCharArray(const CharType *begin, size_t len, 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/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()
/external/llvm-project/clang/lib/AST/Interp/
DProgram.cpp25 PrimType CharType; in createGlobalString() local
28 CharType = PT_Sint8; in createGlobalString()
31 CharType = PT_Uint16; in createGlobalString()
34 CharType = PT_Uint32; in createGlobalString()
41 Descriptor *Desc = allocateDescriptor(S, CharType, S->getLength() + 1, in createGlobalString()
59 switch (CharType) { in createGlobalString()
/external/pdfium/core/fpdftext/
Dcpdf_textpage.h37 enum class CharType : uint8_t { enum
54 CharType m_CharType = CharType::kNormal;
/external/llvm-project/clang-tools-extra/clang-include-fixer/
DFuzzySymbolIndex.cpp53 enum CharType { UPPER, LOWER, DIGIT, MISC }; enum
54 CharType classify(char c) { in classify()
80 CharType Type = classify(Text[I]); in tokenize()
/external/llvm-project/llvm/utils/unittest/googlemock/src/
Dgmock.cc127 template <typename CharType>
128 void InitGoogleMockImpl(int* argc, CharType** argv) { in InitGoogleMockImpl()

1234