Searched refs:toBoolList (Results 1 – 7 of 7) sorted by relevance
30 makeCombinations len = map (toBoolList len) [0 .. numCombs]39 go x = toBoolList len x : go (x `div` 2)42 toBoolList :: Int -> Int -> [Bool]43 toBoolList len x = flip map [(len - 1), (len - 2) .. 0] $ \b -> x `testBit` b function
143 toBoolList :: SmallSetElement a => SmallSet a -> [Bool]144 toBoolList = Array.elems . theSmallSet function148 toBoolListZipWith f s t = zipWith f (toBoolList s) (toBoolList t)
164 const std::vector<bool> &vecA = *EXIT_ON_ERR(ivalA.toBoolList()); in equal()165 const std::vector<bool> &vecB = *EXIT_ON_ERR(ivalB.toBoolList()); in equal()253 Expected<std::vector<bool> *> GlowIValue::toBoolList() { in toBoolList() function in glow::GlowIValue258 Expected<const std::vector<bool> *> GlowIValue::toBoolList() const { in toBoolList() function in glow::GlowIValue411 const auto ivalBools = ival.toBoolList(); in fromIValue()
164 Expected<std::vector<bool> *> toBoolList();167 Expected<const std::vector<bool> *> toBoolList() const;
3667 ASSIGN_VALUE_OR_RETURN_ERR(bools, glowIVal.toBoolList()); in loadConstant()
587 QList<QPair<QString, bool> > toBoolList; in generateTest() local707 toBoolList.append(QPair<QString, bool>(dataTag, toBoolRes)); in generateTest()777 tmp.append(generateToXXXDef<bool>("toBool", toBoolList)); in generateTest()
117 ASSIGN_VALUE_OR_FAIL_TEST(res, ival.toBoolList()); in TEST()