Home
last modified time | relevance | path

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

/openbsd-src/usr.sbin/nsd/
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
H A Dserver.c473 ipc_data->total_bytes = 0; in restart_child_servers()
/openbsd-src/gnu/usr.bin/gcc/gcc/
H A Dhashtable.c248 size_t total_bytes, longest, sum_of_squares; local
259 total_bytes = longest = sum_of_squares = nids = 0;
267 total_bytes += n;
276 overhead = obstack_memory_used (&table->stack) - total_bytes;
286 SCALE (total_bytes), LABEL (total_bytes),
291 exp_len = (double)total_bytes / (double)nelts;
H A Dvarasm.c4174 HOST_WIDE_INT total_bytes = 0; local
4238 total_bytes += fieldsize;
4259 total_bytes++;
4266 if ((field != 0 || index != 0) && pos != total_bytes)
4268 assemble_zeros (pos - total_bytes);
4269 total_bytes = pos;
4313 total_bytes += fieldsize;
4331 if (next_offset / BITS_PER_UNIT != total_bytes)
4337 total_bytes++;
4342 if (next_offset / BITS_PER_UNIT != total_bytes)
[all …]
H A Dtree.c4347 int total_nodes, total_bytes; in dump_tree_statistics() local
4354 total_nodes = total_bytes = 0; in dump_tree_statistics()
4360 total_bytes += tree_node_sizes[i]; in dump_tree_statistics()
4363 fprintf (stderr, "%-20s %6d %9d\n", "Total", total_nodes, total_bytes); in dump_tree_statistics()
H A Dloop.c3615 unsigned int total_bytes; /* Total bytes loop will access in this block. member
4044 info[i].total_bytes = info[i].stride * LOOP_INFO (loop)->n_iterations;
4046 info[i].total_bytes = 0xffffffff;
4053 && (info[i].total_bytes / PREFETCH_BLOCK
4058 = (info[i].total_bytes / PREFETCH_BLOCK
4110 int n = info[i].total_bytes / PREFETCH_BLOCK;
4134 info[i].bytes_accessed, info[i].total_bytes);
H A DChangeLog.08393 Protect variables `i', `total_nodes', and `total_bytes' with the
/openbsd-src/sys/dev/pci/drm/i915/gt/
H A Dintel_ring.c236 unsigned int total_bytes; in intel_ring_begin() local
242 total_bytes = bytes + rq->reserved_space; in intel_ring_begin()
243 GEM_BUG_ON(total_bytes > ring->effective_size); in intel_ring_begin()
245 if (unlikely(total_bytes > remain_usable)) { in intel_ring_begin()
254 total_bytes += remain_actual; in intel_ring_begin()
263 total_bytes = rq->reserved_space + remain_actual; in intel_ring_begin()
267 if (unlikely(total_bytes > ring->space)) { in intel_ring_begin()
283 total_bytes); in intel_ring_begin()
/openbsd-src/gnu/gcc/libcpp/
H A Dsymtab.c256 size_t total_bytes, longest; in ht_dump_statistics() local
267 total_bytes = longest = sum_of_squares = nids = 0; in ht_dump_statistics()
275 total_bytes += n; in ht_dump_statistics()
284 overhead = obstack_memory_used (&table->stack) - total_bytes; in ht_dump_statistics()
294 SCALE (total_bytes), LABEL (total_bytes), in ht_dump_statistics()
299 exp_len = (double)total_bytes / (double)nelts; in ht_dump_statistics()
/openbsd-src/gnu/llvm/compiler-rt/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()
/openbsd-src/gnu/usr.bin/binutils/gdb/mi/
H A Dmi-main.c762 long total_bytes; in mi_cmd_data_read_memory() local
859 total_bytes = word_size * nr_rows * nr_cols; in mi_cmd_data_read_memory()
860 mbuf = xcalloc (total_bytes, 1); in mi_cmd_data_read_memory()
863 while (nr_bytes < total_bytes) in mi_cmd_data_read_memory()
867 total_bytes - nr_bytes, in mi_cmd_data_read_memory()
877 ui_out_field_int (uiout, "total-bytes", total_bytes); in mi_cmd_data_read_memory()
880 ui_out_field_core_addr (uiout, "next-page", addr + total_bytes); in mi_cmd_data_read_memory()
881 ui_out_field_core_addr (uiout, "prev-page", addr - total_bytes); in mi_cmd_data_read_memory()
/openbsd-src/gnu/gcc/gcc/
H A Dvarasm.c4206 HOST_WIDE_INT total_bytes = 0; in output_constructor() local
4279 total_bytes += fieldsize; in output_constructor()
4300 total_bytes++; in output_constructor()
4307 if ((field != 0 || index != 0) && pos != total_bytes) in output_constructor()
4309 gcc_assert (pos >= total_bytes); in output_constructor()
4310 assemble_zeros (pos - total_bytes); in output_constructor()
4311 total_bytes = pos; in output_constructor()
4354 total_bytes += fieldsize; in output_constructor()
4372 if (next_offset / BITS_PER_UNIT != total_bytes) in output_constructor()
4378 total_bytes++; in output_constructor()
[all …]
H A Dfold-const.c7020 int total_bytes = GET_MODE_SIZE (TYPE_MODE (type)); in native_encode_int() local
7024 if (total_bytes > len) in native_encode_int()
7026 words = total_bytes / UNITS_PER_WORD; in native_encode_int()
7028 for (byte = 0; byte < total_bytes; byte++) in native_encode_int()
7037 if (total_bytes > UNITS_PER_WORD) in native_encode_int()
7049 offset = BYTES_BIG_ENDIAN ? (total_bytes - 1) - byte : byte; in native_encode_int()
7052 return total_bytes; in native_encode_int()
7065 int total_bytes = GET_MODE_SIZE (TYPE_MODE (type)); in native_encode_real() local
7074 if (total_bytes > len) in native_encode_real()
7080 for (bitpos = 0; bitpos < total_bytes * BITS_PER_UNIT; in native_encode_real()
[all …]
H A Dtree.c5973 int total_nodes, total_bytes; in dump_tree_statistics() local
5980 total_nodes = total_bytes = 0; in dump_tree_statistics()
5986 total_bytes += tree_node_sizes[i]; in dump_tree_statistics()
5989 fprintf (stderr, "%-20s %7d %10d\n", "Total", total_nodes, total_bytes); in dump_tree_statistics()
/openbsd-src/usr.bin/tcpbench/
H A Dtcpbench.c148 unsigned long long total_bytes; /* bytes since t_first */
391 mainstats.total_bytes, direction, total_elapsed/1000.0L); in tcp_stats_display()
600 mainstats.total_bytes += n; in tcp_server_handle_sc()
642 mainstats.total_bytes += n; in tcp_server_accept()
868 mainstats.total_bytes += n; in client_init()
135 unsigned long long total_bytes; /* bytes since t_first */ global() member
/openbsd-src/gnu/llvm/lldb/source/Plugins/StructuredData/DarwinLog/
H A DStructuredDataDarwinLog.cpp1750 size_t total_bytes = 0; in HandleDisplayOfEvent() local
1760 total_bytes += DumpHeader(stream, event); in HandleDisplayOfEvent()
1763 total_bytes += len; in HandleDisplayOfEvent()
1767 total_bytes += sizeof(char); in HandleDisplayOfEvent()
1769 return total_bytes; in HandleDisplayOfEvent()
/openbsd-src/gnu/usr.bin/perl/
H A Dutil.h99 UV total_bytes; member
H A Dutil.c6372 UV total_bytes = 0; /* The size of the whole returned backtrace. */
6415 total_bytes = sizeof(Perl_c_backtrace_header);
6435 total_bytes += sizeof(Perl_c_backtrace_frame);
6460 total_bytes += object_name_sizes[i] + 1;
6461 total_bytes += symbol_name_sizes[i] + 1;
6462 total_bytes += source_name_sizes[i] + 1;
6475 Newxc(bt, total_bytes, char, Perl_c_backtrace);
6476 Zero(bt, total_bytes, char);
6478 bt->header.total_bytes = total_bytes;
6302 UV total_bytes = 0; /* The size of the whole returned backtrace. */ global() local
[all...]
/openbsd-src/gnu/usr.bin/perl/Porting/
H A DcheckURL.pl34 my $total_bytes = sum map {-s} @filenames;
37 { count => $total_bytes,
/openbsd-src/usr.bin/openssl/
H A Ds_server.c2142 total_bytes += i; in www_body()
2144 if (total_bytes > 3 * 1024) { in www_body()
2145 total_bytes = 0; in www_body()
/openbsd-src/sys/dev/ic/
H A Dqwxreg.h9663 uint32_t total_bytes; member
9721 * total_bytes
H A Dqwx.c17261 ath11k_dbg(ab, ATH11K_DBG_HAL, "num_mpdus %d num_msdus %d total_bytes %d\n", in qwx_hal_reo_status_queue_stats()
17263 desc->total_bytes); in qwx_hal_reo_status_queue_stats()