Home
last modified time | relevance | path

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

/freebsd/contrib/googletest/googletest/src/
H A 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()
H A Dgtest.cc6681 template <typename CharType>
6682 void ParseGoogleTestFlagsOnlyImpl(int* argc, CharType** argv) { in ParseGoogleTestFlagsOnlyImpl()
6809 template <typename CharType>
6810 void InitGoogleTestImpl(int* argc, CharType** argv) { in InitGoogleTestImpl()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DProgram.cpp40 PrimType CharType; in createGlobalString() local
43 CharType = PT_Sint8; in createGlobalString()
46 CharType = PT_Uint16; in createGlobalString()
49 CharType = PT_Uint32; in createGlobalString()
57 allocateDescriptor(S, CharType, Descriptor::GlobalMD, S->getLength() + 1, in createGlobalString()
78 switch (CharType) { in createGlobalString()
/freebsd/contrib/googletest/googlemock/src/
H A Dgmock.cc144 template <typename CharType>
145 void InitGoogleMockImpl(int* argc, CharType** argv) { in InitGoogleMockImpl()
/freebsd/contrib/googletest/googletest/include/gtest/
H A Dgtest-printers.h396 #define GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_(CharType) \
398 class FormatForComparison<CharType*, OtherOperand> { \
400 static ::std::string Format(CharType* value) { \
423 #define GTEST_IMPL_FORMAT_C_STRING_AS_STRING_(CharType, OtherStringType) \
425 class FormatForComparison<CharType*, OtherStringType> { \
427 static ::std::string Format(CharType* value) { \
H A Dgtest-matchers.h800 template <typename CharType>
801 bool MatchAndExplain(CharType* s, MatchResultListener* listener) const {
/freebsd/contrib/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h918 template <typename CharType>
919 bool MatchAndExplain(CharType* s, MatchResultListener* listener) const {
986 template <typename CharType>
987 bool MatchAndExplain(CharType* s, MatchResultListener* listener) const {
1039 template <typename CharType>
1040 bool MatchAndExplain(CharType* s, MatchResultListener* listener) const {
1093 template <typename CharType>
1094 bool MatchAndExplain(CharType* s, MatchResultListener* listener) const {
/freebsd/contrib/googletest/googletest/test/
H A Dgtest_unittest.cc5679 template <typename CharType>
5680 static void AssertStringArrayEq(int size1, CharType** array1, int size2, in AssertStringArrayEq()
5681 CharType** array2) { in AssertStringArrayEq()
5717 template <typename CharType>
5718 static void TestParsingFlags(int argc1, const CharType** argv1, int argc2, in TestParsingFlags()
5719 const CharType** argv2, const Flags& expected, in TestParsingFlags()
5729 internal::ParseGoogleTestFlagsOnly(&argc1, const_cast<CharType**>(argv1)); in TestParsingFlags()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp1790 TypeIndex CharType = TypeIndex(SimpleTypeKind::NarrowCharacter); in lowerTypeBasic()
1799 ArrayRecord AR(CharType, IndexType, ArraySize, Name); in lowerTypeBasic()
1772 TypeIndex CharType = TypeIndex(SimpleTypeKind::NarrowCharacter); lowerTypeString() local
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp3479 QualType CharType = CAT->getElementType(); in extractStringLiteralCharacter() local
3480 assert(CharType->isIntegerType() && "unexpected character type"); in extractStringLiteralCharacter()
3481 APSInt Value(Info.Ctx.getTypeSize(CharType), in extractStringLiteralCharacter()
3482 CharType->isUnsignedIntegerType()); in extractStringLiteralCharacter()
3498 QualType CharType = CAT->getElementType(); in expandStringLiteral() local
3499 assert(CharType->isIntegerType() && "unexpected character type"); in expandStringLiteral()
3504 APSInt Value(Info.Ctx.getTypeSize(CharType), in expandStringLiteral()
3505 CharType->isUnsignedIntegerType()); in expandStringLiteral()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaInit.cpp9580 QualType CharType = AT->getElementType(); in CheckC23ConstexprInitStringLiteral() local
9581 uint32_t BitWidth = SemaRef.Context.getTypeSize(CharType); in CheckC23ConstexprInitStringLiteral()
9582 bool isUnsigned = CharType->isUnsignedIntegerType(); in CheckC23ConstexprInitStringLiteral()
9590 << C << CharType; in CheckC23ConstexprInitStringLiteral()
H A DSemaExpr.cpp10810 const QualType CharType = CharExpr->getType(); in diagnoseStringPlusChar() local
10811 if (!CharType->isAnyCharacterType() && in diagnoseStringPlusChar()
10812 CharType->isIntegerType() && in diagnoseStringPlusChar()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp12771 Type *CharType = Type::getInt8Ty(I->getContext()); in manifest() local
12779 new AllocaInst(CharType, AI->getAddressSpace(), NumBytesToValue, in manifest()