Home
last modified time | relevance | path

Searched refs:data_bytes (Results 1 – 25 of 1008) sorted by relevance

12345678910>>...41

/dports/graphics/opencv/opencv-4.5.3/3rdparty/quirc/src/
H A Dversion_db.c22 .data_bytes = 26,
32 .data_bytes = 44,
42 .data_bytes = 70,
52 .data_bytes = 100,
62 .data_bytes = 134,
72 .data_bytes = 172,
82 .data_bytes = 196,
92 .data_bytes = 242,
102 .data_bytes = 292,
112 .data_bytes = 346,
[all …]
/dports/security/mbedtls/mbedtls-mbedtls-2.16.12/tests/scripts/
H A Dmbedtls_test.py238 def align_32bit(data_bytes): argument
244 data_bytes += bytearray((4 - (len(data_bytes))) % 4)
263 return data_bytes
274 return data_bytes
293 self.align_32bit(data_bytes)
298 data_bytes += b'S'
299 self.align_32bit(data_bytes)
305 data_bytes += b'H'
306 self.align_32bit(data_bytes)
309 data_bytes += binary_data
[all …]
/dports/devel/premake5/premake-5.0.0-alpha16-src/contrib/mbedtls/tests/scripts/
H A Dmbedtls_test.py211 def align_32bit(data_bytes): argument
217 data_bytes += bytearray((4 - (len(data_bytes))) % 4)
236 return data_bytes
247 return data_bytes
266 self.align_32bit(data_bytes)
271 data_bytes += b'S'
272 self.align_32bit(data_bytes)
278 data_bytes += b'H'
279 self.align_32bit(data_bytes)
282 data_bytes += binary_data
[all …]
/dports/emulators/qemu/qemu-6.2.0/roms/skiboot/libstb/crypto/mbedtls/tests/scripts/
H A Dmbedtls_test.py211 def align_32bit(data_bytes): argument
217 data_bytes += bytearray((4 - (len(data_bytes))) % 4)
236 return data_bytes
247 return data_bytes
266 self.align_32bit(data_bytes)
271 data_bytes += 'S'
272 self.align_32bit(data_bytes)
278 data_bytes += 'H'
279 self.align_32bit(data_bytes)
282 data_bytes += binary_data
[all …]
/dports/graphics/open3d/Open3D-0.2/src/External/librealsense/src/libuvc/
H A Dframe.c44 if (!frame->data || frame->data_bytes != need_bytes) { in uvc_ensure_frame_size()
45 frame->data_bytes = need_bytes; in uvc_ensure_frame_size()
46 frame->data = realloc(frame->data, frame->data_bytes); in uvc_ensure_frame_size()
52 if (!frame->data || frame->data_bytes < need_bytes) in uvc_ensure_frame_size()
64 uvc_frame_t *uvc_allocate_frame(size_t data_bytes) { in uvc_allocate_frame() argument
74 if (data_bytes > 0) { in uvc_allocate_frame()
75 frame->data_bytes = data_bytes; in uvc_allocate_frame()
76 frame->data = malloc(data_bytes); in uvc_allocate_frame()
93 if (frame->data_bytes > 0 && frame->library_owns_data) in uvc_free_frame()
110 if (uvc_ensure_frame_size(out, in->data_bytes) < 0) in uvc_duplicate_frame()
[all …]
/dports/graphics/py-open3d-python/Open3D-0.2/src/External/librealsense/src/libuvc/
H A Dframe.c44 if (!frame->data || frame->data_bytes != need_bytes) { in uvc_ensure_frame_size()
45 frame->data_bytes = need_bytes; in uvc_ensure_frame_size()
46 frame->data = realloc(frame->data, frame->data_bytes); in uvc_ensure_frame_size()
52 if (!frame->data || frame->data_bytes < need_bytes) in uvc_ensure_frame_size()
64 uvc_frame_t *uvc_allocate_frame(size_t data_bytes) { in uvc_allocate_frame() argument
74 if (data_bytes > 0) { in uvc_allocate_frame()
75 frame->data_bytes = data_bytes; in uvc_allocate_frame()
76 frame->data = malloc(data_bytes); in uvc_allocate_frame()
93 if (frame->data_bytes > 0 && frame->library_owns_data) in uvc_free_frame()
110 if (uvc_ensure_frame_size(out, in->data_bytes) < 0) in uvc_duplicate_frame()
[all …]
/dports/multimedia/tcmplex-panteltje/tcmplex-panteltje-0.4.7/
H A Dsystems.c155 data_bytes = 0; in create_sector()
165 data_bytes += l; in create_sector()
170 j = data_bytes; in create_sector()
189 data_bytes += 18; in create_sector()
193 l = fread(&data_buffer[data_bytes], 1, i - data_bytes, inputstream); in create_sector()
199 data_bytes += l; in create_sector()
200 if (data_bytes != i) in create_sector()
223 data_bytes += 4; in create_sector()
363 data_bytes -= 4; in create_sector()
394 index += data_bytes; in create_sector()
[all …]
/dports/science/py-geomet/geomet-0.3.0/geomet/
H A Dwkb.py314 data_bytes = string
321 data_bytes = iter(data_bytes)
595 def _load_point(big_endian, type_bytes, data_bytes): argument
672 data_bytes = iter(data_bytes)
716 data_bytes = iter(data_bytes)
741 point_type = as_bin_str(take(4, data_bytes))
764 data_bytes = iter(data_bytes)
788 ls_endian = as_bin_str(take(1, data_bytes))
789 ls_type = as_bin_str(take(4, data_bytes))
840 poly_type = as_bin_str(take(4, data_bytes))
[all …]
/dports/net/xrdp-devel/xrdp-0.9.16/sesman/chansrv/
H A Dsound.c515 rv = data_bytes; in sound_wave_compress_fdk_aac()
626 rv = data_bytes; in sound_wave_compress_fdk_aac()
631 g_memset(data + data_bytes, 0, g_bbuf_size - data_bytes); in sound_wave_compress_fdk_aac()
727 rv = data_bytes; in sound_wave_compress_opus()
740 g_memset(data + data_bytes, 0, g_bbuf_size - data_bytes); in sound_wave_compress_opus()
778 rv = data_bytes; in sound_wave_compress_mp3lame()
820 g_memset(data + data_bytes, 0, g_bbuf_size - data_bytes); in sound_wave_compress_mp3lame()
891 if ((data_bytes < 4) || (data_bytes > 128 * 1024)) in sound_send_wave_data_chunk()
899 data_bytes = sound_wave_compress(data, data_bytes, &format_index); in sound_send_wave_data_chunk()
958 data_bytes = data_bytes / 4; in sound_send_wave_data()
[all …]
/dports/x11-drivers/xorgxrdp/xrdp-0.9.17/sesman/chansrv/
H A Dsound.c515 rv = data_bytes; in sound_wave_compress_fdk_aac()
626 rv = data_bytes; in sound_wave_compress_fdk_aac()
631 g_memset(data + data_bytes, 0, g_bbuf_size - data_bytes); in sound_wave_compress_fdk_aac()
727 rv = data_bytes; in sound_wave_compress_opus()
740 g_memset(data + data_bytes, 0, g_bbuf_size - data_bytes); in sound_wave_compress_opus()
778 rv = data_bytes; in sound_wave_compress_mp3lame()
820 g_memset(data + data_bytes, 0, g_bbuf_size - data_bytes); in sound_wave_compress_mp3lame()
891 if ((data_bytes < 4) || (data_bytes > 128 * 1024)) in sound_send_wave_data_chunk()
899 data_bytes = sound_wave_compress(data, data_bytes, &format_index); in sound_send_wave_data_chunk()
958 data_bytes = data_bytes / 4; in sound_send_wave_data()
[all …]
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/fpga/usrp3/sim/rfnoc/test/ChdrIfaceBfm/
H A DChdrIfaceBfm_tb.sv73 int data_bytes; member
128 else packet.data_bytes = $urandom_range(1, SPP*BYTES_PER_ITEM);
129 packet.data_bytes += (num_packets-1) * MAX_PYLD_BYTES;
133 for (int bytes = 0; bytes < packet.data_bytes; bytes += (CHDR_W/8))
171 bfm.recv(recv_pkt.data, recv_pkt.data_bytes);
176 `ASSERT_ERROR(send_pkt.data_bytes == recv_pkt.data_bytes, "Data byte length did not match");
251 exp_byte_length == recv_pkt.data_bytes,
254 pkt_count, recv_pkt.data_bytes, exp_byte_length
347 recv_pkt.data_bytes = recv_items.size() * (ITEM_W/8);
352 exp_byte_length == recv_pkt.data_bytes,
[all …]
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/fpga/usrp3/sim/rfnoc/
H A DPkgChdrIfaceBfm.sv128 input int data_bytes = -1, port
187 input int data_bytes = -1, port
207 if (data_bytes < 0) data_bytes = data.size() * BYTES_PER_CHDR_W;
307 output int data_bytes, port
315 data_bytes = chdr_packet.data_bytes();
339 int data_bytes; register
341 recv_adv(data, data_bytes, metadata, pkt_info);
343 assert (data_bytes % BYTES_PER_ITEM_W == 0) else begin
362 data_bytes = chdr_packet.data_bytes();
375 int data_bytes; register
[all …]
/dports/www/http_post/http_post/
H A Dhttp_post.c343 data_bytes = 0; in postURLbyParts()
353data_bytes += sprintf( &data_buf[data_bytes], "--%s\r\nContent-Disposition: form-data\r\n\r\n%s\r\… in postURLbyParts()
360 data_bytes += file_copy( eq, &data_buf[data_bytes] ); in postURLbyParts()
361 data_bytes += sprintf( &data_buf[data_bytes], "\r\n" ); in postURLbyParts()
368 data_bytes += sprintf( &data_buf[data_bytes], "--%s--\r\n", sep ); in postURLbyParts()
373 data_bytes = 0; in postURLbyParts()
376 if ( data_bytes > 0 ) in postURLbyParts()
377 data_bytes += sprintf( &data_buf[data_bytes], "&" ); in postURLbyParts()
382 data_bytes += sprintf( &data_buf[data_bytes], "%s", enc_buf ); in postURLbyParts()
388 data_bytes += sprintf( &data_buf[data_bytes], "%s=", enc_buf ); in postURLbyParts()
[all …]
/dports/games/retroarch/RetroArch-1.9.7/gfx/include/userland/host_applications/linux/apps/hello_pi/hello_fft/
H A Dgpu_fft.c44 unsigned info_bytes, twid_bytes, data_bytes, code_bytes, unif_bytes, mail_bytes; in gpu_fft_prepare() local
55 data_bytes = (1+((sizeof(COMPLEX)<<log2_N)|4095)); in gpu_fft_prepare()
62 data_bytes*jobs*2 + // ping-pong data, aligned in gpu_fft_prepare()
82 info->step = data_bytes / sizeof(COMPLEX); in gpu_fft_prepare()
84 vc_data = gpu_fft_ptr_inc(&ptr, data_bytes*jobs*2); in gpu_fft_prepare()
102 *uptr++ = vc_data + data_bytes*i; in gpu_fft_prepare()
103 *uptr++ = vc_data + data_bytes*i + data_bytes*jobs; in gpu_fft_prepare()
/dports/sysutils/rpi-firmware/firmware-fcf8d2f/opt/vc/src/hello_pi/hello_fft/
H A Dgpu_fft.c44 unsigned info_bytes, twid_bytes, data_bytes, code_bytes, unif_bytes, mail_bytes; in gpu_fft_prepare() local
55 data_bytes = (1+((sizeof(COMPLEX)<<log2_N)|4095)); in gpu_fft_prepare()
62 data_bytes*jobs*2 + // ping-pong data, aligned in gpu_fft_prepare()
82 info->step = data_bytes / sizeof(COMPLEX); in gpu_fft_prepare()
84 vc_data = gpu_fft_ptr_inc(&ptr, data_bytes*jobs*2); in gpu_fft_prepare()
102 *uptr++ = vc_data + data_bytes*i; in gpu_fft_prepare()
103 *uptr++ = vc_data + data_bytes*i + data_bytes*jobs; in gpu_fft_prepare()
/dports/sysutils/rpi-firmware/firmware-fcf8d2f/hardfp/opt/vc/src/hello_pi/hello_fft/
H A Dgpu_fft.c44 unsigned info_bytes, twid_bytes, data_bytes, code_bytes, unif_bytes, mail_bytes; in gpu_fft_prepare() local
55 data_bytes = (1+((sizeof(COMPLEX)<<log2_N)|4095)); in gpu_fft_prepare()
62 data_bytes*jobs*2 + // ping-pong data, aligned in gpu_fft_prepare()
82 info->step = data_bytes / sizeof(COMPLEX); in gpu_fft_prepare()
84 vc_data = gpu_fft_ptr_inc(&ptr, data_bytes*jobs*2); in gpu_fft_prepare()
102 *uptr++ = vc_data + data_bytes*i; in gpu_fft_prepare()
103 *uptr++ = vc_data + data_bytes*i + data_bytes*jobs; in gpu_fft_prepare()
/dports/devel/b2/B2_Command_Line_Tool-1.3.8/b2/
H A Dupload_source.py49 def __init__(self, data_bytes): argument
50 self.data_bytes = data_bytes
53 return len(self.data_bytes)
56 return hashlib.sha1(self.data_bytes).hexdigest()
59 return BytesIoContextManager(self.data_bytes)
/dports/multimedia/libuvc/libuvc-0.0.6-32-gc612d45/src/
H A Dframe.c45 frame->data_bytes = need_bytes; in uvc_ensure_frame_size()
74 if (data_bytes > 0) { in uvc_allocate_frame()
75 frame->data_bytes = data_bytes; in uvc_allocate_frame()
76 frame->data = malloc(data_bytes); in uvc_allocate_frame()
95 if (frame->data_bytes > 0) in uvc_free_frame()
127 memcpy(out->data, in->data, in->data_bytes); in uvc_duplicate_frame()
192 uint8_t *prgb_end = prgb + out->data_bytes; in uvc_yuyv2rgb()
243 uint8_t *pbgr_end = pbgr + out->data_bytes; in uvc_yuyv2bgr()
283 uint8_t *py_end = py + out->data_bytes; in uvc_yuyv2y()
323 uint8_t *puv_end = puv + out->data_bytes; in uvc_yuyv2uv()
[all …]
/dports/graphics/pqiv/pqiv-2.12/lib/
H A Dfilebuffer.c68 GBytes *data_bytes = NULL; in buffered_file_as_bytes() local
72 data_bytes = file->file_data_loader(file, error_pointer); in buffered_file_as_bytes()
75 data_bytes = g_bytes_ref(file->file_data); in buffered_file_as_bytes()
78 if(!data_bytes) { in buffered_file_as_bytes()
115data_bytes = g_bytes_new_with_free_func(input_file_data, input_file_size, (GDestroyNotify)buffered… in buffered_file_as_bytes()
124 if(data_bytes) { in buffered_file_as_bytes()
133 data_bytes = g_input_stream_read_completely(data, image_loader_cancellable, error_pointer); in buffered_file_as_bytes()
137 data_bytes = g_input_stream_read_completely(data, image_loader_cancellable, error_pointer); in buffered_file_as_bytes()
140 if(!data_bytes) { in buffered_file_as_bytes()
147 buffer->data = data_bytes; in buffered_file_as_bytes()
/dports/net-mgmt/nagios-check_bacula11/bacula-11.0.5/src/stored/
H A Drecord_read.c84 unser_uint32(rec->data_bytes); in read_header()
142 stream_to_ascii(buf2, rec->Stream, rec->FileIndex), rec->data_bytes, rec->remlen, in read_header()
161 if (rec->data_bytes >= MAX_BLOCK_LENGTH) { in read_header()
170 MAX_BLOCK_LENGTH, rec->data_bytes); in read_header()
174 rec->data = check_pool_memory_size(rec->data, rec->data_len+rec->data_bytes); in read_header()
189 Dmsg2(dbgep, "=== rpath 22 read_data remlen=%ld data_bytes=%ld\n", rec->remlen, rec->data_bytes); in read_data()
199 if (rec->remlen >= rec->data_bytes) { in read_data()
202 memcpy(rec->data+rec->data_len, block->bufp, rec->data_bytes); in read_data()
203 block->bufp += rec->data_bytes; in read_data()
204 block->binbuf -= rec->data_bytes; in read_data()
[all …]
/dports/sysutils/bacula11-server/bacula-11.0.5/src/stored/
H A Drecord_read.c84 unser_uint32(rec->data_bytes); in read_header()
142 stream_to_ascii(buf2, rec->Stream, rec->FileIndex), rec->data_bytes, rec->remlen, in read_header()
161 if (rec->data_bytes >= MAX_BLOCK_LENGTH) { in read_header()
170 MAX_BLOCK_LENGTH, rec->data_bytes); in read_header()
174 rec->data = check_pool_memory_size(rec->data, rec->data_len+rec->data_bytes); in read_header()
189 Dmsg2(dbgep, "=== rpath 22 read_data remlen=%ld data_bytes=%ld\n", rec->remlen, rec->data_bytes); in read_data()
199 if (rec->remlen >= rec->data_bytes) { in read_data()
202 memcpy(rec->data+rec->data_len, block->bufp, rec->data_bytes); in read_data()
203 block->bufp += rec->data_bytes; in read_data()
204 block->binbuf -= rec->data_bytes; in read_data()
[all …]
/dports/sysutils/bacula11-client-static/bacula-11.0.5/src/stored/
H A Drecord_read.c84 unser_uint32(rec->data_bytes); in read_header()
142 stream_to_ascii(buf2, rec->Stream, rec->FileIndex), rec->data_bytes, rec->remlen, in read_header()
161 if (rec->data_bytes >= MAX_BLOCK_LENGTH) { in read_header()
170 MAX_BLOCK_LENGTH, rec->data_bytes); in read_header()
174 rec->data = check_pool_memory_size(rec->data, rec->data_len+rec->data_bytes); in read_header()
189 Dmsg2(dbgep, "=== rpath 22 read_data remlen=%ld data_bytes=%ld\n", rec->remlen, rec->data_bytes); in read_data()
199 if (rec->remlen >= rec->data_bytes) { in read_data()
202 memcpy(rec->data+rec->data_len, block->bufp, rec->data_bytes); in read_data()
203 block->bufp += rec->data_bytes; in read_data()
204 block->binbuf -= rec->data_bytes; in read_data()
[all …]
/dports/sysutils/bacula11-client/bacula-11.0.5/src/stored/
H A Drecord_read.c84 unser_uint32(rec->data_bytes); in read_header()
142 stream_to_ascii(buf2, rec->Stream, rec->FileIndex), rec->data_bytes, rec->remlen, in read_header()
161 if (rec->data_bytes >= MAX_BLOCK_LENGTH) { in read_header()
170 MAX_BLOCK_LENGTH, rec->data_bytes); in read_header()
174 rec->data = check_pool_memory_size(rec->data, rec->data_len+rec->data_bytes); in read_header()
189 Dmsg2(dbgep, "=== rpath 22 read_data remlen=%ld data_bytes=%ld\n", rec->remlen, rec->data_bytes); in read_data()
199 if (rec->remlen >= rec->data_bytes) { in read_data()
202 memcpy(rec->data+rec->data_len, block->bufp, rec->data_bytes); in read_data()
203 block->bufp += rec->data_bytes; in read_data()
204 block->binbuf -= rec->data_bytes; in read_data()
[all …]
/dports/net/tcpview/tcpview-1.0/
H A Ddetail-icmp.c24 u_long data_bytes; local
44 data_bytes = Phdr->caplen - Offset - ICMP_MINLEN;
47 data_bytes = len - ICMP_MINLEN;
73 printf("%s[%d bytes of optional data]\n", PROTO_STR, data_bytes);
74 hex(8, 8 + data_bytes - 1);
111 hex(8, 8 + data_bytes - 1);
122 hex(8, 8 + data_bytes - 1);
154 hex(8, 8 + data_bytes - 1);
220 hex(8, 8 + data_bytes - 1);
233 hex(8, 8 + data_bytes - 1);
[all …]
/dports/devel/py-b2sdk/b2sdk-1.12.0/b2sdk/transfer/outbound/
H A Dupload_source.py53 def __init__(self, data_bytes, content_sha1=None): argument
54 self.data_bytes = data_bytes
60 data=str(self.data_bytes[:20]) +
61 '...' if len(self.data_bytes) > 20 else self.data_bytes,
66 return len(self.data_bytes)
70 self.content_sha1 = hashlib.sha1(self.data_bytes).hexdigest()
74 return io.BytesIO(self.data_bytes)

12345678910>>...41