Lines Matching refs:found_at

766 	size_t found_at;  in ZTEST()  local
783 ret = sys_bitarray_find_nth_set(&ba, 1, 1, 0, &found_at); in ZTEST()
785 zassert_equal(found_at, 0, "sys_bitarray_find_nth_set() returned unexpected found_at: %d", in ZTEST()
786 found_at); in ZTEST()
788 ret = sys_bitarray_find_nth_set(&ba, 1, 32, 0, &found_at); in ZTEST()
790 zassert_equal(found_at, 0, "sys_bitarray_find_nth_set() returned unexpected found_at: %d", in ZTEST()
791 found_at); in ZTEST()
793 ret = sys_bitarray_find_nth_set(&ba, 2, 32, 0, &found_at); in ZTEST()
795 zassert_equal(found_at, 31, "sys_bitarray_find_nth_set() returned unexpected found_at: %d", in ZTEST()
796 found_at); in ZTEST()
798 ret = sys_bitarray_find_nth_set(&ba, 1, 31, 1, &found_at); in ZTEST()
800 zassert_equal(found_at, 31, "sys_bitarray_find_nth_set() returned unexpected found_at: %d", in ZTEST()
801 found_at); in ZTEST()
803 ret = sys_bitarray_find_nth_set(&ba, 2, 31, 1, &found_at); in ZTEST()
808 ret = sys_bitarray_find_nth_set(&ba, 1, 128, 0, &found_at); in ZTEST()
810 zassert_equal(found_at, 0, "sys_bitarray_find_nth_set() returned unexpected found_at: %d", in ZTEST()
811 found_at); in ZTEST()
813 ret = sys_bitarray_find_nth_set(&ba, 8, 128, 0, &found_at); in ZTEST()
815 zassert_equal(found_at, 127, "sys_bitarray_find_nth_set() returned unexpected found_at: %d", in ZTEST()
816 found_at); in ZTEST()
818 ret = sys_bitarray_find_nth_set(&ba, 8, 128, 1, &found_at); in ZTEST()
822 ret = sys_bitarray_find_nth_set(&ba, 7, 127, 1, &found_at); in ZTEST()
824 zassert_equal(found_at, 127, "sys_bitarray_find_nth_set() returned unexpected found_at: %d", in ZTEST()
825 found_at); in ZTEST()
827 ret = sys_bitarray_find_nth_set(&ba, 7, 127, 0, &found_at); in ZTEST()
829 zassert_equal(found_at, 96, "sys_bitarray_find_nth_set() returned unexpected found_at: %d", in ZTEST()
830 found_at); in ZTEST()
832 ret = sys_bitarray_find_nth_set(&ba, 6, 127, 1, &found_at); in ZTEST()
834 zassert_equal(found_at, 96, "sys_bitarray_find_nth_set() returned unexpected found_at: %d", in ZTEST()
835 found_at); in ZTEST()
837 ret = sys_bitarray_find_nth_set(&ba, 6, 127, 1, &found_at); in ZTEST()
839 zassert_equal(found_at, 96, "sys_bitarray_find_nth_set() returned unexpected found_at: %d", in ZTEST()
840 found_at); in ZTEST()
842 ret = sys_bitarray_find_nth_set(&ba, 1, 32, 48, &found_at); in ZTEST()
844 zassert_equal(found_at, 63, "sys_bitarray_find_nth_set() returned unexpected found_at: %d", in ZTEST()
845 found_at); in ZTEST()
847 ret = sys_bitarray_find_nth_set(&ba, 2, 32, 48, &found_at); in ZTEST()
849 zassert_equal(found_at, 64, "sys_bitarray_find_nth_set() returned unexpected found_at: %d", in ZTEST()
850 found_at); in ZTEST()
854 ret = sys_bitarray_find_nth_set(&ba, 1, 128, 0, &found_at); in ZTEST()
857 ret = sys_bitarray_find_nth_set(&ba, 1, 128, 1, &found_at); in ZTEST()
861 ret = sys_bitarray_find_nth_set(&ba, 1, 129, 0, &found_at); in ZTEST()
865 ret = sys_bitarray_find_nth_set(&ba, 0, 128, 0, &found_at); in ZTEST()