| /dflybsd-src/contrib/mpfr/src/ |
| H A D | log.c | 46 mpfr_t tmp1, tmp2; in mpfr_log() local 114 MPFR_GROUP_INIT_2 (group, p, tmp1, tmp2); in mpfr_log() 126 mpfr_div (tmp1, __gmpfr_four, tmp2, MPFR_RNDN);/* 4/s, err<=2 ulps */ in mpfr_log() 127 mpfr_agm (tmp2, __gmpfr_one, tmp1, MPFR_RNDN); /* AG(1,4/s),err<=3 ulps */ in mpfr_log() 129 mpfr_const_pi (tmp1, MPFR_RNDN); /* compute pi, err<=1ulp */ in mpfr_log() 130 mpfr_div (tmp2, tmp1, tmp2, MPFR_RNDN); /* pi/2*AG(1,4/s), err<=5ulps */ in mpfr_log() 131 mpfr_const_log2 (tmp1, MPFR_RNDN); /* compute log(2), err<=1ulp */ in mpfr_log() 132 mpfr_mul_si (tmp1, tmp1, m, MPFR_RNDN); /* compute m*log(2),err<=2ulps */ in mpfr_log() 133 mpfr_sub (tmp1, tmp2, tmp1, MPFR_RNDN); /* log(a), err<=7ulps+cancel */ in mpfr_log() 135 if (MPFR_LIKELY (MPFR_IS_PURE_FP (tmp1) && MPFR_IS_PURE_FP (tmp2))) in mpfr_log() [all …]
|
| /dflybsd-src/contrib/wpa_supplicant/src/crypto/ |
| H A D | milenage.c | 39 u8 tmp1[16], tmp2[16], tmp3[16]; in milenage_f1() local 44 tmp1[i] = _rand[i] ^ opc[i]; in milenage_f1() 45 if (aes_128_encrypt_block(k, tmp1, tmp1)) in milenage_f1() 60 tmp3[i] ^= tmp1[i]; in milenage_f1() 64 if (aes_128_encrypt_block(k, tmp3, tmp1)) in milenage_f1() 67 tmp1[i] ^= opc[i]; in milenage_f1() 69 os_memcpy(mac_a, tmp1, 8); /* f1 */ in milenage_f1() 71 os_memcpy(mac_s, tmp1 + 8, 8); /* f1* */ in milenage_f1() 91 u8 tmp1[16], tmp2[16], tmp3[16]; in milenage_f2345() local 96 tmp1[i] = _rand[i] ^ opc[i]; in milenage_f2345() [all …]
|
| /dflybsd-src/contrib/gmp/mpq/ |
| H A D | aors.c | 33 mpz_t tmp1, tmp2; in mpq_aors() local 42 MPZ_TMP_INIT (tmp1, op1_num_size + op2_den_size); in mpq_aors() 55 mpz_divexact_gcd (tmp1, &(op2->_mp_den), gcd); in mpq_aors() 56 mpz_mul (tmp1, &(op1->_mp_num), tmp1); in mpq_aors() 61 MPZ_TMP_INIT (t, MAX (ABS (tmp1->_mp_size), ABS (tmp2->_mp_size)) + 1); in mpq_aors() 63 (*fun) (t, tmp1, tmp2); in mpq_aors() 75 mpz_divexact_gcd (tmp1, &(op2->_mp_den), gcd); in mpq_aors() 76 mpz_mul (&(rop->_mp_den), tmp1, tmp2); in mpq_aors() 83 mpz_mul (tmp1, &(op1->_mp_num), &(op2->_mp_den)); in mpq_aors() 85 (*fun) (&(rop->_mp_num), tmp1, tmp2); in mpq_aors()
|
| H A D | mul.c | 29 mpz_t tmp1, tmp2; in mpq_mul() local 69 MPZ_TMP_INIT (tmp1, alloc); in mpq_mul() 82 mpz_divexact_gcd (tmp1, &(op1->_mp_num), gcd1); in mpq_mul() 85 mpz_mul (&(prod->_mp_num), tmp1, tmp2); in mpq_mul() 87 mpz_divexact_gcd (tmp1, &(op2->_mp_den), gcd1); in mpq_mul() 90 mpz_mul (&(prod->_mp_den), tmp1, tmp2); in mpq_mul()
|
| H A D | div.c | 28 mpz_t tmp1, tmp2; in mpq_div() local 64 MPZ_TMP_INIT (tmp1, alloc); in mpq_div() 80 mpz_divexact_gcd (tmp1, &(op1->_mp_num), gcd1); in mpq_div() 83 mpz_mul (numtmp, tmp1, tmp2); in mpq_div() 85 mpz_divexact_gcd (tmp1, &(op2->_mp_num), gcd1); in mpq_div() 88 mpz_mul (&(quot->_mp_den), tmp1, tmp2); in mpq_div()
|
| /dflybsd-src/lib/libc/stdlib/ |
| H A D | heapsort.c | 58 #define COPY(a, b, count, size, tmp1, tmp2) { \ argument 60 tmp1 = a; \ 63 *tmp1++ = *tmp2++; \ 106 #define SELECT(par_i, child_i, nmemb, par, child, size, k, count, tmp1, tmp2) { \ argument 114 COPY(par, child, count, size, tmp1, tmp2); \ 122 COPY(child, k, count, size, tmp1, tmp2); \ 125 COPY(child, par, count, size, tmp1, tmp2); \ 141 char tmp, *tmp1, *tmp2; in heapsort() local 170 COPY(k, base + nmemb * size, cnt, size, tmp1, tmp2); in heapsort() 171 COPY(base + nmemb * size, base + size, cnt, size, tmp1, tmp2); in heapsort() [all …]
|
| /dflybsd-src/crypto/libressl/crypto/ec/ |
| H A D | ecp_oct.c | 74 BIGNUM *tmp1, *tmp2, *x, *y; in ec_GFp_simple_set_compressed_coordinates() local 88 if ((tmp1 = BN_CTX_get(ctx)) == NULL) in ec_GFp_simple_set_compressed_coordinates() 109 if (!group->meth->field_mul(group, tmp1, tmp2, x_, ctx)) in ec_GFp_simple_set_compressed_coordinates() 114 if (!BN_mod_mul(tmp1, tmp2, x_, &group->field, ctx)) in ec_GFp_simple_set_compressed_coordinates() 124 if (!BN_mod_sub_quick(tmp1, tmp1, tmp2, &group->field)) in ec_GFp_simple_set_compressed_coordinates() 138 if (!BN_mod_add_quick(tmp1, tmp1, tmp2, &group->field)) in ec_GFp_simple_set_compressed_coordinates() 146 if (!BN_mod_add_quick(tmp1, tmp1, tmp2, &group->field)) in ec_GFp_simple_set_compressed_coordinates() 149 if (!BN_mod_add_quick(tmp1, tmp1, &group->b, &group->field)) in ec_GFp_simple_set_compressed_coordinates() 153 if (!BN_mod_sqrt(y, tmp1, &group->field, ctx)) { in ec_GFp_simple_set_compressed_coordinates()
|
| H A D | ecp_smpl.c | 1100 BIGNUM *tmp1, *tmp2, *Za23, *Zb23; in ec_GFp_simple_cmp() local 1122 if ((tmp1 = BN_CTX_get(ctx)) == NULL) in ec_GFp_simple_cmp() 1140 if (!field_mul(group, tmp1, &a->X, Zb23, ctx)) in ec_GFp_simple_cmp() 1142 tmp1_ = tmp1; in ec_GFp_simple_cmp() 1162 if (!field_mul(group, tmp1, &a->Y, Zb23, ctx)) in ec_GFp_simple_cmp() 1233 BIGNUM *tmp0, *tmp1; in ec_GFp_simple_points_make_affine() local 1250 if ((tmp1 = BN_CTX_get(ctx)) == NULL) in ec_GFp_simple_points_make_affine() 1342 if (!group->meth->field_mul(group, tmp1, heap[i / 2], heap[i], ctx)) in ec_GFp_simple_points_make_affine() 1346 if (!BN_copy(heap[i + 1], tmp1)) in ec_GFp_simple_points_make_affine() 1364 if (!group->meth->field_sqr(group, tmp1, &p->Z, ctx)) in ec_GFp_simple_points_make_affine() [all …]
|
| /dflybsd-src/contrib/gcc-4.7/gcc/ |
| H A D | sreal.c | 452 unsigned HOST_WIDE_INT tmp1, tmp2, tmp3; in sreal_mul() local 463 tmp1 = a->sig_lo * b->sig_lo; in sreal_mul() 465 tmp3 = a->sig_hi * b->sig_lo + (tmp1 >> SREAL_PART_BITS); in sreal_mul() 471 tmp1 = tmp2 + tmp3; in sreal_mul() 473 r->sig_lo = tmp1 & (((uhwi) 1 << SREAL_PART_BITS) - 1); in sreal_mul() 474 r->sig_hi += tmp1 >> SREAL_PART_BITS; in sreal_mul() 500 unsigned HOST_WIDE_INT tmp, tmp1, tmp2; in sreal_div() local 514 tmp1 = (a->sig_hi << SREAL_PART_BITS) + a->sig_lo; in sreal_div() 521 tmp = tmp1 / tmp2; in sreal_div() 522 tmp1 = (tmp1 % tmp2) << (SREAL_PART_BITS / 2); in sreal_div() [all …]
|
| H A D | value-prof.c | 563 tree tmp0, tmp1, tmp2, tmpv; in gimple_divmod_fixed_value() local 583 tmp1 = make_ssa_name (tmpv, NULL); in gimple_divmod_fixed_value() 586 stmt2 = gimple_build_assign (tmp1, op2); in gimple_divmod_fixed_value() 587 SSA_NAME_DEF_STMT (tmp1) = stmt2; in gimple_divmod_fixed_value() 588 stmt3 = gimple_build_cond (NE_EXPR, tmp1, tmp0, NULL_TREE, NULL_TREE); in gimple_divmod_fixed_value() 876 tree tmp1; in gimple_mod_subtract() local 895 tmp1 = make_ssa_name (create_tmp_var (optype, "PROF"), NULL); in gimple_mod_subtract() 897 stmt2 = gimple_build_assign (tmp1, op2); in gimple_mod_subtract() 898 SSA_NAME_DEF_STMT (tmp1) = stmt2; in gimple_mod_subtract() 899 stmt3 = gimple_build_cond (LT_EXPR, result, tmp1, NULL_TREE, NULL_TREE); in gimple_mod_subtract() [all …]
|
| H A D | alias.c | 1627 rtx tmp1 = XEXP (x, 0); in find_base_term() local 1642 if (tmp1 == pic_offset_table_rtx && CONSTANT_P (tmp2)) in find_base_term() 1647 if (REG_P (tmp1) && REG_POINTER (tmp1)) in find_base_term() 1649 rtx base = find_base_term (tmp1); in find_base_term() 1663 tmp1 = find_base_term (tmp1); in find_base_term() 1669 if (tmp1 != 0 in find_base_term() 1670 && (GET_CODE (tmp1) == SYMBOL_REF in find_base_term() 1671 || GET_CODE (tmp1) == LABEL_REF in find_base_term() 1672 || (GET_CODE (tmp1) == ADDRESS in find_base_term() 1673 && GET_MODE (tmp1) != VOIDmode))) in find_base_term() [all …]
|
| H A D | matrix-reorg.c | 1881 tree tmp1; in transform_access_sites() local 1890 tmp1 = offset; in transform_access_sites() 1903 tmp1 = force_gimple_operand_gsi (&gsi, total_elements, in transform_access_sites() 1908 tmp1 = offset; in transform_access_sites() 1919 tmp1 = force_gimple_operand_gsi (&gsi, num_elements, true, in transform_access_sites() 1923 if (tmp1 != offset) in transform_access_sites() 1932 SET_USE (use_p, tmp1); in transform_access_sites() 1937 gimple_assign_set_rhs2 (acc_info->stmt, tmp1); in transform_access_sites() 1964 int i, j, tmp1; in sort_dim_hot_level() local 1976 tmp1 = dim_map[j]; in sort_dim_hot_level() [all …]
|
| H A D | tree-profile.c | 330 tree tmp1; in gimple_gen_ic_profiler() local 345 tmp1 = create_tmp_reg (ptr_void, "PROF"); in gimple_gen_ic_profiler() 348 stmt2 = gimple_build_assign (tmp1, unshare_expr (value->hvalue.value)); in gimple_gen_ic_profiler() 349 gimple_assign_set_lhs (stmt2, make_ssa_name (tmp1, stmt2)); in gimple_gen_ic_profiler()
|
| H A D | loop-iv.c | 2256 rtx op0, op1, delta, step, bound, may_xform, tmp, tmp0, tmp1; in iv_number_of_iterations() local 2568 tmp1 = lowpart_subreg (mode, iv1.base, comp_mode); in iv_number_of_iterations() 2570 SImode, mode, tmp0, tmp1); in iv_number_of_iterations() 2610 tmp1 = lowpart_subreg (mode, iv1.base, comp_mode); in iv_number_of_iterations() 2611 tmp = simplify_gen_binary (UMOD, mode, tmp1, GEN_INT (d)); in iv_number_of_iterations() 2615 tmp = simplify_gen_binary (UDIV, mode, tmp1, GEN_INT (d)); in iv_number_of_iterations() 2632 tmp1 = lowpart_subreg (mode, iv1.base, comp_mode); in iv_number_of_iterations() 2645 tmp1, bound); in iv_number_of_iterations() 2648 t1 = simplify_gen_binary (UMOD, mode, copy_rtx (tmp1), step); in iv_number_of_iterations() 2657 tmp1, bound); in iv_number_of_iterations() [all …]
|
| /dflybsd-src/games/larn/ |
| H A D | movem.c | 26 static int tmp1, tmp2, tmp3, tmp4, distance; variable 43 tmp1 = playery - 5; in movemonst() 49 tmp1 = playery - 3; in movemonst() 58 if (tmp1 < 0) in movemonst() 59 tmp1 = 0; in movemonst() 67 if (tmp1 < 1) in movemonst() 68 tmp1 = 1; in movemonst() 77 for (j = tmp1; j < tmp2; j++) /* now reset monster moved flags */ in movemonst() 85 for (j = tmp1; j < tmp2; j++) in movemonst() 95 for (j = tmp1; j < tmp2; j++) in movemonst() [all …]
|
| /dflybsd-src/usr.bin/u4bhidctl/ |
| H A D | usbhid.c | 72 char hname[1000], *tmp1, *tmp2; in parceargs() local 90 tmp1 = strrchr(colls, '.'); in parceargs() 91 if (tmp1 != NULL) { in parceargs() 92 cp -= strlen(tmp1); in parceargs() 93 tmp1[0] = 0; in parceargs() 118 tmp1 = tmp2 = strdup(names[i]); in parceargs() 120 var->name = strsep(&tmp1, "#"); in parceargs() 121 if (tmp1 != NULL) in parceargs() 122 var->instance = atoi(tmp1); in parceargs() 144 tmp1 = strrchr(colls, '.'); in parceargs() [all …]
|
| /dflybsd-src/contrib/cvs-1.12/src/ |
| H A D | rcscmds.c | 215 char *tmp1, *tmp2; in RCS_merge() local 241 tmp1 = cvs_temp_name(); in RCS_merge() 242 if (RCS_checkout (rcs, NULL, xrev1, rev1, options, tmp1, NULL, NULL)) in RCS_merge() 284 call_diff_add_arg (tmp1); in RCS_merge() 301 if (unlink_file (tmp1) < 0) in RCS_merge() 304 error (0, errno, "cannot remove temp file %s", tmp1); in RCS_merge() 306 free (tmp1); in RCS_merge()
|
| /dflybsd-src/contrib/ee/ |
| H A D | new_curse.c | 2496 struct _line *tmp1; local 2506 tmp1 = tmp; 2507 clear_line(tmp1, 0, window->Num_cols); 2508 tmp1->number = -1; 2513 tmp1->next_screen = tmp->next_screen; 2514 tmp->next_screen = tmp1; 2521 tmp->prev_screen->next_screen = tmp1; 2522 tmp1->prev_screen = tmp->prev_screen; 2523 tmp->prev_screen = tmp1; 2524 tmp1->next_screen = tmp; [all …]
|
| /dflybsd-src/usr.bin/sdiff/ |
| H A D | sdiff.c | 216 char *filename1, *filename2, *tmp1, *tmp2, *s1, *s2; in main() local 345 tmp1 = tmp2 = NULL; in main() 348 if ((tmp1 = mktmpcpy(filename1))) in main() 349 filename1 = filename2 = tmp1; in main() 352 if ((tmp1 = mktmpcpy(filename1))) in main() 353 filename1 = tmp1; in main() 438 if (tmp1 != NULL) { in main() 439 if (unlink(tmp1) != 0) in main() 440 warn("failed to delete %s", tmp1); in main() 441 free(tmp1); in main()
|
| /dflybsd-src/contrib/gcc-8.0/gcc/ |
| H A D | value-prof.c | 691 tree tmp0, tmp1, tmp2; in gimple_divmod_fixed_value() local 710 tmp1 = make_temp_ssa_name (optype, NULL, "PROF"); in gimple_divmod_fixed_value() 712 stmt2 = gimple_build_assign (tmp1, op2); in gimple_divmod_fixed_value() 713 stmt3 = gimple_build_cond (NE_EXPR, tmp1, tmp0, NULL_TREE, NULL_TREE); in gimple_divmod_fixed_value() 1001 tree tmp1; in gimple_mod_subtract() local 1020 tmp1 = make_temp_ssa_name (optype, NULL, "PROF"); in gimple_mod_subtract() 1022 stmt2 = gimple_build_assign (tmp1, op2); in gimple_mod_subtract() 1023 stmt3 = gimple_build_cond (LT_EXPR, result, tmp1, NULL_TREE, NULL_TREE); in gimple_mod_subtract() 1031 stmt1 = gimple_build_assign (result, MINUS_EXPR, result, tmp1); in gimple_mod_subtract() 1032 stmt2 = gimple_build_cond (LT_EXPR, result, tmp1, NULL_TREE, NULL_TREE); in gimple_mod_subtract() [all …]
|
| H A D | loop-iv.c | 2309 rtx op0, op1, delta, step, bound, may_xform, tmp, tmp0, tmp1; in iv_number_of_iterations() local 2620 tmp1 = lowpart_subreg (mode, iv1.base, comp_mode); in iv_number_of_iterations() 2622 SImode, mode, tmp0, tmp1); in iv_number_of_iterations() 2662 tmp1 = lowpart_subreg (mode, iv1.base, comp_mode); in iv_number_of_iterations() 2663 tmp = simplify_gen_binary (UMOD, mode, tmp1, gen_int_mode (d, mode)); in iv_number_of_iterations() 2667 tmp = simplify_gen_binary (UDIV, mode, tmp1, gen_int_mode (d, mode)); in iv_number_of_iterations() 2684 tmp1 = lowpart_subreg (mode, iv1.base, comp_mode); in iv_number_of_iterations() 2697 tmp1, bound); in iv_number_of_iterations() 2700 t1 = simplify_gen_binary (UMOD, mode, copy_rtx (tmp1), step); in iv_number_of_iterations() 2709 tmp1, bound); in iv_number_of_iterations() [all …]
|
| /dflybsd-src/sys/dev/drm/ |
| H A D | drm_modes.c | 231 int tmp1, tmp2; in drm_cvt_mode() local 239 tmp1 = HV_FACTOR * 1000000 - in drm_cvt_mode() 243 hperiod = tmp1 * 2 / (tmp2 * vfieldrate); in drm_cvt_mode() 245 tmp1 = CVT_MIN_VSYNC_BP * HV_FACTOR / hperiod + 1; in drm_cvt_mode() 247 if (tmp1 < (vsync + CVT_MIN_V_PORCH)) in drm_cvt_mode() 250 vsyncandback_porch = tmp1; in drm_cvt_mode() 297 int tmp1, tmp2; in drm_cvt_mode() local 299 tmp1 = HV_FACTOR * 1000000 - in drm_cvt_mode() 302 hperiod = tmp1 / (tmp2 * vfieldrate); in drm_cvt_mode() 396 unsigned int tmp1, tmp2; in drm_gtf_mode_complex() local [all …]
|
| /dflybsd-src/sys/dev/drm/amd/display/dc/dce120/ |
| H A D | dce120_timing_generator.c | 448 uint32_t tmp1 = 0; in dce120_timing_generator_program_blanking() local 482 tmp1 = timing->h_total - in dce120_timing_generator_program_blanking() 484 tmp2 = tmp1 + timing->h_addressable + in dce120_timing_generator_program_blanking() 489 CRTC_H_BLANK_END, tmp1, in dce120_timing_generator_program_blanking() 492 tmp1 = timing->v_total - (v_sync_start + timing->v_border_top); in dce120_timing_generator_program_blanking() 493 tmp2 = tmp1 + timing->v_addressable + timing->v_border_top + in dce120_timing_generator_program_blanking() 498 CRTC_V_BLANK_END, tmp1, in dce120_timing_generator_program_blanking()
|
| /dflybsd-src/contrib/gdb-7/gdb/ |
| H A D | p-exp.y | 1666 char *tmp1; in yylex() local 1668 tmp1 = ncopy; in yylex() 1669 memcpy (tmp1, tmp, strlen (tmp)); in yylex() 1670 tmp1 += strlen (tmp); in yylex() 1671 memcpy (tmp1, "::", 2); in yylex() 1672 tmp1 += 2; in yylex() 1673 memcpy (tmp1, namestart, p - namestart); in yylex() 1674 tmp1[p - namestart] = '\0'; in yylex()
|
| /dflybsd-src/lib/libc/db/hash/ |
| H A D | hash_page.c | 469 int tmp1, tmp2; in __add_ovflpage() local 482 tmp1 = bufp->addr; in __add_ovflpage() 490 tmp1, tmp2, bufp->ovfl->addr); in __add_ovflpage() 654 int tmp1, tmp2; in overflow_page() local 766 tmp1 = bit; in overflow_page() 789 addr, tmp1, tmp2); in overflow_page()
|