Home
last modified time | relevance | path

Searched refs:ans (Results 1 – 15 of 15) sorted by relevance

/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/synctask_core/
H A Dtst.get_userquota.ksh44 ans, setpoint = zfs.get_prop("$fs", "userquota@$userid")
45 assert(ans == $UQUOTA_SIZE)
48 ans, setpoint = zfs.get_prop("$fs", "userused@$userid")
49 assert(ans == 0)
53 assert(ans == $GQUOTA_SIZE)
57 assert(ans == 0)
64 assert(ans == nil)
67 ans, setpoint = zfs.get_prop("$fs1", "userused@$userid")
68 assert(ans == 0)
72 assert(ans == nil)
[all …]
H A Dtst.get_count_and_limit.ksh44 ans, src = zfs.get_prop("$fs", "snapshot_limit")
45 assert(ans == -1)
48 ans, src = zfs.get_prop("$fs", "snapshot_count")
49 assert(ans == nil)
55 assert(ans == -1)
59 assert(ans == nil)
66 ans, src = zfs.get_prop("$fs", "snapshot_limit")
67 assert(ans == 10)
71 assert(ans == 1)
81 assert(ans == 8)
[all …]
H A Dtst.get_mountpoint.ksh47 ans, src = zfs.get_prop("$fs", "mountpoint")
48 assert(ans == '/$fs')
53 ans, src = zfs.get_prop("$snap", "mountpoint")
54 assert(ans == nil)
59 ans, src = zfs.get_prop("$clone", "mountpoint")
60 assert(ans == '/$clone')
71 ans, src = zfs.get_prop("$fs", "mountpoint")
72 assert(ans == '$mnt1')
77 ans, src = zfs.get_prop("$snap", "mountpoint")
78 assert(ans == nil)
[all …]
H A Dtst.get_string_props.zcp48 function match(n, prop, ans, src, expected)
52 return ((ans == expected[n][1]) and (src == expected[n][2]))
57 ans, src = zfs.get_prop(fs, prop)
58 if not (match(1, prop, ans, src, expected)) then
59 fs_fails[prop] = {ans, src}
62 ans, src = zfs.get_prop(snap, prop)
63 if not (match(2, prop, ans, src, expected)) then
64 snap_fails[prop] = {ans, src}
67 ans, src = zfs.get_prop(clone, prop)
68 if not (match(3, prop, ans, src, expected)) then
[all …]
H A Dtst.get_type.ksh43 ans, setpoint = zfs.get_prop("$fs", "type")
44 assert(ans == "filesystem")
46 ans, setpoint = zfs.get_prop("$snap", "type")
47 assert(ans == "snapshot")
49 ans, setpoint = zfs.get_prop("$vol", "type")
50 assert(ans == "volume")
H A Dtst.get_number_props.zcp68 function match(n, ans, src, expected)
69 if ((expected[n][1] == nil) and (ans ~= nil)) then
85 ans, src = zfs.get_prop(fs, prop)
86 if not (match(1, ans, src, expected)) then
87 fs_fails[prop] = {ans, src}
90 ans, src = zfs.get_prop(snap, prop)
91 if not (match(2, ans, src, expected)) then
92 snap_fails[prop] = {ans, src}
95 ans, src = zfs.get_prop(vol, prop)
96 if not (match(3, ans, src, expected)) then
[all …]
H A Dtst.get_written.ksh43 ans, setpoint = zfs.get_prop("$fs", "written@$TESTSNAP")
44 assert(ans == 0)
52 ans, setpoint = zfs.get_prop("$fs", "written@$TESTSNAP")
53 assert(ans > 0)
H A Dtst.get_index_props.zcp66 ans, src = zfs.get_prop(fs, prop)
67 if ((ans ~= expected[1][1]) or (src ~= expected[1][2])) then
68 fs_fails[prop] = {ans, src}
71 ans, src = zfs.get_prop(snap, prop)
72 if ((ans ~= expected[2][1]) or (src ~= expected[2][2])) then
73 snap_fails[prop] = {ans, src}
H A Dtst.get_neg.ksh36 ans, setpoint = zfs.get_prop("$fs", "notaprop")
40 ans, setpoint = zfs.get_prop("notadataset", "type")
/f-stack/freebsd/contrib/ncsw/Peripherals/BM/
H A Dbm.h342 uint64_t ans, size = 1; in BmBpidGet() local
349 ans = MM_GetForce(p_Bm->h_BpidMm, in BmBpidGet()
353 ans = base; in BmBpidGet()
385 memcpy((uint8_t*)&ans, reply.replyBody, sizeof(uint32_t)); in BmBpidGet()
390 ans = base; in BmBpidGet()
394 ans = MM_Get(p_Bm->h_BpidMm, in BmBpidGet()
398 KASSERT(ans < UINT32_MAX, ("Oops, %jx > UINT32_MAX!\n", (uintmax_t)ans)); in BmBpidGet()
399 return (uint32_t)ans; in BmBpidGet()
/f-stack/freebsd/contrib/ncsw/Peripherals/FM/MAC/
H A Dfman_memac_mii_acc.c199 uint32_t ans; in fman_memac_mii_read_phy_reg() local
203 ans = read_phy_reg_10g(mii_regs, phy_addr, reg, data); in fman_memac_mii_read_phy_reg()
205 ans = read_phy_reg_1g(mii_regs, phy_addr, reg, data); in fman_memac_mii_read_phy_reg()
207 if (ans & MDIO_CFG_READ_ERR) in fman_memac_mii_read_phy_reg()
/f-stack/freebsd/contrib/ncsw/Peripherals/QM/
H A Dqm.c261 uint64_t ans; in ReserveFqids() local
275 if (ans == ILLEGAL_BASE) in ReserveFqids()
278 return (uint32_t)ans; in ReserveFqids()
280 base = (uint32_t)ans; in ReserveFqids()
285 if (ans == ILLEGAL_BASE) in ReserveFqids()
289 return (uint32_t)ans; in ReserveFqids()
499 uint64_t ans; in QmFqidGet() local
516 ans = base; in QmFqidGet()
552 ans = base; in QmFqidGet()
563 KASSERT(ans < UINT32_MAX, ("Oops, %jx > UINT32_MAX!\n", (uintmax_t)ans)); in QmFqidGet()
[all …]
/f-stack/app/nginx-1.16.1/src/core/
H A Dngx_resolver.c92 ngx_uint_t nan, ngx_uint_t trunc, ngx_uint_t ans);
95 ngx_uint_t trunc, ngx_uint_t ans);
1884 ngx_uint_t nan, ngx_uint_t trunc, ngx_uint_t ans) in ngx_resolver_process_a() argument
2103 i = ans; in ngx_resolver_process_a()
2280 i = ans; in ngx_resolver_process_a()
2539 ngx_uint_t trunc, ngx_uint_t ans) in ngx_resolver_process_srv() argument
2645 i = ans; in ngx_resolver_process_srv()
2757 i = ans; in ngx_resolver_process_srv()
/f-stack/freebsd/contrib/openzfs/lib/libzfs/
H A Dlibzfs_dataset.c2563 int64_t ans; in zcp_check() local
2564 error = nvlist_lookup_int64(retnvl, "value", &ans); in zcp_check()
2570 if (ans != intval) { in zcp_check()
2573 (u_longlong_t)intval, (u_longlong_t)ans); in zcp_check()
/f-stack/freebsd/contrib/ncsw/Peripherals/FM/Port/
H A Dfm_port.c60 t_Error ans = E_OK; in CheckInitParameters() local
73 if ((ans = FmPortImCheckInitParameters(p_FmPort)) != E_OK) in CheckInitParameters()
74 return ERROR_CODE(ans); in CheckInitParameters()