Cleanup endian support (closes #271)
- Place common code under OSspecific. By including "endian.H", either one of WM_BIG_ENDIAN or WM_LITTLE_ENDIAN will be defined. Provides inline 32-bit and 64-bit byte swap routines that can be used/re-used elsewhere. The inplace memory swaps currently used by the VTK output are left for the moment pending further cleanup of that code.
Showing
- applications/test/sha1/Test-SHA1.C 9 additions, 10 deletionsapplications/test/sha1/Test-SHA1.C
- applications/test/sysInfo/Test-sysInfo.C 18 additions, 2 deletionsapplications/test/sysInfo/Test-sysInfo.C
- applications/utilities/mesh/manipulation/setSet/writeFuns.C 3 additions, 18 deletionsapplications/utilities/mesh/manipulation/setSet/writeFuns.C
- applications/utilities/postProcessing/dataConversion/foamToVTK/foamToVTK/writeFuns.C 3 additions, 27 deletions...Processing/dataConversion/foamToVTK/foamToVTK/writeFuns.C
- src/OSspecific/POSIX/endian.H 134 additions, 0 deletionssrc/OSspecific/POSIX/endian.H
- src/OSspecific/POSIX/endianI.H 108 additions, 0 deletionssrc/OSspecific/POSIX/endianI.H
- src/OpenFOAM/primitives/hashes/Hasher/Hasher.C 8 additions, 26 deletionssrc/OpenFOAM/primitives/hashes/Hasher/Hasher.C
- src/OpenFOAM/primitives/hashes/SHA1/SHA1.C 16 additions, 41 deletionssrc/OpenFOAM/primitives/hashes/SHA1/SHA1.C
- src/OpenFOAM/primitives/hashes/SHA1/SHA1.H 0 additions, 8 deletionssrc/OpenFOAM/primitives/hashes/SHA1/SHA1.H
- src/lagrangian/intermediate/submodels/CloudFunctionObjects/CloudToVTK/vtkTools.C 5 additions, 29 deletions...iate/submodels/CloudFunctionObjects/CloudToVTK/vtkTools.C
Please register or sign in to comment