Home
last modified time | relevance | path

Searched refs:outBuffer (Results 1 – 7 of 7) 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/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.java120 byte[] outBuffer = {0x1, 0x2, 0x3, 0x4}; in testFileContent()
121 out.write(outBuffer); in testFileContent()
127 assertEquals(numBytesRead, outBuffer.length); in testFileContent()
128 MoreAsserts.assertEquals(outBuffer, inBuffer); in testFileContent()