Home
last modified time | relevance | path

Searched refs:tmpBuffer (Results 1 – 6 of 6) sorted by relevance

/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DBinaryDictOffdeviceUtils.java157 final byte[] tmpBuffer = new byte[12]; in process()
158 if (tmpBuffer.length != input.read(tmpBuffer)) { in process()
166 final int magicNumber = ((tmpBuffer[MAGIC_NUMBER_START_OFFSET] & 0xFF) << 24) in process()
167 + ((tmpBuffer[MAGIC_NUMBER_START_OFFSET + 1] & 0xFF) << 16) in process()
168 + ((tmpBuffer[MAGIC_NUMBER_START_OFFSET + 2] & 0xFF) << 8) in process()
169 + (tmpBuffer[MAGIC_NUMBER_START_OFFSET + 3] & 0xFF); in process()
173 final int version = ((tmpBuffer[VERSION_START_OFFSET] & 0xFF) << 8) in process()
174 + (tmpBuffer[VERSION_START_OFFSET + 1] & 0xFF); in process()
179 final int totalHeaderSize = ((tmpBuffer[HEADER_SIZE_OFFSET] & 0xFF) << 24) in process()
180 + ((tmpBuffer[HEADER_SIZE_OFFSET + 1] & 0xFF) << 16) in process()
[all …]
/packages/apps/Nfc/src/com/android/nfc/snep/
DSnepMessenger.java59 byte[] tmpBuffer = Arrays.copyOfRange(buffer, 0, length); in sendMessage()
61 mSocket.send(tmpBuffer); in sendMessage()
87 tmpBuffer = Arrays.copyOfRange(buffer, offset, offset + length); in sendMessage()
89 mSocket.send(tmpBuffer); in sendMessage()
110 tmpBuffer = Arrays.copyOfRange(buffer, offset, offset + length); in sendMessage()
112 mSocket.send(tmpBuffer); in sendMessage()
/packages/services/BuiltInPrintService/jni/plugins/genPCLm/src/
DgenPCLm.cpp1633 void *tmpBuffer = NULL; in Encapsulate() local
1644 tmpBuffer = malloc(scanlineWidth * currStripHeight); in Encapsulate()
1645 if (!tmpBuffer) { in Encapsulate()
1650 memcpy(tmpBuffer, leftoverScanlineBuffer, scanlineWidth * numLeftoverScanlines); in Encapsulate()
1652 whereAreWe = (ubyte *) tmpBuffer + (scanlineWidth * numLeftoverScanlines); in Encapsulate()
1667 localInBuffer = tmpBuffer; in Encapsulate()
1686 if (tmpBuffer) { in Encapsulate()
1687 free(tmpBuffer); in Encapsulate()
1867 if (tmpBuffer) { in Encapsulate()
1868 free(tmpBuffer); in Encapsulate()
/packages/apps/Nfc/src/com/android/nfc/ndefpush/
DNdefPushClient.java108 byte[] tmpBuffer = Arrays.copyOfRange(buffer, offset, offset+length); in push()
110 sock.send(tmpBuffer); in push()
/packages/apps/Nfc/src/com/android/nfc/handover/
DHandoverClient.java117 byte[] tmpBuffer = Arrays.copyOfRange(buffer, offset, offset+length); in sendHandoverRequest()
119 sock.send(tmpBuffer); in sendHandoverRequest()
DHandoverServer.java225 byte[] tmpBuffer = Arrays.copyOfRange(buffer, offset, offset+length); in run()
226 mSock.send(tmpBuffer); in run()