Searched refs:ran (Results 1 - 18 of 18) sorted by relevance

/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.target/i386/
H A Dpr34077.c6 extern double ran(void);
20 random_text[i][j] = (int)(ran()*256);
24 memcpy(spec_fd[fd].buf + i, random_text[(int)(ran()*(32))],
/netbsd-6-1-5-RELEASE/external/lgpl3/mpfr/dist/tests/
H A Drandom2.c40 mp_limb_t elimb, ran, acc; local
69 ran = elimb;
73 ran >>= 6; /* Ideally log2(GMP_NUMB_BITS) */
76 /* Bit 0 of ran chooses string of ones/string of zeroes.
78 ran |= 1;
87 ran = elimb;
91 nb = (ran >> 1) % (1 << LOGBITS_PER_BLOCK) + 1;
92 if ((ran & 1) != 0)
120 ran >>= LOGBITS_PER_BLOCK + 1;
/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/dist/mpn/generic/
H A Drandom2.c42 mp_limb_t ran, ranm; /* buffer for random bits */ local
48 ran = ranm;
51 bit_pos = ran % GMP_NUMB_BITS;
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.c-torture/execute/
H A Darith-rand-ll.c15 long long ran; local
21 ran = simple_rand ();
22 n_bits = (ran >> 1) % 16;
30 if (ran & 1)
H A Darith-rand.c15 long ran; local
21 ran = simple_rand ();
22 n_bits = (ran >> 1) % 16;
30 if (ran & 1)
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.c-torture/execute/
H A Darith-rand-ll.c15 long long ran; local
21 ran = simple_rand ();
22 n_bits = (ran >> 1) % 16;
30 if (ran & 1)
H A Darith-rand.c15 long ran; local
21 ran = simple_rand ();
22 n_bits = (ran >> 1) % 16;
30 if (ran & 1)
/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/dist/tests/mpn/
H A Dt-div.c149 mp_limb_t ran; local
272 ran = random_word (rands);
352 scratch[itch] = ran;
357 ASSERT_ALWAYS (ran == scratch[itch]);
372 scratch[itch] = ran;
375 ASSERT_ALWAYS (ran == scratch[itch]);
389 scratch[itch] = ran;
392 ASSERT_ALWAYS (ran == scratch[itch]);
406 scratch[itch] = ran;
408 ASSERT_ALWAYS (ran
[all...]
H A Dt-bdiv.c145 mp_limb_t ran; local
249 ran = random_word (rands);
309 scratch[itch] = ran;
314 ASSERT_ALWAYS (ran == scratch[itch]);
326 scratch[itch] = ran;
329 ASSERT_ALWAYS (ran == scratch[itch]);
/netbsd-6-1-5-RELEASE/games/sail/
H A Ddr_2.c180 int row, col, dir, total, ran; local
192 ran = range(ship, to);
193 total = -50 * ran;
194 if (ran < 4 && gunsbear(ship, to))
196 if ((ran = portside(ship, to, 1) - fp->dir) == 4 || ran == -4)
/netbsd-6-1-5-RELEASE/games/adventure/
H A Dextern.h112 int ran(int);
H A Dwizard.c156 ran(int range) function
H A Dsubr.c145 if (ran(100) < n)
179 j = 1 + ran(5);
210 j = 1 + ran(j);
264 if (ran(1000) < 95 * (dflag - 2))
884 if (ran(3) == 0 || saved != -1)
/netbsd-6-1-5-RELEASE/external/bsd/dhcpcd/dist/
H A Dipv6.c370 struct ra *rap, *ran; local
451 TAILQ_FOREACH_SAFE(rap, &ipv6_routers, next, ran) {
H A Dipv6rs.c298 struct ra *rap, *ran; local
304 TAILQ_FOREACH_SAFE(rap, &ipv6_routers, next, ran) {
796 struct ra *rap, *ran; local
806 TAILQ_FOREACH_SAFE(rap, &ipv6_routers, next, ran) {
/netbsd-6-1-5-RELEASE/sys/arch/m68k/m68k/
H A Dcopy.s254 moveq #ENAMETOOLONG,%d0 | ran out of space
289 moveq #ENAMETOOLONG,%d0 | ran out of space
328 moveq #ENAMETOOLONG,%d0 | ran out of space
/netbsd-6-1-5-RELEASE/gnu/dist/gmake/
H A Dremake.c733 int ran = file->command_state == cs_running;
745 or won when they ran (i.e. status is 0). */
767 /* Pretend we ran a real touch command, to suppress the
772 to the double-colon entries). Simply setting ran=1 would
783 if ((ran && !file->phony) || touched)
788 /* If -n, -t, or -q and all the commands are recursive, we ran them so
812 if (ran && file->update_status != -1)
823 if (ran && !d->file->phony)
729 int ran = file->command_state == cs_running; local
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/
H A Dtommath.tex696 \hline \textbf{MP\_MEM} & The function ran out of heap memory \\

Completed in 216 milliseconds