/dports/databases/py-postgresql/py-postgresql-1.1.0/postgresql/port/_optimized/ |
H A D | wirestate.c | 38 ws->remaining_bytes = 0; in ws_new() 76 remaining_bytes = ws->remaining_bytes; in ws_update() 102 remaining_bytes = (local_ntohl((int32_t) remaining_bytes)); in ws_update() 103 if (remaining_bytes < 4) in ws_update() 106 remaining_bytes = remaining_bytes - sf_len; in ws_update() 107 if (remaining_bytes == 0) in ws_update() 123 if (remaining_bytes > 0) in ws_update() 133 remaining_bytes = 0; in ws_update() 171 remaining_bytes = local_ntohl((int32_t) remaining_bytes) + 1; in ws_update() 172 if (remaining_bytes < 5) in ws_update() [all …]
|
/dports/devel/arcanist-lib/arcanist-b2e715f/src/utils/ |
H A D | PhutilRope.php | 79 $remaining_bytes = $length; 82 if ($length <= $remaining_bytes) { 84 $remaining_bytes -= $length; 86 $result[] = substr($buf, 0, $remaining_bytes); 87 $remaining_bytes = 0; 89 if (!$remaining_bytes) { 120 $remaining_bytes = $remove; 123 if ($len <= $remaining_bytes) { 125 $remaining_bytes -= $len; 126 if (!$remaining_bytes) { [all …]
|
/dports/devel/arcanist/arcanist-b2e715f/src/utils/ |
H A D | PhutilRope.php | 79 $remaining_bytes = $length; 82 if ($length <= $remaining_bytes) { 84 $remaining_bytes -= $length; 86 $result[] = substr($buf, 0, $remaining_bytes); 87 $remaining_bytes = 0; 89 if (!$remaining_bytes) { 120 $remaining_bytes = $remove; 123 if ($len <= $remaining_bytes) { 125 $remaining_bytes -= $len; 126 if (!$remaining_bytes) { [all …]
|
/dports/x11-wm/i3-gaps/i3-4.20.1/libi3/ |
H A D | g_utf8_make_valid.c | 55 gsize remaining_bytes, valid_bytes; in g_utf8_make_valid() local 64 remaining_bytes = len; in g_utf8_make_valid() 66 while (remaining_bytes != 0) in g_utf8_make_valid() 68 if (g_utf8_validate (remainder, remaining_bytes, &invalid)) in g_utf8_make_valid() 73 string = g_string_sized_new (remaining_bytes); in g_utf8_make_valid() 79 remaining_bytes -= valid_bytes + 1; in g_utf8_make_valid() 86 g_string_append_len (string, remainder, remaining_bytes); in g_utf8_make_valid()
|
/dports/x11-wm/i3/i3-4.20.1/libi3/ |
H A D | g_utf8_make_valid.c | 55 gsize remaining_bytes, valid_bytes; in g_utf8_make_valid() local 64 remaining_bytes = len; in g_utf8_make_valid() 66 while (remaining_bytes != 0) in g_utf8_make_valid() 68 if (g_utf8_validate (remainder, remaining_bytes, &invalid)) in g_utf8_make_valid() 73 string = g_string_sized_new (remaining_bytes); in g_utf8_make_valid() 79 remaining_bytes -= valid_bytes + 1; in g_utf8_make_valid() 86 g_string_append_len (string, remainder, remaining_bytes); in g_utf8_make_valid()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/arc/session/ |
H A D | arc_property_util_expand_property_contents_fuzzer.cc | 38 while (data_provider.remaining_bytes()) { in LLVMFuzzerTestOneInput() 43 0, data_provider.remaining_bytes()); in LLVMFuzzerTestOneInput() 47 if (data_provider.remaining_bytes() == 0) in LLVMFuzzerTestOneInput() 51 1, data_provider.remaining_bytes()); in LLVMFuzzerTestOneInput() 54 if (data_provider.remaining_bytes() == 0) in LLVMFuzzerTestOneInput() 58 1, data_provider.remaining_bytes()); in LLVMFuzzerTestOneInput()
|
/dports/graphics/sane-airscan/sane-airscan-0.99.26/fuzzer/ |
H A D | query.cc | 71 provider.remaining_bytes()); in LLVMFuzzerTestOneInput() 78 provider.remaining_bytes()); in LLVMFuzzerTestOneInput() 80 provider.remaining_bytes()); in LLVMFuzzerTestOneInput() 82 provider.remaining_bytes()); in LLVMFuzzerTestOneInput() 91 provider.remaining_bytes()); in LLVMFuzzerTestOneInput() 95 provider.remaining_bytes()); in LLVMFuzzerTestOneInput() 97 provider.remaining_bytes()); in LLVMFuzzerTestOneInput()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/speech/ |
H A D | chunked_byte_buffer.cc | 33 size_t remaining_bytes = length; in Append() local 36 while (remaining_bytes > 0) { in Append() 46 insert_length = std::min(bytes_to_complete_header, remaining_bytes); in Append() 48 header_completed = (remaining_bytes >= bytes_to_complete_header); in Append() 55 insert_length = std::min(bytes_to_complete_chunk, remaining_bytes); in Append() 57 content_completed = (remaining_bytes >= bytes_to_complete_chunk); in Append() 61 DCHECK_LE(insert_length, remaining_bytes); in Append() 66 remaining_bytes -= insert_length; in Append()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/content/browser/speech/ |
H A D | chunked_byte_buffer.cc | 35 size_t remaining_bytes = length; in Append() local 38 while (remaining_bytes > 0) { in Append() 48 insert_length = std::min(bytes_to_complete_header, remaining_bytes); in Append() 50 header_completed = (remaining_bytes >= bytes_to_complete_header); in Append() 57 insert_length = std::min(bytes_to_complete_chunk, remaining_bytes); in Append() 59 content_completed = (remaining_bytes >= bytes_to_complete_chunk); in Append() 63 DCHECK_LE(insert_length, remaining_bytes); in Append() 69 remaining_bytes -= insert_length; in Append()
|
/dports/x11-fm/caja/caja-1.26.0/eel/ |
H A D | eel-vfs-extensions.c | 65 int remaining_bytes; in eel_make_valid_utf8() local 69 remaining_bytes = strlen (name); in eel_make_valid_utf8() 71 while (remaining_bytes != 0) in eel_make_valid_utf8() 75 if (g_utf8_validate (remainder, remaining_bytes, &invalid)) in eel_make_valid_utf8() 83 string = g_string_sized_new (remaining_bytes); in eel_make_valid_utf8() 88 remaining_bytes -= valid_bytes + 1; in eel_make_valid_utf8()
|
/dports/sysutils/gsmartcontrol/gsmartcontrol-1.1.3/src/applib/ |
H A D | app_gtkmm_utils.cpp | 75 gint remaining_bytes, valid_bytes; in gsc_g_utf8_make_valid() local 81 remaining_bytes = gint(std::strlen(name)); in gsc_g_utf8_make_valid() 83 while (remaining_bytes != 0) { in gsc_g_utf8_make_valid() 84 if (g_utf8_validate (remainder, remaining_bytes, &invalid)) in gsc_g_utf8_make_valid() 90 str = g_string_sized_new (remaining_bytes); in gsc_g_utf8_make_valid() 96 remaining_bytes -= valid_bytes + 1; in gsc_g_utf8_make_valid()
|
/dports/x11-fm/nemo/nemo-4.8.3/eel/ |
H A D | eel-vfs-extensions.c | 84 int remaining_bytes, valid_bytes; in eel_make_valid_utf8() local 88 remaining_bytes = strlen (name); in eel_make_valid_utf8() 90 while (remaining_bytes != 0) { in eel_make_valid_utf8() 91 if (g_utf8_validate (remainder, remaining_bytes, &invalid)) { in eel_make_valid_utf8() 97 string = g_string_sized_new (remaining_bytes); in eel_make_valid_utf8() 102 remaining_bytes -= valid_bytes + 1; in eel_make_valid_utf8()
|
/dports/devel/libdwarf/dwarf-20161124/libdwarf/ |
H A D | dwarf_sort_line.c | 58 unsigned long remaining_bytes, 129 unsigned long remaining_bytes = buffer_len; /* total length of in dwarf_ld_sort_lines() local 157 (sec_res == DW_DLV_OK) && (remaining_bytes > 0); in dwarf_ld_sort_lines() 159 remaining_bytes, &lany_change, length_size, in dwarf_ld_sort_lines() 164 remaining_bytes -= bytes_used; in dwarf_ld_sort_lines() 168 if (remaining_bytes > 0) { in dwarf_ld_sort_lines() 264 unsigned long remaining_bytes, in _dwarf_update_line_sec() argument 328 if (remaining_bytes < MINIMUM_POSSIBLE_PROLOG_LEN) { in _dwarf_update_line_sec() 344 remaining_bytes, in _dwarf_update_line_sec() 639 new_area = malloc(remaining_bytes); in _dwarf_update_line_sec() [all …]
|
/dports/devel/dwarfdump/dwarf-20161124/libdwarf/ |
H A D | dwarf_sort_line.c | 58 unsigned long remaining_bytes, 129 unsigned long remaining_bytes = buffer_len; /* total length of in dwarf_ld_sort_lines() local 157 (sec_res == DW_DLV_OK) && (remaining_bytes > 0); in dwarf_ld_sort_lines() 159 remaining_bytes, &lany_change, length_size, in dwarf_ld_sort_lines() 164 remaining_bytes -= bytes_used; in dwarf_ld_sort_lines() 168 if (remaining_bytes > 0) { in dwarf_ld_sort_lines() 264 unsigned long remaining_bytes, in _dwarf_update_line_sec() argument 328 if (remaining_bytes < MINIMUM_POSSIBLE_PROLOG_LEN) { in _dwarf_update_line_sec() 344 remaining_bytes, in _dwarf_update_line_sec() 639 new_area = malloc(remaining_bytes); in _dwarf_update_line_sec() [all …]
|
/dports/databases/py-postgresql/py-postgresql-1.1.0/postgresql/ |
H A D | copyman.py | 174 remaining_bytes = self.remaining_bytes 181 if remaining_bytes == -1: 198 if remaining_bytes >= 0: 201 if remaining_bytes: 207 rb = remaining_bytes - vlen 211 remaining_bytes = 0 215 remaining_bytes = rb 231 remaining_bytes = -1 247 self.remaining_bytes = 0 384 elif s.remaining_bytes == -1: [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/net/third_party/quiche/src/quic/core/ |
H A D | quic_data_writer.cc | 116 size_t remaining_bytes = remaining(); in WriteVarInt62() local 125 if (remaining_bytes >= 8) { in WriteVarInt62() 144 if (remaining_bytes >= 4) { in WriteVarInt62() 162 if (remaining_bytes >= 2) { in WriteVarInt62() 170 if (remaining_bytes >= 1) { in WriteVarInt62() 187 size_t remaining_bytes = remaining(); in WriteVarInt62() local 188 if (remaining_bytes < write_length) { in WriteVarInt62()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/net/third_party/quiche/src/quic/core/ |
H A D | quic_data_writer.cc | 116 size_t remaining_bytes = remaining(); in WriteVarInt62() local 125 if (remaining_bytes >= 8) { in WriteVarInt62() 144 if (remaining_bytes >= 4) { in WriteVarInt62() 162 if (remaining_bytes >= 2) { in WriteVarInt62() 170 if (remaining_bytes >= 1) { in WriteVarInt62() 187 size_t remaining_bytes = remaining(); in WriteVarInt62() local 188 if (remaining_bytes < write_length) { in WriteVarInt62()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/misc/vmw_vmci/ |
H A D | vmci_guest.c | 215 size_t remaining_bytes; in vmci_dispatch_dgs() local 222 remaining_bytes = current_dg_in_buffer_size; in vmci_dispatch_dgs() 225 remaining_bytes > PAGE_SIZE) { in vmci_dispatch_dgs() 235 remaining_bytes = in vmci_dispatch_dgs() 255 if (dg_in_size > remaining_bytes) { in vmci_dispatch_dgs() 256 if (remaining_bytes != in vmci_dispatch_dgs() 269 remaining_bytes, in vmci_dispatch_dgs() 270 remaining_bytes); in vmci_dispatch_dgs() 283 remaining_bytes, in vmci_dispatch_dgs() 285 remaining_bytes); in vmci_dispatch_dgs() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/misc/vmw_vmci/ |
H A D | vmci_guest.c | 215 size_t remaining_bytes; in vmci_dispatch_dgs() local 222 remaining_bytes = current_dg_in_buffer_size; in vmci_dispatch_dgs() 225 remaining_bytes > PAGE_SIZE) { in vmci_dispatch_dgs() 235 remaining_bytes = in vmci_dispatch_dgs() 255 if (dg_in_size > remaining_bytes) { in vmci_dispatch_dgs() 256 if (remaining_bytes != in vmci_dispatch_dgs() 269 remaining_bytes, in vmci_dispatch_dgs() 270 remaining_bytes); in vmci_dispatch_dgs() 283 remaining_bytes, in vmci_dispatch_dgs() 285 remaining_bytes); in vmci_dispatch_dgs() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/misc/vmw_vmci/ |
H A D | vmci_guest.c | 215 size_t remaining_bytes; in vmci_dispatch_dgs() local 222 remaining_bytes = current_dg_in_buffer_size; in vmci_dispatch_dgs() 225 remaining_bytes > PAGE_SIZE) { in vmci_dispatch_dgs() 235 remaining_bytes = in vmci_dispatch_dgs() 255 if (dg_in_size > remaining_bytes) { in vmci_dispatch_dgs() 256 if (remaining_bytes != in vmci_dispatch_dgs() 269 remaining_bytes, in vmci_dispatch_dgs() 270 remaining_bytes); in vmci_dispatch_dgs() 283 remaining_bytes, in vmci_dispatch_dgs() 285 remaining_bytes); in vmci_dispatch_dgs() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/net/third_party/quiche/src/quic/core/http/ |
H A D | quic_spdy_stream_body_manager.cc | 40 size_t remaining_bytes = num_bytes; in OnBodyConsumed() local 42 while (remaining_bytes > 0) { in OnBodyConsumed() 51 if (body.length() > remaining_bytes) { in OnBodyConsumed() 53 bytes_to_consume += remaining_bytes; in OnBodyConsumed() 54 fragment.body = body.substr(remaining_bytes); in OnBodyConsumed() 60 remaining_bytes -= body.length(); in OnBodyConsumed()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/net/third_party/quiche/src/quic/core/http/ |
H A D | quic_spdy_stream_body_manager.cc | 40 size_t remaining_bytes = num_bytes; in OnBodyConsumed() local 42 while (remaining_bytes > 0) { in OnBodyConsumed() 51 if (body.length() > remaining_bytes) { in OnBodyConsumed() 53 bytes_to_consume += remaining_bytes; in OnBodyConsumed() 54 fragment.body = body.substr(remaining_bytes); in OnBodyConsumed() 60 remaining_bytes -= body.length(); in OnBodyConsumed()
|
/dports/devel/py-minio/minio-4.0.21/minio/ |
H A D | select_object_reader.py | 69 self.remaining_bytes = bytearray() 268 if len(self.remaining_bytes) == 0: 273 self.remaining_bytes = res 275 if num_bytes < len(self.remaining_bytes): 276 result = self.remaining_bytes[:num_bytes] 277 del self.remaining_bytes[:num_bytes] 280 left_in_buffer = self.remaining_bytes[:len(self.remaining_bytes)] 281 del self.remaining_bytes[:len(left_in_buffer)]
|
/dports/multimedia/handbrake/ffmpeg-4.4/libavcodec/ |
H A D | pnm_parser.c | 30 int remaining_bytes; member 51 if (pnmpc->remaining_bytes) { in pnm_parse() 52 int inc = FFMIN(pnmpc->remaining_bytes, buf_size); in pnm_parse() 54 pnmpc->remaining_bytes -= inc; in pnm_parse() 56 if (!pnmpc->remaining_bytes) in pnm_parse() 120 pnmpc->remaining_bytes = next - buf_size; in pnm_parse()
|
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavcodec/ |
H A D | pnm_parser.c | 30 int remaining_bytes; member 51 if (pnmpc->remaining_bytes) { in pnm_parse() 52 int inc = FFMIN(pnmpc->remaining_bytes, buf_size); in pnm_parse() 54 pnmpc->remaining_bytes -= inc; in pnm_parse() 56 if (!pnmpc->remaining_bytes) in pnm_parse() 120 pnmpc->remaining_bytes = next - buf_size; in pnm_parse()
|