/external/qemu/android/utils/ |
D | jpeg-compress.c | 37 int header_size; member 59 dst->common.next_output_byte = dst->jpeg_buf + dst->header_size; in _on_init_destination() 60 dst->common.free_in_buffer = dst->size - dst->header_size; in _on_init_destination() 84 dst->common.next_output_byte = dst->jpeg_buf + accumulated + dst->header_size; in _on_empty_output_buffer() 85 dst->common.free_in_buffer = dst->size - accumulated - dst->header_size; in _on_empty_output_buffer() 103 jpeg_compressor_create(int header_size, int chunk_size) in jpeg_compressor_create() argument 118 dsc->header_size = header_size; in jpeg_compressor_create() 137 (uint8_t*)dsc->common.next_output_byte - dsc->jpeg_buf - dsc->header_size; in jpeg_compressor_get_jpeg_size() 149 return dsc->header_size; in jpeg_compressor_get_header_size()
|
/external/chromium_org/base/ |
D | pickle.cc | 186 Pickle::Pickle(int header_size) in Pickle() argument 188 header_size_(AlignInt(header_size, sizeof(uint32))), in Pickle() 191 DCHECK_GE(static_cast<size_t>(header_size), sizeof(Header)); in Pickle() 192 DCHECK_LE(header_size, kPayloadUnit); in Pickle() 307 const char* Pickle::FindNext(size_t header_size, in FindNext() argument 310 DCHECK_EQ(header_size, AlignInt(header_size, sizeof(uint32))); in FindNext() 311 DCHECK_LE(header_size, static_cast<size_t>(kPayloadUnit)); in FindNext() 318 if (length < header_size || length - header_size < hdr->payload_size) in FindNext() 320 return start + header_size + hdr->payload_size; in FindNext()
|
D | pickle_unittest.cc | 178 size_t header_size = sizeof(Pickle::Header); in TEST() local 179 scoped_ptr<char[]> buffer(new char[header_size - 1]); in TEST() 180 memset(buffer.get(), 0x1, header_size - 1); in TEST() 183 const char* end = start + header_size - 1; in TEST() 185 EXPECT_TRUE(NULL == Pickle::FindNext(header_size, start, end)); in TEST() 193 size_t header_size = sizeof(Pickle::Header); in TEST() local 194 size_t header_size2 = 2 * header_size; in TEST() 212 end = start + header_size; in TEST()
|
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
D | rtputils.cc | 132 size_t header_size = kMinRtpPacketLen + (header[0] & 0xF) * sizeof(uint32); in GetRtpHeaderLen() local 133 if (len < header_size) return false; in GetRtpHeaderLen() 136 if (len < header_size + sizeof(uint32)) return false; in GetRtpHeaderLen() 137 header_size += ((talk_base::GetBE16(header + header_size + 2) + 1) * in GetRtpHeaderLen() 139 if (len < header_size) return false; in GetRtpHeaderLen() 141 *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 …]
|
D | clatd.c | 343 ssize_t header_size = sizeof(struct tun_pi); in read_packet() local 345 if (readlen < header_size) { in read_packet() 362 packet = buf + header_size; in read_packet() 363 readlen -= header_size; in read_packet()
|
/external/chromium_org/chrome/common/ |
D | partial_circular_buffer.cc | 26 uint32 header_size = in PartialCircularBuffer() local 28 data_size_ = memory_buffer_size_ - header_size; in PartialCircularBuffer() 31 DCHECK_GE(memory_buffer_size_, header_size); in PartialCircularBuffer() 46 uint32 header_size = in PartialCircularBuffer() local 48 data_size_ = memory_buffer_size_ - header_size; in PartialCircularBuffer() 51 DCHECK_GE(memory_buffer_size_, header_size); in PartialCircularBuffer()
|
/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/chromium_org/chrome/browser/extensions/api/cast_channel/ |
D | cast_socket.cc | 92 header_read_buffer_->SetCapacity(MessageHeader::header_size()); in CastSocket() 563 CHECK_LE(num_bytes_to_read, MessageHeader::header_size()); in DoRead() 652 MessageHeader::header_size()); in ProcessHeader() 725 size_t header_size = base::checked_cast<size_t,uint32>( in PrependToString() local 726 MessageHeader::header_size()); in PrependToString() 728 static_cast<char*>(malloc(header_size))); in PrependToString() 729 memcpy(char_array.get(), &output, header_size); in PrependToString() 730 str->insert(0, char_array.get(), header_size); in PrependToString() 738 size_t header_size = base::checked_cast<size_t,uint32>( in ReadFromIOBuffer() local 739 MessageHeader::header_size()); in ReadFromIOBuffer() [all …]
|
/external/chromium_org/net/websockets/ |
D | websocket_frame.cc | 103 int header_size = GetWebSocketFrameHeaderSize(header); in WriteWebSocketFrameHeader() local 104 if (header_size > buffer_size) in WriteWebSocketFrameHeader() 152 DCHECK_EQ(header_size, buffer_index); in WriteWebSocketFrameHeader() 153 return header_size; in WriteWebSocketFrameHeader()
|
/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/chromium_org/media/formats/webm/ |
D | webm_parser.cc | 751 int header_size = result; in Parse() local 752 const uint8* element_data = cur + header_size; in Parse() 753 int element_data_size = cur_size - header_size; in Parse() 758 result = ParseListElement(header_size, element_id, element_size, in Parse() 761 DCHECK_LE(result, header_size + element_data_size); in Parse() 795 int WebMListParser::ParseListElement(int header_size, in ParseListElement() argument 830 int64 total_element_size = header_size + element_size; in ParseListElement() 837 list_state.bytes_parsed_ += header_size; in ParseListElement() 841 return header_size; in ParseListElement() 860 int result = header_size + bytes_parsed; in ParseListElement()
|
/external/chromium_org/chrome/browser/safe_browsing/ |
D | pe_image_reader_win_unittest.cc | 93 size_t header_size = headers_end - data_file_.data(); in TEST_P() local 97 EXPECT_TRUE(short_reader.Initialize(data_file_.data(), header_size)); in TEST_P() 100 for (size_t i = 0; i < header_size; ++i) { in TEST_P()
|
/external/llvm/lib/DebugInfo/ |
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/chromium_org/chrome/browser/ui/autofill/ |
D | generated_credit_card_bubble_controller.cc | 222 const size_t header_size = contents_text_.size(); in SetupAndShow() local 224 end_link.range = gfx::Range(header_size - learn_more.size(), header_size); in SetupAndShow()
|
/external/chromium_org/third_party/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/chromium_org/third_party/libjingle/source/talk/base/ |
D | ifaddrs-android.cc | 171 size_t header_size = static_cast<size_t>(amount_read); in getifaddrs() local 172 for ( ; NLMSG_OK(header, header_size); in getifaddrs() 173 header = NLMSG_NEXT(header, header_size)) { in getifaddrs()
|
/external/chromium_org/chrome/browser/chromeos/power/ |
D | peripheral_battery_observer.cc | 56 int header_size = strlen(kHIDBatteryPathPrefix); in ExtractBluetoothAddress() local 58 int key_len = path.size() - header_size - end_size; in ExtractBluetoothAddress() 61 std::string reverse_address = path.substr(header_size, key_len); in ExtractBluetoothAddress()
|
/external/chromium_org/chrome/browser/sessions/ |
D | session_backend.cc | 359 const int header_size = static_cast<int>(sizeof(FileHeader)); in ResetFile() local 361 base::File::FROM_BEGIN, header_size) != header_size || in ResetFile() 362 !current_session_file_->SetLength(header_size)) in ResetFile()
|
/external/qemu/distrib/ext4_utils/src/ |
D | ext4_utils.c | 222 u32 header_size = 0; in ext4_fill_in_sb() local 235 header_size = 1 + aux_info.bg_desc_blocks + info.bg_desc_reserve_blocks; in ext4_fill_in_sb() 238 aux_info.bg_desc[i].bg_block_bitmap = group_start_block + header_size; in ext4_fill_in_sb() 239 aux_info.bg_desc[i].bg_inode_bitmap = group_start_block + header_size + 1; in ext4_fill_in_sb() 240 aux_info.bg_desc[i].bg_inode_table = group_start_block + header_size + 2; in ext4_fill_in_sb()
|
/external/chromium_org/components/os_crypt/ |
D | ie7_password_win.cc | 22 DWORD header_size; // Size of the real Header: sizeof(Header) + member 73 information->pre_header.header_size + in GetUserPassFromData()
|
/external/qemu/block/ |
D | qcow2.c | 706 size_t header_size = sizeof(QCowHeader) + backing_file_len in qcow2_update_ext_header() local 709 if (header_size > s->cluster_size) { in qcow2_update_ext_header() 714 size_t ext_size = header_size - sizeof(QCowHeader); in qcow2_update_ext_header() 850 int fd, header_size, backing_filename_len, l1_size, i, shift, l2_bits; in qcow_create2() local 869 header_size = sizeof(header); in qcow_create2() 877 header_size += rounded_ext_bf_len; in qcow_create2() 879 header.backing_file_offset = cpu_to_be64(header_size); in qcow_create2() 882 header_size += backing_filename_len; in qcow_create2() 899 header_size = (header_size + 7) & ~7; in qcow_create2() 908 offset = align_offset(header_size, s->cluster_size); in qcow_create2() [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/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/chromium_org/third_party/mesa/src/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 …]
|