Home
last modified time | relevance | path

Searched refs:total_bytes (Results 1 – 25 of 36) sorted by relevance

12

/netbsd-src/external/bsd/nsd/dist/
H A Dxfrd-tcp.c808 tp->tcp_r->total_bytes = 0; in xfrd_tcp_open()
812 tp->tcp_w->total_bytes = 0; in xfrd_tcp_open()
1003 tcp->total_bytes = 0; in xfrd_tcp_setup_write_packet()
1009 tcp->total_bytes = 0; in tcp_conn_ready_for_reading()
1021 if(tcp->total_bytes < sizeof(tcp->msglen)) { in conn_write_ssl()
1024 request_length = sizeof(tcp->msglen) - tcp->total_bytes; in conn_write_ssl()
1026 sent = SSL_write(ssl, (const char*)&sendlen + tcp->total_bytes, in conn_write_ssl()
1044 tcp->total_bytes += sent; in conn_write_ssl()
1047 if(tcp->total_bytes < sizeof(tcp->msglen)) { in conn_write_ssl()
1051 assert(tcp->total_bytes >= sizeof(tcp->msglen)); in conn_write_ssl()
[all …]
H A Dipc.c340 if(data->got_bytes < sizeof(data->total_bytes)) in parent_handle_child_command()
343 (char*)&data->total_bytes+data->got_bytes, in parent_handle_child_command()
344 sizeof(data->total_bytes)-data->got_bytes)) == -1) { in parent_handle_child_command()
355 if(data->got_bytes < sizeof(data->total_bytes)) in parent_handle_child_command()
357 data->total_bytes = ntohs(data->total_bytes); in parent_handle_child_command()
359 if(data->total_bytes > buffer_capacity(data->packet)) { in parent_handle_child_command()
366 if(data->got_bytes-sizeof(data->total_bytes) < data->total_bytes) { in parent_handle_child_command()
368 data->total_bytes - (data->got_bytes-sizeof(data->total_bytes)) in parent_handle_child_command()
385 got_acl = data->got_bytes - sizeof(data->total_bytes) - data->total_bytes; in parent_handle_child_command()
400 uint16_t len = htons(data->total_bytes); in parent_handle_child_command()
[all …]
H A Dipc.h37 uint16_t total_bytes; member
H A Dxfrd-tcp.h66 uint32_t total_bytes; member
/netbsd-src/external/gpl3/gcc/dist/libcpp/
H A Dsymtab.cc277 size_t total_bytes, longest, deleted = 0; in ht_dump_statistics() local
288 total_bytes = longest = sum_of_squares = nids = 0; in ht_dump_statistics()
298 total_bytes += n; in ht_dump_statistics()
320 SCALE (total_bytes), LABEL (total_bytes)); in ht_dump_statistics()
323 overhead = obstack_memory_used (&table->stack) - total_bytes; in ht_dump_statistics()
326 SCALE (total_bytes), LABEL (total_bytes), in ht_dump_statistics()
332 exp_len = (double)total_bytes / (double)nelts; in ht_dump_statistics()
/netbsd-src/external/gpl3/gcc.old/dist/libcpp/
H A Dsymtab.c277 size_t total_bytes, longest, deleted = 0; in ht_dump_statistics() local
288 total_bytes = longest = sum_of_squares = nids = 0; in ht_dump_statistics()
298 total_bytes += n; in ht_dump_statistics()
320 SCALE (total_bytes), LABEL (total_bytes)); in ht_dump_statistics()
323 overhead = obstack_memory_used (&table->stack) - total_bytes; in ht_dump_statistics()
326 SCALE (total_bytes), LABEL (total_bytes), in ht_dump_statistics()
332 exp_len = (double)total_bytes / (double)nelts; in ht_dump_statistics()
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/gt/
H A Dintel_ring.c228 unsigned int total_bytes; in intel_ring_begin() local
234 total_bytes = bytes + rq->reserved_space; in intel_ring_begin()
235 GEM_BUG_ON(total_bytes > ring->effective_size); in intel_ring_begin()
237 if (unlikely(total_bytes > remain_usable)) { in intel_ring_begin()
246 total_bytes += remain_actual; in intel_ring_begin()
255 total_bytes = rq->reserved_space + remain_actual; in intel_ring_begin()
259 if (unlikely(total_bytes > ring->space)) { in intel_ring_begin()
275 total_bytes); in intel_ring_begin()
/netbsd-src/sys/arch/hpcmips/stand/pbsdboot/
H A Delf.c54 static long total_bytes = 0; variable
113 if (total_bytes != 0) { in vmem_sub()
114 int tmp_progress = *byte_count * 100 / total_bytes; in vmem_sub()
232 total_bytes = byte_count; in scanfile()
344 total_bytes += dbg_info_size; in scanfile()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/nds32/
H A Dnds32-memory-manipulation.c268 unsigned HOST_WIDE_INT total_bytes = UINTVAL (size); in nds32_expand_cpymemsi_loop_known_size() local
289 if (total_bytes < 8) in nds32_expand_cpymemsi_loop_known_size()
322 else if (total_bytes % 8 == 0) in nds32_expand_cpymemsi_loop_known_size()
394 rtx total_bytes, rtx alignment) in nds32_expand_cpymemsi_unroll() argument
438 if (GET_CODE (total_bytes) != CONST_INT in nds32_expand_cpymemsi_unroll()
440 || INTVAL (total_bytes) > maximum_bytes in nds32_expand_cpymemsi_unroll()
448 remain_bytes = INTVAL (total_bytes); in nds32_expand_cpymemsi_unroll()
451 inst_num = ((INTVAL (total_bytes) + (maximum_bytes_per_inst - 1)) in nds32_expand_cpymemsi_unroll()
536 nds32_expand_cpymemsi (rtx dstmem, rtx srcmem, rtx total_bytes, rtx alignment) in nds32_expand_cpymemsi() argument
538 if (nds32_expand_cpymemsi_unroll (dstmem, srcmem, total_bytes, alignment)) in nds32_expand_cpymemsi()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/config/nds32/
H A Dnds32-memory-manipulation.cc268 unsigned HOST_WIDE_INT total_bytes = UINTVAL (size); in nds32_expand_cpymemsi_loop_known_size() local
289 if (total_bytes < 8) in nds32_expand_cpymemsi_loop_known_size()
322 else if (total_bytes % 8 == 0) in nds32_expand_cpymemsi_loop_known_size()
394 rtx total_bytes, rtx alignment) in nds32_expand_cpymemsi_unroll() argument
438 if (GET_CODE (total_bytes) != CONST_INT in nds32_expand_cpymemsi_unroll()
440 || INTVAL (total_bytes) > maximum_bytes in nds32_expand_cpymemsi_unroll()
448 remain_bytes = INTVAL (total_bytes); in nds32_expand_cpymemsi_unroll()
451 inst_num = ((INTVAL (total_bytes) + (maximum_bytes_per_inst - 1)) in nds32_expand_cpymemsi_unroll()
536 nds32_expand_cpymemsi (rtx dstmem, rtx srcmem, rtx total_bytes, rtx alignment) in nds32_expand_cpymemsi() argument
538 if (nds32_expand_cpymemsi_unroll (dstmem, srcmem, total_bytes, alignment)) in nds32_expand_cpymemsi()
[all …]
/netbsd-src/external/bsd/tre/dist/lib/
H A Dtre-match-parallel.c143 size_t tbytes, rbytes, pbytes, xbytes, total_bytes; in tre_tnfa_run_parallel() local
164 total_bytes = in tre_tnfa_run_parallel()
170 buf = alloca(total_bytes); in tre_tnfa_run_parallel()
172 buf = xmalloc((unsigned)total_bytes); in tre_tnfa_run_parallel()
176 memset(buf, 0, (size_t)total_bytes); in tre_tnfa_run_parallel()
H A Dtre-match-approx.c271 size_t total_bytes = reach_bytes * 2 + (tnfa->num_states * 2 + 1 ) * tag_bytes; in tre_tnfa_run_approx() local
274 total_bytes += (sizeof(long) - 1) * 3; in tre_tnfa_run_approx()
278 buf = alloca(total_bytes); in tre_tnfa_run_approx()
280 buf = xmalloc((unsigned)total_bytes); in tre_tnfa_run_approx()
284 memset(buf, 0, (size_t)total_bytes); in tre_tnfa_run_approx()
309 assert(buf_cursor <= buf + total_bytes); in tre_tnfa_run_approx()
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_quarantine.h280 uptr total_bytes = 0; in PrintStats() local
284 total_bytes += (*it).size; in PrintStats()
291 uptr total_quarantined_bytes = total_bytes - total_overhead_bytes; in PrintStats()
297 batch_count, total_bytes, total_quarantined_bytes, in PrintStats()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_quarantine.h280 uptr total_bytes = 0; in PrintStats() local
284 total_bytes += (*it).size; in PrintStats()
291 uptr total_quarantined_bytes = total_bytes - total_overhead_bytes; in PrintStats()
297 batch_count, total_bytes, total_quarantined_bytes, in PrintStats()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_quarantine.h278 uptr total_bytes = 0; in PrintStats() local
282 total_bytes += (*it).size; in PrintStats()
289 uptr total_quarantined_bytes = total_bytes - total_overhead_bytes; in PrintStats()
295 batch_count, total_bytes, total_quarantined_bytes, in PrintStats()
/netbsd-src/libexec/ftpd/
H A Dftpcmd.y230 (LLT)total_bytes, PLURAL(total_bytes),
243 (LLT)total_bytes, PLURAL(total_bytes),
1394 total_bytes++;
1399 total_bytes++;
1406 total_bytes++;
1414 total_bytes++;
H A Dextern.h346 GLOBAL off_t total_bytes_in, total_bytes_out, total_bytes; variable
360 putc(c, f); total_bytes++; total_bytes_out++; \
H A Dftpd.c2139 total_bytes += c; in write_data()
2304 total_bytes++; in send_data()
2312 total_bytes++; in send_data()
2454 total_bytes += c; in receive_data()
2473 total_bytes += c; in receive_data()
2496 total_bytes++; in receive_data()
2509 total_bytes++; in receive_data()
2717 otb = total_bytes; in statcmd()
3767 total_bytes += b; in cprintf()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dvarasm.c5145 HOST_WIDE_INT total_bytes; /* # bytes output so far / current position. */ member
5176 if (fieldpos > local->total_bytes) in output_constructor_array_range()
5178 assemble_zeros (fieldpos - local->total_bytes); in output_constructor_array_range()
5179 local->total_bytes = fieldpos; in output_constructor_array_range()
5183 gcc_assert (fieldpos == local->total_bytes); in output_constructor_array_range()
5207 local->total_bytes += fieldsize; in output_constructor_array_range()
5228 local->total_bytes++; in output_constructor_regular_field()
5253 if (fieldpos > local->total_bytes) in output_constructor_regular_field()
5255 assemble_zeros (fieldpos - local->total_bytes); in output_constructor_regular_field()
5256 local->total_bytes = fieldpos; in output_constructor_regular_field()
[all …]
H A Dfold-const.c7630 int total_bytes = GET_MODE_SIZE (SCALAR_INT_TYPE_MODE (type)); in native_encode_int() local
7634 if ((off == -1 && total_bytes > len) || off >= total_bytes) in native_encode_int()
7641 return MIN (len, total_bytes - off); in native_encode_int()
7643 words = total_bytes / UNITS_PER_WORD; in native_encode_int()
7645 for (byte = 0; byte < total_bytes; byte++) in native_encode_int()
7652 if (total_bytes > UNITS_PER_WORD) in native_encode_int()
7664 offset = BYTES_BIG_ENDIAN ? (total_bytes - 1) - byte : byte; in native_encode_int()
7668 return MIN (len, total_bytes - off); in native_encode_int()
7682 int total_bytes = GET_MODE_SIZE (mode); in native_encode_fixed() local
7686 if (total_bytes * BITS_PER_UNIT > HOST_BITS_PER_DOUBLE_INT) in native_encode_fixed()
[all …]
H A Dgimple-ssa-store-merging.c1573 unsigned int total_bytes) in encode_tree_to_bitpos() argument
1587 if (first_byte >= total_bytes) in encode_tree_to_bitpos()
1589 total_bytes -= first_byte; in encode_tree_to_bitpos()
1594 if (rhs_bytes > total_bytes) in encode_tree_to_bitpos()
1599 return native_encode_expr (expr, ptr + first_byte, total_bytes) != 0; in encode_tree_to_bitpos()
1651 if (rhs_bytes > total_bytes) in encode_tree_to_bitpos()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dvarasm.cc5407 HOST_WIDE_INT total_bytes; /* # bytes output so far / current position. */ member
5438 if (fieldpos > local->total_bytes) in output_constructor_array_range()
5440 assemble_zeros (fieldpos - local->total_bytes); in output_constructor_array_range()
5441 local->total_bytes = fieldpos; in output_constructor_array_range()
5445 gcc_assert (fieldpos == local->total_bytes); in output_constructor_array_range()
5469 local->total_bytes += fieldsize; in output_constructor_array_range()
5490 local->total_bytes++; in output_constructor_regular_field()
5515 if (fieldpos > local->total_bytes) in output_constructor_regular_field()
5517 assemble_zeros (fieldpos - local->total_bytes); in output_constructor_regular_field()
5518 local->total_bytes = fieldpos; in output_constructor_regular_field()
[all …]
H A Dfold-const.cc7727 int total_bytes = GET_MODE_SIZE (SCALAR_INT_TYPE_MODE (type)); in native_encode_int() local
7731 if ((off == -1 && total_bytes > len) || off >= total_bytes) in native_encode_int()
7738 return MIN (len, total_bytes - off); in native_encode_int()
7740 words = total_bytes / UNITS_PER_WORD; in native_encode_int()
7742 for (byte = 0; byte < total_bytes; byte++) in native_encode_int()
7749 if (total_bytes > UNITS_PER_WORD) in native_encode_int()
7761 offset = BYTES_BIG_ENDIAN ? (total_bytes - 1) - byte : byte; in native_encode_int()
7765 return MIN (len, total_bytes - off); in native_encode_int()
7779 int total_bytes = GET_MODE_SIZE (mode); in native_encode_fixed() local
7783 if (total_bytes * BITS_PER_UNIT > HOST_BITS_PER_DOUBLE_INT) in native_encode_fixed()
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/apps/
H A Ds_server.c3004 int total_bytes = 0; in www_body() local
3335 total_bytes += i; in www_body()
3337 if (total_bytes > 3 * 1024) { in www_body()
3338 total_bytes = 0; in www_body()
/netbsd-src/crypto/external/bsd/openssl/dist/apps/
H A Ds_server.c3047 int total_bytes = 0; in www_body() local
3440 total_bytes += i; in www_body()
3442 if (total_bytes > 3 * 1024) { in www_body()
3443 total_bytes = 0; in www_body()

12