Lines Matching refs:column
34 // Line and column values are encoded in 1 of 3 modes depending on the size
37 // 1. FatLine: 22-bit line, 8-bit column.
38 // 2. FatColumn: 8-bit line, 22-bit column.
39 // 3. FatLineAndColumn: 32-bit line, 32-bit column.
41 // For the first 2 modes, the line and column will be encoded in the 30-bit
44 // holds the FatPosition records with the full 32-bit line and column values.
54 uint32_t column;
75 void encodeFatLineMode(unsigned line, unsigned column)
78 ASSERT(column <= MaxFatLineModeColumn);
79 position = ((line & FatLineModeLineMask) << FatLineModeLineShift | (column & FatLineModeColumnMask));
82 void encodeFatColumnMode(unsigned line, unsigned column)
85 ASSERT(column <= MaxFatColumnModeColumn);
86 position = ((line & FatColumnModeLineMask) << FatColumnModeLineShift | (column & FatColumnModeColumnMask));
89 void decodeFatLineMode(unsigned& line, unsigned& column)
92 column = position & FatLineModeColumnMask;
95 void decodeFatColumnMode(unsigned& line, unsigned& column)
98 column = position & FatColumnModeColumnMask;