Home
last modified time | relevance | path

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

1234567

/dports/games/odamex/odamex-src-0.7.0/client/src/
H A Dcl_download.cpp66 unsigned int got_bytes; member
82 got_bytes = 0; in clear()
230 download.got_bytes = 0; in CL_RequestDownload()
237 MSG_WriteLong(&net_buffer, download.got_bytes); in CL_RequestDownload()
250 (download.got_bytes >= download.buf->maxsize())) in CL_RequestDownload()
279 if (download.got_bytes == 0) in CL_DownloadStart()
337 if(offset < download.got_bytes || offset > download.got_bytes) in CL_Download()
343 MSG_WriteLong(&net_buffer, download.got_bytes); in CL_Download()
353 download.got_bytes += len; in CL_Download()
357 int percent = (download.got_bytes*100)/download.buf->maxsize(); in CL_Download()
[all …]
/dports/games/atanks/atanks-6.5/src/
H A Dupdate.cpp53 int got_bytes; in operator ()() local
80 got_bytes = read(socket_num, buffer, 1024); in operator ()()
83 if (got_bytes > 1) in operator ()()
85 while ( (got_bytes > 1) && (! found) ) { in operator ()()
86 got_bytes = read(socket_num, buffer, 1024); in operator ()()
87 if (got_bytes > 1) in operator ()()
/dports/devel/p5-IPC-Run3/IPC-Run3-0.048/t/
H A Dutf8.t23 my @got_bytes;
24 { use bytes; @got_bytes = unpack('C*', $out); }
25 is "@got_bytes", "@expected_bytes", "compare raw bytes read from command";
/dports/dns/nsd/nsd-4.3.9/
H A Dipc.c375 "main passed packet readup %d", (int)data->got_bytes)); in parent_handle_child_command()
376 if(data->got_bytes < sizeof(data->total_bytes)) in parent_handle_child_command()
379 (char*)&data->total_bytes+data->got_bytes, in parent_handle_child_command()
380 sizeof(data->total_bytes)-data->got_bytes)) == -1) { in parent_handle_child_command()
390 data->got_bytes += len; in parent_handle_child_command()
391 if(data->got_bytes < sizeof(data->total_bytes)) in parent_handle_child_command()
404 data->total_bytes - (data->got_bytes-sizeof(data->total_bytes)) in parent_handle_child_command()
415 data->got_bytes += len; in parent_handle_child_command()
434 data->got_bytes += len; in parent_handle_child_command()
438 "main fwd passed packet write %d", (int)data->got_bytes)); in parent_handle_child_command()
[all …]
H A Dipc.h36 size_t got_bytes; member
/dports/games/edge/Edge-1.35-source/epi/
H A Dsound_wav.cc234 int got_bytes = decode_F->Read(buffer, want * bytes_each); // FIXME: DECODE U8 --> S16 in read_sample_fmt_normal() local
236 if (got_bytes < 0) in read_sample_fmt_normal()
239 return got_bytes; in read_sample_fmt_normal()
243 if (got_bytes == 0) in read_sample_fmt_normal()
254 for (int i = got_bytes-1; i >= 0; i--) in read_sample_fmt_normal()
264 for (int i = 0; i < got_bytes / 2; i++) in read_sample_fmt_normal()
268 w->bytes_left -= got_bytes; in read_sample_fmt_normal()
270 return got_bytes / bytes_each; in read_sample_fmt_normal()
/dports/audio/gtkguitune/gtkguitune/
H A Dguitune.cc275 got_bytes = 0; in init_audio()
460 r = read(audio_fd, c + got_bytes, blksize); in proc_audio()
475 got_bytes += r; in proc_audio()
477 got_samples = got_bytes; in proc_audio()
504 got_bytes = 0; in proc_audio()
535 got_bytes = 0; in proc_audio()
H A Dguitune.h103 int got_bytes; variable
/dports/lang/perl5.34/perl-5.34.0/cpan/Math-BigInt/t/
H A Dto_ieee754-mbf.t197 my $got_bytes = $x -> to_ieee754($format);
198 my $got_hex = unpack "H*", $got_bytes;
/dports/lang/perl5.32/perl-5.32.1/cpan/Math-BigInt/t/
H A Dto_ieee754-mbf.t197 my $got_bytes = $x -> to_ieee754($format);
198 my $got_hex = unpack "H*", $got_bytes;
/dports/lang/perl5-devel/perl5-5.35.4-102-ge43d289c7c/cpan/Math-BigInt/t/
H A Dto_ieee754-mbf.t197 my $got_bytes = $x -> to_ieee754($format);
198 my $got_hex = unpack "H*", $got_bytes;
/dports/graphics/argyllcms/Argyll_V1.9.2/ccast/axTLS/
H A Dtemp2 …or req %d to 0x%x\n",ssl->bm_read_index, read_len, ssl->need_bytes-ssl->got_bytes,&buf[ssl->bm_rea…
/dports/devel/glib20/glib-2.70.4/glib/
H A Dgiochannel.c2019 gsize got_bytes; in g_io_channel_read_chars() local
2076 got_bytes = MIN (count, BUF_LEN (USE_BUF (channel))); in g_io_channel_read_chars()
2078 g_assert (got_bytes > 0); in g_io_channel_read_chars()
2095 while (nextchar < channel->encoded_read_buf->str + got_bytes); in g_io_channel_read_chars()
2097 if (nextchar > channel->encoded_read_buf->str + got_bytes) in g_io_channel_read_chars()
2098 got_bytes = prevchar - channel->encoded_read_buf->str; in g_io_channel_read_chars()
2100 g_assert (got_bytes > 0 || count < 6); in g_io_channel_read_chars()
2103 memcpy (buf, USE_BUF (channel)->str, got_bytes); in g_io_channel_read_chars()
2104 g_string_erase (USE_BUF (channel), 0, got_bytes); in g_io_channel_read_chars()
2107 *bytes_read = got_bytes; in g_io_channel_read_chars()
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/storage/innobase/trx/
H A Dtrx0i_s.cc292 ulint got_bytes; in table_cache_create_empty_row() local
333 got_bytes = req_bytes; in table_cache_create_empty_row()
336 got_rows = got_bytes / table_cache->row_size; in table_cache_create_empty_row()
338 cache->mem_allocd += got_bytes; in table_cache_create_empty_row()
344 i, req_bytes, got_bytes, in table_cache_create_empty_row()
/dports/comms/direwolf/direwolf-1.6/src/
H A Dserver.c1289 int got_bytes = 0; in read_from_socket() local
1295 while (got_bytes < len) { in read_from_socket()
1298 n = SOCK_RECV (fd, ptr + got_bytes, len - got_bytes); in read_from_socket()
1308 got_bytes += n; in read_from_socket()
1310 assert (got_bytes >= 0 && got_bytes <= len); in read_from_socket()
1314 dw_printf ("read_from_socket: return %d\n", got_bytes); in read_from_socket()
1316 return (got_bytes); in read_from_socket()
/dports/math/p5-Math-BigInt/Math-BigInt-1.999827/t/
H A Dto_ieee754-mbf.t197 my $got_bytes = $x -> to_ieee754($format);
198 my $got_hex = unpack "H*", $got_bytes;
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/storage/innobase/trx/
H A Dtrx0i_s.cc300 ulint got_bytes; in table_cache_create_empty_row() local
346 got_bytes = req_bytes; in table_cache_create_empty_row()
349 got_rows = got_bytes / table_cache->row_size; in table_cache_create_empty_row()
351 cache->mem_allocd += got_bytes; in table_cache_create_empty_row()
357 i, req_bytes, got_bytes, in table_cache_create_empty_row()
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/storage/innobase/trx/
H A Dtrx0i_s.cc300 ulint got_bytes; in table_cache_create_empty_row() local
346 got_bytes = req_bytes; in table_cache_create_empty_row()
349 got_rows = got_bytes / table_cache->row_size; in table_cache_create_empty_row()
351 cache->mem_allocd += got_bytes; in table_cache_create_empty_row()
357 i, req_bytes, got_bytes, in table_cache_create_empty_row()
/dports/databases/mysql57-client/mysql-5.7.36/storage/innobase/trx/
H A Dtrx0i_s.cc300 ulint got_bytes; in table_cache_create_empty_row() local
346 got_bytes = req_bytes; in table_cache_create_empty_row()
349 got_rows = got_bytes / table_cache->row_size; in table_cache_create_empty_row()
351 cache->mem_allocd += got_bytes; in table_cache_create_empty_row()
357 i, req_bytes, got_bytes, in table_cache_create_empty_row()
/dports/databases/mariadb105-client/mariadb-10.5.15/storage/innobase/trx/
H A Dtrx0i_s.cc262 ulint got_bytes; in table_cache_create_empty_row() local
308 got_bytes = req_bytes; in table_cache_create_empty_row()
311 got_rows = got_bytes / table_cache->row_size; in table_cache_create_empty_row()
313 cache->mem_allocd += got_bytes; in table_cache_create_empty_row()
319 i, req_bytes, got_bytes, in table_cache_create_empty_row()
/dports/databases/mariadb104-server/mariadb-10.4.24/storage/innobase/trx/
H A Dtrx0i_s.cc280 ulint got_bytes; in table_cache_create_empty_row() local
326 got_bytes = req_bytes; in table_cache_create_empty_row()
329 got_rows = got_bytes / table_cache->row_size; in table_cache_create_empty_row()
331 cache->mem_allocd += got_bytes; in table_cache_create_empty_row()
337 i, req_bytes, got_bytes, in table_cache_create_empty_row()
/dports/databases/mariadb104-client/mariadb-10.4.24/storage/innobase/trx/
H A Dtrx0i_s.cc280 ulint got_bytes; in table_cache_create_empty_row() local
326 got_bytes = req_bytes; in table_cache_create_empty_row()
329 got_rows = got_bytes / table_cache->row_size; in table_cache_create_empty_row()
331 cache->mem_allocd += got_bytes; in table_cache_create_empty_row()
337 i, req_bytes, got_bytes, in table_cache_create_empty_row()
/dports/databases/mariadb103-server/mariadb-10.3.34/storage/innobase/trx/
H A Dtrx0i_s.cc283 ulint got_bytes; in table_cache_create_empty_row() local
329 got_bytes = req_bytes; in table_cache_create_empty_row()
332 got_rows = got_bytes / table_cache->row_size; in table_cache_create_empty_row()
334 cache->mem_allocd += got_bytes; in table_cache_create_empty_row()
340 i, req_bytes, got_bytes, in table_cache_create_empty_row()
/dports/databases/mariadb103-client/mariadb-10.3.34/storage/innobase/trx/
H A Dtrx0i_s.cc283 ulint got_bytes; in table_cache_create_empty_row() local
329 got_bytes = req_bytes; in table_cache_create_empty_row()
332 got_rows = got_bytes / table_cache->row_size; in table_cache_create_empty_row()
334 cache->mem_allocd += got_bytes; in table_cache_create_empty_row()
340 i, req_bytes, got_bytes, in table_cache_create_empty_row()
/dports/databases/mariadb105-server/mariadb-10.5.15/storage/innobase/trx/
H A Dtrx0i_s.cc262 ulint got_bytes; in table_cache_create_empty_row() local
308 got_bytes = req_bytes; in table_cache_create_empty_row()
311 got_rows = got_bytes / table_cache->row_size; in table_cache_create_empty_row()
313 cache->mem_allocd += got_bytes; in table_cache_create_empty_row()
319 i, req_bytes, got_bytes, in table_cache_create_empty_row()

1234567