Home
last modified time | relevance | path

Searched refs:headerLength (Results 1 – 25 of 46) sorted by relevance

12

/external/webrtc/modules/audio_coding/neteq/tools/
Dpacket.cc122 (header_.headerLength == packet_length_bytes_ && in ParseHeader()
127 RTC_DCHECK_LE(header_.headerLength, packet_length_bytes_); in ParseHeader()
128 payload_ = &payload_memory_[header_.headerLength]; in ParseHeader()
129 RTC_DCHECK_GE(packet_length_bytes_, header_.headerLength); in ParseHeader()
130 payload_length_bytes_ = packet_length_bytes_ - header_.headerLength; in ParseHeader()
132 RTC_DCHECK_GE(virtual_packet_length_bytes_, header_.headerLength); in ParseHeader()
134 virtual_packet_length_bytes_ - header_.headerLength; in ParseHeader()
/external/icu/icu4c/source/tools/toolutil/
Dpackage.cpp113 int32_t &infoLength, int32_t &headerLength, in getDataInfo() argument
140 headerLength=pHeader->dataHeader.headerSize; in getDataInfo()
143 headerLength=readSwapUInt16(pHeader->dataHeader.headerSize); in getDataInfo()
147 if( headerLength<(int32_t)sizeof(DataHeader) || in getDataInfo()
149 headerLength<(int32_t)(sizeof(pHeader->dataHeader)+infoLength) || in getDataInfo()
150 (length>=0 && length<headerLength) in getDataInfo()
163 int32_t infoLength, headerLength; in getTypeEnumForInputData() local
166 pInfo=getDataInfo(data, length, infoLength, headerLength, pErrorCode); in getTypeEnumForInputData()
410 headerLength=(int32_t)(4+sizeof(dataInfo)); in Package()
411 if(headerLength&0xf) { in Package()
[all …]
Dpkg_imp.h35 int32_t &infoLength, int32_t &headerLength,
/external/webrtc/audio/voip/
Daudio_ingress.cc148 if (packet_length < header.headerLength || in ReceivedRTPPacket()
149 (packet_length - header.headerLength) < header.paddingLength) { in ReceivedRTPPacket()
151 << header.headerLength << ") padding(" in ReceivedRTPPacket()
156 const uint8_t* payload = rtp_packet_received.data() + header.headerLength; in ReceivedRTPPacket()
157 size_t payload_length = packet_length - header.headerLength; in ReceivedRTPPacket()
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationFastLatinBuilder.java78 headerLength = 0; in CollationFastLatinBuilder()
121 char[] resultArray = new char[headerLength]; in getHeader()
122 result.getChars(0, headerLength, resultArray, 0); in getHeader()
127 char[] resultArray = new char[result.length() - headerLength]; in getTable()
128 result.getChars(headerLength, result.length(), resultArray, 0); in getTable()
133 headerLength = 1 + NUM_SPECIAL_GROUPS; in loadGroups()
134 int r0 = (CollationFastLatin.VERSION << 8) | headerLength; in loadGroups()
191 result.setLength(headerLength); in resetCEs()
562 int indexBase = headerLength + CollationFastLatin.NUM_FAST_CHARS; in encodeContractions()
569 result.setCharAt(headerLength + i, (char) CollationFastLatin.BAIL_OUT); in encodeContractions()
[all …]
DCollationDataReader.java385 int headerLength = header0 & 0xff; in read() local
386 data.fastLatinTableHeader = new char[headerLength]; in read()
388 for(int i = 1; i < headerLength; ++i) { in read()
391 int tableLength = length / 2 - headerLength; in read()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationFastLatinBuilder.java77 headerLength = 0; in CollationFastLatinBuilder()
120 char[] resultArray = new char[headerLength]; in getHeader()
121 result.getChars(0, headerLength, resultArray, 0); in getHeader()
126 char[] resultArray = new char[result.length() - headerLength]; in getTable()
127 result.getChars(headerLength, result.length(), resultArray, 0); in getTable()
132 headerLength = 1 + NUM_SPECIAL_GROUPS; in loadGroups()
133 int r0 = (CollationFastLatin.VERSION << 8) | headerLength; in loadGroups()
190 result.setLength(headerLength); in resetCEs()
561 int indexBase = headerLength + CollationFastLatin.NUM_FAST_CHARS; in encodeContractions()
568 result.setCharAt(headerLength + i, (char) CollationFastLatin.BAIL_OUT); in encodeContractions()
[all …]
DCollationDataReader.java384 int headerLength = header0 & 0xff; in read() local
385 data.fastLatinTableHeader = new char[headerLength]; in read()
387 for(int i = 1; i < headerLength; ++i) { in read()
390 int tableLength = length / 2 - headerLength; in read()
/external/webrtc/modules/rtp_rtcp/source/
Drtp_utility.cc155 header->headerLength = 4 + (len << 2); in ParseRtcp()
216 header->headerLength = 12 + CSRCocts; in Parse()
262 header->headerLength += 4; in Parse()
281 header->headerLength += XLen; in Parse()
283 if (header->headerLength > static_cast<size_t>(length)) in Parse()
288 if (header->headerLength != static_cast<size_t>(length)) { in Parse()
298 if (header->headerLength + header->paddingLength > in Parse()
Drtp_utility_unittest.cc48 EXPECT_EQ(sizeof(kPacket), header.headerLength); in TEST()
100 EXPECT_THAT(sizeof(kPacket) - kPayloadSize, header.headerLength); in TEST()
125 EXPECT_EQ(sizeof(kPacket), header.headerLength); in TEST()
149 EXPECT_EQ(sizeof(kPacket), header.headerLength); in TEST()
280 header.headerLength); in TEST()
Dfec_test_helper.cc129 packet->header.headerLength = kRtpHeaderSize; in NextPacket()
189 const size_t kHeaderLength = packet.header.headerLength; in BuildMediaRedPacket()
Drtp_packet_received.cc48 header->headerLength = headers_size(); in GetHeader()
/external/icu/icu4c/source/i18n/
Dcollationfastlatinbuilder.cpp95 headerLength(0) { in CollationFastLatinBuilder()
141 headerLength = 1 + NUM_SPECIAL_GROUPS; in loadGroups()
142 uint32_t r0 = (CollationFastLatin::VERSION << 8) | headerLength; in loadGroups()
201 result.truncate(headerLength); in resetCEs()
598 int32_t indexBase = headerLength + CollationFastLatin::NUM_FAST_CHARS; in encodeContractions()
605 result.setCharAt(headerLength + i, CollationFastLatin::BAIL_OUT); in encodeContractions()
629 result.setCharAt(headerLength + i, in encodeContractions()
644 for(; i < headerLength; ++i) { in encodeContractions()
650 UChar32 c = i - headerLength; in encodeContractions()
Dcollationdatareader.cpp65 int32_t headerLength = header->dataHeader.headerSize; in read() local
66 inBytes += headerLength; in read()
68 inLength -= headerLength; in read()
Dcollationfastlatinbuilder.h94 int32_t headerLength; variable
/external/sonivox/arm-wt-22k/lib_src/
Deas_xmf.c607 EAS_I32 headerLength; in XMF_ReadNode() local
644 …XMF_ReadVLQ(hwInstData, pXMFData->fileHandle, &remainingInlineBytes, &headerLength)) != EAS_SUCCES… in XMF_ReadNode()
646 if (headerLength < 0 || headerLength > *pLength) in XMF_ReadNode()
660 if (offset - nodeOffset > headerLength) in XMF_ReadNode()
664 …if ((result = EAS_HWFileSeek(hwInstData, pXMFData->fileHandle, nodeOffset + headerLength)) != EAS_… in XMF_ReadNode()
666 remainingInlineBytes = endOffset - (nodeOffset + headerLength); in XMF_ReadNode()
/external/webrtc/audio/voip/test/
Daudio_egress_unittest.cc146 size_t payload_length = packet_length - header.headerLength; in TEST_F()
148 const uint8_t* payload = rtp.data() + header.headerLength; in TEST_F()
182 size_t payload_length = packet_length - header.headerLength; in TEST_F()
184 const uint8_t* payload = rtp.data() + header.headerLength; in TEST_F()
/external/webrtc/api/
Drtp_headers.cc46 headerLength(0), in RTPHeader()
Drtp_headers.h175 size_t headerLength; member
/external/libxaac/test/
Dixheaacd_fileifc.h37 unsigned int headerLength; member
/external/angle/third_party/vulkan-deps/glslang/src/glslang/Public/
DShaderLang.h582 …t std::string& headerName, const char* const headerData, const size_t headerLength, void* userData… in IncludeResult()
583 … headerName(headerName), headerData(headerData), headerLength(headerLength), userData(userData) { } in IncludeResult()
595 const size_t headerLength; member
/external/deqp-deps/glslang/glslang/Public/
DShaderLang.h561 …t std::string& headerName, const char* const headerData, const size_t headerLength, void* userData… in IncludeResult()
562 … headerName(headerName), headerData(headerData), headerLength(headerLength), userData(userData) { } in IncludeResult()
574 const size_t headerLength; member
/external/webrtc/logging/rtc_event_log/
Dlogged_events.cc23 rtp.header.headerLength)), in LoggedPacketInfo()
/external/icu/icu4c/source/tools/makeconv/
Dgenmbcs.cpp1429 uint32_t headerLength; in MBCSWrite() local
1509 headerLength=10; /* include fullStage2Length */ in MBCSWrite()
1511 headerLength=MBCS_HEADER_V5_MIN_LENGTH; /* 9 */ in MBCSWrite()
1515 headerLength=MBCS_HEADER_V4_LENGTH; /* 8 */ in MBCSWrite()
1520 header.options|=(uint32_t)headerLength; in MBCSWrite()
1526 headerLength*4+ in MBCSWrite()
1555 udata_writeBlock(pData, &header, headerLength*4); in MBCSWrite()
/external/icu/libicu/cts_headers/
Dcollationfastlatinbuilder.h94 int32_t headerLength; variable

12