Defined in 6 files as a prototype:
Defined in 4 files as a member:
Defined in 9 files as a macro:
Defined in 15 files as a function:
- common/lib/libc/stdlib/random.c, line 499 (as a function)
- common/lib/libc/stdlib/random.c, line 510 (as a function)
- external/apache2/llvm/dist/llvm/utils/unittest/googletest/src/gtest-internal-inl.h, line 817 (as a function)
- external/gpl3/binutils.old/dist/libiberty/random.c, line 377 (as a function)
- external/gpl3/binutils/dist/libiberty/random.c, line 375 (as a function)
- sys/external/bsd/drm2/dist/drm/i915/selftests/scatterlist.c, line 191 (as a function)
- sys/external/isc/libsodium/dist/test/quirks/quirks.h, line 47 (as a function)
- sys/lib/libkern/arch/i386/random.S, line 78 (as a function)
- sys/lib/libkern/arch/m68k/random.S, line 49 (as a function)
- sys/lib/libkern/arch/sparc/random.S, line 51 (as a function)
- sys/lib/libkern/arch/sparc64/random.S, line 51 (as a function)
- sys/lib/libkern/arch/x86_64/random.S, line 78 (as a function)
- tests/usr.bin/xlint/lint1/msg_092.c, line 7 (as a function)
- tests/usr.bin/xlint/lint1/msg_216.c, line 7 (as a function)
- tests/usr.bin/xlint/lint1/msg_217.c, line 7 (as a function)
Referenced in 278 files:
- bin/sh/var.c, 2 times
- bin/stty/key.c, 7 times
- common/lib/libc/gen/radixtree.c, 2 times
- common/lib/libc/gen/rpst.c, 4 times
- common/lib/libc/stdlib/random.c, line 51
- crypto/external/bsd/heimdal/dist/lib/hdb/keys.c, 5 times
- crypto/external/bsd/heimdal/dist/lib/hx509/softp11.c, 2 times
- crypto/external/bsd/heimdal/include/config.h, line 6
- crypto/external/bsd/netpgp/dist/src/libpaa/libpaa.c, line 59
- crypto/external/bsd/openssl.old/dist/crypto/mem.c, line 147
- crypto/external/bsd/openssl.old/dist/crypto/rand/rand_unix.c, line 177
- crypto/external/bsd/openssl.old/dist/crypto/sparccpuid.S, line 351
- crypto/external/bsd/openssl.old/dist/ssl/ssl_lib.c, line 5152
- crypto/external/bsd/openssl.old/dist/ssl/statem/statem_srvr.c, 4 times
- crypto/external/bsd/openssl/dist/crypto/mem.c, line 134
- crypto/external/bsd/openssl/dist/crypto/sparccpuid.S, line 351
- crypto/external/bsd/openssl/dist/providers/implementations/rands/seeding/rand_unix.c, line 164
- crypto/external/bsd/openssl/dist/ssl/ssl_lib.c, line 5377
- crypto/external/bsd/openssl/dist/ssl/statem/statem_srvr.c, 4 times
- crypto/external/bsd/openssl/dist/test/drbgtest.c, 29 times
- crypto/external/cpl/trousers/dist/src/include/tcs_utils.h, 5 times
- crypto/external/cpl/trousers/dist/src/include/tss/tcs.h, 5 times
- crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_cmk.c, 15 times
- crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_maint.c, 9 times
- crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_migration.c, 17 times
- crypto/external/cpl/trousers/dist/src/tcs/tcsi_cmk.c, 4 times
- crypto/external/cpl/trousers/dist/src/tcs/tcsi_maint.c, 2 times
- crypto/external/cpl/trousers/dist/src/tcs/tcsi_migration.c, 4 times
- crypto/external/cpl/trousers/dist/src/tspi/daa/daa_issuer/issuer_init.c, 7 times
- crypto/external/cpl/trousers/dist/src/tspi/daa/daa_platform/test_join.c, 7 times
- crypto/external/cpl/trousers/dist/src/tspi/daa/test_sign.c, 3 times
- crypto/external/cpl/trousers/dist/src/tspi/rpc/tcs_api.c, 10 times
- crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/rpc_cmk.c, 9 times
- crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/rpc_maint.c, 8 times
- crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/rpc_migration.c, 10 times
- crypto/external/cpl/trousers/dist/src/tspi/tsp_maint.c, 5 times
- crypto/external/cpl/trousers/dist/src/tspi/tsp_migration.c, 7 times
- crypto/external/cpl/trousers/dist/src/tspi/tspi_migration.c, 6 times
- external/apache2/llvm/dist/clang/utils/VtableTest/gen.cc, 10 times
- external/apache2/llvm/dist/libcxx/src/random.cpp, line 33
- external/apache2/llvm/dist/llvm/utils/unittest/googletest/include/gtest/gtest.h, line 996
- external/apache2/llvm/dist/llvm/utils/unittest/googletest/src/gtest-internal-inl.h, 4 times
- external/apache2/llvm/dist/llvm/utils/unittest/googletest/src/gtest.cc, 6 times
- external/apache2/mDNSResponder/dist/mDNSCore/uDNS.c, 7 times
- external/bsd/bc/dist/execute.c, line 302
- external/bsd/bzip2/dist/spewG.c, line 46
- external/bsd/dhcpcd/dist/src/ipv4ll.c, line 77
- external/bsd/iscsi/dist/src/initiator/virtdir.c, line 159
- external/bsd/iscsi/dist/src/lib/util.c, line 1334
- external/bsd/iscsi/dist/src/lib/uuid.c, 6 times
- external/bsd/nsd/dist/rrl.c, line 485
- external/bsd/nsd/dist/server.c, line 1420
- external/bsd/nsd/dist/util.c, 2 times
- external/bsd/ntp/dist/util/sht.c, 2 times
- external/bsd/ppp/dist/pppd/magic.c, 2 times
- external/bsd/unbound/dist/services/outside_network.c, 4 times
- external/bsd/unbound/dist/testcode/unitlruhash.c, 9 times
- external/bsd/unbound/dist/testcode/unitneg.c, 23 times
- external/bsd/unbound/dist/testcode/unitregional.c, line 224
- external/bsd/unbound/dist/testcode/unitslabhash.c, 9 times
- external/bsd/wpa/dist/src/utils/os_internal.c, line 144
- external/bsd/wpa/dist/src/utils/os_unix.c, line 282
- external/gpl3/binutils.old/dist/libiberty/random.c, line 242
- external/gpl3/binutils.old/dist/libiberty/sort.c, line 163
- external/gpl3/binutils/dist/libiberty/random.c, line 240
- external/gpl3/binutils/dist/libiberty/sort.c, line 163
- external/gpl3/gcc.old/dist/libiberty/random.c, line 242
- external/gpl3/gcc.old/dist/libiberty/sort.c, line 163
- external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/throw_allocator.h, 5 times
- external/gpl3/gcc/dist/libiberty/random.c, line 242
- external/gpl3/gcc/dist/libiberty/sort.c, line 163
- external/gpl3/gcc/dist/libstdc++-v3/include/ext/throw_allocator.h, 5 times
- external/gpl3/gdb.old/dist/gas/testsuite/gas/aarch64/diagnostic.s, line 7
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.python/py-framefilter-mi.c, line 128
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.python/py-framefilter.c, line 142
- external/gpl3/gdb.old/dist/gnulib/import/stdlib.in.h, 9 times
- external/gpl3/gdb.old/dist/ld/testsuite/ld-mmix/b-offloc.s, line 3
- external/gpl3/gdb.old/dist/ld/testsuite/ld-mmix/b-offlocmis.s, line 3
- external/gpl3/gdb.old/dist/libiberty/random.c, line 242
- external/gpl3/gdb.old/dist/libiberty/sort.c, line 163
- external/gpl3/gdb.old/dist/sim/erc32/func.c, 4 times
- external/gpl3/gdb.old/lib/libgnulib/arch/aarch64/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/aarch64eb/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/alpha/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/arm/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/armeb/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/hppa/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/i386/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/m68000/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/m68k/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mips64eb/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mips64el/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipseb/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipsel/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipsn64eb/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipsn64el/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/powerpc/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/powerpc64/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/riscv32/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/riscv64/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sh3eb/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sh3el/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sparc/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sparc64/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/vax/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/x86_64/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/dist/gas/testsuite/gas/aarch64/diagnostic.s, line 7
- external/gpl3/gdb/dist/gdb/testsuite/gdb.python/py-framefilter-mi.c, line 128
- external/gpl3/gdb/dist/gdb/testsuite/gdb.python/py-framefilter.c, line 142
- external/gpl3/gdb/dist/gnulib/import/stdlib.in.h, 9 times
- external/gpl3/gdb/dist/ld/testsuite/ld-mmix/b-offloc.s, line 3
- external/gpl3/gdb/dist/ld/testsuite/ld-mmix/b-offlocmis.s, line 3
- external/gpl3/gdb/dist/libiberty/random.c, line 242
- external/gpl3/gdb/dist/libiberty/sort.c, line 163
- external/gpl3/gdb/dist/sim/erc32/func.c, 4 times
- external/gpl3/gdb/lib/libgnulib/arch/aarch64/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/aarch64eb/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/alpha/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/arm/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/armeb/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/hppa/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/i386/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/m68000/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/m68k/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/mips64eb/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/mips64el/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/mipseb/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/mipsel/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/mipsn64eb/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/mipsn64el/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/powerpc/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/powerpc64/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/riscv32/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/riscv64/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/sh3eb/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/sh3el/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/sparc/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/sparc64/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/vax/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/stdlib.h, 9 times
- external/historical/nawk/dist/run.c, line 1690
- external/lgpl3/gmp/dist/tests/rand/gen.c, line 440
- external/lgpl3/gmp/lib/libgmp/arch/aarch64/gmp.h, line 1577
- external/lgpl3/gmp/lib/libgmp/arch/alpha/gmp.h, line 1577
- external/lgpl3/gmp/lib/libgmp/arch/arm/gmp.h, line 1577
- external/lgpl3/gmp/lib/libgmp/arch/armeb/gmp.h, line 1577
- external/lgpl3/gmp/lib/libgmp/arch/coldfire/gmp.h, line 1548
- external/lgpl3/gmp/lib/libgmp/arch/hppa/gmp.h, line 1577
- external/lgpl3/gmp/lib/libgmp/arch/i386/gmp.h, line 1577
- external/lgpl3/gmp/lib/libgmp/arch/ia64/gmp.h, line 1577
- external/lgpl3/gmp/lib/libgmp/arch/m68000/gmp.h, line 1577
- external/lgpl3/gmp/lib/libgmp/arch/m68k/gmp.h, line 1577
- external/lgpl3/gmp/lib/libgmp/arch/mips64eb/gmp.h, line 1577
- external/lgpl3/gmp/lib/libgmp/arch/mips64el/gmp.h, line 1577
- external/lgpl3/gmp/lib/libgmp/arch/mipseb/gmp.h, line 1577
- external/lgpl3/gmp/lib/libgmp/arch/mipsel/gmp.h, line 1577
- external/lgpl3/gmp/lib/libgmp/arch/mipsn64eb/gmp.h, line 1577
- external/lgpl3/gmp/lib/libgmp/arch/mipsn64el/gmp.h, line 1577
- external/lgpl3/gmp/lib/libgmp/arch/or1k/gmp.h, line 1548
- external/lgpl3/gmp/lib/libgmp/arch/powerpc/gmp.h, line 1577
- external/lgpl3/gmp/lib/libgmp/arch/powerpc64/gmp.h, line 1577
- external/lgpl3/gmp/lib/libgmp/arch/riscv32/gmp.h, line 1577
- external/lgpl3/gmp/lib/libgmp/arch/riscv64/gmp.h, line 1577
- external/lgpl3/gmp/lib/libgmp/arch/sh3eb/gmp.h, line 1577
- external/lgpl3/gmp/lib/libgmp/arch/sh3el/gmp.h, line 1577
- external/lgpl3/gmp/lib/libgmp/arch/sparc/gmp.h, line 1577
- external/lgpl3/gmp/lib/libgmp/arch/sparc64/gmp.h, line 1577
- external/lgpl3/gmp/lib/libgmp/arch/vax/gmp.h, line 1577
- external/lgpl3/gmp/lib/libgmp/arch/x86_64/gmp.h, line 1577
- external/mit/libuv/dist/docs/code/progress/main.c, line 21
- external/mit/libuv/dist/docs/code/queue-cancel/main.c, line 20
- external/mit/libuv/dist/docs/code/queue-work/main.c, line 19
- external/mit/libuv/dist/include/uv.h, line 184
- external/mit/libuv/dist/src/win/pipe.c, 5 times
- external/mpl/bind/dist/bin/tests/optional/gsstest.c, line 217
- external/mpl/bind/dist/bin/tests/system/pipelined/pipequeries.c, line 162
- external/mpl/bind/dist/bin/tools/mdig.c, line 625
- external/mpl/bind/dist/lib/dns/tests/rbt_test.c, 2 times
- external/mpl/dhcp/dist/client/dhc6.c, 10 times
- external/mpl/dhcp/dist/client/dhclient.c, 18 times
- external/mpl/dhcp/dist/common/socket.c, line 1292
- external/mpl/dhcp/dist/omapip/protocol.c, line 145
- external/mpl/dhcp/dist/server/failover.c, line 2775
- external/mpl/dhcp/dist/server/leasechain.c, line 535
- external/mpl/dhcp/dist/server/tests/mdb6_unittest.c, line 257
- external/public-domain/sqlite/dist/sqlite3.c, 2 times
- external/public-domain/xz/dist/tests/create_compress_files.c, line 155
- games/adventure/io.c, line 184
- games/adventure/save.c, 2 times
- games/adventure/setup.c, 2 times
- games/arithmetic/arithmetic.c, 3 times
- games/atc/update.c, 3 times
- games/backgammon/common_source/back.h, line 46
- games/battlestar/extern.h, line 48
- games/boggle/boggle/bog.c, 3 times
- games/canfield/canfield/canfield.c, line 542
- games/cgram/cgram.c, line 278
- games/fortune/strfile/strfile.c, line 451
- games/gomoku/pickmove.c, line 220
- games/hack/hack.mklev.c, 2 times
- games/hack/rnd.c, line 73
- games/hunt/hunt/otto.c, 3 times
- games/hunt/huntd/driver.c, line 888
- games/larn/fortune.c, line 93
- games/mille/roll.c, line 58
- games/monop/roll.c, line 56
- games/phantasia/misc.c, 2 times
- games/phantasia/setup.c, 2 times
- games/quiz/quiz.c, 2 times
- games/rain/rain.c, 4 times
- games/sail/extern.h, line 56
- games/snake/snake/snake.c, 4 times
- games/trek/ranf.c, 2 times
- games/warp/util.h, line 11
- games/worms/worms.c, 2 times
- games/wump/wump.c, 20 times
- lib/libc/time/zic.c, line 62
- lib/libcurses/PSD.doc/appen.C, line 83
- lib/libm/noieee_src/n_fmod.c, 2 times
- lib/libradius/radlib.c, 2 times
- regress/lib/libc/divrem/divremtest.c, 6 times
- regress/lib/libc/ieeefp/testfloat/include/random.h, 5 times
- regress/sys/fs/lfs/9994/9994_f.c, 4 times
- regress/sys/kern/select/select.c, 4 times
- sbin/mount_qemufwcfg/virtdir.c, line 143
- sbin/newfs_udf/udf_core.c, 2 times
- share/examples/refuse/virtdir/virtdir.c, line 157
- sys/altq/altq_classq.h, line 158
- sys/arch/arc/arc/timer.c, line 169
- sys/arch/arm/footbridge/footbridge_clock.c, line 163
- sys/arch/arm/imx/if_enet.c, 2 times
- sys/arch/atari/dev/clock.c, line 258
- sys/arch/evbarm/ifpga/ifpga_clock.c, line 157
- sys/arch/hp300/hp300/clock.c, line 289
- sys/arch/hpcmips/tx/tx39.c, 2 times
- sys/arch/hpcmips/vr/vr.c, 2 times
- sys/arch/hpcsh/dev/hd64461/hd64461video.c, line 1097
- sys/arch/hpcsh/hpcsh/machdep.c, 3 times
- sys/arch/m68k/060sp/dist/ilsp.s, line 413
- sys/arch/m68k/060sp/dist/isp.s, line 2363
- sys/arch/m68k/m68k/oc_cksum.s, 2 times
- sys/arch/mips/mips/locore_mips1.S, line 1038
- sys/arch/mvme68k/stand/sboot/oc_cksum.s, 2 times
- sys/arch/sparc/sparc/timervar.h, line 85
- sys/arch/sparc64/sparc64/clock.c, line 733
- sys/dev/mvme/clockvar.h, line 64
- sys/dev/pci/if_bnxreg.h, 6 times
- sys/external/bsd/drm2/dist/drm/i915/selftests/scatterlist.c, line 274
- sys/external/isc/libsodium/dist/src/libsodium/randombytes/nativeclient/randombytes_nativeclient.c, line 54
- sys/external/isc/libsodium/dist/src/libsodium/randombytes/randombytes.c, 3 times
- sys/external/isc/libsodium/dist/src/libsodium/randombytes/salsa20/randombytes_salsa20_random.c, line 559
- sys/external/isc/libsodium/dist/src/libsodium/randombytes/sysrandom/randombytes_sysrandom.c, line 377
- sys/external/isc/libsodium/dist/test/quirks/quirks.h, line 5
- sys/lib/libkern/arch/m68k/random.S, line 61
- sys/lib/libkern/arch/vax/random.S, line 76
- sys/lib/libkern/arch/x86_64/random.S, line 91
- sys/netinet/dccp_usrreq.c, 4 times
- sys/netinet6/dccp6_usrreq.c, 2 times
- tests/crypto/opencrypto/h_comp_zlib_rnd.c, line 53
- tests/fs/puffs/h_dtfs/dtfs_subr.c, line 64
- tests/h_macros.h, 2 times
- tests/include/sys/t_tree.c, line 88
- tests/lib/libc/stdlib/t_random.c, line 64
- tests/lib/libc/string/t_memcpy.c, 2 times
- tests/lib/libpthread/h_resolv.c, line 98
- tests/rump/rumpkern/h_client/h_reconcli.c, line 33
- tests/sys/uvm/t_uvm_physseg_load.c, 15 times
- tests/usr.bin/xlint/lint1/msg_092.c, 2 times
- usr.bin/btpin/btpin.c, line 129
- usr.bin/jot/jot.c, line 120
- usr.bin/make/compat.c, line 471
- usr.bin/make/make.c, line 942
- usr.bin/make/var.c, line 3391
- usr.sbin/makefs/ffs.c, line 1127
- usr.sbin/makefs/ffs/mkfs.c, 4 times
- usr.sbin/npf/npftest/libnpftest/npf_nbuf_test.c, 4 times
- usr.sbin/npf/npftest/libnpftest/npf_test_subr.c, line 277
- usr.sbin/npf/npftest/npftest.c, line 271