Home
last modified time | relevance | path

Searched refs:CharPtr (Results 1 – 9 of 9) sorted by relevance

/external/google-breakpad/src/testing/test/
Dgmock-more-actions_test.cc279 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 …]
Dgmock-generated-actions_test.cc165 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/googletest/googlemock/test/
Dgmock-more-actions_test.cc274 inline const char* CharPtr(const char* s) { return s; } in CharPtr() function
282 a.Perform(std::make_tuple(CharPtr("1"), CharPtr("2"), CharPtr("3"), in TEST()
283 CharPtr("4"), CharPtr("5"), CharPtr("6"), in TEST()
284 CharPtr("7")))); in TEST()
293 a.Perform(std::make_tuple(CharPtr("1"), CharPtr("2"), CharPtr("3"), in TEST()
294 CharPtr("4"), CharPtr("5"), CharPtr("6"), in TEST()
295 CharPtr("7"), CharPtr("8")))); in TEST()
305 CharPtr("1"), CharPtr("2"), CharPtr("3"), in TEST()
306 CharPtr("4"), CharPtr("5"), CharPtr("6"), in TEST()
307 CharPtr("7"), CharPtr("8"), CharPtr("9")))); in TEST()
[all …]
Dgmock-generated-actions_test.cc136 inline const char* CharPtr(const char* s) { return s; } in CharPtr() function
614 EXPECT_STREQ("hello", a1.Perform(std::make_tuple(false, CharPtr("world")))); in TEST()
615 EXPECT_STREQ("world", a1.Perform(std::make_tuple(true, CharPtr("world")))); in TEST()
618 EXPECT_STREQ("hi", a2.Perform(std::make_tuple(false, CharPtr("world")))); in TEST()
619 EXPECT_STREQ("world", a2.Perform(std::make_tuple(true, CharPtr("world")))); in TEST()
622 EXPECT_STREQ("hi", a3.Perform(std::make_tuple(true, CharPtr("world")))); in TEST()
623 EXPECT_STREQ("you", a3.Perform(std::make_tuple(false, CharPtr("world")))); in TEST()
718 EXPECT_EQ("foobar", no_promo.Perform(std::make_tuple(CharPtr("ba")))); in TEST()
719 EXPECT_EQ("foobar", promo.Perform(std::make_tuple(CharPtr("ba")))); in TEST()
Dgmock-actions_test.cc916 const char* CharPtr(const char* s) { return s; } in CharPtr() function
1050 EXPECT_EQ(s + 2, a.Perform(std::make_tuple(CharPtr(s), 0.5, Short(2)))); in TEST()
1066 a.Perform(std::make_tuple(CharPtr("0"), CharPtr("1"), CharPtr("2"), in TEST()
1067 CharPtr("3")))); in TEST()
1105 EXPECT_EQ(s + 2, a.Perform(std::make_tuple(Short(2), CharPtr(s)))); in TEST()
/external/deqp/external/vulkancts/framework/vulkan/
DvkStrUtil.cpp29 struct CharPtr struct
33 CharPtr (const char* ptr_) : ptr(ptr_) {} in CharPtr() argument
36 std::ostream& operator<< (std::ostream& str, const CharPtr& ptr) in operator <<()
44 inline CharPtr getCharPtrStr (const char* ptr) in getCharPtrStr()
46 return CharPtr(ptr); in getCharPtrStr()
/external/clang/test/Sema/
Dcast.c29 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/
Dwarn-cast-align.cpp10 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/swiftshader/third_party/llvm-7.0/llvm/lib/MC/MCParser/
DAsmParser.cpp1330 const char *CharPtr = StrLoc.getPointer(); in isAltmacroString() local
1331 while ((*CharPtr != '>') && (*CharPtr != '\n') && (*CharPtr != '\r') && in isAltmacroString()
1332 (*CharPtr != '\0')) { in isAltmacroString()
1333 if (*CharPtr == '!') in isAltmacroString()
1334 CharPtr++; in isAltmacroString()
1335 CharPtr++; in isAltmacroString()
1337 if (*CharPtr == '>') { in isAltmacroString()
1338 EndLoc = StrLoc.getFromPointer(CharPtr + 1); in isAltmacroString()