Home
last modified time | relevance | path

Searched refs:CharType (Results 1 – 12 of 12) 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.cc6629 template <typename CharType>
6630 void ParseGoogleTestFlagsOnlyImpl(int* argc, CharType** argv) { in ParseGoogleTestFlagsOnlyImpl()
6757 template <typename CharType>
6758 void InitGoogleTestImpl(int* argc, CharType** argv) { in InitGoogleTestImpl()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DProgram.cpp41 PrimType CharType; in createGlobalString() local
44 CharType = PT_Sint8; in createGlobalString()
47 CharType = PT_Uint16; in createGlobalString()
50 CharType = PT_Uint32; in createGlobalString()
58 allocateDescriptor(S, CharType, std::nullopt, S->getLength() + 1, in createGlobalString()
77 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.h374 #define GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_(CharType) \
376 class FormatForComparison<CharType*, OtherOperand> { \
378 static ::std::string Format(CharType* value) { \
401 #define GTEST_IMPL_FORMAT_C_STRING_AS_STRING_(CharType, OtherStringType) \
403 class FormatForComparison<CharType*, OtherStringType> { \
405 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.cc5675 template <typename CharType>
5676 static void AssertStringArrayEq(int size1, CharType** array1, int size2, in AssertStringArrayEq()
5677 CharType** array2) { in AssertStringArrayEq()
5713 template <typename CharType>
5714 static void TestParsingFlags(int argc1, const CharType** argv1, int argc2, in TestParsingFlags()
5715 const CharType** argv2, const Flags& expected, in TestParsingFlags()
5725 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 lowerTypeString() local
1799 ArrayRecord AR(CharType, IndexType, ArraySize, Name); in lowerTypeString()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp3451 QualType CharType = CAT->getElementType(); in extractStringLiteralCharacter() local
3452 assert(CharType->isIntegerType() && "unexpected character type"); in extractStringLiteralCharacter()
3453 APSInt Value(Info.Ctx.getTypeSize(CharType), in extractStringLiteralCharacter()
3454 CharType->isUnsignedIntegerType()); in extractStringLiteralCharacter()
3470 QualType CharType = CAT->getElementType(); in expandStringLiteral() local
3471 assert(CharType->isIntegerType() && "unexpected character type"); in expandStringLiteral()
3476 APSInt Value(Info.Ctx.getTypeSize(CharType), in expandStringLiteral()
3477 CharType->isUnsignedIntegerType()); in expandStringLiteral()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp12781 Type *CharType = Type::getInt8Ty(I->getContext()); in manifest() local
12787 new AllocaInst(CharType, AI->getAddressSpace(), NumBytesToValue, in manifest()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp11808 const QualType CharType = CharExpr->getType(); in diagnoseStringPlusChar() local
11809 if (!CharType->isAnyCharacterType() && in diagnoseStringPlusChar()
11810 CharType->isIntegerType() && in diagnoseStringPlusChar()