KDECore
nsPkgInt.h File Reference
Go to the source code of this file.
Classes | |
| struct | kencodingprober::nsPkgInt |
Namespaces | |
| namespace | kencodingprober |
Macros | |
| #define | GETFROMPCK(i, c) |
| #define | PCK16BITS(a, b) |
| #define | PCK4BITS(a, b, c, d, e, f, g, h) |
| #define | PCK8BITS(a, b, c, d) |
Typedefs | |
| typedef struct kencodingprober::nsPkgInt | kencodingprober::nsPkgInt |
Enumerations | |
| enum | kencodingprober::nsBitSft { kencodingprober::eBitSft4bits = 2 , kencodingprober::eBitSft8bits = 3 , kencodingprober::eBitSft16bits = 4 } |
| enum | kencodingprober::nsIdxSft { kencodingprober::eIdxSft4bits = 3 , kencodingprober::eIdxSft8bits = 2 , kencodingprober::eIdxSft16bits = 1 } |
| enum | kencodingprober::nsSftMsk { kencodingprober::eSftMsk4bits = 7 , kencodingprober::eSftMsk8bits = 3 , kencodingprober::eSftMsk16bits = 1 } |
| enum | kencodingprober::nsUnitMsk { kencodingprober::eUnitMsk4bits = 0x0000000FL , kencodingprober::eUnitMsk8bits = 0x000000FFL , kencodingprober::eUnitMsk16bits = 0x0000FFFFL } |
Macro Definition Documentation
◆ GETFROMPCK
| #define GETFROMPCK | ( | i, | |
| c ) |
Value:
(((((c).data)[(i)>>(c).idxsft])>>(((i)&(c).sftmsk)<<(c).bitsft))&(c).unitmsk)
Definition at line 73 of file nsPkgInt.h.
◆ PCK16BITS
| #define PCK16BITS | ( | a, | |
| b ) |
Value:
((unsigned int)(((b) << 16) | (a)))
Definition at line 63 of file nsPkgInt.h.
◆ PCK4BITS
| #define PCK4BITS | ( | a, | |
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h ) |
Value:
((unsigned int)(((d) << 4) | (c))), \
((unsigned int)(((f) << 4) | (e))), \
((unsigned int)(((h) << 4) | (g))) )
Definition at line 68 of file nsPkgInt.h.
◆ PCK8BITS
| #define PCK8BITS | ( | a, | |
| b, | |||
| c, | |||
| d ) |
Value:
((unsigned int)(((d) << 8) | (c))))
Definition at line 65 of file nsPkgInt.h.
This file is part of the KDE documentation.
Documentation copyright © 1996-2026 The KDE developers.
Generated on by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2026 The KDE developers.
Generated on by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.