Home
last modified time | relevance | path

Searched defs:buffer (Results 1 – 25 of 240) sorted by relevance

12345678910

/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/
Dformat_utils_test.cpp34 std::vector<uint8_t> buffer; in getBuffer() local
58 const std::vector<uint8_t> buffer = in TEST() local
64 const std::vector<uint8_t> buffer = in TEST() local
70 const std::vector<uint8_t> buffer = in TEST() local
77 const std::vector<uint8_t> buffer = in TEST() local
83 const std::vector<uint8_t> buffer = in TEST() local
89 const std::vector<uint8_t> buffer = in TEST() local
Dbyte_array_utils_test.cpp28 const uint8_t buffer[] = { 0x20u, 0x21u, 0x00u, 0x01u, 0x00u }; in TEST() local
40 const uint8_t buffer[] = { 0x1u, 0x8Au, 0x0u, 0xAAu }; in TEST() local
60 uint8_t buffer[4]; in TEST() local
74 const uint8_t buffer[] = { 0x10, 0xFF, 0x00u, 0x20u, 0x41u, 0x1Fu, 0x60 }; in TEST() local
92 uint8_t buffer[10]; in TEST() local
Dbuffer_with_extendable_buffer_test.cpp27 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/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dbyte_array_utils.h36 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 …]
Ddict_file_writing_utils.cpp83 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/dictionary/structure/pt_common/
Ddynamic_pt_writing_utils.cpp39 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()
Dpatricia_trie_reading_utils.cpp48 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()
95 /* static */ int PtReadingUtils::skipCharacters(const uint8_t *const buffer, const NodeFlags flags, in skipCharacters()
109 /* static */ int PtReadingUtils::readProbabilityAndAdvancePosition(const uint8_t *const buffer, in readProbabilityAndAdvancePosition()
115 const uint8_t *const buffer, const NodeFlags flags, int *const pos) { in readChildrenPositionAndAdvancePosition()
Ddynamic_pt_reading_utils.cpp36 /* 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/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dwritertest.cpp26 StringBuffer buffer; in TEST() local
89 StringBuffer buffer; in TEST() local
116 StringBuffer buffer; in TEST() local
126 StringBuffer buffer; in TEST() local
200 StringBuffer buffer; in TEST() local
208 StringBuffer buffer; in TEST() local
216 StringBuffer buffer; in TEST() local
223 StringBuffer buffer; in TEST() local
251 StringBuffer buffer; in TEST() local
273 StringBuffer buffer; in TEST() local
[all …]
Dstringbuffertest.cpp22 StringBuffer buffer; in TEST() local
28 StringBuffer buffer; in TEST() local
36 StringBuffer buffer; in TEST() local
47 StringBuffer buffer; in TEST() local
58 StringBuffer buffer; in TEST() local
Dprettywritertest.cpp43 StringBuffer buffer; in TEST() local
52 StringBuffer buffer; in TEST() local
79 StringBuffer buffer; in TEST() local
89 StringBuffer buffer; in TEST() local
142 char buffer[16]; in TEST() local
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/shortcut/
Dshortcut_list_reading_utils.cpp34 ShortcutListReadingUtils::getFlagsAndForwardPointer(const ReadOnlyByteArrayView buffer, in getFlagsAndForwardPointer()
40 const ReadOnlyByteArrayView buffer, int *const pos) { in getShortcutListSizeAndForwardPointer()
46 /* static */ int ShortcutListReadingUtils::readShortcutTarget(const ReadOnlyByteArrayView buffer, in readShortcutTarget()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/
Ddtoa.h34 inline void GrisuRound(char* buffer, int len, uint64_t delta, uint64_t rest, uint64_t ten_kappa, ui… in GrisuRound()
59 inline void DigitGen(const DiyFp& W, const DiyFp& Mp, uint64_t delta, char* buffer, int* len, int* … in DigitGen()
110 inline void Grisu2(double value, char* buffer, int* length, int* K) { in Grisu2()
124 inline char* WriteExponent(int K, char* buffer) { in WriteExponent()
148 inline char* Prettify(char* buffer, int length, int k) { in Prettify()
189 inline char* dtoa(double value, char* buffer) { in dtoa()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Dwriter.h205 char buffer[11]; in WriteInt() local
213 char buffer[10]; in WriteUint() local
221 char buffer[21]; in WriteInt64() local
229 char buffer[20]; in WriteUint64() local
237 char buffer[25]; in WriteDouble() local
351 char *buffer = os_->Push(11); in WriteInt() local
359 char *buffer = os_->Push(10); in WriteUint() local
367 char *buffer = os_->Push(21); in WriteInt64() local
375 char *buffer = os_->Push(20); in WriteUint64() local
383 char *buffer = os_->Push(25); in WriteDouble() local
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/bigram/
Dbigram_list_read_write_utils.cpp42 const ReadOnlyByteArrayView buffer, BigramFlags *const outBigramFlags, in getBigramEntryPropertiesAndAdvancePosition()
61 /* static */ bool BigramListReadWriteUtils::skipExistingBigrams(const ReadOnlyByteArrayView buffer, in skipExistingBigrams()
74 const ReadOnlyByteArrayView buffer, const BigramFlags flags, int *const pos) { in getBigramAddressAndAdvancePosition()
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/util/
DByteUtils.java46 ByteBuffer buffer = ByteBuffer.allocate(Long.BYTES); in longToBytes() local
57 ByteBuffer buffer = ByteBuffer.allocate(Long.SIZE / Byte.SIZE); in bytesToLong() local
107 ByteBuffer buffer = ByteBuffer.wrap(bytes); in bytesToUUID() local
/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/
DIoUtils.java48 ByteArrayOutputStream buffer = new ByteArrayOutputStream(); in readFromStream() local
61 public static void writeToStream(@NonNull OutputStream outputStream, @NonNull byte[] buffer) in writeToStream()
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder.cpp56 std::string str2hex(const char* buffer, size_t len) { in str2hex()
156 const char* DNSName::read(const char* buffer, const char* buffer_end) { in read()
169 char* DNSName::write(char* buffer, const char* buffer_end) const { in write()
198 const char* DNSName::parseField(const char* buffer, const char* buffer_end, bool* last) { in parseField()
227 const char* DNSQuestion::read(const char* buffer, const char* buffer_end) { in read()
242 char* DNSQuestion::write(char* buffer, const char* buffer_end) const { in write()
255 char buffer[4096]; in toString() local
261 const char* DNSRecord::read(const char* buffer, const char* buffer_end) { in read()
281 char* DNSRecord::write(char* buffer, const char* buffer_end) const { in write()
294 char buffer[4096]; in toString() local
[all …]
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/netlink/
DTcpInfoTest.java104 final ByteBuffer buffer = ByteBuffer.wrap(TCP_INFO_BYTES); in testParseTcpInfo() local
132 final ByteBuffer buffer = ByteBuffer.wrap(EXPANDED_TCP_INFO_BYTES); in testParseTcpInfoExpanded() local
168 final ByteBuffer buffer = ByteBuffer.wrap(MALFORMED_TCP_INFO_BYTES); in testMalformedTcpInfo() local
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DImageCacheService.java58 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/TV/tuner/src/com/android/tv/tuner/util/
DStatusTextUtils.java49 StringBuffer buffer = new StringBuffer(); in getStatusWarningInHTML() local
105 StringBuffer buffer, String factorName, long value, int minRed, int minYellow) { in appendStatusLine()
122 StringBuffer buffer, String factorName, int value, int minGreen, int minYellow) { in appendErrorStatusLine()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
Dver4_patricia_trie_reading_utils.cpp24 const uint8_t *const buffer, int *pos) { in getTerminalIdAndAdvancePosition()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
Dver2_pt_node_array_reader.h30 Ver2PtNodeArrayReader(const ReadOnlyByteArrayView buffer) : mBuffer(buffer) {}; in Ver2PtNodeArrayReader()
/packages/services/Car/evs/app/
DStreamHandler.cpp115 void StreamHandler::doneWithFrame(const BufferDesc& buffer) { in doneWithFrame()
131 Return<void> StreamHandler::deliverFrame(const BufferDesc& buffer) { in deliverFrame()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/utils/
DFdEventsReader.java95 protected FdEventsReader(@NonNull Handler h, @NonNull BufferType buffer) { in FdEventsReader()
130 protected abstract int recvBufSize(@NonNull BufferType buffer); in recvBufSize()
162 protected abstract int readPacket(@NonNull FileDescriptor fd, @NonNull BufferType buffer) in readPacket()

12345678910