/netbsd-current/external/bsd/jemalloc/dist/test/unit/ |
H A D | atomic.c | 14 * val[1,2,3]: Values of the given type. The CAS tests use val2 for expected, 18 #define DO_TESTS(t, ta, val1, val2, val3) do { \ 31 atomic_store_##ta(&atom, val2, ATOMIC_RELAXED); \ 33 assert_##ta##_eq(val2, val, "Store failed"); \ 37 val = atomic_exchange_##ta(&atom, val2, ATOMIC_RELAXED); \ 40 assert_##ta##_eq(val2, val, "Exchange store invalid value"); \ 49 expected = val2; \ 55 assert_b_eq(val1 == val2, success, \ 68 expected = val2; \ 71 assert_b_eq(val1 == val2, succes [all...] |
/netbsd-current/lib/libc/include/ |
H A D | futex_private.h | 45 volatile int *uaddr2, int val2, int val3) 48 val2, val3); 44 __futex(volatile int *uaddr, int op, int val, const struct timespec *timeout, volatile int *uaddr2, int val2, int val3) argument
|
/netbsd-current/external/bsd/nvi/usr.bin/nvi/ |
H A D | ipc_gen.c | 136 vi_mouse_move(IPVIWIN *ipvi, u_int32_t val1, u_int32_t val2) 138 return vi_send_12(ipvi, VI_MOUSE_MOVE, val1, val2); 149 vi_resize(IPVIWIN *ipvi, u_int32_t val1, u_int32_t val2) argument 151 return vi_send_12(ipvi, VI_RESIZE, val1, val2); 156 vi_sel_end(IPVIWIN *ipvi, u_int32_t val1, u_int32_t val2) 158 return vi_send_12(ipvi, VI_SEL_END, val1, val2); 162 vi_sel_start(IPVIWIN *ipvi, u_int32_t val1, u_int32_t val2) 164 return vi_send_12(ipvi, VI_SEL_START, val1, val2);
|
/netbsd-current/external/gpl2/lvm2/dist/test/ |
H A D | lvm-utils.sh | 62 local val2; 65 val2=$($cmd2 --noheadings -o $field2 $obj2) 68 echo "compare_two_fields_ $obj1($field1): $val1 $obj2($field2): $val2" 70 test $val1 = $val2 79 local val2; 82 val2=$(vgs --noheadings -o $field $vg2) 85 echo "compare_vg_field_ VG1: $val1 VG2: $val2" 87 test $val1 = $val2
|
/netbsd-current/external/zlib/pigz/dist/zopfli/ |
H A D | hash.c | 52 h->val2 = 0; 120 h->val2 = ((h->same[hpos] - ZOPFLI_MIN_MATCH) & 255) ^ h->val; 121 h->hashval2[hpos] = h->val2; 122 if (h->head2[h->val2] != -1 && h->hashval2[h->head2[h->val2]] == h->val2) { 123 h->prev2[hpos] = h->head2[h->val2]; 126 h->head2[h->val2] = hpos;
|
H A D | hash.h | 41 int val2; /* Current hash value. */ member in struct:ZopfliHash
|
/netbsd-current/external/gpl3/gcc.old/dist/gcc/ |
H A D | inchash.h | 176 iterative_hash_hashval_t (hashval_t val, hashval_t val2) argument 181 mix (a, val, val2); 182 return val2; 189 iterative_hash_host_wide_int (HOST_WIDE_INT val, hashval_t val2) argument 192 return iterative_hash_hashval_t (val, val2); 200 mix (a, b, val2); 205 mix (a, b, val2); 207 return val2;
|
H A D | ipa-comdats.c | 107 tree *val2 = map.get (symbol2); local 109 if (val2 && *val2 != newgroup) 112 newgroup = *val2; 142 tree *val2 = map.get (symbol2); local 144 if (val2 && *val2 != newgroup) 147 newgroup = *val2;
|
H A D | selftest.c | 67 Compare val1 and val2 with strcmp. They ought 73 const char *val1, const char *val2) 75 /* If val1 or val2 are NULL, fail with a custom error message. */ 77 if (val2 == NULL) 78 fail_formatted (loc, "ASSERT_STREQ (%s, %s) val1=NULL val2=NULL", 81 fail_formatted (loc, "ASSERT_STREQ (%s, %s) val1=NULL val2=\"%s\"", 82 desc_val1, desc_val2, val2); 84 if (val2 == NULL) 85 fail_formatted (loc, "ASSERT_STREQ (%s, %s) val1=\"%s\" val2=NULL", 89 if (strcmp (val1, val2) 71 assert_streq(const location &loc, const char *desc_val1, const char *desc_val2, const char *val1, const char *val2) argument [all...] |
/netbsd-current/external/gpl3/gcc/dist/gcc/ |
H A D | inchash.h | 176 iterative_hash_hashval_t (hashval_t val, hashval_t val2) argument 181 mix (a, val, val2); 182 return val2; 189 iterative_hash_host_wide_int (HOST_WIDE_INT val, hashval_t val2) argument 192 return iterative_hash_hashval_t (val, val2); 200 mix (a, b, val2); 205 mix (a, b, val2); 207 return val2;
|
H A D | ipa-comdats.cc | 107 tree *val2 = map.get (symbol2); local 109 if (val2 && *val2 != newgroup) 112 newgroup = *val2; 142 tree *val2 = map.get (symbol2); local 144 if (val2 && *val2 != newgroup) 147 newgroup = *val2;
|
H A D | selftest.cc | 67 Compare val1 and val2 with strcmp. They ought 73 const char *val1, const char *val2) 75 /* If val1 or val2 are NULL, fail with a custom error message. */ 77 if (val2 == NULL) 78 fail_formatted (loc, "ASSERT_STREQ (%s, %s) val1=NULL val2=NULL", 81 fail_formatted (loc, "ASSERT_STREQ (%s, %s) val1=NULL val2=\"%s\"", 82 desc_val1, desc_val2, val2); 84 if (val2 == NULL) 85 fail_formatted (loc, "ASSERT_STREQ (%s, %s) val1=\"%s\" val2=NULL", 89 if (strcmp (val1, val2) 71 assert_streq(const location &loc, const char *desc_val1, const char *desc_val2, const char *val1, const char *val2) argument [all...] |
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.dwarf2/ |
H A D | missing-type-name-for-templates.cc | 32 template<int val1, typename first, int val2, typename second>
|
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/bn/ |
H A D | bn_exp2.c | 26 BIGNUM *val1[TABLE_SIZE], *val2[TABLE_SIZE]; local 52 val2[0] = BN_CTX_get(ctx); 53 if (val2[0] == NULL) 98 * Build table for a2: val2[i] := a2^(2*i + 1) mod m for i = 0 .. 2^(window2-1) 101 if (!BN_mod(val2[0], a2, m, ctx)) 103 a_mod_m = val2[0]; 111 if (!BN_to_montgomery(val2[0], a_mod_m, mont, ctx)) 114 if (!BN_mod_mul_montgomery(d, val2[0], val2[0], mont, ctx)) 119 if (((val2[ [all...] |
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/bn/ |
H A D | bn_exp2.c | 26 BIGNUM *val1[TABLE_SIZE], *val2[TABLE_SIZE]; local 52 val2[0] = BN_CTX_get(ctx); 53 if (val2[0] == NULL) 98 * Build table for a2: val2[i] := a2^(2*i + 1) mod m for i = 0 .. 2^(window2-1) 101 if (!BN_mod(val2[0], a2, m, ctx)) 103 a_mod_m = val2[0]; 111 if (!BN_to_montgomery(val2[0], a_mod_m, mont, ctx)) 114 if (!BN_mod_mul_montgomery(d, val2[0], val2[0], mont, ctx)) 119 if (((val2[ [all...] |
/netbsd-current/tests/lib/libc/sys/ |
H A D | t_swapcontext.c | 45 int val1, val2; variable 59 ATF_REQUIRE_EQ(ntls, &val2); 90 _lwp_setprivate(&val2);
|
/netbsd-current/external/apache2/llvm/dist/llvm/utils/unittest/googletest/include/gtest/ |
H A D | gtest.h | 1586 const T1& val1, const T2& val2, 1590 << "), actual: " << FormatForComparisonFailureMessage(val1, val2) 1591 << " vs " << FormatForComparisonFailureMessage(val2, val1); 1608 const T1& val1, const T2& val2) {\ 1609 if (val1 op val2) {\ 1612 return CmpHelperOpFailure(expr1, expr2, val1, val2, #op);\ 1616 const char* expr1, const char* expr2, BiggestInt val1, BiggestInt val2) 1762 double val2, 2027 #define EXPECT_EQ(val1, val2) \ 2028 EXPECT_PRED_FORMAT2(::testing::internal::EqHelper::Compare, val1, val2) 1585 CmpHelperOpFailure(const char* expr1, const char* expr2, const T1& val1, const T2& val2, const char* op) argument [all...] |
/netbsd-current/crypto/external/bsd/openssl.old/dist/test/ |
H A D | v3ext.c | 45 ASN1_INTEGER *val1 = NULL, *val2 = NULL; local 63 if (!TEST_ptr(val2 = ASN1_INTEGER_new()) 64 || !TEST_true(ASN1_INTEGER_set_int64(val2, 64497))) 67 if (!TEST_true(X509v3_asid_add_id_or_range(asid2, V3_ASID_ASNUM, val2, NULL))) 70 val2 = NULL; 73 || !TEST_ptr(val2 = ASN1_INTEGER_new()) 74 || !TEST_true(ASN1_INTEGER_set_int64(val2, 64497))) 81 if (!TEST_true(X509v3_asid_add_id_or_range(asid3, V3_ASID_ASNUM, val1, val2))) 83 val1 = val2 = NULL; 112 ASN1_INTEGER_free(val2); [all...] |
/netbsd-current/sys/external/bsd/drm2/dist/drm/i915/display/ |
H A D | dvo_tfp410.c | 273 u8 val, val2; local 292 tfp410_readb(dvo, TFP410_DE_CNT_HI, &val2); 293 DRM_DEBUG_KMS("TFP410_DE_CNT: 0x%02X%02X\n", val2, val); 295 tfp410_readb(dvo, TFP410_DE_LIN_HI, &val2); 296 DRM_DEBUG_KMS("TFP410_DE_LIN: 0x%02X%02X\n", val2, val); 298 tfp410_readb(dvo, TFP410_H_RES_HI, &val2); 299 DRM_DEBUG_KMS("TFP410_H_RES: 0x%02X%02X\n", val2, val); 301 tfp410_readb(dvo, TFP410_V_RES_HI, &val2); 302 DRM_DEBUG_KMS("TFP410_V_RES: 0x%02X%02X\n", val2, val);
|
/netbsd-current/tests/lib/libpthread/ |
H A D | t_swapcontext.c | 50 int val1, val2; variable 96 nself = (void *)&val2;
|
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/ |
H A D | watchpoint.c | 148 int val = 0, val2 = 23; local 152 x = &val2;
|
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/ |
H A D | watchpoint.c | 148 int val = 0, val2 = 23; local 152 x = &val2;
|
/netbsd-current/external/bsd/nvi/dist/motif_l/ |
H A D | m_func.c | 62 vi_attribute(int ipvi, u_int32_t val1, u_int32_t val2) 69 __vi_screen->color = val2; 212 vi_move(int ipvi, u_int32_t val1, u_int32_t val2) 214 __vi_move_caret(__vi_screen, val1, val2); 287 vi_scrollbar(int ipvi, u_int32_t val1, u_int32_t val2, u_int32_t val3) 293 * val2 contains the number of visible lines 297 size = val2; 61 vi_attribute(int ipvi, u_int32_t val1, u_int32_t val2) argument 211 vi_move(int ipvi, u_int32_t val1, u_int32_t val2) argument 286 vi_scrollbar(int ipvi, u_int32_t val1, u_int32_t val2, u_int32_t val3) argument
|
/netbsd-current/crypto/external/bsd/openssl.old/dist/test/recipes/ |
H A D | 25-test_req.t | 40 my $val2 = " " . $val; 45 ok(!run(app([@addext_args, "-addext", $val, "-addext", $val2]))); 47 ok(!run(app([@addext_args, "-addext", $val2, "-addext", $val3])));
|
/netbsd-current/crypto/external/bsd/openssl/dist/test/ |
H A D | v3ext.c | 45 ASN1_INTEGER *val1 = NULL, *val2 = NULL; local 63 if (!TEST_ptr(val2 = ASN1_INTEGER_new()) 64 || !TEST_true(ASN1_INTEGER_set_int64(val2, 64497))) 67 if (!TEST_true(X509v3_asid_add_id_or_range(asid2, V3_ASID_ASNUM, val2, NULL))) 70 val2 = NULL; 73 || !TEST_ptr(val2 = ASN1_INTEGER_new()) 74 || !TEST_true(ASN1_INTEGER_set_int64(val2, 64497))) 81 if (!TEST_true(X509v3_asid_add_id_or_range(asid3, V3_ASID_ASNUM, val1, val2))) 83 val1 = val2 = NULL; 112 ASN1_INTEGER_free(val2); [all...] |