mesa/src/util
Eric Engestrom fa3549c92b util/rand_xor: extend the urandom path to all non-Windows platforms
Any system that provides `/dev/urandom` should be allowed to try to use it.

Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2316>
2020-05-16 12:05:37 +00:00
..
format meson: inline inc_common 2020-03-28 21:36:54 +01:00
sha1 util: rename PIPE_ARCH_*_ENDIAN to UTIL_ARCH_*_ENDIAN 2019-11-05 16:39:55 +00:00
tests util/tests: initialize variable 2020-04-16 14:48:40 +00:00
xmlpool radv: add a LLVM version string workaround for SotTR and ACO 2020-05-13 07:57:18 +00:00
00-mesa-defaults.conf drirc: Enable glthread for PCSX2 2020-05-13 22:48:09 +00:00
Android.mk android: Fix u_format_table.c being generated twice 2019-12-31 14:06:02 +01:00
anon_file.c util: use _WIN32 instead of WIN32 2019-10-10 16:33:04 -07:00
anon_file.h util/anon_file: const string param 2019-08-08 22:02:54 +01:00
bigmath.h util: Add a simple big math library 2018-10-10 13:13:12 -05:00
bitscan.c util: only allow _BitScanReverse64 on 64-bit cpus 2019-09-02 12:45:45 +00:00
bitscan.h util: only allow _BitScanReverse64 on 64-bit cpus 2019-09-02 12:45:45 +00:00
bitset.h util: Remove tmp argument from BITSET_FOREACH_SET macro 2020-01-23 01:52:43 +00:00
bitset_test.cpp util/tests: add basic unit tests for bitset 2019-05-03 15:23:04 +10:00
blob.c util: stop including files from mesa/main 2020-03-27 21:00:09 +00:00
blob.h util/blob: Add overwrite function for uint8 2020-03-20 17:25:25 +00:00
blob_test.c Move blob from compiler/ to util/ 2019-09-19 19:56:22 +00:00
build_id.c util/macros: Import ALIGN_POT from ralloc.c 2018-07-02 12:09:14 -07:00
build_id.h util: add missing include to build_id.h 2019-05-20 10:24:23 +10:00
compiler.h Move compiler.h and imports.h/c from src/mesa/main into src/util 2020-03-27 21:00:09 +00:00
crc32.c util: use faster zlib's CRC32 implementaion 2018-01-14 19:10:33 +02:00
crc32.h util: import CRC32 implementation from gallium 2016-11-22 18:05:51 +01:00
dag.c util: Add a DAG datastructure. 2019-03-11 13:13:52 -07:00
dag.h util: Add a DAG datastructure. 2019-03-11 13:13:52 -07:00
debug.c util: stop including files from mesa/main 2020-03-27 21:00:09 +00:00
debug.h nir: check NIR_SKIP to skip passes by name 2019-01-18 12:31:49 -08:00
detect_os.h util: introduce detect_os.h 2019-08-02 18:38:52 +01:00
disk_cache.c util: stop including files from mesa/main 2020-03-27 21:00:09 +00:00
disk_cache.h glsl/tests: Fix waiting for disk_cache_put() to finish. 2020-03-12 19:47:23 +00:00
double.c util: add fp64 -> fp32 conversion support for RTNE and RTZ rounding modes 2019-09-17 23:39:18 +03:00
double.h util: add fp64 -> fp32 conversion support for RTNE and RTZ rounding modes 2019-09-17 23:39:18 +03:00
fast_idiv_by_const.c util: Use uint64_t for shifting left in sign_extend and strunc 2019-10-24 16:21:01 +02:00
fast_idiv_by_const.h util: document a limitation of util_fast_udiv32 2018-10-17 12:27:58 -04:00
fast_urem_by_const.h util: Add a helper for faster remainders 2019-05-31 19:14:27 +02:00
fnv1a.h util: move fnv1a hash implementation into its own header 2020-01-23 17:06:57 +00:00
format_r11g11b10f.h util: consistently use ifndef guards over pragma once 2017-03-22 16:55:22 +00:00
format_rgb9e5.h
format_srgb.h util/srgb: Add a float sRGB -> linear helper 2018-04-24 13:41:14 -07:00
format_srgb.py util: initialize float-array with float-literals 2020-01-14 12:00:27 +01:00
futex.h util/futex: use futex syscall on OpenBSD 2019-12-02 17:23:49 -05:00
half_float.c util: add float to float16 conversions with RTZ and RTNE 2019-09-17 23:39:18 +03:00
half_float.h glsl: Add ir_constant constructor for fp16 2020-03-09 16:31:08 +00:00
hash_table.c replace malloc macros in imports.h with u_memory.h versions 2020-04-21 11:09:03 -07:00
hash_table.h util/hash_table: added hash functions for integer types 2020-01-23 17:06:57 +00:00
list.h util/list: Add list_foreach_entry_from_safe 2020-05-13 23:36:44 +00:00
macros.h util: don't include p_defines.h and u_pointer.h from gallium 2020-03-27 21:00:10 +00:00
Makefile.sources remove final imports.h and imports.c bits 2020-04-21 11:09:04 -07:00
merge_driinfo.py gallium: change comments to remove 'state tracker' 2020-05-13 13:47:27 -04:00
mesa-sha1.c util/sha1: harmonize _mesa_sha1_* wrappers 2017-03-22 11:33:51 +00:00
mesa-sha1.h util: #include "c99_compat.h" to fix Windows build 2017-04-03 13:09:05 -06:00
mesa-sha1_test.c util: Add a SHA1 unit test program 2017-11-25 12:30:46 -08:00
meson.build util: Make process_test path compatible with mingw native toolchains 2020-05-08 14:09:09 +00:00
os_file.c util/os_file: extend os_read_file to return the file size 2020-03-24 08:30:34 +01:00
os_file.h util/os_file: extend os_read_file to return the file size 2020-03-24 08:30:34 +01:00
os_memory.h util/os_memory: never use os_memory_debug.h 2020-05-07 13:34:30 +00:00
os_memory_aligned.h util: Add an aligned realloc function 2020-04-21 11:09:03 -07:00
os_memory_debug.h util: move debug_memory_{begin,end} to os_memory_debug.h 2020-02-24 23:07:57 +00:00
os_memory_stdc.h util: Add an aligned realloc function 2020-04-21 11:09:03 -07:00
os_misc.c util: android logging support 2019-09-06 00:45:11 +00:00
os_misc.h util: os_misc: drop p_compiler.h include 2019-08-09 22:59:43 +03:00
os_socket.c util/os_socket: Add socket related functions. 2019-12-13 20:53:44 +00:00
os_socket.h util/os_socket: fix header unavailable on windows 2020-02-04 17:33:49 +00:00
os_time.c util/os_time: use detect_os.h to uncouple from gallium 2019-08-02 18:38:52 +01:00
os_time.h util: move os_time.[ch] to src/util 2017-11-09 11:57:21 +01:00
process_test.c Fix util/process test on Cygwin 2020-04-15 21:10:11 +00:00
ralloc.c util/ralloc: fix ralloc alignment on Win64 2020-04-21 21:56:21 +00:00
ralloc.h util/ralloc: Add helpers for growing zero-initialized memory 2019-05-14 12:30:22 -05:00
rand_xor.c util/rand_xor: extend the urandom path to all non-Windows platforms 2020-05-16 12:05:37 +00:00
rand_xor.h util/rand_xor: make it clear that {,s_}rand_xorshift128plus take *exactly 2* uint64_t 2020-05-16 12:05:37 +00:00
rb_tree.c util: rb-tree: A simple, invasive, red-black tree 2018-07-05 11:57:45 +01:00
rb_tree.h util/rb_tree: Stop relying on &iter->field != NULL 2019-09-26 20:36:41 +00:00
rb_tree_test.c util/rb_tree: Also test _safe iterators 2019-09-26 20:36:41 +00:00
register_allocate.c util/ra: Add [de]serialization support 2020-05-13 23:36:44 +00:00
register_allocate.h util/ra: Add [de]serialization support 2020-05-13 23:36:44 +00:00
rgtc.c
rgtc.h
roundeven_test.c
rounding.h replace IROUND with util functions 2020-04-21 11:09:03 -07:00
SConscript util: Move gallium's PIPE_FORMAT utils to /util/format/ 2019-11-14 10:47:20 -08:00
set.c Mark a few static inline helpers with ASSERTED 2020-02-19 18:34:33 +00:00
set.h util/set: Use fast modulo computation 2019-05-31 19:14:30 +02:00
simple_list.h
simple_mtx.h util/simple_mtx: add assert_locked() 2020-04-29 20:37:00 +00:00
slab.c Change a few frequented uses of DEBUG to !NDEBUG 2019-05-29 21:13:35 -04:00
slab.h util/slab: Rename slab_mempool typed parameters to mempool 2018-12-14 07:36:05 -08:00
softfloat.c util: add softfloat functions to operate with doubles and floats 2019-09-17 23:39:18 +03:00
softfloat.h util: add softfloat functions to operate with doubles and floats 2019-09-17 23:39:18 +03:00
sparse_array.c util/sparse_free_list: manipulate node pointers using atomic primitives 2020-04-18 12:18:03 +00:00
sparse_array.h util/sparse_array: Stash the node level in the node pointer 2020-03-20 15:31:10 -05:00
string_buffer.c util: use standard name for vsnprintf() 2019-07-19 22:39:38 +01:00
string_buffer.h util: Add a string buffer implementation 2017-09-26 18:24:33 +02:00
strndup.h util/strndup: move header inclusion as applicable 2017-03-22 16:55:23 +00:00
strtod.c util: improve compiler guard 2017-09-03 09:05:23 +01:00
strtod.h
texcompress_rgtc_tmp.h
timespec.h util/timespec: use unsigned 64 bit integers for nsec values 2019-08-22 09:35:57 +02:00
u_atomic.c util/u_atomic: remove unnecessaty __atomic functions 2017-09-22 17:12:24 +03:00
u_atomic.h util/atomic: fix return type of p_atomic_add_return() fallback 2020-01-22 21:42:52 +00:00
u_atomic_test.c
u_cpu_detect.c util: don't include p_defines.h and u_pointer.h from gallium 2020-03-27 21:00:10 +00:00
u_cpu_detect.h util: drop final reference to p_compiler.h 2019-08-09 22:59:43 +03:00
u_debug.c util: drop final reference to p_compiler.h 2019-08-09 22:59:43 +03:00
u_debug.h util: don't include p_defines.h and u_pointer.h from gallium 2020-03-27 21:00:10 +00:00
u_debug_memory.c util: move debug_memory_{begin,end} to os_memory_debug.h 2020-02-24 23:07:57 +00:00
u_drm.h util: Add a drm_find_modifier helper 2019-03-14 22:41:08 +00:00
u_dynarray.h u_dynarray: turn util_dynarray_{grow, resize} into element-oriented macros 2019-06-12 18:30:25 -04:00
u_endian.h util/android: fix android build errors 2019-11-13 12:31:31 +02:00
u_math.c util: u_math: drop p_compiler.h include 2019-08-09 22:59:43 +03:00
u_math.h u_math: add x86 optimized version of ifloor 2020-04-21 11:09:03 -07:00
u_memory.h util: Add an aligned realloc function 2020-04-21 11:09:03 -07:00
u_memset.h gallium/llvmpipe: add an optimised 32-bit memset 2020-04-01 20:58:23 +00:00
u_mm.c util: don't include p_defines.h and u_pointer.h from gallium 2020-03-27 21:00:10 +00:00
u_mm.h mesa/main/util: moving gallium u_mm to util, remove main/mm 2019-12-02 13:59:28 +01:00
u_process.c util/u_process: Add util_get_process_exec_path for macOS. 2020-03-25 14:38:03 -07:00
u_process.h util/u_process: add util_get_process_exec_path 2020-03-24 08:30:34 +01:00
u_queue.c Linux: Change minimum priority threads from SCHED_IDLE to nice 19 SCHED_BATCH. 2020-05-08 10:14:40 +00:00
u_queue.h util/u_queue: track job size and limit the size of queue growth 2019-09-19 15:03:27 +10:00
u_string.h move windows strtok_r define to u_string 2020-04-21 11:09:03 -07:00
u_thread.h util: Do not fail to build on unknown pthread_setname_np 2020-01-22 22:39:57 +00:00
u_vector.c util: Use util_is_power_of_two_nonzero in u_vector 2018-03-29 14:09:28 -07:00
u_vector.h util/vector: Fix u_vector_foreach when head rolls over 2020-01-17 22:21:00 +00:00
vma.c util/vma: Add a debug print helper 2020-05-13 23:36:44 +00:00
vma.h util/vma: Add a debug print helper 2020-05-13 23:36:44 +00:00
xmlconfig.c util/xmlconfig: fix sha1 comparison code 2020-04-03 11:44:00 +02:00
xmlconfig.h driconfig: add a new engine name/version parameter 2019-09-15 15:37:02 +03:00
xmlpool.h driinfo: add DTD to allow the xml to be validated 2019-02-26 12:48:28 +00:00
xxhash.h util: import xxhash 2020-01-23 17:06:57 +00:00