Lines Matching defs:pos
206 int pos = 0;
207 while (pos + 4 < dictionary.length) {
208 int length = readInt(dictionary, pos);
209 pos += 4;
210 if (pos + length > dictionary.length) {
213 String line = new String(dictionary, pos, length);
214 pos += length;
256 * @param pos current pos in array
260 private int writeInt(byte[] out, int pos, int value) {
261 out[pos + 0] = (byte) ((value >> 24) & 0xFF);
262 out[pos + 1] = (byte) ((value >> 16) & 0xFF);
263 out[pos + 2] = (byte) ((value >> 8) & 0xFF);
264 out[pos + 3] = (byte) ((value >> 0) & 0xFF);
265 return pos + 4;
268 private int readInt(byte[] in, int pos) {
270 ((in[pos ] & 0xFF) << 24) |
271 ((in[pos + 1] & 0xFF) << 16) |
272 ((in[pos + 2] & 0xFF) << 8) |
273 ((in[pos + 3] & 0xFF) << 0);