Defined in 7 files as a prototype:
Defined in 1 files as a member:
Defined in 9 files as a macro:
Defined in 10 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/bsd/llvm/dist/llvm/utils/unittest/googletest/src/gtest-internal-inl.h, line 792 (as a function)
- external/gpl3/binutils/dist/libiberty/random.c, line 377 (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)
- usr.bin/make/util.c, line 240 (as a function)
Referenced in 207 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/hcrypto/ec.c, line 137
- 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/dist/crypto/mem.c, line 147
- crypto/external/bsd/openssl/dist/crypto/rand/rand_unix.c, line 177
- crypto/external/bsd/openssl/dist/crypto/sparccpuid.S, line 351
- crypto/external/bsd/openssl/dist/ssl/ssl_lib.c, line 5089
- crypto/external/bsd/openssl/dist/ssl/statem/statem_srvr.c, 4 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/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 79
- 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/llvm/dist/clang/test/Analysis/security-syntax-checks-no-emit.c, line 33
- external/bsd/llvm/dist/clang/test/CodeGen/builtins.c, 2 times
- external/bsd/llvm/dist/clang/test/Lexer/msdos-cpm-eof.c, line 8
- external/bsd/llvm/dist/clang/utils/VtableTest/gen.cc, 10 times
- external/bsd/llvm/dist/llvm/utils/unittest/googletest/include/gtest/gtest.h, line 925
- external/bsd/llvm/dist/llvm/utils/unittest/googletest/src/gtest-internal-inl.h, 4 times
- external/bsd/llvm/dist/llvm/utils/unittest/googletest/src/gtest.cc, 6 times
- external/bsd/nsd/dist/rrl.c, line 485
- external/bsd/nsd/dist/server.c, line 1038
- external/bsd/nsd/dist/util.c, 2 times
- external/bsd/nsd/dist/xfrd.c, 2 times
- external/bsd/ntp/dist/util/sht.c, 2 times
- external/bsd/openldap/dist/servers/slapd/shell-backends/shellutil.c, line 111
- 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 274
- external/gpl3/binutils/dist/libiberty/random.c, line 242
- external/gpl3/binutils/dist/libiberty/sort.c, line 163
- 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/dist/gdb/gnulib/import/stdlib.in.h, 5 times
- 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/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/lgpl3/gmp/dist/tests/devel/anymul_1.c, line 129
- external/lgpl3/gmp/dist/tests/devel/aors_n.c, line 140
- external/lgpl3/gmp/dist/tests/devel/copy.c, line 112
- external/lgpl3/gmp/dist/tests/devel/divmod_1.c, 2 times
- external/lgpl3/gmp/dist/tests/devel/divrem.c, 2 times
- external/lgpl3/gmp/dist/tests/devel/logops_n.c, line 146
- external/lgpl3/gmp/dist/tests/devel/shift.c, 2 times
- external/lgpl3/gmp/dist/tests/devel/tst-addsub.c, 4 times
- external/lgpl3/gmp/dist/tests/rand/gen.c, line 441
- external/lgpl3/gmp/lib/libgmp/arch/aarch64/gmp.h, line 1570
- external/lgpl3/gmp/lib/libgmp/arch/alpha/gmp.h, line 1572
- external/lgpl3/gmp/lib/libgmp/arch/arm/gmp.h, line 1572
- external/lgpl3/gmp/lib/libgmp/arch/armeb/gmp.h, line 1572
- external/lgpl3/gmp/lib/libgmp/arch/coldfire/gmp.h, line 1548
- external/lgpl3/gmp/lib/libgmp/arch/hppa/gmp.h, line 1572
- external/lgpl3/gmp/lib/libgmp/arch/i386/gmp.h, line 1572
- external/lgpl3/gmp/lib/libgmp/arch/ia64/gmp.h, line 1572
- external/lgpl3/gmp/lib/libgmp/arch/m68000/gmp.h, line 1572
- external/lgpl3/gmp/lib/libgmp/arch/m68k/gmp.h, line 1572
- external/lgpl3/gmp/lib/libgmp/arch/mips64eb/gmp.h, line 1572
- external/lgpl3/gmp/lib/libgmp/arch/mips64el/gmp.h, line 1572
- external/lgpl3/gmp/lib/libgmp/arch/mipseb/gmp.h, line 1572
- external/lgpl3/gmp/lib/libgmp/arch/mipsel/gmp.h, line 1572
- external/lgpl3/gmp/lib/libgmp/arch/or1k/gmp.h, line 1548
- external/lgpl3/gmp/lib/libgmp/arch/powerpc/gmp.h, line 1572
- external/lgpl3/gmp/lib/libgmp/arch/powerpc64/gmp.h, line 1572
- external/lgpl3/gmp/lib/libgmp/arch/riscv32/gmp.h, line 1572
- external/lgpl3/gmp/lib/libgmp/arch/riscv64/gmp.h, line 1572
- external/lgpl3/gmp/lib/libgmp/arch/sh3eb/gmp.h, line 1572
- external/lgpl3/gmp/lib/libgmp/arch/sh3el/gmp.h, line 1572
- external/lgpl3/gmp/lib/libgmp/arch/sparc/gmp.h, line 1572
- external/lgpl3/gmp/lib/libgmp/arch/sparc64/gmp.h, line 1572
- external/lgpl3/gmp/lib/libgmp/arch/vax/gmp.h, line 1572
- external/lgpl3/gmp/lib/libgmp/arch/x86_64/gmp.h, line 1572
- external/mit/lua/dist/src/lmathlib.c, line 30
- external/mpl/bind/dist/bin/tests/optional/gsstest.c, line 214
- external/mpl/bind/dist/bin/tests/system/pipelined/pipequeries.c, line 163
- external/mpl/bind/dist/bin/tools/mdig.c, line 558
- 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 1275
- 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 129
- games/fish/fish.c, line 439
- games/fortune/fortune/fortune.c, 6 times
- games/fortune/strfile/strfile.c, line 450
- games/gomoku/pickmove.c, line 225
- 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/random/random.c, 3 times
- games/robots/rnd_pos.c, line 72
- games/sail/extern.h, line 56
- games/snake/snake/snake.c, 4 times
- games/tetris/tetris.h, line 133
- games/trek/ranf.c, 2 times
- games/worms/worms.c, line 330
- games/wump/wump.c, 20 times
- 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_write.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 261
- sys/arch/evbarm/ifpga/ifpga_clock.c, line 160
- sys/arch/hp300/hp300/clock.c, line 290
- 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 1035
- sys/arch/mvme68k/stand/sboot/oc_cksum.s, 2 times
- sys/arch/sparc/sparc/timervar.h, line 82
- sys/arch/sparc64/sparc64/clock.c, line 745
- sys/dev/mvme/clockvar.h, line 64
- sys/dev/pci/if_bnxreg.h, 6 times
- 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/netinet/sctp_pcb.c, line 1484
- 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
- usr.bin/btpin/btpin.c, line 129
- usr.bin/jot/jot.c, line 120
- usr.bin/make/var.c, line 2076
- usr.sbin/makefs/ffs.c, line 1124
- 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 278
- usr.sbin/npf/npftest/npftest.c, line 271
- usr.sbin/timed/timed/timed.c, 2 times