Home
last modified time | relevance | path

Searched refs:header_len (Results 1 – 25 of 31) sorted by relevance

12

/external/tcpdump/
Dprint-juniper.c412 uint8_t header_len; member
467 return l2info.header_len; in juniper_ggsn_print()
469 p+=l2info.header_len; in juniper_ggsn_print()
491 return l2info.header_len; in juniper_ggsn_print()
514 return l2info.header_len; in juniper_es_print()
516 p+=l2info.header_len; in juniper_es_print()
535 return l2info.header_len; in juniper_es_print()
563 return l2info.header_len; in juniper_es_print()
583 return l2info.header_len; in juniper_monitor_print()
585 p+=l2info.header_len; in juniper_monitor_print()
[all …]
Dprint-zeromq.c81 uint64_t body_len_declared, body_len_captured, header_len; in zmtp1_print_frame() local
88 header_len = 1; /* length */ in zmtp1_print_frame()
91 return cp + header_len; /* skip to next frame */ in zmtp1_print_frame()
93 ND_TCHECK2(*cp, header_len + 1); /* length, flags */ in zmtp1_print_frame()
96 header_len = 1 + 8; /* 0xFF, length */ in zmtp1_print_frame()
98 ND_TCHECK2(*cp, header_len); /* 0xFF, length */ in zmtp1_print_frame()
101 return cp + header_len; /* skip to next frame */ in zmtp1_print_frame()
103 ND_TCHECK2(*cp, header_len + 1); /* 0xFF, length, flags */ in zmtp1_print_frame()
107 body_len_captured = ep - cp - header_len; in zmtp1_print_frame()
129 hex_and_ascii_print(ndo, "\n\t ", cp + header_len + 1, body_len_printed - 1); in zmtp1_print_frame()
[all …]
/external/boringssl/src/crypto/bytestring/
Dber.c44 size_t header_len; in cbs_find_ber() local
46 if (!CBS_get_any_ber_asn1_element(&in, &contents, &tag, &header_len)) { in cbs_find_ber()
49 if (CBS_len(&contents) == header_len && in cbs_find_ber()
50 header_len > 0 && in cbs_find_ber()
51 CBS_data(&contents)[header_len-1] == 0x80) { in cbs_find_ber()
56 if (!CBS_skip(&contents, header_len) || in cbs_find_ber()
78 static char is_eoc(size_t header_len, CBS *contents) { in is_eoc() argument
79 return header_len == 2 && CBS_len(contents) == 2 && in is_eoc()
98 size_t header_len; in cbs_convert_ber() local
101 if (!CBS_get_any_ber_asn1_element(in, &contents, &tag, &header_len)) { in cbs_convert_ber()
[all …]
Dcbs.c255 size_t header_len; in cbs_get_asn1() local
263 if (!CBS_get_any_asn1_element(cbs, out, &tag, &header_len) || in cbs_get_asn1()
268 if (skip_header && !CBS_skip(out, header_len)) { in cbs_get_asn1()
/external/libogg/src/
Dframing.c291 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/boringssl/src/crypto/bio/
Dbio.c544 size_t len, header_len; in BIO_read_asn1() local
548 header_len = kInitialHeaderLen; in BIO_read_asn1()
566 header_len = kInitialHeaderLen + num_bytes; in BIO_read_asn1()
588 if (len + header_len < len || in BIO_read_asn1()
589 len + header_len > max_len || in BIO_read_asn1()
593 len += header_len; in BIO_read_asn1()
600 memcpy(*out, header, header_len); in BIO_read_asn1()
601 if (BIO_read(bio, (*out) + header_len, len - header_len) != in BIO_read_asn1()
602 (int) (len - header_len)) { in BIO_read_asn1()
/external/boringssl/src/ssl/
Dssl_buffer.c38 static int setup_buffer(SSL3_BUFFER *buf, size_t header_len, size_t cap) { in setup_buffer() argument
52 buf->offset = (0 - header_len - (uintptr_t)buf->buf) & in setup_buffer()
86 size_t header_len = ssl_record_prefix_len(ssl); in setup_read_buffer() local
94 return setup_buffer(buf, header_len, cap); in setup_read_buffer()
232 size_t header_len = ssl_seal_prefix_len(ssl); in ssl_write_buffer_init() local
251 if (!setup_buffer(buf, header_len, cap)) { in ssl_write_buffer_init()
Ds3_both.c440 size_t header_len = ssl->init_msg - (uint8_t *)ssl->init_buf->data; in ssl3_hash_current_message() local
442 ssl->init_num + header_len); in ssl3_hash_current_message()
Dt1_lib.c2123 int ssl_add_clienthello_tlsext(SSL *ssl, CBB *out, size_t header_len) { in ssl_add_clienthello_tlsext() argument
2163 header_len += 2 + CBB_len(&extensions); in ssl_add_clienthello_tlsext()
2164 if (header_len > 0xff && header_len < 0x200) { in ssl_add_clienthello_tlsext()
2169 size_t padding_len = 0x200 - header_len; in ssl_add_clienthello_tlsext()
/external/dbus/dbus/
Ddbus-marshal-header.c675 int *header_len, in _dbus_header_have_message_untrusted() argument
739 *header_len = header_len_unsigned; in _dbus_header_have_message_untrusted()
973 int header_len, in _dbus_header_load() argument
991 _dbus_assert (header_len <= len); in _dbus_header_load()
994 if (!_dbus_string_copy_len (str, start, header_len, &header->data, 0)) in _dbus_header_load()
1003 leftover = len - header_len - body_len - start; in _dbus_header_load()
1021 padding_len = header_len - (FIRST_FIELD_OFFSET + fields_array_len); in _dbus_header_load()
1023 _dbus_assert (start + header_len == (int) _DBUS_ALIGN_VALUE (padding_start, 8)); in _dbus_header_load()
1024 _dbus_assert (start + header_len == padding_start + padding_len); in _dbus_header_load()
Ddbus-marshal-header.h107 int *header_len,
117 int header_len,
Ddbus-transport-socket.c529 int header_len, body_len; in do_writing() local
550 header_len = _dbus_string_get_length (header); in do_writing()
591 total_bytes_to_write = header_len + body_len; in do_writing()
611header_len - socket_transport->message_bytes_written, in do_writing()
623 if (socket_transport->message_bytes_written < header_len) in do_writing()
629 header_len - socket_transport->message_bytes_written, in do_writing()
638 (socket_transport->message_bytes_written - header_len), in do_writing()
640 (socket_transport->message_bytes_written - header_len)); in do_writing()
Ddbus-message.c4022 int header_len, in load_message() argument
4037 _dbus_verbose_bytes_of_string (&loader->data, 0, header_len /* + body_len */); in load_message()
4042 _dbus_assert ((header_len + body_len) <= _dbus_string_get_length (&loader->data)); in load_message()
4049 header_len, in load_message()
4085 header_len, in load_message()
4162 (header_len + body_len)); in load_message()
4164 if (!_dbus_string_copy_len (&loader->data, header_len, body_len, &message->body, 0)) in load_message()
4171 _dbus_string_delete (&loader->data, 0, header_len + body_len); in load_message()
4176 _dbus_assert (_dbus_string_get_length (&message->header.data) == header_len); in load_message()
4226 int byte_order, fields_array_len, header_len, body_len; in _dbus_message_loader_queue_messages() local
[all …]
/external/libvorbis/examples/
Dencoder_example.c174 fwrite(og.header,1,og.header_len,stdout); in main()
227 fwrite(og.header,1,og.header_len,stdout); in main()
/external/webrtc/talk/media/base/
Drtpdump.cc398 size_t header_len; in FilterPacket() local
399 if (GetRtpHeaderLen(data, data_len, &header_len)) { in FilterPacket()
400 filtered_len = header_len; in FilterPacket()
Dtestutils.cc217 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/libvorbis/test/
Dwrite_read.c82 fwrite (og.header,1,og.header_len,file); in write_vorbis_data_or_die()
112 fwrite (og.header,1,og.header_len,file); in write_vorbis_data_or_die()
/external/webrtc/webrtc/base/
Dhttpbase.cc33 const size_t header_len = strlen(header_str); in MatchHeader() local
34 return (len == header_len) && (_strnicmp(str, header_str, header_len) == 0); in MatchHeader()
/external/elfutils/libdw/
Ddwarf_getmacros.c255 .header_len = readp - startp, in get_table_for_offset()
325 offset = table->header_len; in read_macros()
DlibdwP.h373 Dwarf_Half header_len; member
/external/tremolo/Tremolo/
Dogg.h165 int header_len; member
Dframing.c748 og->header_len=oy->headerbytes; in ogg_sync_pageseek()
1164 dup->header_len=orig->header_len; in ogg_page_dup()
/external/libogg/include/ogg/
Dogg.h45 long header_len; member
/external/kernel-headers/original/uapi/linux/wimax/
Di2400m.h136 __le32 header_len; member
/external/fio/
Dverify.c30 unsigned int header_len);
963 unsigned int header_len) in populate_hdr() argument
972 hdr->len = header_len; in populate_hdr()
976 data_len = header_len - hdr_size(hdr); in populate_hdr()

12