/external/tcpdump/ |
D | print-juniper.c | 415 uint8_t header_len; member 470 return l2info.header_len; in juniper_ggsn_print() 472 p+=l2info.header_len; in juniper_ggsn_print() 495 return l2info.header_len; in juniper_ggsn_print() 499 return l2info.header_len; in juniper_ggsn_print() 522 return l2info.header_len; in juniper_es_print() 524 p+=l2info.header_len; in juniper_es_print() 544 return l2info.header_len; in juniper_es_print() 572 return l2info.header_len; in juniper_es_print() 576 return l2info.header_len; in juniper_es_print() [all …]
|
D | print-zeromq.c | 79 uint64_t body_len_declared, body_len_captured, header_len; in zmtp1_print_frame() local 86 header_len = 1; /* length */ in zmtp1_print_frame() 90 header_len = 1 + 8; /* 0xFF, length */ in zmtp1_print_frame() 92 ND_TCHECK2(*cp, header_len); /* 0xFF, length */ in zmtp1_print_frame() 97 return cp + header_len; /* skip to the next frame */ in zmtp1_print_frame() 98 ND_TCHECK2(*cp, header_len + 1); /* ..., flags */ in zmtp1_print_frame() 99 flags = cp[header_len]; in zmtp1_print_frame() 101 body_len_captured = ep - cp - header_len; in zmtp1_print_frame() 123 hex_and_ascii_print(ndo, "\n\t ", cp + header_len + 1, body_len_printed - 1); in zmtp1_print_frame() 134 cp += header_len; in zmtp1_print_frame()
|
/external/boringssl/src/crypto/bytestring/ |
D | ber.c | 69 size_t header_len; in cbs_find_ber() local 71 if (!CBS_get_any_ber_asn1_element(&in, &contents, &tag, &header_len)) { in cbs_find_ber() 74 if (CBS_len(&contents) == header_len && in cbs_find_ber() 75 header_len > 0 && in cbs_find_ber() 76 CBS_data(&contents)[header_len-1] == 0x80) { in cbs_find_ber() 87 if (!CBS_skip(&contents, header_len) || in cbs_find_ber() 99 static char is_eoc(size_t header_len, CBS *contents) { in is_eoc() argument 100 return header_len == 2 && CBS_len(contents) == 2 && in is_eoc() 122 size_t header_len; in cbs_convert_ber() local 125 if (!CBS_get_any_ber_asn1_element(in, &contents, &tag, &header_len)) { in cbs_convert_ber() [all …]
|
D | cbs.c | 265 size_t header_len = CBS_len(cbs) - CBS_len(&header); in cbs_get_any_asn1_element() local 272 len = ((size_t) length_byte) + header_len; in cbs_get_any_asn1_element() 274 *out_header_len = header_len; in cbs_get_any_asn1_element() 286 *out_header_len = header_len; in cbs_get_any_asn1_element() 288 return CBS_get_bytes(cbs, out, header_len); in cbs_get_any_asn1_element() 311 if (len + header_len + num_bytes < len) { in cbs_get_any_asn1_element() 315 len += header_len + num_bytes; in cbs_get_any_asn1_element() 317 *out_header_len = header_len + num_bytes; in cbs_get_any_asn1_element() 325 size_t header_len; in CBS_get_any_asn1() local 326 if (!CBS_get_any_asn1_element(cbs, out, out_tag, &header_len)) { in CBS_get_any_asn1() [all …]
|
/external/libogg/src/ |
D | framing.c | 291 for(i=0;i<og->header_len;i++) in ogg_page_checksum_set() 484 og->header_len=os->header_fill=vals+27; in ogg_stream_flush_i() 673 log.header_len=oy->headerbytes; in ogg_sync_pageseek() 697 og->header_len=oy->headerbytes; in ogg_sync_pageseek() 1060 for(j=0;j<og->header_len;j++){ in check_page() 1069 if(og->header_len!=header[26]+27){ in check_page() 1071 og->header_len,header[26]+27); in check_page() 1096 for(j=27;j<og->header_len;j++) in print_header() 1102 unsigned char *temp=_ogg_malloc(og->header_len); in copy_page() 1103 memcpy(temp,og->header,og->header_len); in copy_page() [all …]
|
/external/syslinux/core/fs/pxe/ |
D | http.c | 50 static size_t cookie_len, header_len; variable 139 header_len = cookie_len + 6*FILENAME_MAX + 256; in http_bake_cookies() 140 header_buf = malloc(header_len); in http_bake_cookies() 142 header_len = 0; in http_bake_cookies() 208 header_len - 5); in http_open() 209 if (header_bytes >= header_len) in http_open() 212 header_len - header_bytes, in http_open() 220 if (header_bytes >= header_len) in http_open()
|
/external/flac/libFLAC/ |
D | ogg_helper.c | 81 page->header_len = 0; in simple_ogg_page__init() 103 FLAC__ASSERT(page->header_len == 0); in simple_ogg_page__get_at() 127 page->header_len = OGG_HEADER_FIXED_PORTION_LEN + page->header[26]; in simple_ogg_page__get_at() 184 FLAC__ASSERT(page->header_len != 0); in simple_ogg_page__set_at() 200 …if(write_callback((FLAC__StreamEncoder*)encoder, page->header, page->header_len, 0, 0, client_data… in simple_ogg_page__set_at()
|
D | ogg_encoder_aspect.c | 198 …if(write_callback(encoder, aspect->page.header, aspect->page.header_len, 0, current_frame, client_… in FLAC__ogg_encoder_aspect_write_callback_wrapper() 206 …if(write_callback(encoder, aspect->page.header, aspect->page.header_len, 0, current_frame, client_… in FLAC__ogg_encoder_aspect_write_callback_wrapper()
|
/external/boringssl/src/crypto/bio/ |
D | bio.c | 487 size_t len, header_len; in BIO_read_asn1() local 491 header_len = kInitialHeaderLen; in BIO_read_asn1() 509 header_len = kInitialHeaderLen + num_bytes; in BIO_read_asn1() 531 if (len + header_len < len || in BIO_read_asn1() 532 len + header_len > max_len || in BIO_read_asn1() 536 len += header_len; in BIO_read_asn1() 543 OPENSSL_memcpy(*out, header, header_len); in BIO_read_asn1() 544 if (BIO_read(bio, (*out) + header_len, len - header_len) != in BIO_read_asn1() 545 (int) (len - header_len)) { in BIO_read_asn1()
|
/external/python/cpython3/PC/ |
D | launcher.c | 1132 int header_len; in maybe_handle_shebang() local 1182 header_len = (int) (p - start); in maybe_handle_shebang() 1187 start, header_len, shebang_line, in maybe_handle_shebang() 1191 if (header_len % 2 != 0) { in maybe_handle_shebang() 1193 of bytes: %d\n", header_len); in maybe_handle_shebang() 1197 for (i = header_len; i > 0; i -= 2) { in maybe_handle_shebang() 1201 nchars = header_len / sizeof(wchar_t); in maybe_handle_shebang() 1205 if ((header_len % 2) != 0) { in maybe_handle_shebang() 1207 header_len); in maybe_handle_shebang() 1212 memcpy(shebang_line, start, header_len); in maybe_handle_shebang() [all …]
|
/external/libxaac/decoder/ |
D | ixheaacd_headerdecode.c | 484 WORD32 header_len, WORD32 *bytes_consumed, in ixheaacd_ga_hdr_dec() argument 741 tmp = (header_len * 8) - it_bit_buff->cnt_bits; in ixheaacd_ga_hdr_dec() 789 *bytes_consumed = header_len; in ixheaacd_ga_hdr_dec() 945 WORD32 header_len; in ixheaacd_aac_headerdecode() local 965 header_len = aac_state_struct->ui_in_bytes; in ixheaacd_aac_headerdecode() 968 (WORD16)header_len); in ixheaacd_aac_headerdecode() 969 handle_bit_buff->cnt_bits += (header_len << 3); in ixheaacd_aac_headerdecode() 972 return ixheaacd_ga_hdr_dec(aac_state_struct, header_len, bytes_consumed, in ixheaacd_aac_headerdecode() 993 &it_bit_buff, (UWORD8 *)buffer, (WORD16)(header_len - bytes_taken)); in ixheaacd_aac_headerdecode() 994 handle_bit_buff->cnt_bits += (8 * (header_len - bytes_taken)); in ixheaacd_aac_headerdecode() [all …]
|
D | ixheaacd_headerdecode.h | 47 WORD32 header_len, WORD32 *bytes_consumed,
|
/external/syslinux/gpxe/src/net/udp/ |
D | slam.c | 136 size_t header_len; member 419 if ( ( slam->header_len <= iob_len ( iobuf ) ) && in slam_pull_header() 420 ( memcmp ( slam->header, iobuf->data, slam->header_len ) == 0 )){ in slam_pull_header() 421 iob_pull ( iobuf, slam->header_len ); in slam_pull_header() 440 slam->header_len = ( iobuf->data - header ); in slam_pull_header() 441 assert ( slam->header_len <= sizeof ( slam->header ) ); in slam_pull_header() 442 memcpy ( slam->header, header, slam->header_len ); in slam_pull_header() 759 slam->header_len = 1; in slam_open()
|
/external/libusb/libusb/ |
D | core.c | 2361 int global_debug, header_len, text_len; in usbi_log_v() local 2423 header_len = snprintf(buf, sizeof(buf), in usbi_log_v() 2427 header_len = snprintf(buf, sizeof(buf), in usbi_log_v() 2431 if (header_len < 0 || header_len >= (int)sizeof(buf)) { in usbi_log_v() 2434 header_len = 0; in usbi_log_v() 2437 buf[header_len] = '\0'; in usbi_log_v() 2438 text_len = vsnprintf(buf + header_len, sizeof(buf) - header_len, in usbi_log_v() 2440 if (text_len < 0 || text_len + header_len >= (int)sizeof(buf)) { in usbi_log_v() 2443 text_len = sizeof(buf) - header_len; in usbi_log_v() 2445 if (header_len + text_len + sizeof(USBI_LOG_LINE_END) >= sizeof(buf)) { in usbi_log_v() [all …]
|
/external/puffin/src/ |
D | utils.cc | 116 uint64_t header_len = 2; in LocateDeflatesInZlib() local 118 header_len += 4; // 4 bytes for the preset dictionary. in LocateDeflatesInZlib() 122 deflate_blocks->emplace_back(header_len, data.size() - header_len - 4); in LocateDeflatesInZlib()
|
/external/webrtc/talk/media/base/ |
D | rtpdump.cc | 398 size_t header_len; in FilterPacket() local 399 if (GetRtpHeaderLen(data, data_len, &header_len)) { in FilterPacket() 400 filtered_len = header_len; in FilterPacket()
|
D | testutils.cc | 217 size_t header_len = 0; in VerifyPacket() local 218 dump->GetRtpHeaderLen(&header_len); in VerifyPacket() 219 return header_len == dump->data.size() && in VerifyPacket()
|
/external/boringssl/src/ssl/ |
D | ssl_buffer.cc | 47 bool SSLBuffer::EnsureCap(size_t header_len, size_t new_cap) { in EnsureCap() argument 70 (0 - header_len - (uintptr_t)new_buf) & (SSL3_ALIGN_PAYLOAD - 1); in EnsureCap()
|
D | tls_record.cc | 166 size_t header_len; in ssl_record_prefix_len() local 168 header_len = DTLS1_RT_HEADER_LENGTH; in ssl_record_prefix_len() 170 header_len = SSL3_RT_HEADER_LENGTH; in ssl_record_prefix_len() 173 return header_len + ssl->s3->aead_read_ctx->ExplicitNonceLen(); in ssl_record_prefix_len()
|
/external/python/cpython3/Modules/ |
D | faulthandler.c | 69 size_t header_len; member 564 _Py_write_noraise(thread.fd, thread.header, (int)thread.header_len); in faulthandler_thread() 637 size_t header_len; in faulthandler_dump_traceback_later() local 665 header_len = strlen(header); in faulthandler_dump_traceback_later() 678 thread.header_len = header_len; in faulthandler_dump_traceback_later()
|
/external/scapy/scapy/layers/ |
D | rtp.py | 33 … FieldListField('header', [], IntField("hdr", 0), count_from=lambda pkt: pkt.header_len) ]
|
/external/syslinux/gpxe/src/drivers/infiniband/ |
D | linda.c | 1181 unsigned int header_len; in linda_complete_recv() local 1205 header_len = ( LINDA_RECV_HEADER_SIZE - hdrqoffset - in linda_complete_recv() 1207 padded_payload_len = ( pktlen - header_len - 4 /* ICRC */ ); in linda_complete_recv() 1211 iob_populate ( &headers, ( ( ( void * ) rcvhdrflags ) - header_len ), in linda_complete_recv() 1212 header_len, header_len ); in linda_complete_recv() 1220 pktlen, header_len, padded_payload_len, in linda_complete_recv() 1231 pktlen, header_len, padded_payload_len ); in linda_complete_recv() 1234 ( header_len + sizeof ( *rcvhdrflags ) ) ); in linda_complete_recv()
|
/external/fio/ |
D | verify.c | 32 unsigned int header_len); 35 unsigned int header_len, uint64_t rand_seed); 38 unsigned int header_len, uint64_t rand_seed); 1159 unsigned int header_len, uint64_t rand_seed) in __fill_hdr() argument 1165 hdr->len = header_len; in __fill_hdr() 1178 unsigned int header_len, uint64_t rand_seed) in fill_hdr() argument 1182 __fill_hdr(td, io_u, hdr, header_num, header_len, rand_seed); in fill_hdr() 1187 unsigned int header_len) in populate_hdr() argument 1194 fill_hdr(td, io_u, hdr, header_num, header_len, io_u->rand_seed); in populate_hdr() 1196 data_len = header_len - hdr_size(td, hdr); in populate_hdr()
|
/external/ltp/lib/ |
D | tst_timer_test.c | 78 static unsigned int header_len(long long max_sample) in header_len() function 95 unsigned int line_header_len = header_len(max_sample); in frequency_plot()
|
/external/syslinux/com32/lib/sys/vesa/ |
D | background.c | 314 static int read_lss16_file(FILE * fp, const void *header, int header_len) in read_lss16_file() argument 332 if (header_len != 8) in read_lss16_file()
|