Lines Matching refs:_offsets
63 _offsets.resize (_numXLevels); in TileOffsets()
65 for (unsigned int l = 0; l < _offsets.size(); ++l) in TileOffsets()
67 _offsets[l].resize (numYTiles[l]); in TileOffsets()
69 for (unsigned int dy = 0; dy < _offsets[l].size(); ++dy) in TileOffsets()
71 _offsets[l][dy].resize (numXTiles[l]); in TileOffsets()
78 _offsets.resize (_numXLevels * _numYLevels); in TileOffsets()
85 _offsets[l].resize (numYTiles[ly]); in TileOffsets()
87 for (unsigned int dy = 0; dy < _offsets[l].size(); ++dy) in TileOffsets()
89 _offsets[l][dy].resize (numXTiles[lx]); in TileOffsets()
101 for (unsigned int l = 0; l < _offsets.size(); ++l) in anyOffsetsAreInvalid()
102 for (unsigned int dy = 0; dy < _offsets[l].size(); ++dy) in anyOffsetsAreInvalid()
103 for (unsigned int dx = 0; dx < _offsets[l][dy].size(); ++dx) in anyOffsetsAreInvalid()
104 if (_offsets[l][dy][dx] <= 0) in anyOffsetsAreInvalid()
114 for (unsigned int l = 0; l < _offsets.size(); ++l) in findTiles()
116 for (unsigned int dy = 0; dy < _offsets[l].size(); ++dy) in findTiles()
118 for (unsigned int dx = 0; dx < _offsets[l][dy].size(); ++dx) in findTiles()
185 for (unsigned int l = 0; l < _offsets.size(); ++l) in readFrom()
186 for (unsigned int dy = 0; dy < _offsets[l].size(); ++dy) in readFrom()
187 for (unsigned int dx = 0; dx < _offsets[l][dy].size(); ++dx) in readFrom()
188 Xdr::read <StreamIO> (is, _offsets[l][dy][dx]); in readFrom()
231 for (unsigned int l = 0; l < _offsets.size(); ++l) in writeTo()
232 for (unsigned int dy = 0; dy < _offsets[l].size(); ++dy) in writeTo()
233 for (unsigned int dx = 0; dx < _offsets[l][dy].size(); ++dx) in writeTo()
234 Xdr::write <StreamIO> (os, _offsets[l][dy][dx]); in writeTo()
243 for (unsigned int l = 0; l < _offsets.size(); ++l) in isEmpty()
244 for (unsigned int dy = 0; dy < _offsets[l].size(); ++dy) in isEmpty()
245 for (unsigned int dx = 0; dx < _offsets[l][dy].size(); ++dx) in isEmpty()
246 if (_offsets[l][dy][dx] != 0) in isEmpty()
261 _offsets.size() > 0 && in isValidTile()
262 _offsets[0].size() > dy && in isValidTile()
263 _offsets[0][dy].size() > dx) in isValidTile()
274 _offsets.size() > lx && in isValidTile()
275 _offsets[lx].size() > dy && in isValidTile()
276 _offsets[lx][dy].size() > dx) in isValidTile()
287 _offsets.size() > lx + ly * _numXLevels && in isValidTile()
288 _offsets[lx + ly * _numXLevels].size() > dy && in isValidTile()
289 _offsets[lx + ly * _numXLevels][dy].size() > dx) in isValidTile()
318 return _offsets[0][dy][dx]; in operator ()()
323 return _offsets[lx][dy][dx]; in operator ()()
328 return _offsets[lx + ly * _numXLevels][dy][dx]; in operator ()()
358 return _offsets[0][dy][dx]; in operator ()()
363 return _offsets[lx][dy][dx]; in operator ()()
368 return _offsets[lx + ly * _numXLevels][dy][dx]; in operator ()()