dolphin-emulator/Source/Core/Common
Léo Lam b9dd94b9b2 bn: Use int instead of u32 for sizes
The loops relied on unsigned integer overflow, which is not immediately
obvious. Replace them with less clever variants that are clearer.

Also implement bn_compare using std::memcmp.
2018-05-20 19:59:26 +02:00
..
Compat Update mpark::variant implementation to 1.3.0 2018-05-11 11:15:06 -07:00
Config Config: Add support for enums 2018-05-12 18:10:26 +02:00
Crypto bn: Use int instead of u32 for sizes 2018-05-20 19:59:26 +02:00
Debug DebugInterface: Watches methods added 2018-04-28 17:46:51 +04:00
GL Fix change in comment meaning by autoformat. 2018-04-13 09:20:27 +12:00
Logging Config: Fix template deduction for implicit conversions 2018-05-12 14:30:18 +02:00
Align.h
Analytics.cpp
Analytics.h Reformat all the things! 2018-04-12 21:28:39 +02:00
Arm64Emitter.cpp Reformat all the things! 2018-04-12 21:28:39 +02:00
Arm64Emitter.h Common/CodeBlock: Namespace code under the Common namespace 2018-05-17 15:57:29 -04:00
ArmCommon.h
ArmCPUDetect.cpp CPUDetect: Make CPUVendor enum an enum class 2018-04-01 17:47:50 -04:00
Assert.h Assert: Remove unused parameter from DEBUG_ASSERT 2018-03-16 13:01:11 -04:00
Atomic.h
Atomic_GCC.h
Atomic_Win32.h Atomic_Win32: Replace deprecated (and since been removed) barrier intrinsics 2018-05-09 11:35:35 -04:00
BitField.h Reformat all the things! 2018-04-12 21:28:39 +02:00
BitField.natvis
BitSet.h Common: Amend CommonTypes include within BitSet.h 2018-04-23 00:14:00 -04:00
BitUtils.h BitUtils: Add C++14/C++17 compatible equivalent of std::bit_cast from C++2a 2018-05-10 12:28:05 -04:00
BlockingLoop.h Reformat all the things! 2018-04-12 21:28:39 +02:00
CDUtils.cpp
CDUtils.h
ChunkFile.h Assert: Uppercase assertion macros 2018-03-14 22:03:12 -04:00
CMakeLists.txt VideoCommon: Replace SOIL with libpng for hires textures 2018-05-20 13:44:38 +02:00
CodeBlock.h Common/CodeBlock: Namespace code under the Common namespace 2018-05-17 15:57:29 -04:00
ColorUtil.cpp
ColorUtil.h
Common.h Common: Move version strings to their own header 2017-09-09 19:28:10 -04:00
Common.vcxproj VideoCommon: Replace SOIL with libpng for hires textures 2018-05-20 13:44:38 +02:00
Common.vcxproj.filters VideoCommon: Replace SOIL with libpng for hires textures 2018-05-20 13:44:38 +02:00
CommonFuncs.cpp Reformat all the things! 2018-04-12 21:28:39 +02:00
CommonFuncs.h CommonFuncs: Convert ROUND_UP_POW2 macro to a function 2018-05-10 19:42:20 -04:00
CommonPaths.h Qt: Allow custom stylesheets 2018-05-08 15:07:50 +02:00
CommonTypes.h
CompatPatches.cpp Reformat all the things! 2018-04-12 21:28:39 +02:00
CPUDetect.h CPUDetect: Make CPUVendor enum an enum class 2018-04-01 17:47:50 -04:00
DebugInterface.h DebugInterface: Watches methods added 2018-04-28 17:46:51 +04:00
ENetUtil.cpp
ENetUtil.h
Event.h
File.cpp
File.h Remove NonCopyable 2017-08-22 16:40:34 +02:00
FileSearch.cpp
FileSearch.h
FileUtil.cpp FileUtil: Remove unnecessary IOFile GetHandle() call in ReadFileToString() 2018-05-11 16:27:33 -04:00
FileUtil.h Qt: Allow custom stylesheets 2018-05-08 15:07:50 +02:00
FixedSizeQueue.h Reformat all the things! 2018-04-12 21:28:39 +02:00
Flag.h Reformat all the things! 2018-04-12 21:28:39 +02:00
FloatUtils.cpp FloatUtils: Clean up memcpy usages 2018-05-10 12:28:09 -04:00
FloatUtils.h FloatUtils: Remove IntDouble and IntFloat 2018-05-10 12:28:09 -04:00
FPURoundMode.h
GekkoDisassembler.cpp Merge pull request #6626 from lioncash/dcbz_l-disasm 2018-04-12 22:18:56 +01:00
GekkoDisassembler.h
GenericCPUDetect.cpp
GenericFPURoundMode.cpp
Hash.cpp Common/Hash: Namespace code under the Common namespace 2018-05-16 15:39:23 -04:00
Hash.h Common/Hash: Namespace code under the Common namespace 2018-05-16 15:39:23 -04:00
HttpRequest.cpp HttpRequest/Curl: Use a more intelligent timeout method 2018-05-04 13:30:49 +02:00
HttpRequest.h HttpRequest: Add callback option 2018-03-28 17:33:34 +02:00
Image.cpp Fix compatibility with versions of libpng older than 1.5 2018-05-20 13:44:42 +02:00
Image.h VideoCommon: Replace SOIL with libpng for hires textures 2018-05-20 13:44:38 +02:00
IniFile.cpp
IniFile.h Reformat all the things! 2018-04-12 21:28:39 +02:00
Intrinsics.h Reformat all the things! 2018-04-12 21:28:39 +02:00
JitRegister.cpp JIT: Don't always look up symbols for blocks 2017-09-10 11:42:12 +02:00
JitRegister.h JIT: Don't always look up symbols for blocks 2017-09-10 11:42:12 +02:00
Lazy.h Reformat all the things! 2018-04-12 21:28:39 +02:00
LdrWatcher.cpp
LdrWatcher.h
LinearDiskCache.h LinearDiskCache: Don't cast away const in Read() 2018-03-27 21:09:18 -04:00
make_scmrev.h.js make_scmrev.h.js: set default auto-update track from environment 2018-03-19 00:11:55 +01:00
MathUtil.cpp Common: Move floating-point utility functions to FloatUtils.h/.cpp 2018-05-07 02:56:32 -04:00
MathUtil.h CommonFuncs: Convert ROUND_UP_POW2 macro to a function 2018-05-10 19:42:20 -04:00
MD5.cpp
MD5.h
MemArena.cpp Common: Add MemArena.h/cpp to the Common namespace 2018-05-15 18:27:32 -04:00
MemArena.h Common: Add MemArena.h/cpp to the Common namespace 2018-05-15 18:27:32 -04:00
MemoryUtil.cpp
MemoryUtil.h
MsgHandler.cpp
MsgHandler.h
NandPaths.cpp NandPaths: Return paths that are relative to Wii NAND 2018-05-04 19:52:17 +02:00
NandPaths.h NandPaths: Return paths that are relative to Wii NAND 2018-05-04 19:52:17 +02:00
Network.cpp
Network.h
PcapFile.cpp
PcapFile.h Remove NonCopyable 2017-08-22 16:40:34 +02:00
PerformanceCounter.cpp
PerformanceCounter.h
Profiler.cpp
Profiler.h Reformat all the things! 2018-04-12 21:28:39 +02:00
QoSSession.cpp Add Quality of Service (QoS) support 2018-03-09 00:11:18 +01:00
QoSSession.h Reformat all the things! 2018-04-12 21:28:39 +02:00
Result.h Reformat all the things! 2018-04-12 21:28:39 +02:00
scmrev.h.in ConfigManager: Enable Auto-Updater by default 2018-04-26 15:12:15 +02:00
SCMRevGen.vcxproj
ScopeGuard.h
SDCardUtil.cpp SDCardUtil: Replace macros with typed equivalents 2018-05-11 12:33:07 -04:00
SDCardUtil.h SDCardUtil: Namespace SDCardUtil 2018-05-11 09:19:30 -04:00
Semaphore.h Reformat all the things! 2018-04-12 21:28:39 +02:00
SettingsHandler.cpp SettingsHandler: Remove redundant type qualifier in SetBytes() 2018-05-12 13:53:42 -04:00
SettingsHandler.h SettingsHandler: Namespace code under the Common namespace 2018-05-12 13:39:37 -04:00
SPSCQueue.h Rename Common::FifoQueue to Common::SPSCQueue 2017-08-23 17:00:52 -07:00
StringUtil.cpp Reformat all the things! 2018-04-12 21:28:39 +02:00
StringUtil.h StringUtil.h: Move ThousandSeparate down 2018-05-08 13:55:07 +02:00
Swap.h Common/Swap: Amend BigEndianValue's operator= to return a reference to the object rather than returning void 2018-04-08 01:22:18 -04:00
SymbolDB.cpp
SymbolDB.h PPCSymbolDB: Do not truncate fixed size symbols 2018-04-10 21:50:33 +04:00
Thread.cpp
Thread.h
Timer.cpp
Timer.h
TraversalClient.cpp TraversalClient: Use u32 instead of enet_uint32 2018-04-16 16:46:48 -04:00
TraversalClient.h TraversalClient: Use u32 instead of enet_uint32 2018-04-16 16:46:48 -04:00
TraversalProto.h
TraversalServer.cpp traversal: add systemd watchdog support 2018-03-08 06:10:17 +00:00
UPnP.cpp
UPnP.h
Version.cpp Common: Move version strings to their own header 2017-09-09 19:28:10 -04:00
Version.h Common: Move version strings to their own header 2017-09-09 19:28:10 -04:00
WorkQueueThread.h
x64ABI.cpp
x64ABI.h
x64CPUDetect.cpp intrinsics: stop defining _xgetbv/_XCR_XFEATURE_ENABLED_MASK, which are reserved 2018-05-08 17:25:33 +08:00
x64Emitter.cpp x64Emitter: Use an enum class to represent FixupBranch branch types 2018-05-06 22:05:03 -04:00
x64Emitter.h Common/CodeBlock: Namespace code under the Common namespace 2018-05-17 15:57:29 -04:00
x64FPURoundMode.cpp
x64Reg.h