Home
last modified time | relevance | path

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

12

/third_party/ltp/testcases/kernel/mem/mtest01/
Dmtest01.c138 unsigned long bytecount = 0; in child_loop_alloc() local
151 getpid(), bytecount, chunksize); in child_loop_alloc()
152 bytecount += chunksize; in child_loop_alloc()
153 if (bytecount >= alloc_bytes) in child_loop_alloc()
158 tst_timeout_remaining(), bytecount, getpid()); in child_loop_alloc()
161 tst_timeout_remaining(), bytecount, getpid()); in child_loop_alloc()
/third_party/curl/packages/OS400/
Dcurlmain.c58 size_t bytecount = 0; in main() local
83 bytecount += outbuf - dummybuf; in main()
91 argv = (char **) malloc((argc + 1) * sizeof(*argv) + bytecount); in main()
95 outbytesleft = bytecount; in main()
/third_party/curl/lib/
Dfile.c294 curl_off_t bytecount = 0; in file_upload() local
377 bytecount += nread; in file_upload()
379 Curl_pgrsSetUploadCounter(data, bytecount); in file_upload()
417 curl_off_t bytecount = 0; in file_do() local
566 bytecount += nread; in file_do()
574 result = Curl_pgrsSetDownloadCounter(data, bytecount); in file_do()
Dtransfer.c454 curl_off_t totalleft = k->size - k->bytecount; in readwrite_data()
479 if(!k->bytecount) { in readwrite_data()
638 k->bytecount += headlen; in readwrite_data()
642 (k->bytecount + nread >= k->maxdownload)) { in readwrite_data()
644 excess = (size_t)(k->bytecount + nread - k->maxdownload); in readwrite_data()
652 excess, k->size, k->maxdownload, k->bytecount); in readwrite_data()
656 nread = (ssize_t) (k->maxdownload - k->bytecount); in readwrite_data()
669 k->bytecount += nread; in readwrite_data()
672 result = Curl_pgrsSetDownloadCounter(data, k->bytecount); in readwrite_data()
1196 k->bytecount, k->size); in Curl_readwrite()
[all …]
Dsmb.c781 curl_off_t upload_size = data->req.size - data->req.bytecount; in smb_send_write()
1050 data->req.bytecount += len; in smb_request_state()
1052 result = Curl_pgrsSetDownloadCounter(data, data->req.bytecount); in smb_request_state()
1069 data->req.bytecount += len; in smb_request_state()
1071 Curl_pgrsSetUploadCounter(data, data->req.bytecount); in smb_request_state()
1072 if(data->req.bytecount >= data->req.size) in smb_request_state()
Dmqtt.c674 data->req.bytecount = 0; in mqtt_read_publish()
699 k->bytecount += nread; in mqtt_read_publish()
700 result = Curl_pgrsSetDownloadCounter(data, k->bytecount); in mqtt_read_publish()
Dopenldap.c951 data->req.bytecount += plen; in client_write()
956 data->req.bytecount += len; in client_write()
961 data->req.bytecount += slen; in client_write()
1019 data->req.size = data->req.bytecount; in oldap_recv()
Dc-hyper.c151 if(!data->req.bytecount) in hyper_each_header()
256 data->req.bytecount += len; in hyper_body_chunk()
257 result = Curl_pgrsSetDownloadCounter(data, data->req.bytecount); in hyper_body_chunk()
414 if(!data->req.bytecount) in Curl_hyper_stream()
Dcurl_rtmp.c314 data->req.size = data->req.bytecount; in rtmp_recv()
Dtftp.c1145 k->bytecount += state->rbytes-4; in tftp_receive_packet()
1147 (curl_off_t) k->bytecount); in tftp_receive_packet()
Dftp.c3420 (data->req.size != data->req.bytecount) && in ftp_done()
3427 data->req.bytecount) && in ftp_done()
3429 (data->req.maxdownload != data->req.bytecount)) { in ftp_done()
3431 " bytes", data->req.bytecount); in ftp_done()
3435 !data->req.bytecount && in ftp_done()
Dimap.c1197 data->req.bytecount += chunk; in imap_state_fetch_resp()
1217 if(data->req.bytecount == size) in imap_state_fetch_resp()
Durldata.h637 curl_off_t bytecount; /* total number of bytes read */ member
Dmulti.c1652 k->bytecount, k->size);
1659 k->bytecount);
Durl.c3976 k->bytecount = 0;
Dhttp.c1624 (data->req.bytecount + in Curl_http_done()
/third_party/ltp/testcases/kernel/syscalls/fork/
Dfork05.c134 static void modify_ldt(int func, struct modify_ldt_ldt_s *ptr, int bytecount) in modify_ldt() argument
136 ltp_syscall(__NR_modify_ldt, func, ptr, bytecount); in modify_ldt()
/third_party/FreeBSD/sys/dev/random/
Dyarrow.c377 random_yarrow_read(uint8_t *buf, u_int bytecount) in random_yarrow_read() argument
381 …KASSERT((bytecount % RANDOM_BLOCKSIZE) == 0, ("%s(): bytecount (= %d) must be a multiple of %d", _… in random_yarrow_read()
383 blockcount = howmany(bytecount, RANDOM_BLOCKSIZE); in random_yarrow_read()
/third_party/libsnd/src/
Dsvx.c135 int bytecount = 0, channels ; in svx_read_header() local
269 bytecount += psf_binheader_readf (psf, "E4", &channels) ; in svx_read_header()
280 psf_binheader_readf (psf, "j", chunk_size - bytecount) ; in svx_read_header()
/third_party/mesa3d/src/panfrost/midgard/
Dmidgard_schedule.c527 unsigned bytecount = 0; in mir_pipeline_count() local
537 bytecount += max; in mir_pipeline_count()
540 bytecount += 4; in mir_pipeline_count()
544 unsigned dwords = DIV_ROUND_UP(bytecount, 16); in mir_pipeline_count()
/third_party/curl/lib/vssh/
Dlibssh.c1471 data->req.bytecount += sshc->readdir_len + 1; in myssh_statemach_act()
1571 data->req.bytecount += Curl_dyn_len(&sshc->readdir_buf); in myssh_statemach_act()
1891 curl_off_t bytecount; in myssh_statemach_act() local
1902 bytecount = ssh_scp_request_get_size(sshc->scp_session); in myssh_statemach_act()
1903 data->req.maxdownload = (curl_off_t) bytecount; in myssh_statemach_act()
1904 Curl_setup_transfer(data, FIRSTSOCKET, bytecount, FALSE, -1); in myssh_statemach_act()
Dlibssh2.c2346 data->req.bytecount += readdir_len + 1; in ssh_statemach_act()
2435 data->req.bytecount += Curl_dyn_len(&sshp->readdir); in ssh_statemach_act()
2774 curl_off_t bytecount; in ssh_statemach_act() local
2818 bytecount = (curl_off_t)sb.st_size; in ssh_statemach_act()
2820 Curl_setup_transfer(data, FIRSTSOCKET, bytecount, FALSE, -1); in ssh_statemach_act()
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp_cc_functions.c2022 net->cc_mod.htcp_ca.bytecount = 0; in measure_achieved_throughput()
2027 net->cc_mod.htcp_ca.bytecount += net->net_ack; in measure_achieved_throughput()
2028 …if ((net->cc_mod.htcp_ca.bytecount >= net->cwnd - (((net->cc_mod.htcp_ca.alpha >> 7) ? (net->cc_mo… in measure_achieved_throughput()
2031 uint32_t cur_Bi = net->cc_mod.htcp_ca.bytecount/net->mtu*hz/(now - net->cc_mod.htcp_ca.lasttime); in measure_achieved_throughput()
2043 net->cc_mod.htcp_ca.bytecount = 0; in measure_achieved_throughput()
Dsctp_structs.h261 uint32_t bytecount; member
/third_party/gstreamer/gstreamer/libs/gst/base/
Dgstbaseparse.c257 guint64 bytecount; member
845 parse->priv->bytecount = 0; in gst_base_parse_reset()
1803 bytes = parse->priv->bytecount; in gst_base_parse_convert_default()
2504 parse->priv->bytecount += frame->size; in gst_base_parse_push_frame()

12