/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/utils/ |
D | byte_array_utils.h | 36 static AK_FORCE_INLINE void writeUintAndAdvancePosition(uint8_t *const buffer, in writeUintAndAdvancePosition() 63 static AK_FORCE_INLINE uint32_t readUint32(const uint8_t *const buffer, const int pos) { in readUint32() 68 static AK_FORCE_INLINE uint32_t readUint24(const uint8_t *const buffer, const int pos) { in readUint24() 72 static AK_FORCE_INLINE uint16_t readUint16(const uint8_t *const buffer, const int pos) { in readUint16() 76 static AK_FORCE_INLINE uint8_t readUint8(const uint8_t *const buffer, const int pos) { in readUint8() 81 const uint8_t *const buffer, int *const pos) { in readUint32AndAdvancePosition() 88 const uint8_t *const buffer, int *const pos) { in readSint24AndAdvancePosition() 99 const uint8_t *const buffer, int *const pos) { in readUint24AndAdvancePosition() 106 const uint8_t *const buffer, int *const pos) { in readUint16AndAdvancePosition() 113 const uint8_t *const buffer, int *const pos) { in readUint8AndAdvancePosition() [all …]
|
D | dict_file_writing_utils.cpp | 83 const char *const suffix, const BufferWithExtendableBuffer *const buffer) { in flushBufferToFileWithSuffix() 91 const BufferWithExtendableBuffer *const buffer) { in writeBufferToFileTail() 103 const BufferWithExtendableBuffer *const buffer) { in flushBufferToFile() 130 const BufferWithExtendableBuffer *const buffer) { in writeBufferToFile()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/pt_common/ |
D | dynamic_pt_writing_utils.cpp | 39 BufferWithExtendableBuffer *const buffer, const int rootPos) { in writeEmptyDictionary() 49 BufferWithExtendableBuffer *const buffer, const int forwardLinkPos, in writeForwardLinkPositionAndAdvancePosition() 55 BufferWithExtendableBuffer *const buffer, const size_t arraySize, in writePtNodeArraySizeAndAdvancePosition() 77 BufferWithExtendableBuffer *const buffer, in writeFlagsAndAdvancePosition() 84 BufferWithExtendableBuffer *const buffer, const int parentPos, const int basePos, in writeParentPosOffsetAndAdvancePosition() 90 BufferWithExtendableBuffer *const buffer, const int *const codePoints, in writeCodePointsAndAdvancePosition() 104 BufferWithExtendableBuffer *const buffer, const int childrenPosition, in writeChildrenPositionAndAdvancePosition() 110 /* static */ bool DynamicPtWritingUtils::writeDictOffset(BufferWithExtendableBuffer *const buffer, in writeDictOffset()
|
D | patricia_trie_reading_utils.cpp | 48 const uint8_t *const buffer, int *const pos) { in getPtNodeArraySizeAndAdvancePosition() 59 const uint8_t *const buffer, int *const pos) { in getFlagsAndAdvancePosition() 63 /* static */ int PtReadingUtils::getCodePointAndAdvancePosition(const uint8_t *const buffer, in getCodePointAndAdvancePosition() 69 /* static */ int PtReadingUtils::getCharsAndAdvancePosition(const uint8_t *const buffer, in getCharsAndAdvancePosition() 94 /* static */ int PtReadingUtils::skipCharacters(const uint8_t *const buffer, const NodeFlags flags, in skipCharacters() 108 /* static */ int PtReadingUtils::readProbabilityAndAdvancePosition(const uint8_t *const buffer, in readProbabilityAndAdvancePosition() 114 const uint8_t *const buffer, const NodeFlags flags, int *const pos) { in readChildrenPositionAndAdvancePosition()
|
D | dynamic_pt_reading_utils.cpp | 36 /* static */ int DynamicPtReadingUtils::getForwardLinkPosition(const uint8_t *const buffer, in getForwardLinkPosition() 43 const uint8_t *const buffer, int *const pos) { in getParentPtNodePosOffsetAndAdvancePosition() 59 const uint8_t *const buffer, int *const pos) { in readChildrenPositionAndAdvancePosition()
|
/packages/inputmethods/LatinIME/native/jni/tests/suggest/policyimpl/dictionary/utils/ |
D | buffer_with_extendable_buffer_test.cpp | 27 BufferWithExtendableBuffer buffer(DEFAULT_MAX_BUFFER_SIZE); in TEST() local 51 BufferWithExtendableBuffer buffer(DEFAULT_MAX_BUFFER_SIZE); in TEST() local 62 BufferWithExtendableBuffer buffer(DEFAULT_MAX_BUFFER_SIZE); in TEST() local 83 BufferWithExtendableBuffer buffer(DEFAULT_MAX_BUFFER_SIZE); in TEST() local
|
/packages/services/Telephony/common/src/com/android/services/telephony/common/ |
D | AudioMode.java | 37 StringBuffer buffer = new StringBuffer(); in toString() local 54 private static void listAppend(StringBuffer buffer, String str) { in listAppend()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | ImageCacheService.java | 58 public boolean getImageData(Path path, long timeModified, int type, BytesBuffer buffer) { in getImageData() 83 ByteBuffer buffer = ByteBuffer.allocate(key.length + value.length); in putImageData() local 111 private static boolean isSameKey(byte[] key, byte[] buffer) { in isSameKey()
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/format/ |
D | FormatUtilsTests.java | 58 CharArrayBuffer buffer = new CharArrayBuffer(20); in checkCharArrayBufferToString() local 66 private void checkCopyToCharArrayBuffer(CharArrayBuffer buffer, String value, int length) { in checkCopyToCharArrayBuffer()
|
/packages/apps/Mms/src/com/android/mms/util/ |
D | ImageCacheService.java | 76 ByteBuffer buffer = ByteBuffer.allocate(key.length + value.length); in putImageData() local 96 private static boolean isSameKey(byte[] key, byte[] buffer) { in isSameKey() 135 public static final long crc64Long(byte[] buffer) { in crc64Long()
|
/packages/apps/Nfc/src/com/android/nfc/ndefpush/ |
D | NdefPushProtocol.java | 67 ByteArrayInputStream buffer = new ByteArrayInputStream(data); in NdefPushProtocol() local 149 ByteArrayOutputStream buffer = new ByteArrayOutputStream(1024); in toByteArray() local
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/ |
D | ver4_patricia_trie_reading_utils.cpp | 24 const uint8_t *const buffer, int *pos) { in getTerminalIdAndAdvancePosition()
|
D | ver4_pt_node_array_reader.h | 29 Ver4PtNodeArrayReader(const BufferWithExtendableBuffer *const buffer) : mBuffer(buffer) {}; in Ver4PtNodeArrayReader()
|
D | ver4_patricia_trie_node_reader.h | 36 Ver4PatriciaTrieNodeReader(const BufferWithExtendableBuffer *const buffer, in Ver4PatriciaTrieNodeReader()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/ |
D | ver4_pt_node_array_reader.h | 42 Ver4PtNodeArrayReader(const BufferWithExtendableBuffer *const buffer) : mBuffer(buffer) {}; in Ver4PtNodeArrayReader()
|
D | ver4_patricia_trie_reading_utils.cpp | 33 const uint8_t *const buffer, int *pos) { in getTerminalIdAndAdvancePosition()
|
D | ver4_patricia_trie_node_reader.h | 53 Ver4PatriciaTrieNodeReader(const BufferWithExtendableBuffer *const buffer, in Ver4PatriciaTrieNodeReader()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/header/ |
D | header_read_write_utils.cpp | 91 BufferWithExtendableBuffer *const buffer, const FormatUtils::FORMAT_VERSION version, in writeDictionaryVersion() 112 BufferWithExtendableBuffer *const buffer, const DictionaryFlags flags, in writeDictionaryFlags() 118 BufferWithExtendableBuffer *const buffer, const int size, int *const writingPos) { in writeDictionaryHeaderSize() 123 BufferWithExtendableBuffer *const buffer, const AttributeMap *const headerAttributes, in writeHeaderAttributes()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/format/ |
D | FormatUtils.java | 113 public static void copyToCharArrayBuffer(String text, CharArrayBuffer buffer) { in copyToCharArrayBuffer() 129 public static String charArrayBufferToString(CharArrayBuffer buffer) { in charArrayBufferToString()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/content/ |
D | terminal_position_lookup_table.h | 34 TerminalPositionLookupTable(uint8_t *const buffer, const int bufferSize) in TerminalPositionLookupTable()
|
D | single_dict_content.h | 33 SingleDictContent(uint8_t *const buffer, const int bufferSize) in SingleDictContent()
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | FakeInputStream.java | 44 public int read(byte[] buffer, int offset, int length) { in read()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | DictDecoder.java | 146 ByteBuffer buffer = null; in getDictionaryBuffer() local 202 ByteBuffer buffer = null; in getDictionaryBuffer() local
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
D | CountingOutputStream.java | 39 public void write(byte[] buffer, int offset, int count) throws IOException { in write()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/jpegstream/ |
D | JPEGOutputStream.java | 80 public void write(byte[] buffer, int offset, int length) throws IOException { in write() 116 public void write(byte[] buffer) throws IOException { in write()
|