| /netbsd-src/external/lgpl3/gmp/dist/tests/mpz/ |
| H A D | t-gcd.c | 34 mpz_t gcd1, gcd2, s, temp1, temp2, temp3; variable 96 mpz_t bs, temp1, temp2; in make_chain_operands() local 99 mpz_inits (bs, temp1, temp2, NULL); in make_chain_operands() 115 mpz_rrandomb (temp2, rs, mpz_get_ui (bs) + 1); in make_chain_operands() 116 mpz_add_ui (temp2, temp2, 1); in make_chain_operands() 117 mpz_mul (temp1, b, temp2); in make_chain_operands() 122 mpz_rrandomb (temp2, rs, mpz_get_ui (bs) + 1); in make_chain_operands() 123 mpz_add_ui (temp2, temp2, 1); in make_chain_operands() 124 mpz_mul (temp1, a, temp2); in make_chain_operands() 128 mpz_clears (bs, temp1, temp2, NULL); in make_chain_operands() [all …]
|
| H A D | t-sqrtrem.c | 34 mpz_t temp, temp2; in main() local 53 mpz_init (temp2); in main() 83 mpz_add_ui (temp2, x, 1); in main() 84 mpz_mul (temp2, temp2, temp2); in main() 87 if (mpz_cmp (temp2, x2) <= 0) in main() 90 mpz_add (temp2, temp, rem); in main() 93 if (mpz_cmp (x2, temp2) != 0) in main() 102 mpz_clear (temp2); in main()
|
| H A D | t-root.c | 32 mpz_t temp, temp2; in check_one() local 38 mpz_init (temp2); in check_one() 49 mpz_add (temp2, temp, rem2); in check_one() 52 …if (mpz_cmp (root1, root2) != 0 || mpz_cmp (x2, temp2) != 0 || mpz_cmpabs (temp, x2) > 0 || res ==… in check_one() 73 mpz_add_ui (temp2, root1, 1L); in check_one() 74 mpz_pow_ui (temp2, temp2, nth); in check_one() 75 MPZ_CHECK_FORMAT (temp2); in check_one() 78 if (mpz_cmp (temp2, x2) <= 0) in check_one() 91 mpz_clear (temp2); in check_one()
|
| /netbsd-src/external/lgpl3/mpfr/dist/tune/ |
| H A D | bidimensional_sample.c | 344 mpfr_t temp1, temp2; in virtual_timing_ai1() local 360 mpfr_init2 (temp2, MPFR_SMALL_PRECISION); in virtual_timing_ai1() 363 mpfr_set_si (temp2, MPFR_AI_THRESHOLD2, MPFR_RNDN); in virtual_timing_ai1() 364 mpfr_mul_ui (temp2, temp2, (unsigned int)MPFR_PREC (w), MPFR_RNDN); in virtual_timing_ai1() 371 mpfr_add (temp1, temp1, temp2, MPFR_RNDN); in virtual_timing_ai1() 379 mpfr_clear (temp2); in virtual_timing_ai1() 391 mpfr_t temp1, temp2; in virtual_timing_ai2() local 407 mpfr_init2 (temp2, MPFR_SMALL_PRECISION); in virtual_timing_ai2() 410 mpfr_set_si (temp2, MPFR_AI_THRESHOLD2, MPFR_RNDN); in virtual_timing_ai2() 411 mpfr_mul_ui (temp2, temp2, (unsigned int)MPFR_PREC (w), MPFR_RNDN); in virtual_timing_ai2() [all …]
|
| /netbsd-src/lib/libcurses/ |
| H A D | delch.c | 90 __LDATA *end, *temp1, *temp2; in wdelch() local 98 temp2 = temp1 + 1; in wdelch() 100 (void)memcpy(temp1, temp2, sizeof(__LDATA)); in wdelch() 101 temp1++, temp2++; in wdelch() 134 temp2 = temp1 + cw; in wdelch() 136 (void)memcpy(temp1, temp2, sizeof(__LDATA)); in wdelch() 137 temp1++, temp2++; in wdelch()
|
| H A D | ins_wch.c | 88 __LDATA *start, *temp1, *temp2; in wins_wch() local 155 temp2 = temp1 - cw; in wins_wch() 156 pcw = (temp2 + 1)->wcols; in wins_wch() 159 temp2 += pcw; in wins_wch() 160 while (temp1 > temp2 + cw) { in wins_wch() 178 while (temp2 >= start) { in wins_wch() 179 (void)memcpy(temp1, temp2, sizeof(__LDATA)); in wins_wch() 180 temp1--, temp2--; in wins_wch()
|
| H A D | insstr.c | 145 __LDATA *end, *temp1, *temp2; in winsnstr() local 168 temp2 = temp1 - len; in winsnstr() 169 while (temp2 >= end) { in winsnstr() 181 (void)memcpy(temp1, temp2, sizeof(__LDATA)); in winsnstr() 182 temp1--, temp2--; in winsnstr()
|
| H A D | ins_wstr.c | 133 __LDATA *start, *temp1, *temp2; in wins_nwstr() local 318 temp2 = temp1 - width; in wins_nwstr() 319 pcw = (temp2 + 1)->wcols; in wins_nwstr() 324 temp2 += pcw; in wins_nwstr() 325 while (temp1 > temp2 + width) { in wins_nwstr() 340 while (temp2 >= start) { in wins_nwstr() 341 (void)memcpy(temp1, temp2, sizeof(__LDATA)); in wins_nwstr() 342 temp1--, temp2--; in wins_nwstr()
|
| H A D | insch.c | 94 __LDATA *end, *temp1, *temp2; in winsch() local 106 temp2 = temp1 - 1; in winsch() 108 (void)memcpy(temp1, temp2, sizeof(__LDATA)); in winsch() 109 temp1--, temp2--; in winsch()
|
| /netbsd-src/external/lgpl3/mpfr/dist/src/ |
| H A D | ai.c | 68 mpfr_t temp1, temp2; in mpfr_ai1() local 194 mpfr_init2 (temp2, wprec); in mpfr_ai1() 215 mpfr_gamma_one_and_two_third (temp1, temp2, wprec); in mpfr_ai1() 218 mpfr_mul (ti, ti, temp2, MPFR_RNDN); in mpfr_ai1() 308 mpfr_clear (temp2); in mpfr_ai1() 340 mpfr_t temp1, temp2; in mpfr_ai2() local 429 mpfr_init2 (temp2, wprec); in mpfr_ai2() 463 mpfr_gamma_one_and_two_third (temp1, temp2, wprec); in mpfr_ai2() 466 mpfr_mul (u0, u0, temp2, MPFR_RNDN); in mpfr_ai2() 620 mpfr_clear (temp2); in mpfr_ai2() [all …]
|
| /netbsd-src/games/warp/ |
| H A D | util.c | 59 double temp, temp2; in exdis() local 63 temp2 = (double) myrand(); in exdis() 65 temp2 = 0.0; in exdis() 68 return (int) exp(temp2 * log(temp)/0x7fff); in exdis() 71 return (int) exp(temp2 * log(temp)/0xffff); in exdis() 73 return (int) exp(temp2 * log(temp)/0x7fffffff); in exdis()
|
| /netbsd-src/external/lgpl3/gmp/dist/tests/mpn/ |
| H A D | t-hgcd.c | 60 mpz_t op1, op2, temp1, temp2; in main() local 73 mpz_init (temp2); in main() 135 mpz_rrandomb (temp2, rands, mpz_get_ui (bs) + 1); in main() 136 mpz_add_ui (temp2, temp2, 1); in main() 137 mpz_mul (temp1, op2, temp2); in main() 146 mpz_rrandomb (temp2, rands, mpz_get_ui (bs) + 1); in main() 147 mpz_add_ui (temp2, temp2, 1); in main() 148 mpz_mul (temp1, op1, temp2); in main() 166 mpz_clear (temp2); in main()
|
| H A D | t-hgcd_appr.c | 50 mpz_t op1, op2, temp1, temp2; in main() local 74 mpz_init (temp2); in main() 116 mpz_rrandomb (temp2, rands, mpz_get_ui (bs) + 1); in main() 117 mpz_add_ui (temp2, temp2, 1); in main() 118 mpz_mul (temp1, op2, temp2); in main() 127 mpz_rrandomb (temp2, rands, mpz_get_ui (bs) + 1); in main() 128 mpz_add_ui (temp2, temp2, 1); in main() 129 mpz_mul (temp1, op1, temp2); in main() 147 mpz_clear (temp2); in main()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/tilegx/ |
| H A D | tilegx.c | 986 rtx r0, temp, temp2, temp3, got; in tilegx_legitimize_tls_address() local 991 temp2 = gen_reg_rtx (Pmode); in tilegx_legitimize_tls_address() 998 emit_insn (gen_mov_tls_gd_step2_32bit (temp2, temp, addr)); in tilegx_legitimize_tls_address() 999 emit_insn (gen_tls_add_32bit (temp2, got, temp2, addr)); in tilegx_legitimize_tls_address() 1004 emit_insn (gen_mov_tls_gd_step2 (temp2, temp, addr)); in tilegx_legitimize_tls_address() 1005 emit_insn (gen_tls_add (temp2, got, temp2, addr)); in tilegx_legitimize_tls_address() 1008 emit_move_insn (r0, temp2); in tilegx_legitimize_tls_address() 1032 rtx temp, temp2, temp3, got; in tilegx_legitimize_tls_address() local 1037 temp2 = gen_reg_rtx (Pmode); in tilegx_legitimize_tls_address() 1044 emit_insn (gen_mov_tls_ie_step2_32bit (temp2, temp, addr)); in tilegx_legitimize_tls_address() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/config/tilegx/ |
| H A D | tilegx.cc | 987 rtx r0, temp, temp2, temp3, got; in tilegx_legitimize_tls_address() local 992 temp2 = gen_reg_rtx (Pmode); in tilegx_legitimize_tls_address() 999 emit_insn (gen_mov_tls_gd_step2_32bit (temp2, temp, addr)); in tilegx_legitimize_tls_address() 1000 emit_insn (gen_tls_add_32bit (temp2, got, temp2, addr)); in tilegx_legitimize_tls_address() 1005 emit_insn (gen_mov_tls_gd_step2 (temp2, temp, addr)); in tilegx_legitimize_tls_address() 1006 emit_insn (gen_tls_add (temp2, got, temp2, addr)); in tilegx_legitimize_tls_address() 1009 emit_move_insn (r0, temp2); in tilegx_legitimize_tls_address() 1033 rtx temp, temp2, temp3, got; in tilegx_legitimize_tls_address() local 1038 temp2 = gen_reg_rtx (Pmode); in tilegx_legitimize_tls_address() 1045 emit_insn (gen_mov_tls_ie_step2_32bit (temp2, temp, addr)); in tilegx_legitimize_tls_address() [all …]
|
| /netbsd-src/sys/dev/i2c/ |
| H A D | nxt2k.c | 519 uint16_t temp, temp2; in nxt2k_get_snr() local 529 temp2 = 0x7fff - temp; in nxt2k_get_snr() 531 printf("snr temp2: %04hx\n", temp2); in nxt2k_get_snr() 533 if (temp2 > 0x7f00) in nxt2k_get_snr() 534 tsnr = 1000*24+(1000*(30-24)*(temp2-0x7f00)/(0x7fff-0x7f00)); in nxt2k_get_snr() 535 else if ( temp2 > 0x7ec0) in nxt2k_get_snr() 536 tsnr = 1000*18+(1000*(24-18)*(temp2-0x7ec0)/(0x7f00-0x7ec0)); in nxt2k_get_snr() 537 else if ( temp2 > 0x7c00) in nxt2k_get_snr() 538 tsnr = 1000*12+(1000*(18-12)*(temp2-0x7c00)/(0x7ec0-0x7c00)); in nxt2k_get_snr() 540 tsnr = 1000*0+(1000*(12-0)*(temp2-0)/(0x7c00-0)); in nxt2k_get_snr()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libgfortran/intrinsics/ |
| H A D | date_and_time.c | 268 GFC_REAL_4 temp1, temp2; in secnds() local 288 temp2 = fmod (*x, 86400.0); in secnds() 289 temp2 = (temp1 - temp2 >= 0.0) ? temp2 : (temp2 - 86400.0); in secnds() 290 return temp1 - temp2; in secnds()
|
| /netbsd-src/external/gpl3/gcc/dist/libgfortran/intrinsics/ |
| H A D | date_and_time.c | 278 GFC_REAL_4 temp1, temp2; in secnds() local 298 temp2 = fmod (*x, 86400.0); in secnds() 299 temp2 = (temp1 - temp2 >= 0.0) ? temp2 : (temp2 - 86400.0); in secnds() 300 return temp1 - temp2; in secnds()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/ |
| H A D | valid-shell.txt | 60 # RUN: echo "create a temp2 file" > %T/test/test2/temp2.write 61 …S/check_path.py file %T/test/temp.write %T/test/test1/temp1.write %T/test/test2/temp2.write> %t.out 86 # RUN: cd %T/dir2 && echo "hello" > temp2.txt 87 # RUN: diff temp2.txt ../dir1/temp1.txt 106 # RUN: echo "efghijkl" > %T/testCat/temp2.write 108 # RUN: cat %T/testCat/temp1.write %T/testCat/temp2.write %T/testCat/temp3.write > %T/testCat/tempmu… 122 # RUN: echo "efghijkl" > %T/testCat/temp2.write 123 # RUN: cat %T/testCat/temp1.write %T/testCat/temp2.write | FileCheck --check-prefix=PIPED-CAT-OUTPU… 132 # RUN: echo "qwerty" > %T/testCat/temp2.write
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/spu/ |
| H A D | spu.md | 3095 rtx temp2 = gen_reg_rtx (V4SImode); 3131 emit_insn (gen_andv4si3 (temp2, temp_v4si, ahi_inf)); 3132 emit_insn (gen_iorv4si3 (a_nan, a_nan, temp2)); 3134 emit_insn (gen_iorv4si3 (temp2, a_abs, b_abs)); 3135 emit_insn (gen_ceq_v4si (iszero, temp2, CONST0_RTX (V4SImode))); 3139 emit_insn (gen_iorv4si3 (temp2, biteq, iszero)); 3142 emit_insn (gen_andc_v4si (temp2, temp2, a_nan)); 3144 emit_insn (gen_shufb (operands[0], temp2, temp2, hihi_promote)); 3177 rtx temp2 = gen_reg_rtx (V4SImode); 3208 emit_insn (gen_andv4si3 (temp2, temp_v4si, ahi_inf)); [all …]
|
| /netbsd-src/games/phantasia/ |
| H A D | interplayer.c | 673 double temp1 = 0.0, temp2 = 0.0; /* other tampering values */ in dotampered() local 707 sscanf(Databuf, "%lf %lf", &temp1, &temp2); in dotampered() 709 Enrgyvoid.ev_y = floor(temp2); in dotampered() 736 temp2 = 0.0; in dotampered() 737 fwrite((char *) &temp2, sizeof(double), 1, fp); in dotampered() 802 sscanf(Databuf, "%lf %lf", &temp1, &temp2); in dotampered() 850 && CIRCLE(temp1, temp2) < CIRCLE(Other.p_x, Other.p_y) in dotampered() 861 Other.p_2scratch = floor(temp2); in dotampered()
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/lib/hcrypto/ |
| H A D | sha256.c | 153 uint32_t temp1, temp2; in swap_uint32_t() local 156 temp2 = temp1 >> 8; in swap_uint32_t() 158 temp2 &= 0x00ff00ff; in swap_uint32_t() 160 return temp1 | temp2; in swap_uint32_t()
|
| H A D | md4.c | 161 uint32_t temp1, temp2; in swap_uint32_t() local 164 temp2 = temp1 >> 8; in swap_uint32_t() 166 temp2 &= 0x00ff00ff; in swap_uint32_t() 168 return temp1 | temp2; in swap_uint32_t()
|
| H A D | sha.c | 211 uint32_t temp1, temp2; in swap_uint32_t() local 214 temp2 = temp1 >> 8; in swap_uint32_t() 216 temp2 &= 0x00ff00ff; in swap_uint32_t() 218 return temp1 | temp2; in swap_uint32_t()
|
| /netbsd-src/external/ibm-public/postfix/dist/src/cleanup/ |
| H A D | cleanup_masquerade.c | 102 domain = casefold(state->temp2, domain + 1); in cleanup_masquerade_external() 226 state.temp2 = vstring_alloc(100); in main() 234 vstring_free(state.temp2); in main()
|