/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_get/ |
H A D | zpool_get_003_pos.ksh | 38 # Zpool get returns values for all known properties 46 rm -f $values 49 log_assert "Zpool get returns values for all known properties" 57 typeset values=$TEST_BASE_DIR/values.$$ 62 log_must eval "zpool get ${properties[$i]} $TESTPOOL > $values" 63 log_must grep -q "${properties[$i]}" $values 66 if [ $i -eq 0 ] && ! grep -q "^NAME " $values 73 log_pass "Zpool get returns values for all known properties"
|
H A D | zpool_get_002_pos.ksh | 42 # 1. Using zpool get, retrieve all default values 48 # default values are sane, or whether they can be changed with zpool set. 53 rm -f $values 59 typeset values=$TEST_BASE_DIR/values.$$ 66 zpool get all $TESTPOOL > $values 69 log_must grep -q ^"NAME " $values 75 log_must grep -q "$TESTPOOL *${properties[$i]}" $values 82 COUNT=$(wc -l < $values)
|
/freebsd-current/contrib/netbsd-tests/lib/libm/ |
H A D | t_atan.c | 39 } values[] = { variable in typeref:struct:__anon5227 68 ATF_LIBM_TEST(atan_inrange, "Test atan/atanf(x) for some values") 72 for (i = 0; i < __arraycount(values); i++) { 73 T_LIBM_CHECK(i, atan, values[i].x, values[i].y, 1.0e-15); 74 T_LIBM_CHECK(i, atanf, values[i].x, values[i].y, 1.0e-7);
|
H A D | t_acos.c | 62 ATF_LIBM_TEST(acos_inrange, "Test acos/acosf(x) for some valid values") 67 } values[] = { variable in typeref:struct:__anon5225 85 for (i = 0; i < __arraycount(values); i++) { 86 T_LIBM_CHECK(i, acos, values[i].x, values[i].y, 1.0e-15); 87 T_LIBM_CHECK(i, acosf, values[i].x, values[i].y, 1.0e-5);
|
H A D | t_bit.c | 20 } values[] = { variable in typeref:struct:__anon5228 63 for (unsigned int i = 0; i < __arraycount(values); i++) { 64 iterator_d = values[i].input; 65 iterator_f = (float) values[i].input; 66 if (signbit(iterator_f) != values[i].is_negative) 70 if (signbit(iterator_d) != values[i].is_negative) 76 long double iterator_l = values[i].input; 77 if (signbit(iterator_l) != values[i].is_negative)
|
H A D | t_casinh.c | 7 * Testing special values of casinh 23 } values[] = { variable in typeref:struct:__anon5230 58 atf_tc_set_md_var(tc, "descr","Check casinh family - special values"); 66 for (i = 0; i < __arraycount(values); i++) { 67 RE(input) = values[i].input_re; 68 IM(input) = values[i].input_im; 69 RE(result) = values[i].result_re; 70 IM(result) = values[i].result_im;
|
H A D | t_fe_round.c | 25 } values[] = { variable in typeref:struct:__anon5236 77 for (unsigned int i = 0; i < __arraycount(values); i++) { 78 fesetround(values[i].round_mode); 80 received = lrint(values[i].input); 82 (labs(received - values[i].expected) < EPSILON), 85 values[i].input, i, received, values[i].expected); 89 (fegetround() == values[i].round_mode), 92 i, values[i].round_mode, fegetround()); 106 for (unsigned int i = 0; i < __arraycount(values); [all...] |
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_set/ |
H A D | user_property_001_pos.ksh | 54 typeset -a values=() 58 values+=("too-long-property-name") 61 values+=("$(awk 'BEGIN { while (c++ < 8191) printf "A" }')") 68 values+=("$(user_property_value $len)") 74 typeset value="${values[$i]}"
|
H A D | user_property_003_neg.ksh | 52 typeset -a values=() 56 values+=("too-long-property-name") 59 values+=("$(awk 'BEGIN { while (c++ < 8192) printf "A" }')") 66 values+=("$(user_property_value $len)") 72 typeset value="${values[$i]}"
|
H A D | reservation_001_neg.ksh | 36 # Valid reservation values should be positive integers only. 39 # 1) Form an array of invalid reservation values (negative and 49 log_assert "Verify invalid reservation values are rejected" 54 set -A values '' '-1' '-1.0' '-1.8' '-9999999999999999' '0x1' '0b' '1b' '1.1b' 58 # values, checking they are when we attempt to set them 69 while (( $i < ${#values[*]} )); do 73 log_mustnot zfs set reservation=${values[$i]}${suffix[$j]} $obj 78 log_fail "$obj : reservation values changed " \ 93 log_pass "Invalid reservation values correctly rejected"
|
H A D | cache_002_neg.ksh | 48 set -A values "12345" "null" "not_existed" "abcd1234" 59 while (( j < ${#values[@]} )); do 60 log_mustnot zfs set $propname=${values[j]} ${dataset[i]}
|
H A D | ro_props_001_pos.ksh | 48 set -A values filesystem volume snapshot -3 0 1 50K 10G 80G \ 99 while (( j < ${#values[@]} )); do 101 # If the current property value is equal to values[j], 104 # equal to values[j]. 106 if [[ $cur_value == ${values[j]} ]]; then 107 log_mustnot zfs set $prop=${values[j]} \ 110 set_n_check_prop ${values[j]} $prop \
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_set/ |
H A D | user_property_001_pos.ksh | 53 typeset -a values=() 58 values+=("long-property-name") 68 values+=("$(awk -v max="$ZFS_MAXPROPLEN" 'BEGIN { while (c++ < (max - 1)) printf "A" }')") 75 values+=("$(user_property_value $len)") 81 typeset value="${values[$i]}"
|
H A D | user_property_002_neg.ksh | 52 typeset -a values=() 57 values+=("too-long-property-name") 67 values+=("$(awk -v max="$ZFS_MAXPROPLEN" 'BEGIN { while (c++ < (max - 1 + 1)) printf "A" }')") 74 values+=("$(user_property_value $len)") 80 typeset value="${values[$i]}"
|
/freebsd-current/contrib/cortex-strings/scripts/ |
H A D | libplot.py | 27 """Return the unique values of a column in the records""" 29 values = list(set(create_column_tuple(x, name) for x in records)) 31 values = list(set(getattr(x, name) for x in records)) 33 if not values: 34 return values 35 elif type(values[0]) == str: 36 return sorted(values, key=lambda x: '%-06d|%s' % (-prefer.find(x), x)) 38 return sorted(values) 55 # Pull out any bounce values 74 values [all...] |
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zpool_get/ |
H A D | zpool_get_002_pos.ksh | 42 # 1. Using zpool get, retrieve all default values 48 # default values are sane, or whether they can be changed with zpool set. 69 $ZPOOL get all $TESTPOOL > $TMPDIR/values.${TESTCASE_ID} 72 $GREP ^"NAME " $TMPDIR/values.${TESTCASE_ID} > /dev/null 2>&1 82 $GREP "$TESTPOOL *${properties[$i]}" $TMPDIR/values.${TESTCASE_ID} > /dev/null 2>&1 94 COUNT=$($WC $TMPDIR/values.${TESTCASE_ID}) 102 $RM $TMPDIR/values.${TESTCASE_ID}
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_create/ |
H A D | zpool_create_020_pos.ksh | 51 rm -f $values 58 typeset values=$TEST_BASE_DIR/values.$$ 75 zpool get all $TESTPOOL > $values 78 log_must grep -q "$TESTPOOL[ ]*cachefile[ ]*none" $values 81 log_must grep -q "$TESTPOOL[ ]*altroot[ ]*/${TESTPOOL}.root" $values 83 rm $values
|
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zfs_set/ |
H A D | cache_002_neg.ksh | 57 set -A values "12345" "null" "not_existed" "abcd1234" 68 while (( j < ${#values[@]} )); do 69 log_mustnot $ZFS set $propname=${values[j]} ${dataset[i]}
|
/freebsd-current/contrib/netbsd-tests/fs/tmpfs/ |
H A D | t_statvfs.sh | 30 # correct values) over a tmpfs mount point. 33 atf_test_case values 35 atf_set "descr" "Tests that statvfs(2) returns correct values" 66 atf_add_test_case values
|
/freebsd-current/sys/dev/sfxge/common/ |
H A D | mcdi_mon.h | 63 __inout_ecount(EFX_MON_NSTATS) efx_mon_stat_value_t *values); 68 __inout_ecount(EFX_MON_NSTATS) efx_mon_stat_limits_t *values);
|
/freebsd-current/usr.sbin/bluetooth/bthidcontrol/ |
H A D | sdp.c | 84 static sdp_attr_t values[8]; variable 85 #define nvalues nitems(values) 108 values[i].flags = SDP_ATTR_INVALID; 109 values[i].attr = 0; 110 values[i].vlen = sizeof(buffer[i]); 111 values[i].value = buffer[i]; 139 if (sdp_search(ss, 1, &service, nattrs, attrs, nvalues, values) != 0) 143 if (values[i].flags != SDP_ATTR_OK) 146 switch (values[i].attr) { 148 control_psm = hid_sdp_parse_protocol_descriptor_list(&values[ [all...] |
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_mount/ |
H A D | zfs_mount_007_pos.ksh | 83 set -A values "noatime" "atime" \ 89 set -A values "noatime" "atime" \ 94 set -A values "noatime" "atime" \ 122 echo ${values[$ind]}
|
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zpool_create/ |
H A D | zpool_create_020_pos.ksh | 89 $ZPOOL get all $TESTPOOL > $TMPDIR/values.${TESTCASE_ID} 92 $GREP "$TESTPOOL[ ]*cachefile[ ]*none" $TMPDIR/values.${TESTCASE_ID} > /dev/null 2>&1 99 $GREP "$TESTPOOL[ ]*altroot[ ]*/${TESTPOOL}.root" $TMPDIR/values.${TESTCASE_ID} > /dev/null 2>&1 105 $RM $TMPDIR/values.${TESTCASE_ID}
|
/freebsd-current/usr.sbin/nscd/ |
H A D | hashtable.h | 51 type *values; \ 83 (table)->entries[var].field.values = malloc( \ 86 assert((table)->entries[var].field.values != NULL);\ 97 free((table)->entries[var].field.values); \ 116 for ((var) = &((entry)->field.values[0]); \ 117 (var) < &((entry)->field.values[(entry)->field.size]); \ 132 (entry)->field.values = realloc((entry)->field.values, \ 139 (entry)->field.values = realloc((entry)->field.values, \ [all...] |
/freebsd-current/sys/contrib/ck/src/ |
H A D | ck_array.c | 104 target->values[array->n_entries++] = value; 124 target->values[array->n_entries++] = value; 136 v = array->transaction->values; 138 v = array->active->values; 159 if (target->values[i] == value) { 160 target->values[i] = target->values[--array->n_entries]; 171 if (target->values[i] == value) 180 ck_pr_store_ptr(&target->values[i], target->values[ [all...] |