Home
last modified time | relevance | path

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

12

/external/u-boot/drivers/fpga/
DstratixII.c74 int bytecount; in StratixII_ps_fpp_load() local
124 bytecount = 0; in StratixII_ps_fpp_load()
128 while (bytecount < bsize) { in StratixII_ps_fpp_load()
133 __FUNCTION__, __LINE__, bytecount); in StratixII_ps_fpp_load()
139 uint8_t data = buff[bytecount++]; in StratixII_ps_fpp_load()
150 fns->data (buff[bytecount++], 1, cookie); in StratixII_ps_fpp_load()
164 if ((bytecount % (bsize / 100)) == 0) { in StratixII_ps_fpp_load()
165 printf ("\b\b\b%02d\%", bytecount * 100 / bsize); in StratixII_ps_fpp_load()
Dspartan2.c108 size_t bytecount = 0; in spartan2_sp_load() local
170 while (bytecount < bsize) { in spartan2_sp_load()
174 (*fn->wdata) (data[bytecount++], true, cookie); /* write the data */ in spartan2_sp_load()
200 if (bytecount % (bsize / 40) == 0) in spartan2_sp_load()
258 size_t bytecount = 0; in spartan2_sp_dump() local
267 while (bytecount < bsize) { in spartan2_sp_dump()
272 (*fn->rdata) (&(data[bytecount++]), cookie); /* read the data */ in spartan2_sp_dump()
274 if (bytecount % (bsize / 40) == 0) in spartan2_sp_dump()
310 size_t bytecount = 0; in spartan2_ss_load() local
364 while (bytecount < bsize) { in spartan2_ss_load()
[all …]
Dspartan3.c112 size_t bytecount = 0; in spartan3_sp_load() local
174 while (bytecount < bsize) { in spartan3_sp_load()
178 (*fn->wdata) (data[bytecount++], true, cookie); /* write the data */ in spartan3_sp_load()
204 if (bytecount % (bsize / 40) == 0) in spartan3_sp_load()
264 size_t bytecount = 0; in spartan3_sp_dump() local
273 while (bytecount < bsize) { in spartan3_sp_dump()
278 (*fn->rdata) (&(data[bytecount++]), cookie); /* read the data */ in spartan3_sp_dump()
280 if (bytecount % (bsize / 40) == 0) in spartan3_sp_dump()
316 size_t bytecount = 0; in spartan3_ss_load() local
377 while (bytecount < bsize) { in spartan3_ss_load()
[all …]
Dvirtex2.c166 size_t bytecount = 0; in virtex2_ssm_load() local
248 while (bytecount < bsize) { in virtex2_ssm_load()
258 __FUNCTION__, __LINE__, bytecount); in virtex2_ssm_load()
267 bytecount, bsize); in virtex2_ssm_load()
273 (*fn->wdata) (data[bytecount++], true, cookie); in virtex2_ssm_load()
297 if (bytecount % (bsize / 40) == 0) in virtex2_ssm_load()
363 size_t bytecount = 0; in virtex2_ssm_dump() local
371 while (bytecount < bsize) { in virtex2_ssm_dump()
383 (*fn->rdata) (&(data[bytecount++]), cookie); in virtex2_ssm_dump()
385 if (bytecount % (bsize / 40) == 0) in virtex2_ssm_dump()
DACEX1K.c99 size_t bytecount = 0; in ACEX1K_ps_load() local
157 while (bytecount < bsize) { in ACEX1K_ps_load()
174 val = data [bytecount ++ ]; in ACEX1K_ps_load()
191 if (bytecount % (bsize / 40) == 0) in ACEX1K_ps_load()
/external/pdfium/third_party/libtiff/
Dtif_read.c695 uint64 bytecount; in TIFFReadRawStrip() local
713 bytecount = td->td_stripbytecount[strip]; in TIFFReadRawStrip()
714 if ((int64)bytecount <= 0) { in TIFFReadRawStrip()
718 (unsigned __int64) bytecount, in TIFFReadRawStrip()
723 (unsigned long long) bytecount, in TIFFReadRawStrip()
728 bytecountm = (tmsize_t)bytecount; in TIFFReadRawStrip()
729 if ((uint64)bytecountm!=bytecount) { in TIFFReadRawStrip()
753 uint64 bytecount = td->td_stripbytecount[strip]; in TIFFFillStrip() local
754 if ((int64)bytecount <= 0) { in TIFFFillStrip()
758 (unsigned __int64) bytecount, in TIFFFillStrip()
[all …]
Dtif_strip.c153 uint64 bytecount = td->td_stripbytecount[strip]; in TIFFRawStripSize64() local
155 if (bytecount == 0) in TIFFRawStripSize64()
160 (unsigned __int64) bytecount, in TIFFRawStripSize64()
165 (unsigned long long) bytecount, in TIFFRawStripSize64()
168 bytecount = (uint64) -1; in TIFFRawStripSize64()
171 return bytecount; in TIFFRawStripSize64()
/external/ltp/testcases/kernel/mem/mtest01/
Dmtest01.c82 unsigned long bytecount, alloc_bytes, max_pids; in main() local
257 bytecount = chunksize; in main()
261 "stopped at %lu bytes", bytecount); in main()
271 bytecount, chunksize); in main()
272 bytecount += chunksize; in main()
273 if (alloc_bytes && bytecount >= alloc_bytes) in main()
278 bytecount); in main()
281 bytecount); in main()
/external/u-boot/board/astro/mcf5373l/
Dfpga.c103 size_t bytecount = 0; in altera_write_fn() local
110 while (bytecount < len) { in altera_write_fn()
111 val = data[bytecount++]; in altera_write_fn()
124 if (bytecount % len_40 == 0) { in altera_write_fn()
325 size_t bytecount = 0; in xilinx_fastwr_config_fn() local
332 for (bytecount = 0; bytecount < len; bytecount++) { in xilinx_fastwr_config_fn()
343 if (bytecount % len_40 == 0) { in xilinx_fastwr_config_fn()
/external/libxml2/os400/
Dlibxmlmain.c39 size_t bytecount = 0; in main() local
65 bytecount += outbuf - dummybuf; in main()
72 argv = (char * *) malloc((argc + 1) * sizeof *argv + bytecount); in main()
76 outbytesleft = bytecount; in main()
/external/curl/lib/
Dopenldap.c499 data->req.size = data->req.bytecount; in ldap_recv()
536 data->req.bytecount += bv.bv_len + 5; in ldap_recv()
568 data->req.bytecount += bv.bv_len + 3; in ldap_recv()
592 data->req.bytecount += bv.bv_len + 2; in ldap_recv()
632 data->req.bytecount += 2; in ldap_recv()
641 data->req.bytecount += val_b64_sz; in ldap_recv()
658 data->req.bytecount += bvals[i].bv_len + 1; in ldap_recv()
666 data->req.bytecount++; in ldap_recv()
674 data->req.bytecount++; in ldap_recv()
681 data->req.bytecount++; in ldap_recv()
Dtransfer.c615 curl_off_t totalleft = k->size - k->bytecount; in readwrite_data()
638 if((k->bytecount == 0) && (k->writebytecount == 0)) { in readwrite_data()
863 k->bytecount += k->hbuflen; in readwrite_data()
867 (k->bytecount + nread >= k->maxdownload)) { in readwrite_data()
869 excess = (size_t)(k->bytecount + nread - k->maxdownload); in readwrite_data()
878 k->size, k->maxdownload, k->bytecount, nread); in readwrite_data()
888 excess, k->size, k->maxdownload, k->bytecount); in readwrite_data()
892 nread = (ssize_t) (k->maxdownload - k->bytecount); in readwrite_data()
899 k->bytecount += nread; in readwrite_data()
901 Curl_pgrsSetDownloadCounter(data, k->bytecount); in readwrite_data()
[all …]
Dfile.c259 curl_off_t bytecount = 0; in file_upload() local
342 bytecount += nread; in file_upload()
344 Curl_pgrsSetUploadCounter(data, bytecount); in file_upload()
383 curl_off_t bytecount = 0; in file_do() local
523 bytecount += nread; in file_do()
531 Curl_pgrsSetDownloadCounter(data, bytecount); in file_do()
Dsmb.c581 curl_off_t upload_size = conn->data->req.size - conn->data->req.bytecount; in smb_send_write()
840 conn->data->req.bytecount += len; in smb_request_state()
842 Curl_pgrsSetDownloadCounter(conn->data, conn->data->req.bytecount); in smb_request_state()
854 conn->data->req.bytecount += len; in smb_request_state()
856 Curl_pgrsSetUploadCounter(conn->data, conn->data->req.bytecount); in smb_request_state()
857 if(conn->data->req.bytecount >= conn->data->req.size) in smb_request_state()
Dssh-libssh.c1322 data->req.bytecount += sshc->readdir_len + 1; in myssh_statemach_act()
1447 data->req.bytecount += sshc->readdir_currLen; in myssh_statemach_act()
1763 curl_off_t bytecount; in myssh_statemach_act() local
1774 bytecount = ssh_scp_request_get_size(sshc->scp_session); in myssh_statemach_act()
1775 data->req.maxdownload = (curl_off_t) bytecount; in myssh_statemach_act()
1776 Curl_setup_transfer(data, FIRSTSOCKET, bytecount, FALSE, -1); in myssh_statemach_act()
Dcurl_rtmp.c293 conn->data->req.size = conn->data->req.bytecount; in rtmp_recv()
Dmime.c278 size_t bytecount = 0; in escape_string() local
284 bytecount++; in escape_string()
286 bytecount += i; in escape_string()
287 dst = malloc(bytecount + 1); in escape_string()
Dssh.c1971 data->req.bytecount += sshc->readdir_len + 1; in ssh_statemach_act()
2087 data->req.bytecount += sshc->readdir_currLen; in ssh_statemach_act()
2422 curl_off_t bytecount; in ssh_statemach_act() local
2466 bytecount = (curl_off_t)sb.st_size; in ssh_statemach_act()
2468 Curl_setup_transfer(data, FIRSTSOCKET, bytecount, FALSE, -1); in ssh_statemach_act()
Dftp.c3310 data->req.bytecount, data->state.infilesize); in ftp_done()
3316 (data->req.size != data->req.bytecount) && in ftp_done()
3323 data->req.bytecount) && in ftp_done()
3325 (data->req.maxdownload != data->req.bytecount)) { in ftp_done()
3327 " bytes", data->req.bytecount); in ftp_done()
3331 !data->req.bytecount && in ftp_done()
Dtftp.c1148 k->bytecount += state->rbytes-4; in tftp_receive_packet()
1149 Curl_pgrsSetDownloadCounter(data, (curl_off_t) k->bytecount); in tftp_receive_packet()
/external/u-boot/drivers/net/
Dxilinx_emaclite.c98 static void xemaclite_alignedread(u32 *srcptr, void *destptr, u32 bytecount) in xemaclite_alignedread() argument
111 while (bytecount > 3) { in xemaclite_alignedread()
113 bytecount -= 4; in xemaclite_alignedread()
120 for (i = 0; i < bytecount; i++) in xemaclite_alignedread()
124 static void xemaclite_alignedwrite(void *srcptr, u32 *destptr, u32 bytecount) in xemaclite_alignedwrite() argument
134 while (bytecount > 3) { in xemaclite_alignedwrite()
137 bytecount -= 4; in xemaclite_alignedwrite()
144 for (i = 0; i < bytecount; i++) in xemaclite_alignedwrite()
/external/scapy/scapy/contrib/
Disis.py149 self.bytecount = template.count("*")
153 if self.bytecount == 0:
158 for _ in range(self.bytecount):
165 def __init__(self, bytecount= None): argument
166 self.bytecount = random.randint(1, 13) if bytecount is None else bytecount
167 …self.format = "%02X" + (".%02X%02X" * ((self.bytecount-1) // 2)) + ("" if ((self.bytecount-1) % 2)…
/external/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()
/external/u-boot/drivers/usb/gadget/
Datmel_usba_udc.c95 unsigned int bytecount, nr_busy; in receive_data() local
111 bytecount = USBA_BFEXT(BYTE_COUNT, status); in receive_data()
115 if (req->req.actual + bytecount >= req->req.length) { in receive_data()
117 bytecount = req->req.length - req->req.actual; in receive_data()
120 memcpy(req->req.buf + req->req.actual, ep->fifo, bytecount); in receive_data()
121 req->req.actual += bytecount; in receive_data()
/external/linux-kselftest/tools/testing/selftests/x86/
Dldt_gdt.c224 unsigned long bytecount) in safe_modify_ldt() argument
226 int ret = syscall(SYS_modify_ldt, 0x11, ptr, bytecount); in safe_modify_ldt()

12