Home
last modified time | relevance | path

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

123

/netbsd-src/crypto/external/bsd/openssh/dist/
H A Dprogressmeter.c135 off_t bytes_left; in refresh_progress_meter() local
153 bytes_left = end_pos - cur_pos; in refresh_progress_meter()
159 if (bytes_left > 0) in refresh_progress_meter()
213 else if (bytes_per_second == 0 && bytes_left) in refresh_progress_meter()
216 if (bytes_left > 0) in refresh_progress_meter()
217 seconds = bytes_left / bytes_per_second; in refresh_progress_meter()
232 if (bytes_left > 0) in refresh_progress_meter()
/netbsd-src/external/gpl3/gcc.old/dist/libgfortran/io/
H A Dtransfer.c286 dtp->u.p.current_unit->bytes_left--; in read_sf_internal()
303 dtp->u.p.current_unit->bytes_left -= n; in read_sf_internal()
330 dtp->u.p.current_unit->bytes_left -= *length; in read_sf_internal()
462 || dtp->u.p.current_unit->bytes_left in read_sf()
472 dtp->u.p.current_unit->bytes_left -= n; in read_sf()
505 if (dtp->u.p.current_unit->bytes_left < (gfc_offset) *nbytes) in read_block_form()
511 dtp->u.p.current_unit->bytes_left = dtp->u.p.current_unit->recl; in read_block_form()
525 if (*nbytes > 0 && dtp->u.p.current_unit->bytes_left == 0) in read_block_form()
536 if (unlikely (dtp->u.p.current_unit->bytes_left == 0)) in read_block_form()
543 *nbytes = dtp->u.p.current_unit->bytes_left; in read_block_form()
[all …]
H A Dunix.c332 ssize_t bytes_left = nbyte; in raw_read() local
334 while (bytes_left > 0) in raw_read()
336 ssize_t to_read = bytes_left < MAX_CHUNK ? bytes_left: MAX_CHUNK; in raw_read()
346 bytes_left -= trans; in raw_read()
348 return nbyte - bytes_left; in raw_read()
355 ssize_t trans, bytes_left; in raw_write() local
358 bytes_left = nbyte; in raw_write()
365 while (bytes_left > 0) in raw_write()
367 ssize_t to_write = bytes_left < MAX_CHUNK ? bytes_left: MAX_CHUNK; in raw_write()
377 bytes_left -= trans; in raw_write()
[all …]
H A Dread.c1253 && dtp->u.p.current_unit->bytes_left < (gfc_offset) n) in read_x()
1254 n = dtp->u.p.current_unit->bytes_left; in read_x()
1308 dtp->u.p.current_unit->bytes_left -= n; in read_x()
H A Dopen.c574 u->bytes_left = 0; in new_unit()
594 u->bytes_left = u->recl; in new_unit()
638 u->bytes_left = 1; in new_unit()
/netbsd-src/external/gpl3/gcc/dist/libgfortran/io/
H A Dtransfer.c286 dtp->u.p.current_unit->bytes_left--; in read_sf_internal()
303 dtp->u.p.current_unit->bytes_left -= n; in read_sf_internal()
330 dtp->u.p.current_unit->bytes_left -= *length; in read_sf_internal()
462 || dtp->u.p.current_unit->bytes_left in read_sf()
472 dtp->u.p.current_unit->bytes_left -= n; in read_sf()
505 if (dtp->u.p.current_unit->bytes_left < (gfc_offset) *nbytes) in read_block_form()
511 dtp->u.p.current_unit->bytes_left = dtp->u.p.current_unit->recl; in read_block_form()
525 if (*nbytes > 0 && dtp->u.p.current_unit->bytes_left == 0) in read_block_form()
536 if (unlikely (dtp->u.p.current_unit->bytes_left == 0)) in read_block_form()
543 *nbytes = dtp->u.p.current_unit->bytes_left; in read_block_form()
[all …]
H A Dunix.c332 ssize_t bytes_left = nbyte; in raw_read() local
334 while (bytes_left > 0) in raw_read()
336 ssize_t to_read = bytes_left < MAX_CHUNK ? bytes_left: MAX_CHUNK; in raw_read()
346 bytes_left -= trans; in raw_read()
348 return nbyte - bytes_left; in raw_read()
355 ssize_t trans, bytes_left; in raw_write() local
358 bytes_left = nbyte; in raw_write()
365 while (bytes_left > 0) in raw_write()
367 ssize_t to_write = bytes_left < MAX_CHUNK ? bytes_left: MAX_CHUNK; in raw_write()
377 bytes_left -= trans; in raw_write()
[all …]
H A Dread.c1292 && dtp->u.p.current_unit->bytes_left < (gfc_offset) n) in read_x()
1293 n = dtp->u.p.current_unit->bytes_left; in read_x()
1347 dtp->u.p.current_unit->bytes_left -= n; in read_x()
H A Dopen.c596 u->bytes_left = 0; in new_unit()
616 u->bytes_left = u->recl; in new_unit()
660 u->bytes_left = 1; in new_unit()
/netbsd-src/sys/arch/atari/dev/
H A Dmd_root.c208 long bytes_left; in ramd_norm_read() local
213 bytes_left = rsp->nbytes; in ramd_norm_read()
217 while (bytes_left > 0) { in ramd_norm_read()
222 bp->b_bcount = uimin(rsp->chunk, bytes_left); in ramd_norm_read()
240 bytes_left -= done; in ramd_norm_read()
247 if ((rsp->offset == rsp->media_sz) && (bytes_left != 0)) { in ramd_norm_read()
H A Datari5380.c434 tt_get_dma_result(SC_REQ *reqp, u_long *bytes_left) in tt_get_dma_result() argument
489 *bytes_left = leftover; in tt_get_dma_result()
888 falcon_get_dma_result(SC_REQ *reqp, u_long *bytes_left) in falcon_get_dma_result() argument
926 if ((*bytes_left = reqp->dm_cur->dm_count - bytes_done) == 0) in falcon_get_dma_result()
1058 get_dma_result(SC_REQ *reqp, u_long *bytes_left) in get_dma_result() argument
1062 return falcon_get_dma_result(reqp, bytes_left); in get_dma_result()
1064 return tt_get_dma_result(reqp, bytes_left); in get_dma_result()
/netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/arm/
H A Dpr-support.c85 if (uws->bytes_left == 0) in next_unwind_byte()
92 uws->bytes_left = 3; in next_unwind_byte()
95 uws->bytes_left--; in next_unwind_byte()
329 uws.bytes_left = 3; in __gnu_unwind_frame()
/netbsd-src/external/gpl3/gcc/dist/libgcc/config/arm/
H A Dpr-support.c85 if (uws->bytes_left == 0) in next_unwind_byte()
92 uws->bytes_left = 3; in next_unwind_byte()
95 uws->bytes_left--; in next_unwind_byte()
329 uws.bytes_left = 3; in __gnu_unwind_frame()
/netbsd-src/external/gpl3/gcc/dist/libgcc/config/c6x/
H A Dpr-support.c114 if (uws->bytes_left == 0) in next_unwind_byte()
121 uws->bytes_left = 3; in next_unwind_byte()
124 uws->bytes_left--; in next_unwind_byte()
487 uws.bytes_left = 3; in __gnu_unwind_frame()
/netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/c6x/
H A Dpr-support.c114 if (uws->bytes_left == 0) in next_unwind_byte()
121 uws->bytes_left = 3; in next_unwind_byte()
124 uws->bytes_left--; in next_unwind_byte()
487 uws.bytes_left = 3; in __gnu_unwind_frame()
/netbsd-src/sys/external/bsd/drm2/dist/drm/ttm/
H A Dttm_bo_vm.c376 unsigned long bytes_left = len; in ttm_bo_vm_access_kmap() local
384 unsigned long bytes = min(bytes_left, PAGE_SIZE - offset); in ttm_bo_vm_access_kmap()
403 bytes_left -= bytes; in ttm_bo_vm_access_kmap()
405 } while (bytes_left); in ttm_bo_vm_access_kmap()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/moxie/
H A Dmoxie.c472 int bytes_left, size; in moxie_arg_partial_bytes() local
488 bytes_left = (4 * 6) - ((*cum - 2) * 4); in moxie_arg_partial_bytes()
490 if (size > bytes_left) in moxie_arg_partial_bytes()
491 return bytes_left; in moxie_arg_partial_bytes()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/moxie/
H A Dmoxie.cc472 int bytes_left, size; in moxie_arg_partial_bytes() local
488 bytes_left = (4 * 6) - ((*cum - 2) * 4); in moxie_arg_partial_bytes()
490 if (size > bytes_left) in moxie_arg_partial_bytes()
491 return bytes_left; in moxie_arg_partial_bytes()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/
H A Dbrig-code-entry-handler.cc616 size_t bytes_left = data->byteCount; in get_tree_cst_for_hsa_operand() local
621 while (bytes_left > 0) in get_tree_cst_for_hsa_operand()
629 if (bytes_left < scalar_element_size * element_count) in get_tree_cst_for_hsa_operand()
632 "(%lu need %lu).", (unsigned long) bytes_left, in get_tree_cst_for_hsa_operand()
642 bytes_left -= scalar_element_size; in get_tree_cst_for_hsa_operand()
649 if (bytes_left < scalar_element_size) in get_tree_cst_for_hsa_operand()
652 "(%lu need %lu).", (unsigned long) bytes_left, in get_tree_cst_for_hsa_operand()
655 bytes_left -= scalar_element_size; in get_tree_cst_for_hsa_operand()
/netbsd-src/usr.sbin/ndbootd/
H A Dndbootd.c179 unsigned int byte_count, bytes_left; in _ndbootd_ip_cksum() local
190 for (bytes_left = byte_count; bytes_left >= sizeof(*_word);) { in _ndbootd_ip_cksum()
192 bytes_left -= sizeof(*_word); in _ndbootd_ip_cksum()
195 memcpy(&word, _word, bytes_left); in _ndbootd_ip_cksum()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/ft32/
H A Dft32.c705 int bytes_left, size; in ft32_arg_partial_bytes() local
721 bytes_left = (4 * 6) - ((*cum - 2) * 4); in ft32_arg_partial_bytes()
723 if (size > bytes_left) in ft32_arg_partial_bytes()
724 return bytes_left; in ft32_arg_partial_bytes()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/ft32/
H A Dft32.cc705 int bytes_left, size; in ft32_arg_partial_bytes() local
721 bytes_left = (4 * 6) - ((*cum - 2) * 4); in ft32_arg_partial_bytes()
723 if (size > bytes_left) in ft32_arg_partial_bytes()
724 return bytes_left; in ft32_arg_partial_bytes()
/netbsd-src/sys/dev/usb/
H A Dif_atu.c865 size_t bytes_left = 0; in atu_internal_firmware() local
890 bytes_left = atu_radfirm[i].atur_internal_sz; in atu_internal_firmware()
919 if (bytes_left>=DFU_MaxBlockSize) in atu_internal_firmware()
922 block_size = bytes_left; in atu_internal_firmware()
935 bytes_left -= block_size; in atu_internal_firmware()
986 size_t bytes_left = 0; in atu_external_firmware() local
991 bytes_left = atu_radfirm[i].atur_external_sz; in atu_external_firmware()
1000 while (bytes_left) { in atu_external_firmware()
1001 if (bytes_left > 1024) in atu_external_firmware()
1004 block_size = bytes_left; in atu_external_firmware()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/ginclude/
H A Dunwind-arm-common.h161 _uw8 bytes_left; member
/netbsd-src/external/gpl3/gcc.old/dist/gcc/ginclude/
H A Dunwind-arm-common.h161 _uw8 bytes_left; member

123