/dports/net/chrony/chrony-4.2/test/unit/ |
H A D | ntp_ext.c | 46 body_length = random() % (sizeof (body) - 4 + 1) / 4 * 4; in test_unit() 51 assert(body_length + start <= sizeof (packet.extensions)); in test_unit() 53 UTI_GetRandomBytes(body, body_length); in test_unit() 72 TEST_CHECK(length == body_length + 4); in test_unit() 89 info.length = sizeof (packet) - body_length; in test_unit() 94 if (body_length < 12) { in test_unit() 127 TEST_CHECK(length == body_length + 4); in test_unit() 130 TEST_CHECK(body_length2 == body_length); in test_unit() 136 if (body_length < 24) { in test_unit() 153 TEST_CHECK(length == body_length + 4); in test_unit() [all …]
|
/dports/net/chrony-lite/chrony-4.2/test/unit/ |
H A D | ntp_ext.c | 46 body_length = random() % (sizeof (body) - 4 + 1) / 4 * 4; in test_unit() 51 assert(body_length + start <= sizeof (packet.extensions)); in test_unit() 53 UTI_GetRandomBytes(body, body_length); in test_unit() 72 TEST_CHECK(length == body_length + 4); in test_unit() 89 info.length = sizeof (packet) - body_length; in test_unit() 94 if (body_length < 12) { in test_unit() 127 TEST_CHECK(length == body_length + 4); in test_unit() 130 TEST_CHECK(body_length2 == body_length); in test_unit() 136 if (body_length < 24) { in test_unit() 153 TEST_CHECK(length == body_length + 4); in test_unit() [all …]
|
/dports/japanese/ebview-gtk2/ebview-0.3.6/src/ |
H A D | cellrendererebook.c | 510 body_length = 0; in cell_renderer_ebook_render_ebook() 571 body_length ++; in cell_renderer_ebook_render_ebook() 573 body_length ++; in cell_renderer_ebook_render_ebook() 575 body_length ++; in cell_renderer_ebook_render_ebook() 577 body_length ++; in cell_renderer_ebook_render_ebook() 582 body_length ++; in cell_renderer_ebook_render_ebook() 584 body_length ++; in cell_renderer_ebook_render_ebook() 586 body_length ++; in cell_renderer_ebook_render_ebook() 588 body_length ++; in cell_renderer_ebook_render_ebook() 590 body_length ++; in cell_renderer_ebook_render_ebook() [all …]
|
/dports/net/chrony/chrony-4.2/ |
H A D | ntp_ext.c | 42 int type, int body_length, int *length, void **body) in format_field() argument 52 if (body_length < 0 || sizeof (*header) + body_length > 0xffff || in format_field() 53 start + sizeof (*header) + body_length > buffer_length || body_length % 4 != 0) in format_field() 57 header->length = htons(sizeof (*header) + body_length); in format_field() 58 *length = sizeof (*header) + body_length; in format_field() 75 memcpy(ef_body, body, body_length); in NEF_SetField() 95 type, body_length, &ef_length, body)) in NEF_AddBlankField() 111 int type, void *body, int body_length) in NEF_AddField() argument 118 memcpy(ef_body, body, body_length); in NEF_AddField() 152 if (body_length) in NEF_ParseSingleField() [all …]
|
H A D | ntp_ext.h | 33 int type, void *body, int body_length, int *length); 35 int body_length, void **body); 37 int type, void *body, int body_length); 39 int *length, int *type, void **body, int *body_length); 41 int *length, int *type, void **body, int *body_length);
|
/dports/net/chrony-lite/chrony-4.2/ |
H A D | ntp_ext.c | 42 int type, int body_length, int *length, void **body) in format_field() argument 52 if (body_length < 0 || sizeof (*header) + body_length > 0xffff || in format_field() 53 start + sizeof (*header) + body_length > buffer_length || body_length % 4 != 0) in format_field() 57 header->length = htons(sizeof (*header) + body_length); in format_field() 58 *length = sizeof (*header) + body_length; in format_field() 75 memcpy(ef_body, body, body_length); in NEF_SetField() 95 type, body_length, &ef_length, body)) in NEF_AddBlankField() 111 int type, void *body, int body_length) in NEF_AddField() argument 118 memcpy(ef_body, body, body_length); in NEF_AddField() 152 if (body_length) in NEF_ParseSingleField() [all …]
|
H A D | ntp_ext.h | 33 int type, void *body, int body_length, int *length); 35 int body_length, void **body); 37 int type, void *body, int body_length); 39 int *length, int *type, void **body, int *body_length); 41 int *length, int *type, void **body, int *body_length);
|
/dports/multimedia/flvmeta/flvmeta-1.0.11/ |
H A D | flvmeta.c | 94 if (body_length < 9) { in compute_h263_size() 148 if (body_length < 4) { in compute_screen_size() 168 if (body_length < 7) { in compute_vp6_size() 190 if (body_length < 10) { in compute_vp6_alpha_size() 336 uint32 body_length; in get_flv_info() local 344 body_length = uint24_be_to_uint32(ft.body_length); in get_flv_info() 509 body_length -= sizeof(flv_audio_tag); in get_flv_info() 733 uint32 body_length; in write_flv() local 743 body_length = uint24_be_to_uint32(ft.body_length); in write_flv() 829 if (fread(copy_buffer, 1, body_length, flv_in) < body_length) { in write_flv() [all …]
|
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/storage/innobase/xtrabackup/test/python/subunit/ |
H A D | chunked.py | 47 self.body_length = 0 74 while self.body_length and self.buffered_bytes: 75 if self.body_length >= len(self.buffered_bytes[0]): 77 self.body_length -= len(self.buffered_bytes[0]) 80 if not self.body_length: 83 self.output.write(self.buffered_bytes[0][:self.body_length]) 85 self.buffered_bytes[0][self.body_length:] 86 self.body_length = 0 111 self.body_length = int(count_str.rstrip(self._slash_nr), 16) 120 if not self.body_length:
|
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/storage/innobase/xtrabackup/test/python/subunit/ |
H A D | chunked.py | 47 self.body_length = 0 74 while self.body_length and self.buffered_bytes: 75 if self.body_length >= len(self.buffered_bytes[0]): 77 self.body_length -= len(self.buffered_bytes[0]) 80 if not self.body_length: 83 self.output.write(self.buffered_bytes[0][:self.body_length]) 85 self.buffered_bytes[0][self.body_length:] 86 self.body_length = 0 111 self.body_length = int(count_str.rstrip(self._slash_nr), 16) 120 if not self.body_length:
|
/dports/devel/py-python-subunit/python-subunit-1.3.0/python/subunit/ |
H A D | chunked.py | 47 self.body_length = 0 74 while self.body_length and self.buffered_bytes: 75 if self.body_length >= len(self.buffered_bytes[0]): 77 self.body_length -= len(self.buffered_bytes[0]) 80 if not self.body_length: 83 self.output.write(self.buffered_bytes[0][:self.body_length]) 85 self.buffered_bytes[0][self.body_length:] 86 self.body_length = 0 111 self.body_length = int(count_str.rstrip(self._slash_nr), 16) 120 if not self.body_length:
|
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/third_party/wiredtiger/test/3rdparty/python-subunit-0.0.16/python/subunit/ |
H A D | chunked.py | 47 self.body_length = 0 74 while self.body_length and self.buffered_bytes: 75 if self.body_length >= len(self.buffered_bytes[0]): 77 self.body_length -= len(self.buffered_bytes[0]) 80 if not self.body_length: 83 self.output.write(self.buffered_bytes[0][:self.body_length]) 85 self.buffered_bytes[0][self.body_length:] 86 self.body_length = 0 111 self.body_length = int(count_str.rstrip(self._slash_nr), 16) 120 if not self.body_length:
|
/dports/x11-wm/afterstep/AfterStep-1.0/lib/ |
H A D | ReadPacket.c | 24 int count,total,count2,body_length; in ReadASPacket() local 32 body_length = header[2]-3; in ReadASPacket() 34 safemalloc(body_length * sizeof(unsigned long)); in ReadASPacket() 37 while(total < body_length*sizeof(unsigned long)) in ReadASPacket() 41 body_length*sizeof(unsigned long)-total)) >0) in ReadASPacket()
|
/dports/net/gstreamer1-plugins-srtp/gst-plugins-bad-1.16.2/sys/dvb/ |
H A D | camtransport.c | 193 cam_tl_calc_buffer_size (CamTL * tl, guint body_length, in cam_tl_calc_buffer_size() argument 207 length_field_len = cam_calc_length_field_size (body_length); in cam_tl_calc_buffer_size() 210 *buffer_size = *offset + body_length; in cam_tl_calc_buffer_size() 220 guint8 tag, guint8 * buffer, guint buffer_size, guint body_length) in cam_tl_connection_write_tpdu() argument 233 length_field_len = cam_write_length_field (&buffer[3], body_length); in cam_tl_connection_write_tpdu() 314 if (tl->body_length + 3 > tl->buffer_size) { in cam_tl_read_tpdu_next() 323 tl->body_length -= 1; in cam_tl_read_tpdu_next() 406 if (tl->body_length != 0) { in handle_control_tpdu() 442 if (tl->body_length == 0) { in handle_data_tpdu() 566 guint8 * buffer, guint buffer_size, guint body_length) in cam_tl_connection_write() argument [all …]
|
/dports/net/gstreamer1-plugins-libmms/gst-plugins-bad-1.16.2/sys/dvb/ |
H A D | camtransport.c | 193 cam_tl_calc_buffer_size (CamTL * tl, guint body_length, in cam_tl_calc_buffer_size() argument 207 length_field_len = cam_calc_length_field_size (body_length); in cam_tl_calc_buffer_size() 210 *buffer_size = *offset + body_length; in cam_tl_calc_buffer_size() 220 guint8 tag, guint8 * buffer, guint buffer_size, guint body_length) in cam_tl_connection_write_tpdu() argument 233 length_field_len = cam_write_length_field (&buffer[3], body_length); in cam_tl_connection_write_tpdu() 314 if (tl->body_length + 3 > tl->buffer_size) { in cam_tl_read_tpdu_next() 323 tl->body_length -= 1; in cam_tl_read_tpdu_next() 406 if (tl->body_length != 0) { in handle_control_tpdu() 442 if (tl->body_length == 0) { in handle_data_tpdu() 566 guint8 * buffer, guint buffer_size, guint body_length) in cam_tl_connection_write() argument [all …]
|
/dports/multimedia/gstreamer1-plugins-msdk/gst-plugins-bad-1.16.2/sys/dvb/ |
H A D | camtransport.c | 193 cam_tl_calc_buffer_size (CamTL * tl, guint body_length, in cam_tl_calc_buffer_size() argument 207 length_field_len = cam_calc_length_field_size (body_length); in cam_tl_calc_buffer_size() 210 *buffer_size = *offset + body_length; in cam_tl_calc_buffer_size() 220 guint8 tag, guint8 * buffer, guint buffer_size, guint body_length) in cam_tl_connection_write_tpdu() argument 233 length_field_len = cam_write_length_field (&buffer[3], body_length); in cam_tl_connection_write_tpdu() 314 if (tl->body_length + 3 > tl->buffer_size) { in cam_tl_read_tpdu_next() 323 tl->body_length -= 1; in cam_tl_read_tpdu_next() 406 if (tl->body_length != 0) { in handle_control_tpdu() 442 if (tl->body_length == 0) { in handle_data_tpdu() 566 guint8 * buffer, guint buffer_size, guint body_length) in cam_tl_connection_write() argument [all …]
|
/dports/multimedia/gstreamer1-plugins-openh264/gst-plugins-bad-1.16.2/sys/dvb/ |
H A D | camtransport.c | 193 cam_tl_calc_buffer_size (CamTL * tl, guint body_length, in cam_tl_calc_buffer_size() argument 207 length_field_len = cam_calc_length_field_size (body_length); in cam_tl_calc_buffer_size() 210 *buffer_size = *offset + body_length; in cam_tl_calc_buffer_size() 220 guint8 tag, guint8 * buffer, guint buffer_size, guint body_length) in cam_tl_connection_write_tpdu() argument 233 length_field_len = cam_write_length_field (&buffer[3], body_length); in cam_tl_connection_write_tpdu() 314 if (tl->body_length + 3 > tl->buffer_size) { in cam_tl_read_tpdu_next() 323 tl->body_length -= 1; in cam_tl_read_tpdu_next() 406 if (tl->body_length != 0) { in handle_control_tpdu() 442 if (tl->body_length == 0) { in handle_data_tpdu() 566 guint8 * buffer, guint buffer_size, guint body_length) in cam_tl_connection_write() argument [all …]
|
/dports/multimedia/gstreamer1-plugins-resindvd/gst-plugins-bad-1.16.2/sys/dvb/ |
H A D | camtransport.c | 193 cam_tl_calc_buffer_size (CamTL * tl, guint body_length, in cam_tl_calc_buffer_size() argument 207 length_field_len = cam_calc_length_field_size (body_length); in cam_tl_calc_buffer_size() 210 *buffer_size = *offset + body_length; in cam_tl_calc_buffer_size() 220 guint8 tag, guint8 * buffer, guint buffer_size, guint body_length) in cam_tl_connection_write_tpdu() argument 233 length_field_len = cam_write_length_field (&buffer[3], body_length); in cam_tl_connection_write_tpdu() 314 if (tl->body_length + 3 > tl->buffer_size) { in cam_tl_read_tpdu_next() 323 tl->body_length -= 1; in cam_tl_read_tpdu_next() 406 if (tl->body_length != 0) { in handle_control_tpdu() 442 if (tl->body_length == 0) { in handle_data_tpdu() 566 guint8 * buffer, guint buffer_size, guint body_length) in cam_tl_connection_write() argument [all …]
|
/dports/multimedia/gstreamer1-plugins-mplex/gst-plugins-bad-1.16.2/sys/dvb/ |
H A D | camtransport.c | 193 cam_tl_calc_buffer_size (CamTL * tl, guint body_length, in cam_tl_calc_buffer_size() argument 207 length_field_len = cam_calc_length_field_size (body_length); in cam_tl_calc_buffer_size() 210 *buffer_size = *offset + body_length; in cam_tl_calc_buffer_size() 220 guint8 tag, guint8 * buffer, guint buffer_size, guint body_length) in cam_tl_connection_write_tpdu() argument 233 length_field_len = cam_write_length_field (&buffer[3], body_length); in cam_tl_connection_write_tpdu() 314 if (tl->body_length + 3 > tl->buffer_size) { in cam_tl_read_tpdu_next() 323 tl->body_length -= 1; in cam_tl_read_tpdu_next() 406 if (tl->body_length != 0) { in handle_control_tpdu() 442 if (tl->body_length == 0) { in handle_data_tpdu() 566 guint8 * buffer, guint buffer_size, guint body_length) in cam_tl_connection_write() argument [all …]
|
/dports/multimedia/gstreamer1-plugins-rtmp/gst-plugins-bad-1.16.2/sys/dvb/ |
H A D | camtransport.c | 193 cam_tl_calc_buffer_size (CamTL * tl, guint body_length, in cam_tl_calc_buffer_size() argument 207 length_field_len = cam_calc_length_field_size (body_length); in cam_tl_calc_buffer_size() 210 *buffer_size = *offset + body_length; in cam_tl_calc_buffer_size() 220 guint8 tag, guint8 * buffer, guint buffer_size, guint body_length) in cam_tl_connection_write_tpdu() argument 233 length_field_len = cam_write_length_field (&buffer[3], body_length); in cam_tl_connection_write_tpdu() 314 if (tl->body_length + 3 > tl->buffer_size) { in cam_tl_read_tpdu_next() 323 tl->body_length -= 1; in cam_tl_read_tpdu_next() 406 if (tl->body_length != 0) { in handle_control_tpdu() 442 if (tl->body_length == 0) { in handle_data_tpdu() 566 guint8 * buffer, guint buffer_size, guint body_length) in cam_tl_connection_write() argument [all …]
|
/dports/multimedia/gstreamer1-plugins-smoothstreaming/gst-plugins-bad-1.16.2/sys/dvb/ |
H A D | camtransport.c | 193 cam_tl_calc_buffer_size (CamTL * tl, guint body_length, in cam_tl_calc_buffer_size() argument 207 length_field_len = cam_calc_length_field_size (body_length); in cam_tl_calc_buffer_size() 210 *buffer_size = *offset + body_length; in cam_tl_calc_buffer_size() 220 guint8 tag, guint8 * buffer, guint buffer_size, guint body_length) in cam_tl_connection_write_tpdu() argument 233 length_field_len = cam_write_length_field (&buffer[3], body_length); in cam_tl_connection_write_tpdu() 314 if (tl->body_length + 3 > tl->buffer_size) { in cam_tl_read_tpdu_next() 323 tl->body_length -= 1; in cam_tl_read_tpdu_next() 406 if (tl->body_length != 0) { in handle_control_tpdu() 442 if (tl->body_length == 0) { in handle_data_tpdu() 566 guint8 * buffer, guint buffer_size, guint body_length) in cam_tl_connection_write() argument [all …]
|
/dports/multimedia/gstreamer1-plugins-dts/gst-plugins-bad-1.16.2/sys/dvb/ |
H A D | camtransport.c | 193 cam_tl_calc_buffer_size (CamTL * tl, guint body_length, in cam_tl_calc_buffer_size() argument 207 length_field_len = cam_calc_length_field_size (body_length); in cam_tl_calc_buffer_size() 210 *buffer_size = *offset + body_length; in cam_tl_calc_buffer_size() 220 guint8 tag, guint8 * buffer, guint buffer_size, guint body_length) in cam_tl_connection_write_tpdu() argument 233 length_field_len = cam_write_length_field (&buffer[3], body_length); in cam_tl_connection_write_tpdu() 314 if (tl->body_length + 3 > tl->buffer_size) { in cam_tl_read_tpdu_next() 323 tl->body_length -= 1; in cam_tl_read_tpdu_next() 406 if (tl->body_length != 0) { in handle_control_tpdu() 442 if (tl->body_length == 0) { in handle_data_tpdu() 566 guint8 * buffer, guint buffer_size, guint body_length) in cam_tl_connection_write() argument [all …]
|
/dports/multimedia/gstreamer1-plugins-dash/gst-plugins-bad-1.16.2/sys/dvb/ |
H A D | camtransport.c | 193 cam_tl_calc_buffer_size (CamTL * tl, guint body_length, in cam_tl_calc_buffer_size() argument 207 length_field_len = cam_calc_length_field_size (body_length); in cam_tl_calc_buffer_size() 210 *buffer_size = *offset + body_length; in cam_tl_calc_buffer_size() 220 guint8 tag, guint8 * buffer, guint buffer_size, guint body_length) in cam_tl_connection_write_tpdu() argument 233 length_field_len = cam_write_length_field (&buffer[3], body_length); in cam_tl_connection_write_tpdu() 314 if (tl->body_length + 3 > tl->buffer_size) { in cam_tl_read_tpdu_next() 323 tl->body_length -= 1; in cam_tl_read_tpdu_next() 406 if (tl->body_length != 0) { in handle_control_tpdu() 442 if (tl->body_length == 0) { in handle_data_tpdu() 566 guint8 * buffer, guint buffer_size, guint body_length) in cam_tl_connection_write() argument [all …]
|
/dports/multimedia/gstreamer1-plugins-bad/gst-plugins-bad-1.16.2/sys/dvb/ |
H A D | camtransport.c | 193 cam_tl_calc_buffer_size (CamTL * tl, guint body_length, in cam_tl_calc_buffer_size() argument 207 length_field_len = cam_calc_length_field_size (body_length); in cam_tl_calc_buffer_size() 210 *buffer_size = *offset + body_length; in cam_tl_calc_buffer_size() 220 guint8 tag, guint8 * buffer, guint buffer_size, guint body_length) in cam_tl_connection_write_tpdu() argument 233 length_field_len = cam_write_length_field (&buffer[3], body_length); in cam_tl_connection_write_tpdu() 314 if (tl->body_length + 3 > tl->buffer_size) { in cam_tl_read_tpdu_next() 323 tl->body_length -= 1; in cam_tl_read_tpdu_next() 406 if (tl->body_length != 0) { in handle_control_tpdu() 442 if (tl->body_length == 0) { in handle_data_tpdu() 566 guint8 * buffer, guint buffer_size, guint body_length) in cam_tl_connection_write() argument [all …]
|
/dports/multimedia/gstreamer1-plugins-aom/gst-plugins-bad-1.16.2/sys/dvb/ |
H A D | camtransport.c | 193 cam_tl_calc_buffer_size (CamTL * tl, guint body_length, in cam_tl_calc_buffer_size() argument 207 length_field_len = cam_calc_length_field_size (body_length); in cam_tl_calc_buffer_size() 210 *buffer_size = *offset + body_length; in cam_tl_calc_buffer_size() 220 guint8 tag, guint8 * buffer, guint buffer_size, guint body_length) in cam_tl_connection_write_tpdu() argument 233 length_field_len = cam_write_length_field (&buffer[3], body_length); in cam_tl_connection_write_tpdu() 314 if (tl->body_length + 3 > tl->buffer_size) { in cam_tl_read_tpdu_next() 323 tl->body_length -= 1; in cam_tl_read_tpdu_next() 406 if (tl->body_length != 0) { in handle_control_tpdu() 442 if (tl->body_length == 0) { in handle_data_tpdu() 566 guint8 * buffer, guint buffer_size, guint body_length) in cam_tl_connection_write() argument [all …]
|