Lines Matching refs:zexpect_equal

2584 	zexpect_equal(ret, 0, "setsockopt failed (%d)", errno);  in ZTEST()
2585 zexpect_equal(optlen, sizeof(optval), "invalid optlen %d vs %d", in ZTEST()
2588 zexpect_equal(optval, ifindex, in ZTEST()
2603 zexpect_equal(ret, -1, "setsockopt failed (%d)", errno); in ZTEST()
2604 zexpect_equal(err, -EAFNOSUPPORT, "setsockopt failed (%d)", errno); in ZTEST()
2605 zexpect_equal(optlen, 0U, "setsockopt optlen (%d)", optlen); in ZTEST()
2619 zexpect_equal(ret, 0, "setsockopt failed (%d)", err); in ZTEST()
2620 zexpect_equal(optlen, sizeof(optval), "invalid optlen %d vs %d", in ZTEST()
2627 zexpect_equal(ret, 0, "setsockopt failed (%d)", errno); in ZTEST()
2628 zexpect_equal(optlen, sizeof(optval), "invalid optlen %d vs %d", in ZTEST()
2635 zexpect_equal(ret, 0, "setsockopt failed (%d)", err); in ZTEST()
2636 zexpect_equal(optlen, sizeof(int), "setsockopt optlen (%d)", optlen); in ZTEST()
2637 zexpect_equal(optval, net_if_get_by_iface(net_if_get_default()), in ZTEST()
2649 zexpect_equal(ret, STRLEN(TEST_STR_SMALL), in ZTEST()
2660 zexpect_equal(ret, strlen(TEST_STR_SMALL), in ZTEST()
2728 zexpect_equal(ret, 0, "setsockopt failed (%d)", errno); in ZTEST()
2729 zexpect_equal(optlen, sizeof(addr), "invalid optlen %d vs %d", in ZTEST()
2733 zexpect_equal(ret, ifindex, in ZTEST()
2748 zexpect_equal(ret, -1, "setsockopt failed (%d)", errno); in ZTEST()
2749 zexpect_equal(err, -EAFNOSUPPORT, "setsockopt failed (%d)", errno); in ZTEST()
2750 zexpect_equal(optlen, 0U, "setsockopt optlen (%d)", optlen); in ZTEST()
2767 zexpect_equal(ret, 0, "setsockopt failed (%d)", err); in ZTEST()
2774 zexpect_equal(ret, 0, "setsockopt failed (%d)", err); in ZTEST()
2775 zexpect_equal(optlen, sizeof(addr), "setsockopt optlen (%d)", optlen); in ZTEST()
2785 zexpect_equal(ret, 0, "setsockopt failed (%d)", err); in ZTEST()
2793 zexpect_equal(ret, 0, "setsockopt failed (%d)", err); in ZTEST()
2794 zexpect_equal(optlen, sizeof(addr), "setsockopt optlen (%d)", optlen); in ZTEST()
2799 zexpect_equal(net_if_get_by_iface(iface), in ZTEST()
2816 zexpect_equal(ret, STRLEN(TEST_STR_SMALL), in ZTEST()
2825 zexpect_equal(ret, strlen(TEST_STR_SMALL), in ZTEST()
2838 zexpect_equal(ret, 0, "setsockopt failed (%d)", err); in ZTEST()
2856 zexpect_equal(ret, 0, "setsockopt failed (%d)", errno); in ZTEST()
2863 zexpect_equal(ret, 0, "setsockopt failed (%d)", err); in ZTEST()
2864 zexpect_equal(optlen, sizeof(struct in_addr), "setsockopt optlen (%d)", optlen); in ZTEST()
2866 zexpect_equal(ret, net_if_get_by_iface(net_if_get_default()), in ZTEST()
2869 zexpect_equal(ifaddr->address.in_addr.s_addr, in ZTEST()
2877 zexpect_equal(ret, STRLEN(TEST_STR_SMALL), in ZTEST()
2886 zexpect_equal(ret, strlen(TEST_STR_SMALL), in ZTEST()
2900 zexpect_equal(ret, 0, "setsockopt failed (%d)", errno); in ZTEST()
2904 zexpect_equal(ret, STRLEN(TEST_STR_SMALL), in ZTEST()
2913 zexpect_equal(ret, strlen(TEST_STR_SMALL), in ZTEST()
2963 zexpect_equal(ret, 0, "setsockopt failed (%d)", err); in check_port_range()
2969 zexpect_equal(ret, -1, "setsockopt failed (%d)", err); in check_port_range()
2975 zexpect_equal(ret, -1, "setsockopt failed (%d)", err); in check_port_range()
2980 zexpect_equal(ret, 0, "setsockopt failed (%d)", err); in check_port_range()
2988 zexpect_equal(ret, 0, "setsockopt failed (%d)", err); in check_port_range()
2993 zexpect_equal(ret, 0, "setsockopt failed (%d)", err); in check_port_range()
2999 zexpect_equal(ret, 0, "setsockopt failed (%d)", err); in check_port_range()
3004 zexpect_equal(ret, 0, "setsockopt failed (%d)", err); in check_port_range()
3005 zexpect_equal(optval, PORT_RANGE(10000, 10010), "Invalid port range"); in check_port_range()
3009 zexpect_equal(ret, 0, "bind failed (%d)", err); in check_port_range()
3013 zexpect_equal(ret, 0, "getsockname failed (%d)", err); in check_port_range()
3032 zexpect_equal(ret, -1, "setsockopt failed (%d)", err); in check_port_range()
3033 zexpect_equal(err, -EINVAL, "Invalid errno (%d)", -err); in check_port_range()
3040 zexpect_equal(ret, -1, "setsockopt failed (%d)", err); in check_port_range()
3041 zexpect_equal(err, -EINVAL, "Invalid errno (%d)", -err); in check_port_range()
3047 zexpect_equal(ret, 0, "setsockopt failed (%d)", err); in check_port_range()
3051 zexpect_equal(ret, 0, "bind failed (%d)", err); in check_port_range()
3056 zexpect_equal(ret, 0, "getsockname failed (%d)", err); in check_port_range()