Home
last modified time | relevance | path

Searched refs:outBuffer (Results 1 – 8 of 8) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/header/
Dheader_policy.cpp96 BufferWithExtendableBuffer *const outBuffer) const { in fillInAndWriteHeaderToBuffer()
100 if (!HeaderReadWriteUtils::writeDictionaryVersion(outBuffer, mDictFormatVersion, in fillInAndWriteHeaderToBuffer()
104 if (!HeaderReadWriteUtils::writeDictionaryFlags(outBuffer, mDictionaryFlags, in fillInAndWriteHeaderToBuffer()
110 if (!HeaderReadWriteUtils::writeDictionaryHeaderSize(outBuffer, 0 /* size */, in fillInAndWriteHeaderToBuffer()
114 if (!HeaderReadWriteUtils::writeHeaderAttributes(outBuffer, &attributeMapToWrite, in fillInAndWriteHeaderToBuffer()
119 if (!HeaderReadWriteUtils::writeDictionaryHeaderSize(outBuffer, writingPos, in fillInAndWriteHeaderToBuffer()
Dheader_policy.h203 BufferWithExtendableBuffer *const outBuffer) const;
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DBinaryDictOffdeviceUtils.java196 final byte[] outBuffer) throws IOException, UnsupportedFormatException { in readStreamExhaustively() argument
199 while (readBytes != outBuffer.length) { in readStreamExhaustively()
200 readBytesLastCycle = inputStream.read(outBuffer, readBytes, in readStreamExhaustively()
201 outBuffer.length - readBytes); in readStreamExhaustively()
204 + " (expected " + outBuffer.length + ", read " + readBytes + ")"); in readStreamExhaustively()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/
Dpatricia_trie_reading_utils.cpp71 int *const outBuffer, int *const pos) { in getCharsAndAdvancePosition() argument
75 outBuffer, pos); in getCharsAndAdvancePosition()
87 outBuffer[0] = codePoint; in getCharsAndAdvancePosition()
Dpatricia_trie_reading_utils.h42 const int maxLength, const int *const codePointTable, int *const outBuffer,
/packages/services/Car/tests/usb/AoapPhoneCompanionApp/src/com/google/android/car/usb/aoap/companion/
DAoapPhoneCompanionActivity.java196 byte[] outBuffer = "DONE".getBytes(); in run()
198 mOutputStream.write(outBuffer); in run()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dbyte_array_utils.h186 const int maxLength, const int *const codePointTable, int *const outBuffer, in readStringAndAdvancePosition() argument
191 outBuffer[length++] = codePoint; in readStringAndAdvancePosition()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DVoicemailProviderTest.java159 byte[] outBuffer = {0x1, 0x2, 0x3, 0x4}; in testFileContent()
160 out.write(outBuffer); in testFileContent()
166 assertEquals(numBytesRead, outBuffer.length); in testFileContent()
167 MoreAsserts.assertEquals(outBuffer, inBuffer); in testFileContent()