Home
last modified time | relevance | path

Searched refs:bytePos (Results 1 – 7 of 7) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/text/
DUnicodeDecompressor.java173 int bytePos = byteBufferStart; in decompress() local
214 bytePos += newBytes; in decompress()
219 while(bytePos < byteBufferLimit && ucPos < charBufferLimit) { in decompress()
224 while(bytePos < byteBufferLimit && ucPos < charBufferLimit) { in decompress()
225 aByte = byteBuffer[bytePos++] & 0xFF; in decompress()
273 --bytePos; in decompress()
274 System.arraycopy(byteBuffer, bytePos, in decompress()
276 byteBufferLimit - bytePos); in decompress()
277 fBufferLength = byteBufferLimit - bytePos; in decompress()
278 bytePos += fBufferLength; in decompress()
[all …]
DUnicodeCompressor.java364 int bytePos = byteBufferStart; in compress() local
392 while(ucPos < charBufferLimit && bytePos < byteBufferLimit) { in compress()
397 while(ucPos < charBufferLimit && bytePos < byteBufferLimit) { in compress()
419 if( (bytePos + 1) >= byteBufferLimit) in compress()
424 byteBuffer[bytePos++] = (byte) SQUOTE0; in compress()
427 byteBuffer[bytePos++] = (byte) loByte; in compress()
434 byteBuffer[bytePos++] = (byte) in compress()
448 if( (bytePos + 2) >= byteBufferLimit) in compress()
451 byteBuffer[bytePos++] = (byte) SQUOTEU; in compress()
452 byteBuffer[bytePos++] = (byte) (curUC >>> 8); in compress()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DUnicodeDecompressor.java176 int bytePos = byteBufferStart; in decompress() local
217 bytePos += newBytes; in decompress()
222 while(bytePos < byteBufferLimit && ucPos < charBufferLimit) { in decompress()
227 while(bytePos < byteBufferLimit && ucPos < charBufferLimit) { in decompress()
228 aByte = byteBuffer[bytePos++] & 0xFF; in decompress()
276 --bytePos; in decompress()
277 System.arraycopy(byteBuffer, bytePos, in decompress()
279 byteBufferLimit - bytePos); in decompress()
280 fBufferLength = byteBufferLimit - bytePos; in decompress()
281 bytePos += fBufferLength; in decompress()
[all …]
DUnicodeCompressor.java367 int bytePos = byteBufferStart; in compress() local
395 while(ucPos < charBufferLimit && bytePos < byteBufferLimit) { in compress()
400 while(ucPos < charBufferLimit && bytePos < byteBufferLimit) { in compress()
422 if( (bytePos + 1) >= byteBufferLimit) in compress()
427 byteBuffer[bytePos++] = (byte) SQUOTE0; in compress()
430 byteBuffer[bytePos++] = (byte) loByte; in compress()
437 byteBuffer[bytePos++] = (byte) in compress()
451 if( (bytePos + 2) >= byteBufferLimit) in compress()
454 byteBuffer[bytePos++] = (byte) SQUOTEU; in compress()
455 byteBuffer[bytePos++] = (byte) (curUC >>> 8); in compress()
[all …]
/external/sonic/
Dwave.c331 int bytePos = 0; in readFromWaveFile() local
341 sample = bytes[bytePos++]; in readFromWaveFile()
342 sample |= (unsigned int)bytes[bytePos++] << 8; in readFromWaveFile()
355 int bytePos = 0; in writeToWaveFile() local
361 if(bytePos == WAVE_BUF_LEN) { in writeToWaveFile()
362 writeBytes(file, bytes, bytePos); in writeToWaveFile()
363 bytePos = 0; in writeToWaveFile()
366 bytes[bytePos++] = sample; in writeToWaveFile()
367 bytes[bytePos++] = sample >> 8; in writeToWaveFile()
369 if(bytePos != 0) { in writeToWaveFile()
[all …]
/external/lzma/C/
DBraIA64.c30 UInt32 bytePos, bitRes; in IA64_Convert() local
35 bytePos = (bitPos >> 3); in IA64_Convert()
39 instruction += (UInt64)data[i + j + bytePos] << (8 * j); in IA64_Convert()
64 data[i + j + bytePos] = (Byte)(instruction >> (8 * j)); in IA64_Convert()
/external/lzma/Java/Tukaani/src/org/tukaani/xz/simple/
DIA64.java40 int bytePos = bitPos >>> 3; in code() local
45 instr |= (buf[i + bytePos + j] & 0xFFL) << (8 * j); in code()
73 buf[i + bytePos + j] = (byte)(instr >>> (8 * j)); in code()