Home
last modified time | relevance | path

Searched refs:IsInSet (Results 1 – 4 of 4) sorted by relevance

/freebsd-12.1/contrib/googletest/googletest/src/
H A Dgtest-port.cc684 bool IsInSet(char ch, const char* str) { in IsInSet() function
693 return IsInSet(ch, "^-!\"#$%&'()*+,./:;<=>?@[\\]_`{|}~"); in IsAsciiPunct()
695 bool IsRepeat(char ch) { return IsInSet(ch, "?*+"); } in IsRepeat()
696 bool IsAsciiWhiteSpace(char ch) { return IsInSet(ch, " \f\n\r\t\v"); } in IsAsciiWhiteSpace()
704 return (IsAsciiPunct(c) || IsInSet(c, "dDfnrsStvwW")); in IsValidEscape()
777 } else if (IsInSet(ch, "()[]{}|")) { in ValidateRegex()
787 prev_repeatable = !IsInSet(ch, "^$?*+"); in ValidateRegex()
H A Dgtest-internal-inl.h940 GTEST_API_ bool IsInSet(char ch, const char* str);
/freebsd-12.1/contrib/googletest/googletest/test/
H A Dgoogletest-port-test.cc456 EXPECT_FALSE(IsInSet('\0', "")); in TEST()
457 EXPECT_FALSE(IsInSet('\0', "\0")); in TEST()
458 EXPECT_FALSE(IsInSet('\0', "a")); in TEST()
462 EXPECT_FALSE(IsInSet('a', "Ab")); in TEST()
463 EXPECT_FALSE(IsInSet('c', "")); in TEST()
465 EXPECT_TRUE(IsInSet('b', "bcd")); in TEST()
466 EXPECT_TRUE(IsInSet('b', "ab")); in TEST()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DSROA.cpp4519 auto IsInSet = [&](AllocaInst *AI) { return DeletedAllocas.count(AI); }; in runImpl() local
4520 Worklist.remove_if(IsInSet); in runImpl()
4521 PostPromotionWorklist.remove_if(IsInSet); in runImpl()
4522 PromotableAllocas.erase(llvm::remove_if(PromotableAllocas, IsInSet), in runImpl()