| /netbsd-src/external/bsd/nvi/usr.bin/nvi/ |
| H A D | ipc_gen.c | 22 vi_c_down(IPVIWIN *ipvi, u_int32_t val1) 24 return vi_send_1(ipvi, VI_C_DOWN, val1); 48 vi_c_pgdown(IPVIWIN *ipvi, u_int32_t val1) 50 return vi_send_1(ipvi, VI_C_PGDOWN, val1); 54 vi_c_pgup(IPVIWIN *ipvi, u_int32_t val1) 56 return vi_send_1(ipvi, VI_C_PGUP, val1); 68 vi_c_search(IPVIWIN *ipvi, const char *stra, u_int32_t lena, u_int32_t val1) 70 return vi_send_a1(ipvi, VI_C_SEARCH, stra, lena, val1); 75 vi_c_settop(IPVIWIN *ipvi, u_int32_t val1) in vi_c_settop() argument 77 return vi_send_1(ipvi, VI_C_SETTOP, val1); in vi_c_settop() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/utils/unittest/googletest/include/gtest/ |
| H A D | gtest.h | 1586 const T1& val1, const T2& val2, in CmpHelperOpFailure() argument 1590 << "), actual: " << FormatForComparisonFailureMessage(val1, val2) in CmpHelperOpFailure() 1591 << " vs " << FormatForComparisonFailureMessage(val2, val1); in CmpHelperOpFailure() 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) 1761 double val1, 2027 #define EXPECT_EQ(val1, val2) \ argument 2028 EXPECT_PRED_FORMAT2(::testing::internal::EqHelper::Compare, val1, val2) [all …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/bn/ |
| H A D | bn_exp2.c | 26 BIGNUM *val1[TABLE_SIZE], *val2[TABLE_SIZE]; in BN_mod_exp2_mont() local 51 val1[0] = BN_CTX_get(ctx); in BN_mod_exp2_mont() 72 if (!BN_mod(val1[0], a1, m, ctx)) in BN_mod_exp2_mont() 74 a_mod_m = val1[0]; in BN_mod_exp2_mont() 83 if (!BN_to_montgomery(val1[0], a_mod_m, mont, ctx)) in BN_mod_exp2_mont() 86 if (!BN_mod_mul_montgomery(d, val1[0], val1[0], mont, ctx)) in BN_mod_exp2_mont() 91 if (((val1[i] = BN_CTX_get(ctx)) == NULL) || in BN_mod_exp2_mont() 92 !BN_mod_mul_montgomery(val1[i], val1[i - 1], d, mont, ctx)) in BN_mod_exp2_mont() 178 if (!BN_mod_mul_montgomery(r, r, val1[wvalue1 >> 1], mont, ctx)) in BN_mod_exp2_mont()
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/bn/ |
| H A D | bn_exp2.c | 26 BIGNUM *val1[TABLE_SIZE], *val2[TABLE_SIZE]; in BN_mod_exp2_mont() local 51 val1[0] = BN_CTX_get(ctx); in BN_mod_exp2_mont() 72 if (!BN_mod(val1[0], a1, m, ctx)) in BN_mod_exp2_mont() 74 a_mod_m = val1[0]; in BN_mod_exp2_mont() 83 if (!BN_to_montgomery(val1[0], a_mod_m, mont, ctx)) in BN_mod_exp2_mont() 86 if (!BN_mod_mul_montgomery(d, val1[0], val1[0], mont, ctx)) in BN_mod_exp2_mont() 91 if (((val1[i] = BN_CTX_get(ctx)) == NULL) || in BN_mod_exp2_mont() 92 !BN_mod_mul_montgomery(val1[i], val1[i - 1], d, mont, ctx)) in BN_mod_exp2_mont() 178 if (!BN_mod_mul_montgomery(r, r, val1[wvalue1 >> 1], mont, ctx)) in BN_mod_exp2_mont()
|
| /netbsd-src/external/gpl2/lvm2/dist/test/ |
| H A D | lvm-utils.sh | 61 local val1; 64 val1=$($cmd1 --noheadings -o $field1 $obj1) 68 echo "compare_two_fields_ $obj1($field1): $val1 $obj2($field2): $val2" 70 test $val1 = $val2 78 local val1; 81 val1=$(vgs --noheadings -o $field $vg1) 85 echo "compare_vg_field_ VG1: $val1 VG2: $val2" 87 test $val1 = $val2
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/test/ |
| H A D | v3ext.c | 45 ASN1_INTEGER *val1 = NULL, *val2 = NULL; in test_asid() local 55 if (!TEST_ptr(val1 = ASN1_INTEGER_new()) in test_asid() 56 || !TEST_true(ASN1_INTEGER_set_int64(val1, 64496))) in test_asid() 59 if (!TEST_true(X509v3_asid_add_id_or_range(asid1, V3_ASID_ASNUM, val1, NULL))) in test_asid() 62 val1 = NULL; in test_asid() 71 if (!TEST_ptr(val1 = ASN1_INTEGER_new()) in test_asid() 72 || !TEST_true(ASN1_INTEGER_set_int64(val1, 64496)) in test_asid() 81 if (!TEST_true(X509v3_asid_add_id_or_range(asid3, V3_ASID_ASNUM, val1, val2))) in test_asid() 83 val1 = val2 = NULL; in test_asid() 111 ASN1_INTEGER_free(val1); in test_asid()
|
| /netbsd-src/external/bsd/iscsi/dist/src/lib/ |
| H A D | parameters.c | 685 char *val1 = NULL; in param_text_parse() local 724 if ((val1 = iscsi_malloc(ISCSI_PARAM_MAX_LEN)) == NULL) { in param_text_parse() 748 if (val1 != NULL) { in param_text_parse() 749 iscsi_free(val1); in param_text_parse() 756 if (val1 != NULL) iscsi_free(val1); \ in param_text_parse() 1088 (void) strlcpy(val1, param->offer_rx, ISCSI_PARAM_MAX_LEN); in param_text_parse() 1091 (void) strlcpy(val1, param->answer_rx, ISCSI_PARAM_MAX_LEN); in param_text_parse() 1094 if (strcmp(val1, "Yes") != 0 && in param_text_parse() 1095 strcmp(val1, "No") != 0 && in param_text_parse() 1096 strcmp(val1, "yes") != 0 && in param_text_parse() [all …]
|
| /netbsd-src/external/lgpl3/gmp/dist/ |
| H A D | gmpxx.h | 1472 typename __gmp_resolve_ref<T>::ref_type val1; 1475 __gmp_binary_expr(const T &v1, const U &v2) : val1(v1), val2(v2) { } 2400 __gmp_expr(const val1_type &val1, const val2_type &val2) 2401 : expr(val1, val2) { } 2403 { Op::eval(p, expr.val1.__get_mp(), expr.val2.__get_mp()); } 2404 const val1_type & get_val1() const { return expr.val1; } 2408 mp_bitcnt_t prec1 = expr.val1.get_prec(), 2426 __gmp_expr(const val1_type &val1, const val2_type &val2) 2427 : expr(val1, val2) { } 2429 { Op::eval(p, expr.val1.__get_mp(), expr.val2); } [all …]
|
| /netbsd-src/lib/libintl/ |
| H A D | plural_parser.c | 793 unsigned long val0, val1; in calculate_plural() local 802 val1=calculate_plural(pe->u.parser_op.operands[1], n); in calculate_plural() 804 val1=calculate_plural(pe->u.parser_op.operands[2], n); in calculate_plural() 805 return val1; in calculate_plural() 815 val1 = calculate_plural(pe->u.parser_op.operands[1], n); in calculate_plural() 818 return val0*val1; in calculate_plural() 820 return val0/val1; in calculate_plural() 822 return val0%val1; in calculate_plural() 824 return val0+val1; in calculate_plural() 826 return val0-val1; in calculate_plural() [all …]
|
| /netbsd-src/external/bsd/nvi/dist/ipc/ |
| H A D | ipc_method.c | 32 static int vi_send_12 __P((IPVIWIN *ipvi, int code, u_int32_t val1, u_int32_t val2)); 204 ipb.val1 = val; in vi_send_1() 209 vi_send_12(IPVIWIN *ipvi, int code, u_int32_t val1, u_int32_t val2) in vi_send_12() argument 214 ipb.val1 = val1; in vi_send_12() 242 ipb.val1 = val; 258 ipb.val1 = val;
|
| H A D | ipc_cmd.c | 82 return ((IPFunc_12)func)(ipvi, ipb->val1, ipb->val2); in ipc_unmarshall_12() 94 return ((IPFunc_ab1)func)(ipvi, ipb->str1, ipb->len1, ipb->str2, ipb->len2, ipb->val1); in ipc_unmarshall_ab1() 101 return ((IPFunc_1a)func)(ipvi, ipb->val1, ipb->str1, ipb->len1); 108 return ((IPFunc_1)func)(ipvi, ipb->val1); in ipc_unmarshall_1() 114 return ((IPFunc_123)func)(ipvi, ipb->val1, ipb->val2, ipb->val3); in ipc_unmarshall_123()
|
| /netbsd-src/crypto/external/bsd/openssl/dist/test/ |
| H A D | v3ext.c | 45 ASN1_INTEGER *val1 = NULL, *val2 = NULL; in test_asid() local 55 if (!TEST_ptr(val1 = ASN1_INTEGER_new()) in test_asid() 56 || !TEST_true(ASN1_INTEGER_set_int64(val1, 64496))) in test_asid() 59 if (!TEST_true(X509v3_asid_add_id_or_range(asid1, V3_ASID_ASNUM, val1, NULL))) in test_asid() 62 val1 = NULL; in test_asid() 71 if (!TEST_ptr(val1 = ASN1_INTEGER_new()) in test_asid() 72 || !TEST_true(ASN1_INTEGER_set_int64(val1, 64496)) in test_asid() 81 if (!TEST_true(X509v3_asid_add_id_or_range(asid3, V3_ASID_ASNUM, val1, val2))) in test_asid() 83 val1 = val2 = NULL; in test_asid() 111 ASN1_INTEGER_free(val1); in test_asid()
|
| H A D | cmp_ctx_test.c | 347 TYPE val1 = val1_to_free; \ 358 if ((*set_fn)(NULL, val1) || ERR_peek_error() == 0) { \ 376 if (!(*set_fn)(ctx, val1)) { \ 387 if (val1_read != val1) { \ 392 if (DUP && val1_read == val1) { \ 426 if (val2 == val1) { \ 629 TYPE val1 = val1_to_free; \ 638 if ((*push_fn)(NULL, val1) || ERR_peek_error() == 0) { \ 651 if (!(*push_fn)(ctx, val1)) { \ 664 if (val1_read != val1) { \ [all …]
|
| /netbsd-src/tests/lib/libc/sys/ |
| H A D | t_swapcontext.c | 45 int val1, val2; variable 56 ATF_REQUIRE_EQ(ntls, &val1); in swapfunc() 76 _lwp_setprivate(&val1); in mainfunc() 77 printf("before swapcontext TLS pointer = %p\n", &val1); in mainfunc()
|
| /netbsd-src/external/bsd/nvi/dist/motif_l/ |
| H A D | m_func.c | 61 vi_attribute(int ipvi, u_int32_t val1, u_int32_t val2) in vi_attribute() argument 63 switch (val1) { in vi_attribute() 211 vi_move(int ipvi, u_int32_t val1, u_int32_t val2) in vi_move() argument 213 __vi_move_caret(__vi_screen, val1, val2); in vi_move() 278 vi_rewrite(int ipvi, u_int32_t val1) in vi_rewrite() argument 286 vi_scrollbar(int ipvi, u_int32_t val1, u_int32_t val2, u_int32_t val3) in vi_scrollbar() argument 295 top = val1; in vi_scrollbar()
|
| /netbsd-src/external/bsd/nvi/dist/ip/ |
| H A D | ip_funcs.c | 117 ipb.val1 = attribute; in ip_attr() 281 ipb.val1 = RLNO(sp, LASTLINE(sp)); in ip_deleteln() 407 ipb.val1 = RLNO(sp, lno); in ip_move() 457 ipb.val1 = HMAP->lno; in ip_refresh() 462 if (ipb.val1 != ipp->sb_top || in ip_refresh() 466 ipp->sb_top = ipb.val1; in ip_refresh() 509 ipb.val1 = status; in ip_reply()
|
| /netbsd-src/external/bsd/elftoolchain/dist/libdwarf/ |
| H A D | dwarf_pro_expr.c | 35 _dwarf_add_expr(Dwarf_P_Expr expr, Dwarf_Small opcode, Dwarf_Unsigned val1, in _dwarf_add_expr() argument 44 if (_dwarf_loc_expr_add_atom(dbg, NULL, NULL, opcode, val1, val2, &len, in _dwarf_add_expr() 57 ee->ee_loc.lr_number = val1; in _dwarf_add_expr() 152 dwarf_add_expr_gen(Dwarf_P_Expr expr, Dwarf_Small opcode, Dwarf_Unsigned val1, in dwarf_add_expr_gen() argument 161 if (_dwarf_add_expr(expr, opcode, val1, val2, error) == NULL) in dwarf_add_expr_gen()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | selftest.c | 73 const char *val1, const char *val2) in assert_streq() argument 76 if (val1 == NULL) in assert_streq() 86 desc_val1, desc_val2, val1); in assert_streq() 89 if (strcmp (val1, val2) == 0) in assert_streq() 93 desc_val1, desc_val2, val1, val2); in assert_streq()
|
| H A D | tree-ssa-ccp.c | 1040 ccp_lattice_meet (ccp_prop_value_t *val1, ccp_prop_value_t *val2) in ccp_lattice_meet() argument 1042 if (val1->lattice_val == UNDEFINED in ccp_lattice_meet() 1050 *val1 = *val2; in ccp_lattice_meet() 1054 && (val1->lattice_val != CONSTANT in ccp_lattice_meet() 1055 || TREE_CODE (val1->value) != SSA_NAME)) in ccp_lattice_meet() 1061 else if (val1->lattice_val == VARYING in ccp_lattice_meet() 1065 val1->lattice_val = VARYING; in ccp_lattice_meet() 1066 val1->mask = -1; in ccp_lattice_meet() 1067 val1->value = NULL_TREE; in ccp_lattice_meet() 1069 else if (val1->lattice_val == CONSTANT in ccp_lattice_meet() [all …]
|
| /netbsd-src/crypto/external/cpl/trousers/dist/src/tcs/ |
| H A D | tcsi_transport.c | 131 UINT32 paramSize, wrappedSize, val1 = 0, val2 = 0, *pVal1 = NULL, *pVal2 = NULL; in TCSP_ExecuteTransport_Internal() local 178 handle1 = val1 = *rghHandles[0]; in TCSP_ExecuteTransport_Internal() 179 pVal1 = &val1; in TCSP_ExecuteTransport_Internal() 203 if ((result = get_slot_lite(hContext, handle1, &val1))) in TCSP_ExecuteTransport_Internal() 206 pVal1 = &val1; in TCSP_ExecuteTransport_Internal() 384 pVal1 = &val1; in TCSP_ExecuteTransport_Internal() 400 if ((result = load_key_final(hContext, handle1, &tcs_handle, NULL, val1))) in TCSP_ExecuteTransport_Internal()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/i915/ |
| H A D | intel_sideband.c | 382 u32 mbox, u32 *val, u32 *val1, in __sandybridge_pcode_rw() argument 401 intel_uncore_write_fw(uncore, GEN6_PCODE_DATA1, val1 ? *val1 : 0); in __sandybridge_pcode_rw() 415 if (is_read && val1) in __sandybridge_pcode_rw() 416 *val1 = intel_uncore_read_fw(uncore, GEN6_PCODE_DATA1); in __sandybridge_pcode_rw() 425 u32 *val, u32 *val1) in sandybridge_pcode_read() argument 430 err = __sandybridge_pcode_rw(i915, mbox, val, val1, in sandybridge_pcode_read()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | selftest.cc | 73 const char *val1, const char *val2) in assert_streq() argument 76 if (val1 == NULL) in assert_streq() 86 desc_val1, desc_val2, val1); in assert_streq() 89 if (strcmp (val1, val2) == 0) in assert_streq() 93 desc_val1, desc_val2, val1, val2); in assert_streq()
|
| /netbsd-src/tests/lib/libc/string/ |
| H A D | t_strcmp.c | 32 const char* val1; in ATF_TC_BODY() member 81 memcpy(&buf1[a1], tab[t].val1, in ATF_TC_BODY() 82 strlen(tab[t].val1) + 1); in ATF_TC_BODY()
|
| /netbsd-src/external/bsd/ipf/dist/perl/ |
| H A D | Ipfanaly.pl | 75 $val1=""; 77 $val1=$inwards[$loop] [1]; 78 if($val1 eq "") 79 {$val1=0}; 83 print INDATA "$arraycnt:$val1\n";
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce120/ |
| H A D | amdgpu_dce120_timing_generator.c | 56 #define CRTC_REG_UPDATE_2(reg, field1, val1, field2, val2) \ argument 57 CRTC_REG_UPDATE_N(reg, 2, FD(reg##__##field1), val1, FD(reg##__##field2), val2) 59 #define CRTC_REG_UPDATE_3(reg, field1, val1, field2, val2, field3, val3) \ argument 60 …CRTC_REG_UPDATE_N(reg, 3, FD(reg##__##field1), val1, FD(reg##__##field2), val2, FD(reg##__##field3… 62 #define CRTC_REG_UPDATE_4(reg, field1, val1, field2, val2, field3, val3, field4, val4) \ argument 63 …CRTC_REG_UPDATE_N(reg, 3, FD(reg##__##field1), val1, FD(reg##__##field2), val2, FD(reg##__##field3… 65 #define CRTC_REG_UPDATE_5(reg, field1, val1, field2, val2, field3, val3, field4, val4, field5, val5… argument 66 …CRTC_REG_UPDATE_N(reg, 3, FD(reg##__##field1), val1, FD(reg##__##field2), val2, FD(reg##__##field3… 71 #define CRTC_REG_SET_2(reg, field1, val1, field2, val2) \ argument 72 CRTC_REG_SET_N(reg, 2, FD(reg##__##field1), val1, FD(reg##__##field2), val2) [all …]
|