/external/libchrome/base/ |
D | pickle.cc | 224 Pickle::Pickle(int header_size) in Pickle() argument 226 header_size_(bits::Align(header_size, sizeof(uint32_t))), in Pickle() 229 DCHECK_GE(static_cast<size_t>(header_size), sizeof(Header)); in Pickle() 230 DCHECK_LE(header_size, kPayloadUnit); in Pickle() 347 const char* Pickle::FindNext(size_t header_size, in FindNext() argument 351 if (!PeekNext(header_size, start, end, &pickle_size)) in FindNext() 361 bool Pickle::PeekNext(size_t header_size, in PeekNext() argument 365 DCHECK_EQ(header_size, bits::Align(header_size, sizeof(uint32_t))); in PeekNext() 366 DCHECK_GE(header_size, sizeof(Header)); in PeekNext() 367 DCHECK_LE(header_size, static_cast<size_t>(kPayloadUnit)); in PeekNext() [all …]
|
D | pickle_unittest.cc | 337 size_t header_size = sizeof(Pickle::Header); in TEST() local 338 scoped_ptr<char[]> buffer(new char[header_size - 1]); in TEST() 339 memset(buffer.get(), 0x1, header_size - 1); in TEST() 342 const char* end = start + header_size - 1; in TEST() 344 EXPECT_TRUE(NULL == Pickle::FindNext(header_size, start, end)); in TEST() 352 size_t header_size = sizeof(Pickle::Header); in TEST() local 353 size_t header_size2 = 2 * header_size; in TEST() 371 end = start + header_size; in TEST()
|
D | pickle.h | 132 explicit Pickle(int header_size); 271 static const char* FindNext(size_t header_size, 282 static bool PeekNext(size_t header_size,
|
/external/webrtc/talk/media/base/ |
D | rtputils.cc | 132 size_t header_size = kMinRtpPacketLen + (header[0] & 0xF) * sizeof(uint32_t); in GetRtpHeaderLen() local 133 if (len < header_size) return false; in GetRtpHeaderLen() 136 if (len < header_size + sizeof(uint32_t)) in GetRtpHeaderLen() 138 header_size += in GetRtpHeaderLen() 139 ((rtc::GetBE16(header + header_size + 2) + 1) * sizeof(uint32_t)); in GetRtpHeaderLen() 140 if (len < header_size) return false; in GetRtpHeaderLen() 142 *value = header_size; in GetRtpHeaderLen()
|
/external/android-clat/ |
D | translate.c | 370 size_t payload_size, header_size; in tcp_packet() local 387 header_size = tcp->doff * 4; in tcp_packet() 388 payload = ((const uint8_t *) tcp) + header_size; in tcp_packet() 389 payload_size = len - header_size; in tcp_packet() 391 return tcp_translate(out, pos, tcp, header_size, old_sum, new_sum, payload, payload_size); in tcp_packet() 445 size_t header_size, uint32_t old_sum, uint32_t new_sum, in tcp_translate() argument 448 out[pos].iov_len = header_size; in tcp_translate() 450 if (header_size > MAX_TCP_HDR) { in tcp_translate() 454 header_size, MAX_TCP_HDR); in tcp_translate() 455 header_size = MAX_TCP_HDR; in tcp_translate() [all …]
|
/external/opencv/cv/src/ |
D | cvapprox.cpp | 60 int header_size, in icvApproximateChainTC89() argument 89 if( header_size < (int)sizeof(CvContour) ) in icvApproximateChainTC89() 93 header_size, sizeof( CvPoint ), storage, &writer ); in icvApproximateChainTC89() 518 icvApproxPolyDP_32s( CvSeq* src_contour, int header_size, in icvApproxPolyDP_32s() argument 534 cvStartWriteSeq( src_contour->flags, header_size, sizeof(pt), storage, &writer ); in icvApproxPolyDP_32s() 722 icvApproxPolyDP_32f( CvSeq* src_contour, int header_size, in icvApproxPolyDP_32f() argument 738 cvStartWriteSeq( src_contour->flags, header_size, sizeof(pt), storage, &writer ); in icvApproxPolyDP_32f() 926 cvApproxPoly( const void* array, int header_size, in cvApproxPoly() argument 962 if( header_size < 0 ) in cvApproxPoly() 966 if( header_size == 0 ) in cvApproxPoly() [all …]
|
/external/v8/src/compiler/ |
D | access-builder.cc | 351 int header_size = is_external ? 0 : FixedTypedArrayBase::kDataOffset; in ForTypedArrayElement() local 354 ElementAccess access = {taggedness, header_size, Type::Signed32(), in ForTypedArrayElement() 360 ElementAccess access = {taggedness, header_size, Type::Unsigned32(), in ForTypedArrayElement() 365 ElementAccess access = {taggedness, header_size, Type::Signed32(), in ForTypedArrayElement() 370 ElementAccess access = {taggedness, header_size, Type::Unsigned32(), in ForTypedArrayElement() 375 ElementAccess access = {taggedness, header_size, Type::Signed32(), in ForTypedArrayElement() 380 ElementAccess access = {taggedness, header_size, Type::Unsigned32(), in ForTypedArrayElement() 385 ElementAccess access = {taggedness, header_size, Type::Number(), in ForTypedArrayElement() 390 ElementAccess access = {taggedness, header_size, Type::Number(), in ForTypedArrayElement()
|
D | simplified-operator.cc | 120 lhs.header_size == rhs.header_size && in operator ==() 131 return base::hash_combine(access.base_is_tagged, access.header_size, in hash_value() 137 os << access.base_is_tagged << ", " << access.header_size << ", "; in operator <<()
|
/external/opencv3/modules/imgproc/src/ |
D | approx.cpp | 58 CvSeq* icvApproximateChainTC89( CvChain* chain, int header_size, in icvApproximateChainTC89() argument 75 CV_Assert( header_size >= (int)sizeof(CvContour) ); in icvApproximateChainTC89() 78 header_size, sizeof( CvPoint ), storage, &writer ); in icvApproximateChainTC89() 704 cvApproxPoly( const void* array, int header_size, in cvApproxPoly() argument 738 if( header_size < 0 ) in cvApproxPoly() 742 if( header_size == 0 ) in cvApproxPoly() 743 header_size = src_seq->header_size; in cvApproxPoly() 758 if( header_size == 0 ) in cvApproxPoly() 759 header_size = src_seq->header_size; in cvApproxPoly() 761 if( header_size < (int)sizeof(CvContour) ) in cvApproxPoly() [all …]
|
D | _geom.h | 56 CvSeq* icvApproximateChainTC89( CvChain* chain, int header_size, CvMemStorage* storage, int method …
|
/external/google-breakpad/src/processor/ |
D | map_serializers-inl.h | 58 size_t header_size = (1 + m.size()) * sizeof(uint32_t); in SizeOf() local 59 size += header_size; in SizeOf() 122 size_t header_size = (1 + m.map_.size()) * sizeof(uint32_t); in SizeOf() local 123 size += header_size; in SizeOf() 193 size_t header_size = addr_serializer_.SizeOf(m->base_) in SizeOf() local 196 size += header_size; in SizeOf()
|
/external/speex/libspeex/ |
D | speex_header.c | 103 header->header_size = sizeof(SpeexHeader); in speex_init_header() 130 ENDIAN_SWITCH(le_header->header_size); in speex_header_to_packet() 170 ENDIAN_SWITCH(le_header->header_size); in speex_packet_to_header()
|
/external/llvm/lib/DebugInfo/DWARF/ |
D | DWARFDebugArangeSet.cpp | 60 const uint32_t header_size = *offset_ptr - Offset; in extract() local 63 while (first_tuple_offset < header_size) in extract()
|
/external/google-breakpad/src/client/mac/handler/ |
D | dynamic_images.h | 112 size_t header_size, // includes load commands in DynamicImage() argument 118 : header_(header, header + header_size), in DynamicImage() 119 header_size_(header_size), in DynamicImage()
|
D | dynamic_images.cc | 470 size_t header_size = in ReadImageInfo() local 475 header_size, in ReadImageInfo() 491 header_size, in ReadImageInfo()
|
/external/webrtc/webrtc/base/ |
D | ifaddrs-android.cc | 158 size_t header_size = static_cast<size_t>(amount_read); in getifaddrs() local 159 for ( ; NLMSG_OK(header, header_size); in getifaddrs() 160 header = NLMSG_NEXT(header, header_size)) { in getifaddrs()
|
/external/opencv3/3rdparty/libwebp/mux/ |
D | muxinternal.c | 377 const size_t header_size = header->data_.size; in ChunkEmitSpecial() local 383 assert(header_size == (uint32_t)header_size); in ChunkEmitSpecial() 384 memcpy(dst + CHUNK_HEADER_SIZE, header->data_.bytes, header_size); in ChunkEmitSpecial() 385 if (header_size & 1) { in ChunkEmitSpecial() 386 dst[CHUNK_HEADER_SIZE + header_size] = 0; // Add padding. in ChunkEmitSpecial()
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
D | producer_fec_unittest.cc | 65 size_t header_size; in TEST_F() member 92 p.header_size); in TEST_F() 97 producer_->GetFecPackets(kRedPayloadType, 99, 100, p.header_size); in TEST_F()
|
/external/opencv3/modules/core/src/ |
D | datastructs.cpp | 371 cvCreateSeq( int seq_flags, size_t header_size, size_t elem_size, CvMemStorage* storage ) in cvCreateSeq() argument 377 if( header_size < sizeof( CvSeq ) || elem_size <= 0 ) in cvCreateSeq() 381 seq = (CvSeq*)cvMemStorageAlloc( storage, header_size ); in cvCreateSeq() 382 memset( seq, 0, header_size ); in cvCreateSeq() 384 seq->header_size = (int)header_size; in cvCreateSeq() 583 cvMakeSeqHeaderForArray( int seq_flags, int header_size, int elem_size, in cvMakeSeqHeaderForArray() argument 588 if( elem_size <= 0 || header_size < (int)sizeof( CvSeq ) || total < 0 ) in cvMakeSeqHeaderForArray() 594 memset( seq, 0, header_size ); in cvMakeSeqHeaderForArray() 596 seq->header_size = header_size; in cvMakeSeqHeaderForArray() 822 writer->header_size = sizeof( CvSeqWriter ); in cvStartAppendToSeq() [all …]
|
/external/opencv/cxcore/src/ |
D | cxdatastructs.cpp | 445 cvCreateSeq( int seq_flags, int header_size, int elem_size, CvMemStorage * storage ) in cvCreateSeq() argument 455 if( header_size < (int)sizeof( CvSeq ) || elem_size <= 0 ) in cvCreateSeq() 459 CV_CALL( seq = (CvSeq*)cvMemStorageAlloc( storage, header_size )); in cvCreateSeq() 460 memset( seq, 0, header_size ); in cvCreateSeq() 462 seq->header_size = header_size; in cvCreateSeq() 685 cvMakeSeqHeaderForArray( int seq_flags, int header_size, int elem_size, in cvMakeSeqHeaderForArray() argument 694 if( elem_size <= 0 || header_size < (int)sizeof( CvSeq ) || total < 0 ) in cvMakeSeqHeaderForArray() 700 memset( seq, 0, header_size ); in cvMakeSeqHeaderForArray() 702 seq->header_size = header_size; in cvMakeSeqHeaderForArray() 946 writer->header_size = sizeof( CvSeqWriter ); in cvStartAppendToSeq() [all …]
|
/external/v8/tools/ |
D | ll_prof.py | 318 def __init__(self, arch, header_size): argument 320 self.header_size = header_size 652 self.header_size = ctypes.sizeof(PERF_EVENT_HEADER_DESC.ctype) 675 offset + self.header_size) 677 filename = self.trace[offset + self.header_size + ctypes.sizeof(mmap_info): 684 offset + self.header_size) 686 filename = self.trace[offset + self.header_size + ctypes.sizeof(mmap_info): 693 offset + self.header_size) 697 offset += self.header_size + ctypes.sizeof(sample)
|
/external/mesa3d/src/glx/ |
D | indirect_vertex_array.c | 344 arrays->arrays[i].header_size); in emit_element_none() 346 dst += arrays->arrays[i].header_size; in emit_element_none() 560 const unsigned header_size = 16; in emit_DrawArrays_header_old() local 577 command_size = arrays->array_info_cache_size + header_size in emit_DrawArrays_header_old() 617 pc = ((GLubyte *) arrays->array_info_cache) - (header_size + 4); in emit_DrawArrays_header_old() 625 header_size + 4 + arrays->array_info_cache_size); in emit_DrawArrays_header_old() 641 pc += header_size; in emit_DrawArrays_header_old() 1099 (a)->header_size = HDR_SIZE; \ 1100 ((uint16_t *) (a)->header)[0] = __GLX_PAD((a)->header_size + (a)->element_size); \ 1404 unsigned header_size; in __indirect_glTexCoordPointer() local [all …]
|
/external/webrtc/webrtc/call/ |
D | rtc_event_log_unittest.cc | 229 size_t header_size, in VerifyRtpEvent() argument 241 ASSERT_EQ(header_size, rtp_packet.header().size()); in VerifyRtpEvent() 242 for (size_t i = 0; i < header_size; i++) { in VerifyRtpEvent() 340 size_t header_size = rtp_sender.BuildRTPheader( in GenerateRtpPacket() local 344 for (size_t i = header_size; i < packet_size; i++) { in GenerateRtpPacket() 348 return header_size; in GenerateRtpPacket() 442 size_t header_size = in LogSessionAndReadBack() local 445 rtp_header_sizes.push_back(header_size); in LogSessionAndReadBack()
|
/external/vboot_reference/futility/ |
D | misc.c | 84 uint32_t maxlen = gbb->header_size; in futil_valid_gbb_header() 96 if (gbb->header_size != GBB_HEADER_SIZE || gbb->header_size > len) in futil_valid_gbb_header()
|
/external/vboot_reference/firmware/lib/ |
D | vboot_common.c | 488 uint64_t header, uint64_t header_size) in VerifyVmlinuzInsideKBlob() argument 493 if (UINT64_MAX - end < header_size) in VerifyVmlinuzInsideKBlob() 495 if (end + header_size > kblob_size) in VerifyVmlinuzInsideKBlob()
|