/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() 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 …]
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/decoder/ |
D | UnboundedFifoByteBuffer.java | 57 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/ |
D | patricia_trie_reading_utils.cpp | 46 const uint8_t *const buffer, int *const pos) { in getPtNodeArraySizeAndAdvancePosition() argument 47 const uint8_t firstByte = ByteArrayUtils::readUint8AndAdvancePosition(buffer, pos); in getPtNodeArraySizeAndAdvancePosition() 52 buffer, pos); in getPtNodeArraySizeAndAdvancePosition() 57 const uint8_t *const buffer, int *const pos) { in getFlagsAndAdvancePosition() argument 58 return ByteArrayUtils::readUint8AndAdvancePosition(buffer, pos); in getFlagsAndAdvancePosition() 61 /* static */ int PtReadingUtils::getCodePointAndAdvancePosition(const uint8_t *const buffer, in getCodePointAndAdvancePosition() argument 63 return ByteArrayUtils::readCodePointAndAdvancePosition(buffer, pos); in getCodePointAndAdvancePosition() 67 /* static */ int PtReadingUtils::getCharsAndAdvancePosition(const uint8_t *const buffer, in getCharsAndAdvancePosition() argument 71 length = ByteArrayUtils::readStringAndAdvancePosition(buffer, maxLength, outBuffer, in getCharsAndAdvancePosition() 74 const int codePoint = getCodePointAndAdvancePosition(buffer, pos); in getCharsAndAdvancePosition() [all …]
|
D | dynamic_patricia_trie_writing_utils.cpp | 40 BufferWithExtendableBuffer *const buffer, const int rootPos) { in writeEmptyDictionary() argument 42 if (!writePtNodeArraySizeAndAdvancePosition(buffer, 0 /* arraySize */, &writingPos)) { in writeEmptyDictionary() 45 return writeForwardLinkPositionAndAdvancePosition(buffer, NOT_A_DICT_POS /* forwardLinkPos */, in writeEmptyDictionary() 50 BufferWithExtendableBuffer *const buffer, const int forwardLinkPos, in writeForwardLinkPositionAndAdvancePosition() argument 52 return writeDictOffset(buffer, forwardLinkPos, (*forwardLinkFieldPos), forwardLinkFieldPos); in writeForwardLinkPositionAndAdvancePosition() 56 BufferWithExtendableBuffer *const buffer, const size_t arraySize, in writePtNodeArraySizeAndAdvancePosition() argument 67 return buffer->writeUintAndAdvancePosition(data, LARGE_PTNODE_ARRAY_SIZE_FIELD_SIZE, in writePtNodeArraySizeAndAdvancePosition() 78 BufferWithExtendableBuffer *const buffer, in writeFlagsAndAdvancePosition() argument 80 return buffer->writeUintAndAdvancePosition(nodeFlags, NODE_FLAG_FIELD_SIZE, nodeFlagsFieldPos); in writeFlagsAndAdvancePosition() 85 BufferWithExtendableBuffer *const buffer, const int parentPos, const int basePos, in writeParentPosOffsetAndAdvancePosition() argument [all …]
|
D | dynamic_patricia_trie_writing_utils.h | 33 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 writeFlagsAndAdvancePosition(BufferWithExtendableBuffer *const buffer, 46 static bool writeParentPosOffsetAndAdvancePosition(BufferWithExtendableBuffer *const buffer, 49 static bool writeCodePointsAndAdvancePosition(BufferWithExtendableBuffer *const buffer, 52 static bool writeProbabilityAndAdvancePosition(BufferWithExtendableBuffer *const buffer, 55 static bool writeChildrenPositionAndAdvancePosition(BufferWithExtendableBuffer *const buffer, 72 static bool writeDictOffset(BufferWithExtendableBuffer *const buffer, const int targetPos,
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherBackupHelper.java | 220 byte[] buffer = new byte[512]; in restoreEntity() 223 if (buffer.length < dataSize) { in restoreEntity() 224 buffer = new byte[dataSize]; in restoreEntity() 229 bytesRead = data.read(buffer, 0, dataSize); in restoreEntity() 239 restoreFavorite(key, buffer, dataSize, mKeys); in restoreEntity() 243 restoreScreen(key, buffer, dataSize, mKeys); in restoreEntity() 247 restoreIcon(key, buffer, dataSize, mKeys); in restoreEntity() 251 restoreWidget(key, buffer, dataSize, mKeys); in restoreEntity() 339 private void restoreFavorite(Key key, byte[] buffer, int dataSize, ArrayList<Key> keys) { in restoreFavorite() argument 341 if (DEBUG) Log.d(TAG, "read (" + buffer.length + "): " + in restoreFavorite() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
D | BinaryDictEncoderUtils.java | 207 static int writeUIntToBuffer(final byte[] buffer, int position, final int value, in writeUIntToBuffer() argument 211 buffer[position++] = (byte) ((value >> 24) & 0xFF); in writeUIntToBuffer() 214 buffer[position++] = (byte) ((value >> 16) & 0xFF); in writeUIntToBuffer() 217 buffer[position++] = (byte) ((value >> 8) & 0xFF); in writeUIntToBuffer() 220 buffer[position++] = (byte) (value & 0xFF); in writeUIntToBuffer() 561 /* package */ static int writeChildrenPosition(final byte[] buffer, int index, in writeChildrenPosition() argument 565 buffer[index++] = (byte)position; in writeChildrenPosition() 568 buffer[index++] = (byte)(0xFF & (position >> 8)); in writeChildrenPosition() 569 buffer[index++] = (byte)(0xFF & position); in writeChildrenPosition() 572 buffer[index++] = (byte)(0xFF & (position >> 16)); in writeChildrenPosition() [all …]
|
D | BinaryDictDecoderUtils.java | 73 public ByteBufferDictBuffer(final ByteBuffer buffer) { in ByteBufferDictBuffer() argument 74 mBuffer = buffer; in ByteBufferDictBuffer() 180 static int writeCharArray(final int[] codePoints, final byte[] buffer, int index) { in writeCharArray() argument 183 buffer[index++] = (byte)codePoint; in writeCharArray() 185 buffer[index++] = (byte)(0xFF & (codePoint >> 16)); in writeCharArray() 186 buffer[index++] = (byte)(0xFF & (codePoint >> 8)); in writeCharArray() 187 buffer[index++] = (byte)(0xFF & codePoint); in writeCharArray() 203 static int writeString(final byte[] buffer, final int origin, in writeString() argument 210 buffer[index++] = (byte)codePoint; in writeString() 212 buffer[index++] = (byte)(0xFF & (codePoint >> 16)); in writeString() [all …]
|
/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() 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 …]
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/ |
D | SimpleCharStream.java | 42 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/ |
D | SimpleCharStream.java | 42 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/ |
D | SimpleCharStream.java | 42 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/com/google/android/mail/common/base/ |
D | StringUtil.java | 2245 byte[] buffer = new byte[4096]; in stream2String() 2251 sw.write(new String(buffer, 0, read)); in stream2String() 2253 read = is.read(buffer, 0, buffer.length); in stream2String() 2516 StringBuilder buffer = new StringBuilder(); in toString() local 2517 buffer.append("["); in toString() 2519 buffer.append(iArray[i]); in toString() 2521 buffer.append(", "); in toString() 2524 buffer.append("]"); in toString() 2525 return buffer.toString(); in toString() 2536 StringBuilder buffer = new StringBuilder(); in toString() local [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/lib/base/ |
D | StringUtil.java | 2244 byte[] buffer = new byte[4096]; in stream2String() 2250 sw.write(new String(buffer, 0, read)); in stream2String() 2252 read = is.read(buffer, 0, buffer.length); in stream2String() 2515 StringBuilder buffer = new StringBuilder(); in toString() local 2516 buffer.append("["); in toString() 2518 buffer.append(iArray[i]); in toString() 2520 buffer.append(", "); in toString() 2523 buffer.append("]"); in toString() 2524 return buffer.toString(); in toString() 2535 StringBuilder buffer = new StringBuilder(); in toString() local [all …]
|
/packages/apps/Nfc/nxp/jni/ |
D | com_android_nfc_NativeNfcSecureElement.cpp | 234 InParam.buffer = ExternalRFDetected; in com_android_nfc_NativeNfcSecureElement_doOpenSecureElementConnection() 236 OutParam.buffer = Output_Buff; in com_android_nfc_NativeNfcSecureElement_doOpenSecureElementConnection() 261 reg_value = com_android_nfc_jni_ioctl_buffer->buffer[0]; in com_android_nfc_NativeNfcSecureElement_doOpenSecureElementConnection() 379 InParam.buffer = GpioGetValue; in com_android_nfc_NativeNfcSecureElement_doOpenSecureElementConnection() 381 OutParam.buffer = Output_Buff; in com_android_nfc_NativeNfcSecureElement_doOpenSecureElementConnection() 404 gpioValue = com_android_nfc_jni_ioctl_buffer->buffer[0]; in com_android_nfc_NativeNfcSecureElement_doOpenSecureElementConnection() 420 InParam.buffer = GpioSetValue; in com_android_nfc_NativeNfcSecureElement_doOpenSecureElementConnection() 422 OutParam.buffer = Output_Buff; in com_android_nfc_NativeNfcSecureElement_doOpenSecureElementConnection() 531 InParam.buffer = GpioGetValue; in com_android_nfc_NativeNfcSecureElement_doDisconnect() 533 OutParam.buffer = Output_Buff; in com_android_nfc_NativeNfcSecureElement_doDisconnect() [all …]
|
D | com_android_nfc_NativeP2pDevice.cpp | 54 …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 …]
|
D | com_android_nfc_NativeLlcpSocket.cpp | 187 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 …]
|
D | com_android_nfc_NativeNfcManager.cpp | 455 gInputParam.buffer = eeprom_base; in nfc_jni_initialize() 457 gOutputParam.buffer = resp; in nfc_jni_initialize() 652 uid.buffer = psRemoteDevInfo->RemoteDevInfo.Iso14443A_Info.Uid; in get_target_uid() 657 uid.buffer = psRemoteDevInfo->RemoteDevInfo.Iso14443B_Info.AtqB.AtqResInfo.Pupi; in get_target_uid() 661 uid.buffer = psRemoteDevInfo->RemoteDevInfo.Felica_Info.IDm; in get_target_uid() 665 uid.buffer = psRemoteDevInfo->RemoteDevInfo.Jewel_Info.Uid; in get_target_uid() 669 uid.buffer = psRemoteDevInfo->RemoteDevInfo.Iso15693_Info.Uid; in get_target_uid() 674 uid.buffer = psRemoteDevInfo->RemoteDevInfo.NfcIP_Info.NFCID; in get_target_uid() 678 uid.buffer = NULL; in get_target_uid() 1032 e->SetByteArrayRegion(tagUid.get(), 0, data.length, (jbyte *)data.buffer); in nfc_jni_Discovery_notification_callback() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/photomanager/ |
D | MemInfoReader.java | 30 private static boolean matchText(byte[] buffer, int index, String text) { in matchText() argument 32 if ((index + N) >= buffer.length) { in matchText() 36 if (buffer[index + i] != text.charAt(i)) { in matchText() 43 private static long extractMemValue(byte[] buffer, int index) { in extractMemValue() argument 44 while (index < buffer.length && buffer[index] != '\n') { in extractMemValue() 45 if (buffer[index] >= '0' && buffer[index] <= '9') { in extractMemValue() 48 while (index < buffer.length && buffer[index] >= '0' && buffer[index] <= '9') { in extractMemValue() 51 String str = new String(buffer, 0, start, index - start); in extractMemValue()
|
/packages/apps/Nfc/src/com/android/nfc/snep/ |
D | SnepMessenger.java | 45 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/ |
D | AudioMode.java | 37 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/ |
D | proximity_info.cpp | 34 jsize len, jint *buffer) { in safeGetOrFillZeroIntArrayRegion() argument 35 if (jArray && buffer) { in safeGetOrFillZeroIntArrayRegion() 36 env->GetIntArrayRegion(jArray, 0, len, buffer); in safeGetOrFillZeroIntArrayRegion() 37 } else if (buffer) { in safeGetOrFillZeroIntArrayRegion() 38 memset(buffer, 0, len * sizeof(buffer[0])); in safeGetOrFillZeroIntArrayRegion() 43 jsize len, jfloat *buffer) { in safeGetOrFillZeroFloatArrayRegion() argument 44 if (jArray && buffer) { in safeGetOrFillZeroFloatArrayRegion() 45 env->GetFloatArrayRegion(jArray, 0, len, buffer); in safeGetOrFillZeroFloatArrayRegion() 46 } else if (buffer) { in safeGetOrFillZeroFloatArrayRegion() 47 memset(buffer, 0, len * sizeof(buffer[0])); in safeGetOrFillZeroFloatArrayRegion()
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
D | HexDump.java | 73 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/ |
D | ImageCacheService.java | 79 ByteBuffer buffer = ByteBuffer.allocate(key.length + value.length); in putImageData() local 80 buffer.put(key); in putImageData() 81 buffer.put(value); in putImageData() 84 mCache.insert(cacheKey, buffer.array()); in putImageData() 99 private static boolean isSameKey(byte[] key, byte[] buffer) { in isSameKey() argument 101 if (buffer.length < n) { in isSameKey() 105 if (key[i] != buffer[i]) { in isSameKey() 138 public static final long crc64Long(byte[] buffer) { in crc64Long() argument 140 for (int k = 0, n = buffer.length; k < n; ++k) { in crc64Long() 141 crc = sCrcTable[(((int) crc) ^ buffer[k]) & 0xff] ^ (crc >> 8); in crc64Long()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/header/ |
D | header_read_write_utils.cpp | 108 BufferWithExtendableBuffer *const buffer, const FormatUtils::FORMAT_VERSION version, in writeDictionaryVersion() argument 110 if (!buffer->writeUintAndAdvancePosition(FormatUtils::MAGIC_NUMBER, HEADER_MAGIC_NUMBER_SIZE, in writeDictionaryVersion() 119 return buffer->writeUintAndAdvancePosition(3 /* data */, in writeDictionaryVersion() 127 BufferWithExtendableBuffer *const buffer, const DictionaryFlags flags, in writeDictionaryFlags() argument 129 return buffer->writeUintAndAdvancePosition(flags, HEADER_FLAG_SIZE, writingPos); in writeDictionaryFlags() 133 BufferWithExtendableBuffer *const buffer, const int size, int *const writingPos) { in writeDictionaryHeaderSize() argument 134 return buffer->writeUintAndAdvancePosition(size, HEADER_SIZE_FIELD_SIZE, writingPos); in writeDictionaryHeaderSize() 138 BufferWithExtendableBuffer *const buffer, const AttributeMap *const headerAttributes, in writeHeaderAttributes() argument 146 if (!buffer->writeCodePointsAndAdvancePosition(&(it->first.at(0)), it->first.size(), in writeHeaderAttributes() 151 if (!buffer->writeCodePointsAndAdvancePosition(&(it->second.at(0)), it->second.size(), in writeHeaderAttributes()
|