Home
last modified time | relevance | path

Searched refs:need_bytes (Results 1 – 25 of 171) sorted by relevance

1234567

/dports/x11-toolkits/plib/plib-1.8.5/src/sl/
H A DslMODPlayer.cxx53 int need_bytes = nframes ; in low_read() local
56 while ( need_bytes > 0 && !all_done ) in low_read()
70 if ( new_bytes > need_bytes ) /* oops! Too much */ in low_read()
72 memcpy ( dst, dacioGetOutBuffer (), need_bytes ) ; in low_read()
73 dacioSubtract ( need_bytes ) ; in low_read()
74 dst += need_bytes ; in low_read()
75 need_bytes = 0 ; in low_read()
82 need_bytes -= new_bytes ; in low_read()
88 if ( need_bytes > 0 ) in low_read()
89 memset ( dst, 128, need_bytes ) ; in low_read()
/dports/mail/dovecot/dovecot-2.3.17/src/lib-storage/index/dbox-common/
H A Ddbox-file-fix.c17 uoff_t *pre_offset, size_t *need_bytes) in dbox_file_match_pre_magic() argument
69 size_t *need_bytes) in dbox_file_match_post_magic() argument
77 *need_bytes = strlen(DBOX_MAGIC_POST); in dbox_file_match_post_magic()
126 *need_bytes = size+1; in dbox_file_match_post_magic()
131 *need_bytes = size+1; in dbox_file_match_post_magic()
159 need_bytes > prev_need_bytes); in dbox_file_find_next_magic()
161 prev_need_bytes = need_bytes; in dbox_file_find_next_magic()
166 need_bytes = strlen(DBOX_MAGIC_POST); in dbox_file_find_next_magic()
176 need_bytes = strlen(DBOX_MAGIC_POST); in dbox_file_find_next_magic()
186 need_bytes = strlen(DBOX_MAGIC_POST); in dbox_file_find_next_magic()
[all …]
/dports/graphics/open3d/Open3D-0.2/src/External/librealsense/src/libuvc/
H A Dframe.c42 uvc_error_t uvc_ensure_frame_size(uvc_frame_t *frame, size_t need_bytes) { in uvc_ensure_frame_size() argument
44 if (!frame->data || frame->data_bytes != need_bytes) { in uvc_ensure_frame_size()
45 frame->data_bytes = need_bytes; in uvc_ensure_frame_size()
52 if (!frame->data || frame->data_bytes < need_bytes) in uvc_ensure_frame_size()
/dports/graphics/py-open3d-python/Open3D-0.2/src/External/librealsense/src/libuvc/
H A Dframe.c42 uvc_error_t uvc_ensure_frame_size(uvc_frame_t *frame, size_t need_bytes) { in uvc_ensure_frame_size() argument
44 if (!frame->data || frame->data_bytes != need_bytes) { in uvc_ensure_frame_size()
45 frame->data_bytes = need_bytes; in uvc_ensure_frame_size()
52 if (!frame->data || frame->data_bytes < need_bytes) in uvc_ensure_frame_size()
/dports/devel/py-coverage/coverage-4.5.4/tests/
H A Dtest_misc.py78 def need_bytes(text=None): # pylint: disable=missing-docstring function
81 assert need_bytes(b"Hey") == b"Hey"
82 assert need_bytes() is None
84 need_bytes(u"Oops")
/dports/math/reduce/Reduce-svn5758-src/jslisp/src/java/org/mathpiper/mpreduce/zip/
H A DInflate.java110 private int need_bytes = -1; field in Inflate
121 this.need_bytes = -1; in inflateReset()
567 if(need_bytes == -1){ in readBytes()
568 need_bytes=n; in readBytes()
571 while(need_bytes>0){ in readBytes()
575 ((z.next_in[z.next_in_index++]&0xff)<<((n-need_bytes)*8)); in readBytes()
576 need_bytes--; in readBytes()
584 need_bytes=-1; in readBytes()
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/loggers/mod_raven/
H A Dmod_raven.c77 switch_size_t compressed_size = 0, compressed_len = 0, need_bytes; in encode() local
105 need_bytes = compressed_len * 3 + 1; in encode()
106 encoded = malloc(need_bytes); in encode()
108 memset(encoded, 0, need_bytes); in encode()
109 switch_b64_encode(compressed, compressed_len, encoded, need_bytes); in encode()
/dports/archivers/jzlib/jzlib-1.1.1/src/main/java/com/jcraft/jzlib/
H A DInflate.java110 private int need_bytes = -1; field in Inflate
121 this.need_bytes = -1; in inflateReset()
620 if(need_bytes == -1){ in readBytes()
621 need_bytes=n; in readBytes()
624 while(need_bytes>0){ in readBytes()
628 ((z.next_in[z.next_in_index++]&0xff)<<((n-need_bytes)*8)); in readBytes()
629 need_bytes--; in readBytes()
637 need_bytes=-1; in readBytes()
/dports/net/tigervnc-server/tigervnc-1.12.0/java/com/jcraft/jzlib/
H A DInflate.java117 private int need_bytes = -1; field in Inflate
128 this.need_bytes = -1; in inflateReset()
660 if(need_bytes == -1){ in readBytes()
661 need_bytes=n; in readBytes()
664 while(need_bytes>0){ in readBytes()
668 ((z.next_in[z.next_in_index++]&0xff)<<((n-need_bytes)*8)); in readBytes()
669 need_bytes--; in readBytes()
677 need_bytes=-1; in readBytes()
/dports/net/tigervnc-viewer/tigervnc-1.12.0/java/com/jcraft/jzlib/
H A DInflate.java117 private int need_bytes = -1; field in Inflate
128 this.need_bytes = -1; in inflateReset()
660 if(need_bytes == -1){ in readBytes()
661 need_bytes=n; in readBytes()
664 while(need_bytes>0){ in readBytes()
668 ((z.next_in[z.next_in_index++]&0xff)<<((n-need_bytes)*8)); in readBytes()
669 need_bytes--; in readBytes()
677 need_bytes=-1; in readBytes()
/dports/multimedia/libv4l/linux-5.13-rc2/net/strparser/
H A Dstrparser.c282 strp->need_bytes = stm->strp.full_len - in __strp_recv()
305 strp->need_bytes = 0; in __strp_recv()
391 if (strp->need_bytes) { in strp_data_ready()
392 if (strp_peek_len(strp) < strp->need_bytes) in strp_data_ready()
494 if (strp->need_bytes) { in __strp_unpause()
495 if (strp_peek_len(strp) < strp->need_bytes) in __strp_unpause()
/dports/multimedia/v4l_compat/linux-5.13-rc2/net/strparser/
H A Dstrparser.c282 strp->need_bytes = stm->strp.full_len - in __strp_recv()
305 strp->need_bytes = 0; in __strp_recv()
391 if (strp->need_bytes) { in strp_data_ready()
392 if (strp_peek_len(strp) < strp->need_bytes) in strp_data_ready()
494 if (strp->need_bytes) { in __strp_unpause()
495 if (strp_peek_len(strp) < strp->need_bytes) in __strp_unpause()
/dports/multimedia/v4l-utils/linux-5.13-rc2/net/strparser/
H A Dstrparser.c282 strp->need_bytes = stm->strp.full_len - in __strp_recv()
305 strp->need_bytes = 0; in __strp_recv()
391 if (strp->need_bytes) { in strp_data_ready()
392 if (strp_peek_len(strp) < strp->need_bytes) in strp_data_ready()
494 if (strp->need_bytes) { in __strp_unpause()
495 if (strp_peek_len(strp) < strp->need_bytes) in __strp_unpause()
/dports/multimedia/v4l_compat/linux-5.13-rc2/fs/xfs/
H A Dxfs_log.c60 int need_bytes);
197 int need_bytes; in xlog_grant_head_wake() local
230 *free_bytes -= need_bytes; in xlog_grant_head_wake()
297 int *need_bytes) in xlog_grant_head_check() argument
317 *need_bytes); in xlog_grant_head_check()
383 int need_bytes; in xfs_log_regrant() local
410 &need_bytes); in xfs_log_regrant()
449 int need_bytes; in xfs_log_reserve() local
469 &need_bytes); in xfs_log_reserve()
1566 int need_bytes) in xlog_grant_push_threshold() argument
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/fs/xfs/
H A Dxfs_log.c60 int need_bytes);
197 int need_bytes; in xlog_grant_head_wake() local
230 *free_bytes -= need_bytes; in xlog_grant_head_wake()
297 int *need_bytes) in xlog_grant_head_check() argument
317 *need_bytes); in xlog_grant_head_check()
383 int need_bytes; in xfs_log_regrant() local
410 &need_bytes); in xfs_log_regrant()
449 int need_bytes; in xfs_log_reserve() local
469 &need_bytes); in xfs_log_reserve()
1566 int need_bytes) in xlog_grant_push_threshold() argument
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/fs/xfs/
H A Dxfs_log.c60 int need_bytes);
197 int need_bytes; in xlog_grant_head_wake() local
230 *free_bytes -= need_bytes; in xlog_grant_head_wake()
297 int *need_bytes) in xlog_grant_head_check() argument
317 *need_bytes); in xlog_grant_head_check()
383 int need_bytes; in xfs_log_regrant() local
410 &need_bytes); in xfs_log_regrant()
449 int need_bytes; in xfs_log_reserve() local
469 &need_bytes); in xfs_log_reserve()
1566 int need_bytes) in xlog_grant_push_threshold() argument
[all …]
/dports/databases/pgbouncer/pgbouncer-1.16.0/lib/usual/
H A Dsocket.c301 int need_bytes; in fdbuf_resize() local
309 need_bytes = (cnt + 1) * sizeof(buf->set->fd_array[0]) + 8; in fdbuf_resize()
312 need_bytes = fd / 8 + 8; in fdbuf_resize()
315 if (buf->alloc_bytes < need_bytes) in fdbuf_resize()
317 while (alloc < need_bytes) in fdbuf_resize()
/dports/lang/gcc6-aux/gcc-6-20180516/gcc/testsuite/gcc.target/arc/
H A Dcond-set-use.c88 int need_bytes = sizeof(addr_list[0]) * (a.add_count + 1 + 1); in ghostbyname_r() local
92 buflen -= (need_bytes + ips_len); in ghostbyname_r()
/dports/lang/gcc10/gcc-10.3.0/gcc/testsuite/gcc.target/arc/
H A Dcond-set-use.c88 int need_bytes = sizeof(addr_list[0]) * (a.add_count + 1 + 1); in ghostbyname_r() local
92 buflen -= (need_bytes + ips_len); in ghostbyname_r()
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.target/arc/
H A Dcond-set-use.c88 int need_bytes = sizeof(addr_list[0]) * (a.add_count + 1 + 1); in ghostbyname_r() local
92 buflen -= (need_bytes + ips_len); in ghostbyname_r()
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/gcc/testsuite/gcc.target/arc/
H A Dcond-set-use.c88 int need_bytes = sizeof(addr_list[0]) * (a.add_count + 1 + 1); in ghostbyname_r() local
92 buflen -= (need_bytes + ips_len); in ghostbyname_r()
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.target/arc/
H A Dcond-set-use.c88 int need_bytes = sizeof(addr_list[0]) * (a.add_count + 1 + 1); in ghostbyname_r() local
92 buflen -= (need_bytes + ips_len); in ghostbyname_r()
/dports/lang/gcc9-aux/gcc-9.1.0/gcc/testsuite/gcc.target/arc/
H A Dcond-set-use.c88 int need_bytes = sizeof(addr_list[0]) * (a.add_count + 1 + 1); in ghostbyname_r() local
92 buflen -= (need_bytes + ips_len); in ghostbyname_r()
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/gcc/testsuite/gcc.target/arc/
H A Dcond-set-use.c88 int need_bytes = sizeof(addr_list[0]) * (a.add_count + 1 + 1); in ghostbyname_r() local
92 buflen -= (need_bytes + ips_len); in ghostbyname_r()
/dports/lang/gcc9-devel/gcc-9-20211007/gcc/testsuite/gcc.target/arc/
H A Dcond-set-use.c88 int need_bytes = sizeof(addr_list[0]) * (a.add_count + 1 + 1); in ghostbyname_r() local
92 buflen -= (need_bytes + ips_len); in ghostbyname_r()

1234567