Home | History | Annotate | Download | only in tpm2

Lines Matching refs:bArray

24      unsigned int          bitNum,                    // IN: number of the bit in 'bArray'
25 BYTE *bArray, // IN: array containing the bit
26 unsigned int arraySize // IN: size in bytes of 'bArray'
30 return((bArray[bitNum >> 3] & (1 << (bitNum & 7))) != 0);
36 // This function will set the indicated bit in bArray.
40 unsigned int bitNum, // IN: number of the bit in 'bArray'
41 BYTE *bArray, // IN: array containing the bit
42 unsigned int arraySize // IN: size in bytes of 'bArray'
46 bArray[bitNum >> 3] |= (1 << (bitNum & 7));
52 // This function will clear the indicated bit in bArray.
56 unsigned int bitNum, // IN: number of the bit in 'bArray'.
57 BYTE *bArray, // IN: array containing the bit
58 unsigned int arraySize // IN: size in bytes of 'bArray'
62 bArray[bitNum >> 3] &= ~(1 << (bitNum & 7));