| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zdb/ |
| H A D | zdb_object_range_pos.ksh | 86 expected=$all_objects 88 log_must test "\n$actual\n" == "\n$expected\n" 91 expected=$all_objects 93 log_must test "\n$actual\n" == "\n$expected\n" 98 log_must test "\n$actual\n" == "\n$expected\n" 103 log_must test "\n$actual\n" == "\n$expected\n" 108 log_must test "\n$actual\n" == "\n$expected\n" 113 log_must test "\n$actual\n" == "\n$expected\n" 144 expected="$objects" 146 log_must test "$actual" == "$expected" [all …]
|
| /f-stack/dpdk/app/test/ |
| H A D | test_telemetry_json.c | 13 const char *expected = "[\"meaning of life\",42]"; in test_basic_array() local 27 if (used != (int)strlen(expected)) in test_basic_array() 29 return strncmp(expected, buf, sizeof(buf)); in test_basic_array() 45 if (used != (int)strlen(expected)) in test_basic_obj() 47 return strncmp(expected, buf, sizeof(buf)); in test_basic_obj() 66 if (used != (int)strlen(expected)) in test_overflow_array() 68 return strncmp(expected, buf, sizeof(buf)); in test_overflow_array() 88 if (used != (int)strlen(expected)) in test_overflow_obj() 90 return strncmp(expected, buf, sizeof(buf)); in test_overflow_obj() 98 const char *expected = "ABC"; in test_large_array_element() local [all …]
|
| H A D | test_atomic.c | 266 rte_int128_t expected; in test_atomic128_cmp_exchange() local 273 expected = count128; in test_atomic128_cmp_exchange() 279 desired.val[0] = expected.val[0] + 2; in test_atomic128_cmp_exchange() 280 desired.val[1] = expected.val[1] + 1; in test_atomic128_cmp_exchange() 283 &expected, &desired, 1, in test_atomic128_cmp_exchange() 290 desired.val[0] = expected.val[0] + 2; in test_atomic128_cmp_exchange() 291 desired.val[1] = expected.val[1] + 1; in test_atomic128_cmp_exchange() 294 &expected, &desired, 1, in test_atomic128_cmp_exchange() 301 desired.val[0] = expected.val[0] + 2; in test_atomic128_cmp_exchange() 305 &expected, &desired, 1, in test_atomic128_cmp_exchange() [all …]
|
| H A D | test_common.c | 268 int expected, rc; in test_fls() local 283 expected = test[i].rc; in test_fls() 284 if (rc != expected) { in test_fls() 286 arg, rc, expected); in test_fls() 292 expected = test[i].rc; in test_fls() 293 if (rc != expected) { in test_fls() 295 arg, rc, expected); in test_fls() 302 expected = test[i].rc == 0 ? 0 : test[i].rc + 32; in test_fls() 303 if (rc != expected) { in test_fls() 305 arg64, rc, expected); in test_fls()
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/test/unit/ |
| H A D | stats.c | 5 int expected = config_stats ? 0 : ENOENT; in TEST_BEGIN() local 9 0), expected, "Unexpected mallctl() result"); in TEST_BEGIN() 11 expected, "Unexpected mallctl() result"); in TEST_BEGIN() 13 expected, "Unexpected mallctl() result"); in TEST_BEGIN() 15 expected, "Unexpected mallctl() result"); in TEST_BEGIN() 34 int expected = config_stats ? 0 : ENOENT; in TEST_BEGIN() local 72 int expected = config_stats ? 0 : ENOENT; in TEST_BEGIN() local 147 int expected = config_stats ? 0 : ENOENT; in TEST_BEGIN() local 192 int expected = config_stats ? 0 : ENOENT; in TEST_BEGIN() local 233 int expected = config_stats ? 0 : ENOENT; in TEST_BEGIN() local [all …]
|
| H A D | hash.c | 67 uint32_t computed, expected; in hash_variant_verify_key() local 123 case hash_variant_x86_32: expected = 0x6213303eU; break; in hash_variant_verify_key() 124 case hash_variant_x86_128: expected = 0x266820caU; break; in hash_variant_verify_key() 125 case hash_variant_x64_128: expected = 0xcc622b6fU; break; in hash_variant_verify_key() 127 case hash_variant_x86_32: expected = 0xb0f57ee3U; break; in hash_variant_verify_key() 128 case hash_variant_x86_128: expected = 0xb3ece62aU; break; in hash_variant_verify_key() 129 case hash_variant_x64_128: expected = 0x6384ba69U; break; in hash_variant_verify_key() 134 assert_u32_eq(computed, expected, in hash_variant_verify_key() 136 hash_variant_string(variant), expected, computed); in hash_variant_verify_key()
|
| /f-stack/freebsd/contrib/libsodium/test/default/ |
| H A D | kdf.exp | 11 Failure -- probably expected for output length=0 12 Failure -- probably expected for output length=1 13 Failure -- probably expected for output length=2 14 Failure -- probably expected for output length=3 15 Failure -- probably expected for output length=4 16 Failure -- probably expected for output length=5 17 Failure -- probably expected for output length=6 18 Failure -- probably expected for output length=7 19 Failure -- probably expected for output length=8 20 Failure -- probably expected for output length=9 [all …]
|
| H A D | index.html.tpl | 43 var xhr, expected, hn, idx = 0, passed = true; 48 if (found !== expected[idx++]) { 54 if (idx >= expected.length) { 82 expected = xhr.responseText.split('\n'); 83 if (expected.length > 0 && expected[expected.length - 1] === '') { 84 expected.pop(); 86 expected.push('--- SUCCESS ---');
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/inheritance/ |
| H A D | inherit.kshlib | 64 typeset expected=$3 75 if [[ $expected == "default" ]]; then 76 if [[ $prop_src != $expected ]]; then 78 " $prop_src rather than $expected" 81 elif [[ $expected == "local" ]]; then 82 if [[ $prop_src != $expected ]]; then 84 " $prop_src rather than $expected" 87 elif [[ $prop_src != "inherited from $expected" ]]; then 88 log_note "Property $prop of $expected has source $prop_src"\ 89 " rather than 'inherited from $expected'"
|
| /f-stack/dpdk/lib/librte_eal/include/generic/ |
| H A D | rte_pause.h | 45 rte_wait_until_equal_16(volatile uint16_t *addr, uint16_t expected, 63 rte_wait_until_equal_32(volatile uint32_t *addr, uint32_t expected, 81 rte_wait_until_equal_64(volatile uint64_t *addr, uint64_t expected, 86 rte_wait_until_equal_16(volatile uint16_t *addr, uint16_t expected, in rte_wait_until_equal_16() argument 91 while (__atomic_load_n(addr, memorder) != expected) in rte_wait_until_equal_16() 96 rte_wait_until_equal_32(volatile uint32_t *addr, uint32_t expected, in rte_wait_until_equal_32() argument 101 while (__atomic_load_n(addr, memorder) != expected) in rte_wait_until_equal_32() 106 rte_wait_until_equal_64(volatile uint64_t *addr, uint64_t expected, in rte_wait_until_equal_64() argument 111 while (__atomic_load_n(addr, memorder) != expected) in rte_wait_until_equal_64()
|
| /f-stack/dpdk/lib/librte_eal/arm/include/ |
| H A D | rte_pause_64.h | 35 rte_wait_until_equal_16(volatile uint16_t *addr, uint16_t expected, in rte_wait_until_equal_16() argument 62 if (value != expected) { in rte_wait_until_equal_16() 67 } while (value != expected); in rte_wait_until_equal_16() 73 rte_wait_until_equal_32(volatile uint32_t *addr, uint32_t expected, in rte_wait_until_equal_32() argument 100 if (value != expected) { in rte_wait_until_equal_32() 105 } while (value != expected); in rte_wait_until_equal_32() 111 rte_wait_until_equal_64(volatile uint64_t *addr, uint64_t expected, in rte_wait_until_equal_64() argument 138 if (value != expected) { in rte_wait_until_equal_64() 143 } while (value != expected); in rte_wait_until_equal_64()
|
| H A D | rte_atomic_64.h | 110 rte_int128_t expected = *exp; in rte_atomic128_cmp_exchange() local 116 old = __cas_128_relaxed(dst, expected, desired); in rte_atomic128_cmp_exchange() 118 old = __cas_128_acquire(dst, expected, desired); in rte_atomic128_cmp_exchange() 120 old = __cas_128_release(dst, expected, desired); in rte_atomic128_cmp_exchange() 122 old = __cas_128_acq_rel(dst, expected, desired); in rte_atomic128_cmp_exchange() 165 if (likely(old.int128 == expected.int128)) { in rte_atomic128_cmp_exchange() 193 return (old.int128 == expected.int128); in rte_atomic128_cmp_exchange()
|
| /f-stack/freebsd/sys/ |
| H A D | stdatomic.h | 235 __c11_atomic_compare_exchange_strong(object, expected, desired, \ 237 #define atomic_compare_exchange_weak_explicit(object, expected, \ argument 239 __c11_atomic_compare_exchange_weak(object, expected, desired, \ 260 __atomic_compare_exchange_n(object, expected, \ 262 #define atomic_compare_exchange_weak_explicit(object, expected, \ argument 264 __atomic_compare_exchange_n(object, expected, \ 287 __typeof__(expected) __ep = (expected); \ 293 #define atomic_compare_exchange_weak_explicit(object, expected, \ argument 295 atomic_compare_exchange_strong_explicit(object, expected, \ 343 atomic_compare_exchange_strong_explicit(object, expected, \ [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/synctask_core/ |
| H A D | tst.get_string_props.zcp | 48 function match(n, prop, ans, src, expected) 50 return (list_match(ans, expected[n][1]) and (src == expected[n][2])) 52 return ((ans == expected[n][1]) and (src == expected[n][2])) 56 for prop, expected in pairs(props) do 58 if not (match(1, prop, ans, src, expected)) then 63 if not (match(2, prop, ans, src, expected)) then 68 if not (match(3, prop, ans, src, expected)) then
|
| H A D | tst.get_number_props.zcp | 68 function match(n, ans, src, expected) 69 if ((expected[n][1] == nil) and (ans ~= nil)) then 73 if ((expected[n][1] == true) and (ans == nil)) then 77 if (expected[n][2] ~= src) then 84 for prop, expected in pairs(props) do 86 if not (match(1, ans, src, expected)) then 91 if not (match(2, ans, src, expected)) then 96 if not (match(3, ans, src, expected)) then
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/xattr/ |
| H A D | xattr_008_pos.ksh | 46 for file in $TEST_BASE_DIR/output.$$ $TEST_BASE_DIR/expected-output.$$ \ 61 create_expected_output $TEST_BASE_DIR/expected-output.$$ \ 63 log_must diff $TEST_BASE_DIR/output.$$ $TEST_BASE_DIR/expected-output.$$ 66 create_expected_output $TEST_BASE_DIR/expected-output.$$ . .. \ 68 log_must diff $TEST_BASE_DIR/output.$$ $TEST_BASE_DIR/expected-output.$$
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/include/jemalloc/internal/ |
| H A D | atomic_gcc_sync.h | 132 type *expected, type desired, atomic_memory_order_t success_mo, \ 134 type prev = __sync_val_compare_and_swap(&a->repr, *expected, \ 136 if (prev == *expected) { \ 139 *expected = prev; \ 145 type *expected, type desired, atomic_memory_order_t success_mo, \ 147 type prev = __sync_val_compare_and_swap(&a->repr, *expected, \ 149 if (prev == *expected) { \ 152 *expected = prev; \
|
| /f-stack/freebsd/mips/mips/ |
| H A D | stdatomic.c | 188 __sync_val_compare_and_swap_##N(uintN_t *mem, uintN_t expected, \ 197 put_##N(&expected32, mem, expected); \ 297 do_compare_and_swap_4(uint32_t *mem, uint32_t expected, in do_compare_and_swap_4() argument 312 : "r" (expected), "r" (desired), "m" (*mem)); in do_compare_and_swap_4() 317 __sync_val_compare_and_swap_4(uint32_t *mem, uint32_t expected, in __sync_val_compare_and_swap_4() argument 321 return (do_compare_and_swap_4(mem, expected, desired)); in __sync_val_compare_and_swap_4() 325 __sync_bool_compare_and_swap_4(uint32_t *mem, uint32_t expected, in __sync_bool_compare_and_swap_4() argument 329 return (do_compare_and_swap_4(mem, expected, desired) == in __sync_bool_compare_and_swap_4() 330 expected); in __sync_bool_compare_and_swap_4() 369 __sync_val_compare_and_swap_8(uint64_t *mem, uint64_t expected, in __sync_val_compare_and_swap_8() argument [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/procfs/ |
| H A D | pool_state.ksh | 85 expected=$2 90 log_note "Checking $expected = $state1 = $state2 = $state3" 91 if [[ "$expected" == "$state1" && "$expected" == "$state2" && \ 92 "$expected" == "$state3" ]] ; then
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/reservation/ |
| H A D | reservation_022_pos.ksh | 69 expected=$(volsize_to_reservation $vol2 $vol_size) 70 log_must test $resv -eq $expected 79 expected=$(volsize_to_reservation $vol3 $vol_size) 80 log_must test $resv -eq $expected
|
| H A D | reservation_013_pos.ksh | 100 expected=$(volsize_to_reservation $obj $resv_set) 103 expected=$resv_set 107 [[ $found != $expected ]] && \ 109 "$expected but got $found."
|
| /f-stack/app/redis-5.0.5/tests/unit/ |
| H A D | bitfield.tcl | 175 set expected 0 176 if {$sign} {incr expected [expr {$max+1}]} 177 incr expected $value 178 incr expected $increment 179 set expected [expr {$expected % $range}] 180 if {$sign} {incr expected $min} 182 if {$res != $expected} { 183 fail "WRAP error: $type $value+$increment = $res, should be $expected"
|
| /f-stack/tools/libutil/tests/ |
| H A D | trimdomain_test.c | 64 const char *expected = (output == NULL) ? input : output; in testit() local 69 if (strcmp(testhost, expected) != 0) { in testit() 71 printf("# %s -> %s (expected %s)\n", input, testhost, expected); in testit()
|
| H A D | trimdomain-nodomain_test.c | 64 const char *expected = (output == NULL) ? input : output; in testit() local 69 if (strcmp(testhost, expected) != 0) { in testit() 71 printf("# %s -> %s (expected %s)\n", input, testhost, expected); in testit()
|
| /f-stack/dpdk/lib/librte_eal/common/ |
| H A D | eal_common_memalloc.c | 92 rte_iova_t cur, expected; in eal_memalloc_is_contig() local 103 expected = cur + pgsz; in eal_memalloc_is_contig() 108 if (cur != expected) in eal_memalloc_is_contig() 111 expected += pgsz; in eal_memalloc_is_contig() 115 rte_iova_t cur, expected; in eal_memalloc_is_contig() local 132 expected = cur + pgsz; in eal_memalloc_is_contig() 139 cur_seg++, expected += pgsz) { in eal_memalloc_is_contig() 142 if (ms->iova != expected) in eal_memalloc_is_contig()
|