Searched refs:CharPtr (Results 1 – 5 of 5) sorted by relevance
/external/google-breakpad/src/testing/test/ |
D | gmock-more-actions_test.cc | 279 inline const char* CharPtr(const char* s) { return s; } in CharPtr() function 287 a.Perform(make_tuple(CharPtr("1"), CharPtr("2"), CharPtr("3"), in TEST() 288 CharPtr("4"), CharPtr("5"), CharPtr("6"), in TEST() 289 CharPtr("7")))); in TEST() 298 a.Perform(make_tuple(CharPtr("1"), CharPtr("2"), CharPtr("3"), in TEST() 299 CharPtr("4"), CharPtr("5"), CharPtr("6"), in TEST() 300 CharPtr("7"), CharPtr("8")))); in TEST() 309 a.Perform(make_tuple(CharPtr("1"), CharPtr("2"), CharPtr("3"), in TEST() 310 CharPtr("4"), CharPtr("5"), CharPtr("6"), in TEST() 311 CharPtr("7"), CharPtr("8"), CharPtr("9")))); in TEST() [all …]
|
D | gmock-generated-actions_test.cc | 165 inline const char* CharPtr(const char* s) { return s; } in CharPtr() function 296 EXPECT_EQ(s + 2, a.Perform(make_tuple(CharPtr(s), 0.5, Short(2)))); in TEST() 310 EXPECT_EQ("4310", a.Perform(make_tuple(CharPtr("0"), CharPtr("1"), 2.5, in TEST() 311 CharPtr("3"), CharPtr("4")))); in TEST() 320 a.Perform(make_tuple(CharPtr("0"), CharPtr("1"), CharPtr("2"), in TEST() 321 CharPtr("3"), CharPtr("4")))); in TEST() 329 a.Perform(make_tuple(CharPtr("0"), CharPtr("1"), CharPtr("2")))); in TEST() 337 a.Perform(make_tuple(CharPtr("0"), CharPtr("1"), CharPtr("2"), in TEST() 338 CharPtr("3")))); in TEST() 346 a.Perform(make_tuple(CharPtr("0"), CharPtr("1"), CharPtr("2"), in TEST() [all …]
|
/external/clang/test/Sema/ |
D | cast.c | 29 typedef char *CharPtr; typedef 42 (void) (CharPtr) v; in testBool() 56 …(void) (CharPtr) v; // expected-warning{{cast to 'CharPtr' (aka 'char *') from smaller integer typ… in testInt() 63 …(void) (CharPtr) v; // expected-warning{{cast to 'CharPtr' (aka 'char *') from smaller integer typ… in testInt() 78 (void) (CharPtr) v; in testLong() 158 (void) (CharPtr) v; in testVoidPtr() 161 void testCharPtr(CharPtr v) { in testCharPtr() 166 (void) (CharPtr) v; in testCharPtr()
|
/external/clang/test/SemaCXX/ |
D | warn-cast-align.cpp | 10 typedef char *CharPtr; in test0() typedef 11 a = CharPtr(P); in test0() 31 typedef char *CharPtr; in test1() typedef 32 a = CharPtr(P); in test1()
|
/external/clang/lib/CodeGen/ |
D | TargetInfo.cpp | 3142 llvm::Type *CharPtr = CGF.Int8PtrTy; in EmitVAArg() local 3146 llvm::Value *GPRPtr = Builder.CreateBitCast(VAListAddr, CharPtr, "gprptr"); in EmitVAArg() 3149 llvm::Value *FPRPtr = Builder.CreateIntToPtr(FPRPtrAsInt, CharPtr); in EmitVAArg() 3204 Builder.CreateStore(Builder.CreateIntToPtr(OverflowAreaAsInt, CharPtr), OverflowAreaPtr); in EmitVAArg()
|