Home
last modified time | relevance | path

Searched refs:headerLen (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/test/
DNETEQTEST_DummyRTPpacket.cc175 int headerLen; in writeToFile() local
179 headerLen = 0; in writeToFile()
184 headerLen = _payloadPtr - _datagram; in writeToFile()
185 assert(headerLen >= 0); in writeToFile()
189 if (fwrite((unsigned short *) _datagram, 1, headerLen, fp) != in writeToFile()
190 static_cast<size_t>(headerLen)) in writeToFile()
195 return (headerLen + _kRDHeaderLen); // total number of bytes written in writeToFile()
/external/jhead/
Diptc.c60 char headerLen = 0; in show_IPTC() local
85headerLen = *pos++; // get header length and move data pointer to the next fie… in show_IPTC()
86 …pos += headerLen + 1 - (headerLen % 2); // move data pointer to the next field (Header is padded t… in show_IPTC()
/external/skia/src/pdf/
DSkPDFFont.cpp69 bool parsePFB(const uint8_t* src, size_t size, size_t* headerLen, in parsePFB() argument
74 return parsePFBSection(&srcPtr, &remaining, 1, headerLen) && in parsePFB()
88 bool parsePFA(const char* src, size_t size, size_t* headerLen, in parsePFA() argument
101 *headerLen = dataPos - src; in parsePFA()
121 *hexDataLen = trailerPos - src - *headerLen; in parsePFA()
122 *trailerLen = size - *headerLen - *hexDataLen; in parsePFA()
153 SkStream* handleType1Stream(SkStream* srcStream, size_t* headerLen, in handleType1Stream() argument
201 if (parsePFB(src, srcLen, headerLen, dataLen, trailerLen)) { in handleType1Stream()
203 new SkMemoryStream(*headerLen + *dataLen + *trailerLen); in handleType1Stream()
204 memcpy((char*)result->getAtPos(), src + 6, *headerLen); in handleType1Stream()
[all …]
/external/chromium_org/third_party/skia/src/pdf/
DSkPDFFont.cpp69 bool parsePFB(const uint8_t* src, size_t size, size_t* headerLen, in parsePFB() argument
74 return parsePFBSection(&srcPtr, &remaining, 1, headerLen) && in parsePFB()
88 bool parsePFA(const char* src, size_t size, size_t* headerLen, in parsePFA() argument
101 *headerLen = dataPos - src; in parsePFA()
121 *hexDataLen = trailerPos - src - *headerLen; in parsePFA()
122 *trailerLen = size - *headerLen - *hexDataLen; in parsePFA()
153 static SkData* handle_type1_stream(SkStream* srcStream, size_t* headerLen, in handle_type1_stream() argument
201 if (parsePFB(src, srcLen, headerLen, dataLen, trailerLen)) { in handle_type1_stream()
203 const size_t length = *headerLen + *dataLen + *trailerLen; in handle_type1_stream()
212 const uint8_t* const srcData = srcHeader + *headerLen + kPFBSectionHeaderLength; in handle_type1_stream()
[all …]
/external/bluetooth/bluedroid/embdrv/sbc/decoder/srce/
Dbitalloc.c86 OI_UINT headerLen = SBC_HEADER_LEN + frame->nrof_subbands * frame->nrof_channels/2; in OI_SBC_CalculateFrameAndHeaderlen() local
88 if (frame->mode == SBC_JOINT_STEREO) { headerLen++; } in OI_SBC_CalculateFrameAndHeaderlen()
90 *headerLen_ = headerLen; in OI_SBC_CalculateFrameAndHeaderlen()
/external/skia/tests/
DPDFPrimitivesTest.cpp91 static size_t headerLen = strlen(header); in CheckObjectOutput() local
99 indirectSize == directSize + headerLen + footerLen); in CheckObjectOutput()
104 REPORTER_ASSERT(reporter, stream_equals(buffer, 0, header, headerLen)); in CheckObjectOutput()
105 REPORTER_ASSERT(reporter, stream_equals(buffer, headerLen, expectedData, in CheckObjectOutput()
107 REPORTER_ASSERT(reporter, stream_equals(buffer, headerLen + directSize, in CheckObjectOutput()
/external/chromium_org/third_party/skia/tests/
DPDFPrimitivesTest.cpp92 static size_t headerLen = strlen(header); in CheckObjectOutput() local
100 indirectSize == directSize + headerLen + footerLen); in CheckObjectOutput()
105 REPORTER_ASSERT(reporter, stream_equals(buffer, 0, header, headerLen)); in CheckObjectOutput()
106 REPORTER_ASSERT(reporter, stream_equals(buffer, headerLen, expectedData, in CheckObjectOutput()
108 REPORTER_ASSERT(reporter, stream_equals(buffer, headerLen + directSize, in CheckObjectOutput()
/external/mesa3d/src/glx/
Dglxext.c1070 const GLvoid * header, GLint headerLen, in __glXSendLargeCommand() argument
1089 assert(headerLen <= maxSize); in __glXSendLargeCommand()
1090 __glXSendLargeChunk(ctx, 1, totalRequests, header, headerLen); in __glXSendLargeCommand()
/external/chromium_org/third_party/mesa/src/src/glx/
Dglxext.c1070 const GLvoid * header, GLint headerLen, in __glXSendLargeCommand() argument
1089 assert(headerLen <= maxSize); in __glXSendLargeCommand()
1090 __glXSendLargeChunk(ctx, 1, totalRequests, header, headerLen); in __glXSendLargeCommand()
/external/chromium_org/net/third_party/nss/ssl/
Dssl3con.c2391 unsigned int headerLen, in ssl3_ComputeRecordMAC() argument
2400 PRINT_BUF(95, (NULL, "frag hash1: header", header, headerLen)); in ssl3_ComputeRecordMAC()
2460 hashObj->update(write_mac_context, header, headerLen); in ssl3_ComputeRecordMAC()
2491 HMAC_Update(cx, header, headerLen); in ssl3_ComputeRecordMAC()
2505 rv |= PK11_DigestOp(mac_context, header, headerLen); in ssl3_ComputeRecordMAC()
2532 unsigned int headerLen, in ssl3_ComputeRecordMACConstantTime() argument
2567 params.ulHeaderLen = headerLen; in ssl3_ComputeRecordMACConstantTime()
2607 return ssl3_ComputeRecordMAC(spec, useServerMacKey, header, headerLen, in ssl3_ComputeRecordMACConstantTime()
2657 PRUint16 headerLen; in ssl3_CompressMACEncryptRecord() local
2664 headerLen = isDTLS ? DTLS_RECORD_HEADER_LENGTH : SSL3_RECORD_HEADER_LENGTH; in ssl3_CompressMACEncryptRecord()
[all …]