Home
last modified time | relevance | path

Searched refs:buffer (Results 1 – 25 of 187) sorted by relevance

12345678

/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/utils/
Dbyte_array_utils.h36 static AK_FORCE_INLINE void writeUintAndAdvancePosition(uint8_t *const buffer, in writeUintAndAdvancePosition() argument
42 ByteArrayUtils::writeUint8AndAdvancePosition(buffer, data, pos); in writeUintAndAdvancePosition()
45 ByteArrayUtils::writeUint16AndAdvancePosition(buffer, data, pos); in writeUintAndAdvancePosition()
48 ByteArrayUtils::writeUint24AndAdvancePosition(buffer, data, pos); in writeUintAndAdvancePosition()
51 ByteArrayUtils::writeUint32AndAdvancePosition(buffer, data, pos); in writeUintAndAdvancePosition()
63 static AK_FORCE_INLINE uint32_t readUint32(const uint8_t *const buffer, const int pos) { in readUint32() argument
64 return (buffer[pos] << 24) ^ (buffer[pos + 1] << 16) in readUint32()
65 ^ (buffer[pos + 2] << 8) ^ buffer[pos + 3]; in readUint32()
68 static AK_FORCE_INLINE uint32_t readUint24(const uint8_t *const buffer, const int pos) { in readUint24() argument
69 return (buffer[pos] << 16) ^ (buffer[pos + 1] << 8) ^ buffer[pos + 2]; in readUint24()
[all …]
Ddict_file_writing_utils.cpp83 const char *const suffix, const BufferWithExtendableBuffer *const buffer) { in flushBufferToFileWithSuffix() argument
87 return flushBufferToFile(filePath, buffer); in flushBufferToFileWithSuffix()
91 const BufferWithExtendableBuffer *const buffer) { in writeBufferToFileTail() argument
94 ByteArrayUtils::writeUintAndAdvancePosition(bufferSize, buffer->getTailPosition(), in writeBufferToFileTail()
99 return writeBufferToFile(file, buffer); in writeBufferToFileTail()
103 const BufferWithExtendableBuffer *const buffer) { in flushBufferToFile() argument
116 if (!writeBufferToFile(file, buffer)) { in flushBufferToFile()
120 buffer->getTailPosition()); in flushBufferToFile()
130 const BufferWithExtendableBuffer *const buffer) { in writeBufferToFile() argument
131 const int originalBufSize = buffer->getOriginalBufferSize(); in writeBufferToFile()
[all …]
/packages/inputmethods/LatinIME/native/jni/tests/suggest/policyimpl/dictionary/utils/
Dbuffer_with_extendable_buffer_test.cpp27 BufferWithExtendableBuffer buffer(DEFAULT_MAX_BUFFER_SIZE); in TEST() local
31 EXPECT_TRUE(buffer.writeUint(data_1, 1 /* size */, pos)); in TEST()
32 EXPECT_EQ(data_1, buffer.readUint(1, pos)); in TEST()
36 EXPECT_TRUE(buffer.writeUint(data_2, 2 /* size */, pos)); in TEST()
37 EXPECT_EQ(data_2, buffer.readUint(2, pos)); in TEST()
41 EXPECT_TRUE(buffer.writeUint(data_3, 3 /* size */, pos)); in TEST()
42 EXPECT_EQ(data_3, buffer.readUint(3, pos)); in TEST()
46 EXPECT_TRUE(buffer.writeUint(data_4, 4 /* size */, pos)); in TEST()
47 EXPECT_EQ(data_4, buffer.readUint(4, pos)); in TEST()
51 BufferWithExtendableBuffer buffer(DEFAULT_MAX_BUFFER_SIZE); in TEST() local
[all …]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/decoder/
DUnboundedFifoByteBuffer.java57 protected byte[] buffer; field in UnboundedFifoByteBuffer
84 buffer = new byte[initialSize + 1]; in UnboundedFifoByteBuffer()
98 size = buffer.length - head + tail; in size()
123 if (size() + 1 >= buffer.length) { in add()
124 byte[] tmp = new byte[((buffer.length - 1) * 2) + 1]; in add()
128 tmp[j] = buffer[i]; in add()
129 buffer[i] = 0; in add()
133 if (i == buffer.length) { in add()
138 buffer = tmp; in add()
143 buffer[tail] = b; in add()
[all …]
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/pt_common/
Dpatricia_trie_reading_utils.cpp48 const uint8_t *const buffer, int *const pos) { in getPtNodeArraySizeAndAdvancePosition() argument
49 const uint8_t firstByte = ByteArrayUtils::readUint8AndAdvancePosition(buffer, pos); in getPtNodeArraySizeAndAdvancePosition()
54 buffer, pos); in getPtNodeArraySizeAndAdvancePosition()
59 const uint8_t *const buffer, int *const pos) { in getFlagsAndAdvancePosition() argument
60 return ByteArrayUtils::readUint8AndAdvancePosition(buffer, pos); in getFlagsAndAdvancePosition()
63 /* static */ int PtReadingUtils::getCodePointAndAdvancePosition(const uint8_t *const buffer, in getCodePointAndAdvancePosition() argument
65 return ByteArrayUtils::readCodePointAndAdvancePosition(buffer, pos); in getCodePointAndAdvancePosition()
69 /* static */ int PtReadingUtils::getCharsAndAdvancePosition(const uint8_t *const buffer, in getCharsAndAdvancePosition() argument
73 length = ByteArrayUtils::readStringAndAdvancePosition(buffer, maxLength, outBuffer, in getCharsAndAdvancePosition()
76 const int codePoint = getCodePointAndAdvancePosition(buffer, pos); in getCharsAndAdvancePosition()
[all …]
Ddynamic_pt_writing_utils.cpp39 BufferWithExtendableBuffer *const buffer, const int rootPos) { in writeEmptyDictionary() argument
41 if (!writePtNodeArraySizeAndAdvancePosition(buffer, 0 /* arraySize */, &writingPos)) { in writeEmptyDictionary()
44 return writeForwardLinkPositionAndAdvancePosition(buffer, NOT_A_DICT_POS /* forwardLinkPos */, in writeEmptyDictionary()
49 BufferWithExtendableBuffer *const buffer, const int forwardLinkPos, in writeForwardLinkPositionAndAdvancePosition() argument
51 return writeDictOffset(buffer, forwardLinkPos, (*forwardLinkFieldPos), forwardLinkFieldPos); in writeForwardLinkPositionAndAdvancePosition()
55 BufferWithExtendableBuffer *const buffer, const size_t arraySize, in writePtNodeArraySizeAndAdvancePosition() argument
66 return buffer->writeUintAndAdvancePosition(data, LARGE_PTNODE_ARRAY_SIZE_FIELD_SIZE, in writePtNodeArraySizeAndAdvancePosition()
77 BufferWithExtendableBuffer *const buffer, in writeFlagsAndAdvancePosition() argument
79 return buffer->writeUintAndAdvancePosition(nodeFlags, NODE_FLAG_FIELD_SIZE, nodeFlagsFieldPos); in writeFlagsAndAdvancePosition()
84 BufferWithExtendableBuffer *const buffer, const int parentPos, const int basePos, in writeParentPosOffsetAndAdvancePosition() argument
[all …]
Ddynamic_pt_writing_utils.h33 static bool writeEmptyDictionary(BufferWithExtendableBuffer *const buffer, const int rootPos);
36 BufferWithExtendableBuffer *const buffer, const int forwardLinkPos,
39 static bool writePtNodeArraySizeAndAdvancePosition(BufferWithExtendableBuffer *const buffer,
42 static bool writeFlags(BufferWithExtendableBuffer *const buffer, in writeFlags() argument
46 return writeFlagsAndAdvancePosition(buffer, nodeFlags, &writingPos); in writeFlags()
49 static bool writeFlagsAndAdvancePosition(BufferWithExtendableBuffer *const buffer,
53 static bool writeParentPosOffsetAndAdvancePosition(BufferWithExtendableBuffer *const buffer,
56 static bool writeCodePointsAndAdvancePosition(BufferWithExtendableBuffer *const buffer,
59 static bool writeChildrenPositionAndAdvancePosition(BufferWithExtendableBuffer *const buffer,
75 static bool writeDictOffset(BufferWithExtendableBuffer *const buffer, const int targetPos,
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
DStringUtil.java2252 byte[] buffer = new byte[4096]; in stream2String()
2258 sw.write(new String(buffer, 0, read)); in stream2String()
2260 read = is.read(buffer, 0, buffer.length); in stream2String()
2523 StringBuilder buffer = new StringBuilder(); in toString() local
2524 buffer.append("["); in toString()
2526 buffer.append(iArray[i]); in toString()
2528 buffer.append(", "); in toString()
2531 buffer.append("]"); in toString()
2532 return buffer.toString(); in toString()
2543 StringBuilder buffer = new StringBuilder(); in toString() local
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DImageCacheService.java58 public boolean getImageData(Path path, long timeModified, int type, BytesBuffer buffer) { in getImageData() argument
64 request.buffer = buffer.data; in getImageData()
68 if (isSameKey(key, request.buffer)) { in getImageData()
69 buffer.data = request.buffer; in getImageData()
70 buffer.offset = key.length; in getImageData()
71 buffer.length = request.length - buffer.offset; in getImageData()
83 ByteBuffer buffer = ByteBuffer.allocate(key.length + value.length); in putImageData() local
84 buffer.put(key); in putImageData()
85 buffer.put(value); in putImageData()
88 mCache.insert(cacheKey, buffer.array()); in putImageData()
[all …]
DImageCacheRequest.java56 BytesBuffer buffer = MediaItem.getBytesBufferPool().get(); in run() local
58 boolean found = cacheService.getImageData(mPath, mTimeModified, mType, buffer); in run()
66 buffer.data, buffer.offset, buffer.length, options); in run()
69 buffer.data, buffer.offset, buffer.length, options); in run()
77 MediaItem.getBytesBufferPool().recycle(buffer); in run()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/
DSimpleCharStream.java42 protected char[] buffer; field in SimpleCharStream
61 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); in ExpandBuff()
62 System.arraycopy(buffer, 0, newbuffer, in ExpandBuff()
64 buffer = newbuffer; in ExpandBuff()
78 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); in ExpandBuff()
79 buffer = newbuffer; in ExpandBuff()
127 if ((i = inputStream.read(buffer, maxNextCharInd, in FillBuff()
204 return buffer[bufpos]; in readChar()
210 char c = buffer[bufpos]; in readChar()
265 buffer = new char[buffersize]; in SimpleCharStream()
[all …]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/contenttype/parser/
DSimpleCharStream.java42 protected char[] buffer; field in SimpleCharStream
61 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); in ExpandBuff()
62 System.arraycopy(buffer, 0, newbuffer, in ExpandBuff()
64 buffer = newbuffer; in ExpandBuff()
78 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); in ExpandBuff()
79 buffer = newbuffer; in ExpandBuff()
127 if ((i = inputStream.read(buffer, maxNextCharInd, in FillBuff()
204 return buffer[bufpos]; in readChar()
210 char c = buffer[bufpos]; in readChar()
265 buffer = new char[buffersize]; in SimpleCharStream()
[all …]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/
DSimpleCharStream.java42 protected char[] buffer; field in SimpleCharStream
61 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); in ExpandBuff()
62 System.arraycopy(buffer, 0, newbuffer, in ExpandBuff()
64 buffer = newbuffer; in ExpandBuff()
78 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); in ExpandBuff()
79 buffer = newbuffer; in ExpandBuff()
127 if ((i = inputStream.read(buffer, maxNextCharInd, in FillBuff()
204 return buffer[bufpos]; in readChar()
210 char c = buffer[bufpos]; in readChar()
265 buffer = new char[buffersize]; in SimpleCharStream()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherBackupHelper.java426 private void restoreFavorite(Key key, byte[] buffer, int dataSize) throws IOException { in restoreFavorite() argument
428 if (DEBUG) Log.d(TAG, "read (" + buffer.length + "): " + in restoreFavorite()
429 Base64.encodeToString(buffer, 0, dataSize, Base64.NO_WRAP)); in restoreFavorite()
432 ContentValues values = unpackFavorite(buffer, dataSize); in restoreFavorite()
476 private void restoreScreen(Key key, byte[] buffer, int dataSize) throws IOException { in restoreScreen() argument
478 if (DEBUG) Log.d(TAG, "read (" + buffer.length + "): " + in restoreScreen()
479 Base64.encodeToString(buffer, 0, dataSize, Base64.NO_WRAP)); in restoreScreen()
482 ContentValues values = unpackScreen(buffer, dataSize); in restoreScreen()
568 private void restoreIcon(Key key, byte[] buffer, int dataSize) throws IOException { in restoreIcon() argument
570 if (DEBUG) Log.d(TAG, "read (" + buffer.length + "): " + in restoreIcon()
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictEncoderUtils.java191 static int writeUIntToBuffer(final byte[] buffer, int position, final int value, in writeUIntToBuffer() argument
195 buffer[position++] = (byte) ((value >> 24) & 0xFF); in writeUIntToBuffer()
198 buffer[position++] = (byte) ((value >> 16) & 0xFF); in writeUIntToBuffer()
201 buffer[position++] = (byte) ((value >> 8) & 0xFF); in writeUIntToBuffer()
204 buffer[position++] = (byte) (value & 0xFF); in writeUIntToBuffer()
528 /* package */ static int writeChildrenPosition(final byte[] buffer, int index, in writeChildrenPosition() argument
532 buffer[index++] = (byte)position; in writeChildrenPosition()
535 buffer[index++] = (byte)(0xFF & (position >> 8)); in writeChildrenPosition()
536 buffer[index++] = (byte)(0xFF & position); in writeChildrenPosition()
539 buffer[index++] = (byte)(0xFF & (position >> 16)); in writeChildrenPosition()
[all …]
DBinaryDictDecoderUtils.java57 public ByteBufferDictBuffer(final ByteBuffer buffer) { in ByteBufferDictBuffer() argument
58 mBuffer = buffer; in ByteBufferDictBuffer()
164 static int writeCharArray(final int[] codePoints, final byte[] buffer, int index) { in writeCharArray() argument
167 buffer[index++] = (byte)codePoint; in writeCharArray()
169 buffer[index++] = (byte)(0xFF & (codePoint >> 16)); in writeCharArray()
170 buffer[index++] = (byte)(0xFF & (codePoint >> 8)); in writeCharArray()
171 buffer[index++] = (byte)(0xFF & codePoint); in writeCharArray()
187 static int writeString(final byte[] buffer, final int origin, final String word) { in writeString() argument
193 buffer[index++] = (byte)codePoint; in writeString()
195 buffer[index++] = (byte)(0xFF & (codePoint >> 16)); in writeString()
[all …]
/packages/apps/Nfc/nxp/jni/
Dcom_android_nfc_NativeP2pDevice.cpp54 …psGeneralBytes->buffer = (uint8_t*)malloc(psRemoteDevInfo->RemoteDevInfo.NfcIP_Info.ATRInfo_Length… in nfc_jni_connect_callback()
55 psGeneralBytes->buffer = psRemoteDevInfo->RemoteDevInfo.NfcIP_Info.ATRInfo; in nfc_jni_connect_callback()
176 TRACE("0x%02x ", sGeneralBytes.buffer[i]); in com_android_nfc_NativeP2pDevice_doConnect()
183 (jbyte *)sGeneralBytes.buffer); in com_android_nfc_NativeP2pDevice_doConnect()
298 transceive_info.sSendData.buffer = buf; //+ offset; in com_android_nfc_NativeP2pDevice_doTransceive()
300 transceive_info.sRecvData.buffer = (uint8_t*)malloc(1024); in com_android_nfc_NativeP2pDevice_doTransceive()
303 if(transceive_info.sRecvData.buffer == NULL) in com_android_nfc_NativeP2pDevice_doTransceive()
336 (jbyte *)receive_buffer->buffer); in com_android_nfc_NativeP2pDevice_doTransceive()
339 if(transceive_info.sRecvData.buffer != NULL) in com_android_nfc_NativeP2pDevice_doTransceive()
341 free(transceive_info.sRecvData.buffer); in com_android_nfc_NativeP2pDevice_doTransceive()
[all …]
Dcom_android_nfc_NativeLlcpSocket.cpp187 serviceName.buffer = (uint8_t*)e->GetStringUTFChars(sn, NULL); in com_android_nfc_NativeLlcpSocket_doConnectBy()
220 if (serviceName.buffer != NULL) { in com_android_nfc_NativeLlcpSocket_doConnectBy()
221 e->ReleaseStringUTFChars(sn, (const char *)serviceName.buffer); in com_android_nfc_NativeLlcpSocket_doConnectBy()
268 sSendBuffer.buffer = (uint8_t*)e->GetByteArrayElements(data, NULL); in com_android_nfc_NativeLlcpSocket_doSend()
301 if (sSendBuffer.buffer != NULL) in com_android_nfc_NativeLlcpSocket_doSend()
303 e->ReleaseByteArrayElements(data, (jbyte*)sSendBuffer.buffer, JNI_ABORT); in com_android_nfc_NativeLlcpSocket_doSend()
309 static jint com_android_nfc_NativeLlcpSocket_doReceive(JNIEnv *e, jobject o, jbyteArray buffer) in com_android_nfc_NativeLlcpSocket_doReceive() argument
329 sReceiveBuffer.buffer = (uint8_t*)e->GetByteArrayElements(buffer, NULL); in com_android_nfc_NativeLlcpSocket_doReceive()
330 sReceiveBuffer.length = (uint32_t)e->GetArrayLength(buffer); in com_android_nfc_NativeLlcpSocket_doReceive()
367 if (sReceiveBuffer.buffer != NULL) in com_android_nfc_NativeLlcpSocket_doReceive()
[all …]
Dcom_android_nfc_NativeNfcManager.cpp449 gInputParam.buffer = eeprom_base; in nfc_jni_initialize()
451 gOutputParam.buffer = resp; in nfc_jni_initialize()
646 uid.buffer = psRemoteDevInfo->RemoteDevInfo.Iso14443A_Info.Uid; in get_target_uid()
651 uid.buffer = psRemoteDevInfo->RemoteDevInfo.Iso14443B_Info.AtqB.AtqResInfo.Pupi; in get_target_uid()
655 uid.buffer = psRemoteDevInfo->RemoteDevInfo.Felica_Info.IDm; in get_target_uid()
659 uid.buffer = psRemoteDevInfo->RemoteDevInfo.Jewel_Info.Uid; in get_target_uid()
663 uid.buffer = psRemoteDevInfo->RemoteDevInfo.Iso15693_Info.Uid; in get_target_uid()
668 uid.buffer = psRemoteDevInfo->RemoteDevInfo.NfcIP_Info.NFCID; in get_target_uid()
672 uid.buffer = NULL; in get_target_uid()
1026 e->SetByteArrayRegion(tagUid.get(), 0, data.length, (jbyte *)data.buffer); in nfc_jni_Discovery_notification_callback()
[all …]
/packages/apps/Nfc/src/com/android/nfc/snep/
DSnepMessenger.java45 byte[] buffer = msg.toByteArray(); in sendMessage()
52 if (DBG) Log.d(TAG, "about to send a " + buffer.length + " byte message"); in sendMessage()
55 int length = Math.min(buffer.length, mFragmentLength); in sendMessage()
56 byte[] tmpBuffer = Arrays.copyOfRange(buffer, 0, length); in sendMessage()
60 if (length == buffer.length) { in sendMessage()
82 while (offset < buffer.length) { in sendMessage()
83 length = Math.min(buffer.length - offset, mFragmentLength); in sendMessage()
84 tmpBuffer = Arrays.copyOfRange(buffer, offset, offset + length); in sendMessage()
92 ByteArrayOutputStream buffer = new ByteArrayOutputStream(mFragmentLength); in getMessage() local
127 buffer.write(partial, 0, size); in getMessage()
[all …]
/packages/services/Telephony/common/src/com/android/services/telephony/common/
DAudioMode.java37 StringBuffer buffer = new StringBuffer(); in toString() local
39 listAppend(buffer, "EARPIECE"); in toString()
42 listAppend(buffer, "BLUETOOTH"); in toString()
45 listAppend(buffer, "WIRED_HEADSET"); in toString()
48 listAppend(buffer, "SPEAKER"); in toString()
51 return buffer.toString(); in toString()
54 private static void listAppend(StringBuffer buffer, String str) { in listAppend() argument
55 if (buffer.length() > 0) { in listAppend()
56 buffer.append(", "); in listAppend()
58 buffer.append(str); in listAppend()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info.cpp35 jsize len, jint *buffer) { in safeGetOrFillZeroIntArrayRegion() argument
36 if (jArray && buffer) { in safeGetOrFillZeroIntArrayRegion()
37 env->GetIntArrayRegion(jArray, 0, len, buffer); in safeGetOrFillZeroIntArrayRegion()
38 } else if (buffer) { in safeGetOrFillZeroIntArrayRegion()
39 memset(buffer, 0, len * sizeof(buffer[0])); in safeGetOrFillZeroIntArrayRegion()
44 jsize len, jfloat *buffer) { in safeGetOrFillZeroFloatArrayRegion() argument
45 if (jArray && buffer) { in safeGetOrFillZeroFloatArrayRegion()
46 env->GetFloatArrayRegion(jArray, 0, len, buffer); in safeGetOrFillZeroFloatArrayRegion()
47 } else if (buffer) { in safeGetOrFillZeroFloatArrayRegion()
48 memset(buffer, 0, len * sizeof(buffer[0])); in safeGetOrFillZeroFloatArrayRegion()
/packages/apps/UnifiedEmail/src/org/apache/commons/io/
DHexDump.java73 StringBuffer buffer = new StringBuffer(74); in dump() local
81 dump(buffer, display_offset).append(' '); in dump()
84 dump(buffer, data[k + j]); in dump()
86 buffer.append(" "); in dump()
88 buffer.append(' '); in dump()
92 buffer.append((char) data[k + j]); in dump()
94 buffer.append('.'); in dump()
97 buffer.append(EOL); in dump()
98 stream.write(buffer.toString().getBytes()); in dump()
100 buffer.setLength(0); in dump()
/packages/apps/Mms/src/com/android/mms/util/
DImageCacheService.java76 ByteBuffer buffer = ByteBuffer.allocate(key.length + value.length); in putImageData() local
77 buffer.put(key); in putImageData()
78 buffer.put(value); in putImageData()
81 mCache.insert(cacheKey, buffer.array()); in putImageData()
96 private static boolean isSameKey(byte[] key, byte[] buffer) { in isSameKey() argument
98 if (buffer.length < n) { in isSameKey()
102 if (key[i] != buffer[i]) { in isSameKey()
135 public static final long crc64Long(byte[] buffer) { in crc64Long() argument
137 for (int k = 0, n = buffer.length; k < n; ++k) { in crc64Long()
138 crc = sCrcTable[(((int) crc) ^ buffer[k]) & 0xff] ^ (crc >> 8); in crc64Long()
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/header/
Dheader_read_write_utils.cpp91 BufferWithExtendableBuffer *const buffer, const FormatUtils::FORMAT_VERSION version, in writeDictionaryVersion() argument
93 if (!buffer->writeUintAndAdvancePosition(FormatUtils::MAGIC_NUMBER, HEADER_MAGIC_NUMBER_SIZE, in writeDictionaryVersion()
104 return buffer->writeUintAndAdvancePosition(version /* data */, in writeDictionaryVersion()
112 BufferWithExtendableBuffer *const buffer, const DictionaryFlags flags, in writeDictionaryFlags() argument
114 return buffer->writeUintAndAdvancePosition(flags, HEADER_FLAG_SIZE, writingPos); in writeDictionaryFlags()
118 BufferWithExtendableBuffer *const buffer, const int size, int *const writingPos) { in writeDictionaryHeaderSize() argument
119 return buffer->writeUintAndAdvancePosition(size, HEADER_SIZE_FIELD_SIZE, writingPos); in writeDictionaryHeaderSize()
123 BufferWithExtendableBuffer *const buffer, const AttributeMap *const headerAttributes, in writeHeaderAttributes() argument
131 if (!buffer->writeCodePointsAndAdvancePosition(&(it->first.at(0)), it->first.size(), in writeHeaderAttributes()
136 if (!buffer->writeCodePointsAndAdvancePosition(&(it->second.at(0)), it->second.size(), in writeHeaderAttributes()

12345678