#include "nscore.h"
Go to the source code of this file.
Data Structures | |
struct | nsPkgInt |
Defines | |
#define | PCK16BITS(a, b) ((PRUint32)(((b) << 16) | (a))) |
#define | PCK8BITS(a, b, c, d) |
#define | PCK4BITS(a, b, c, d, e, f, g, h) |
#define | GETFROMPCK(i, c) (((((c).data)[(i)>>(c).idxsft])>>(((i)&(c).sftmsk)<<(c).bitsft))&(c).unitmsk) |
Typedefs | |
typedef struct nsPkgInt | nsPkgInt |
Enumerations | |
enum | nsIdxSft { eIdxSft4bits = 3, eIdxSft8bits = 2, eIdxSft16bits = 1 } |
enum | nsSftMsk { eSftMsk4bits = 7, eSftMsk8bits = 3, eSftMsk16bits = 1 } |
enum | nsBitSft { eBitSft4bits = 2, eBitSft8bits = 3, eBitSft16bits = 4 } |
enum | nsUnitMsk { eUnitMsk4bits = 0x0000000FL, eUnitMsk8bits = 0x000000FFL, eUnitMsk16bits = 0x0000FFFFL } |
#define GETFROMPCK | ( | i, | |||
c | ) | (((((c).data)[(i)>>(c).idxsft])>>(((i)&(c).sftmsk)<<(c).bitsft))&(c).unitmsk) |
Definition at line 85 of file nsPkgInt.h.
Referenced by nsCodingStateMachine::NextState().
#define PCK16BITS | ( | a, | |||
b | ) | ((PRUint32)(((b) << 16) | (a))) |
Definition at line 75 of file nsPkgInt.h.
#define PCK4BITS | ( | a, | |||
b, | |||||
c, | |||||
d, | |||||
e, | |||||
f, | |||||
g, | |||||
h | ) |
#define PCK8BITS | ( | a, | |||
b, | |||||
c, | |||||
d | ) |
Definition at line 77 of file nsPkgInt.h.
enum nsBitSft |
Definition at line 54 of file nsPkgInt.h.
00054 { 00055 eBitSft4bits = 2, 00056 eBitSft8bits = 3, 00057 eBitSft16bits = 4 00058 } nsBitSft;
enum nsIdxSft |
Definition at line 42 of file nsPkgInt.h.
00042 { 00043 eIdxSft4bits = 3, 00044 eIdxSft8bits = 2, 00045 eIdxSft16bits = 1 00046 } nsIdxSft;
enum nsSftMsk |
Definition at line 48 of file nsPkgInt.h.
00048 { 00049 eSftMsk4bits = 7, 00050 eSftMsk8bits = 3, 00051 eSftMsk16bits = 1 00052 } nsSftMsk;
enum nsUnitMsk |
Definition at line 60 of file nsPkgInt.h.
00060 { 00061 eUnitMsk4bits = 0x0000000FL, 00062 eUnitMsk8bits = 0x000000FFL, 00063 eUnitMsk16bits = 0x0000FFFFL 00064 } nsUnitMsk;