/src/bin/sleep/ |
sleep.c | 210 report(const time_t remain, const time_t original, const char * const msg) 212 if (remain == 0) 216 else if (remain < 2000) 219 (intmax_t)remain, (intmax_t)remain + 1, (double)original, 221 else if ((original - remain) < 100000 && (original-remain) < original/8) 223 (intmax_t)(original - remain), 224 (original - remain) == 1 ? "" : "s", 228 (double)remain, (double)original, msg) [all...] |
/src/lib/libcurses/ |
getstr.c | 165 int c, xpos, oldx, remain; local in function:__wgetnstr 175 remain = n - 1; 179 "__wgetnstr: win %p, char 0x%x, remain %d\n", 180 win, c, remain); 208 remain++; 231 remain++; 244 if (remain) { 249 remain--;
|
get_wstr.c | 161 int oldx, remain; local in function:__wgetn_wstr 177 remain = n - 1; 182 "__wgetn_wstr: win %p, char 0x%x, remain %d\n", 183 win, wc, remain); 205 remain++; 227 remain++; 240 if (remain) { 242 remain--;
|
/src/sys/external/bsd/drm2/dist/drm/qxl/ |
qxl_image.c | 141 int remain; local in function:qxl_image_init_helper 146 remain = linesize * height; 150 while (remain > 0) { 161 size = min(size, remain); 167 remain -= size; 175 remain = linesize; 178 while (remain > 0) { 181 size = min((int)(PAGE_SIZE - page_offset), remain); 187 remain -= size;
|
/src/usr.bin/make/unit-tests/ |
suff-clear-single.mk | 4 # Single suffix rules remain active after .SUFFIXES is cleared.
|
/src/tests/lib/libc/gen/ |
t_sleep.c | 96 do_nanosleep(struct timespec *delay, struct timespec *remain) 100 if (nanosleep(delay, remain) == -1) 108 do_select(struct timespec *delay, struct timespec *remain) 122 do_poll(struct timespec *delay, struct timespec *remain) 136 do_sleep(struct timespec *delay, struct timespec *remain) 141 remain->tv_sec = sleep(delay->tv_sec); 142 remain->tv_nsec = 0; 148 do_kevent(struct timespec *delay, struct timespec *remain)
|
/src/sys/external/bsd/drm2/dist/drm/ |
drm_print.c | 106 if (!iterator->remain) 121 if (copy > iterator->remain) 122 copy = iterator->remain; 129 iterator->remain -= copy; 133 len = min_t(ssize_t, strlen(str), iterator->remain); 138 iterator->remain -= len; 149 if (!iterator->remain) 162 if ((iterator->offset >= iterator->start) && (len < iterator->remain)) { 166 iterator->remain, "%pV", vaf); 169 iterator->remain -= len [all...] |
/src/sys/external/bsd/drm2/dist/drm/i915/ |
i915_gem.c | 347 u64 remain; local in function:i915_gem_shmem_pread 359 remain = args->size; 362 for (idx = args->offset >> PAGE_SHIFT; remain; idx++) { 364 unsigned int length = min_t(u64, remain, PAGE_SIZE - offset); 371 remain -= length; 430 u64 remain, offset; local in function:i915_gem_gtt_pread 468 remain = args->size; 471 while (remain > 0) { 481 page_length = remain < page_length ? remain : page_length 617 u64 remain, offset; local in function:i915_gem_gtt_pwrite_fast 765 u64 remain; local in function:i915_gem_shmem_pwrite [all...] |
intel_uncore.c | 1951 int remain; local in function:i915_reg_read_ioctl 1955 remain = ARRAY_SIZE(reg_read_whitelist); 1956 while (remain) { 1967 remain--; 1970 if (!remain)
|
/src/usr.bin/audio/common/ |
wav.c | 148 size_t remain = sz; local in function:audio_wav_parse_hdr 163 if ((l) > remain) \ 166 remain -= (l); \ 178 found = find_riff_chunk(strfmt, &remain, &where, &len); 181 if (!found || remain <= sizeof fmt) 195 if (remain <= sizeof ext + sizeof fmt) { 280 found = find_riff_chunk(strdata, &remain, &where, &len);
|
/src/usr.bin/extattr/ |
getextattr.c | 292 ssize_t readen, remain; local in function:main 305 for (remain = val_len; remain > 0; remain -= readen) { 306 if ((readen = read(fd, buf, remain)) == -1)
|
/src/sys/arch/i386/pci/ |
viapcib.c | 567 int remain, len, i; local in function:viapcib_smbus_block_write 581 remain = cnt; 582 while (remain) { 583 len = uimin(remain, SMB_MAXBLOCKSIZE); 592 buf[cnt - remain + i]); 602 remain -= len; 614 int remain, len, i; local in function:viapcib_smbus_block_read 628 remain = cnt; 629 while (remain) { 643 len = uimin(len, remain); [all...] |
/src/lib/libc/citrus/modules/ |
citrus_mapper_zone.c | 214 u_int32_t remain; local in function:check_rowcol 223 remain = 0xFFFFFFFF; 225 remain = 0xFFFFFFFF - z->z_end + 1; 228 remain = maxval - z->z_end; 229 if ((u_int32_t)ofs > remain)
|
/src/sys/netipsec/ |
ipsec_mbuf.c | 191 unsigned remain; local in function:m_makespace 210 remain = m->m_len - skip; /* data to move */ 219 todo = remain; 242 if (hlen <= M_TRAILINGSPACE(m) + remain) { 279 mtod(m, char *) + skip, remain);
|
/src/sys/external/bsd/drm2/dist/drm/i915/gem/ |
i915_gem_shmem.c | 400 u64 remain, offset; local in function:shmem_pwrite 429 remain = arg->size; 435 struct iovec iov = { .iov_base = user_data, .iov_len = remain }; 440 .uio_resid = remain, 447 ret = -ubc_uiomove(mapping, &uio, remain, UVM_ADV_NORMAL, UBC_WRITE); 459 if (len > remain) 460 len = remain; 493 remain -= len; 497 } while (remain);
|
i915_gem_execbuffer.c | 1451 unsigned int remain; local in function:eb_relocate_vma 1454 remain = entry->relocation_count; 1456 if (unlikely(remain > N_RELOC(ULONG_MAX))) 1465 if (unlikely(!access_ok(urelocs, remain*sizeof(*urelocs)))) 1471 min_t(unsigned int, remain, ARRAY_SIZE(stack)); 1490 remain = -EFAULT; 1494 remain -= count; 1500 remain = (int)offset; 1526 remain = -EFAULT; 1532 } while (remain); [all...] |
/src/etc/namedb/ |
bind.keys | 27 # the key will remain in place but the zone will be otherwise empty. 45 # remain in the root zone for some time after its successor key 46 # has been added. It will remain this file until it is removed from
|
/src/sys/external/bsd/dwc2/dist/ |
dwc2_hcdddma.c | 890 u16 remain = 0; local in function:dwc2_cmpl_host_isoc_dma_desc 906 remain = (dma_desc->status & HOST_DMA_ISOC_NBYTES_MASK) >> 916 frame_desc->actual_length = qh->n_bytes[idx] - remain; 920 frame_desc->actual_length = qh->n_bytes[idx] - remain; 1064 u16 remain = 0; local in function:dwc2_update_non_isoc_urb_state_ddma 1067 remain = (dma_desc->status & HOST_DMA_NBYTES_MASK) >> 1070 dev_vdbg(hsotg->dev, "remain=%d dwc2_urb=%p\n", remain, urb); 1110 urb->actual_length += n_bytes - remain; 1111 if (remain || urb->actual_length >= urb->length) [all...] |
/src/sys/dev/ic/ |
rtsx.c | 1207 int ncmd, remain; local in function:rtsx_read_ppbuf 1217 remain = cmd->c_datalen; 1233 remain -= RTSX_HOSTCMD_MAX; 1235 if (remain > 0) { 1237 for (i = 0; i < remain; i++) { 1248 memcpy(ptr, cmdbuf, remain); 1259 int ncmd, remain; local in function:rtsx_write_ppbuf 1269 remain = cmd->c_datalen; 1281 remain -= RTSX_HOSTCMD_MAX; 1283 if (remain > 0) [all...] |
bwfm.c | 1825 size_t off, remain, len; local in function:bwfm_process_blob 1831 remain = *blobsize; 1834 while (remain) { 1835 len = uimin(remain, BWFM_DLOAD_MAX_LEN); 1840 if (remain <= BWFM_DLOAD_MAX_LEN) 1855 remain -= len;
|
/src/sys/arch/m68k/060sp/dist/ |
ilsp.doc | 83 The entry point addresses at the beginning of the package will remain
|
/src/sys/external/isc/libsodium/dist/m4/ |
lt~obsolete.m4 | 32 # Yes, that means every name once taken will need to remain here until
|
/src/lib/libnvmm/ |
libnvmm_x86.c | 566 int ret, remain; local in function:read_guest_memory 578 remain = ((gva & PAGE_MASK) + size - PAGE_SIZE); 580 remain = 0; 582 size -= remain; 603 if (remain > 0) { 605 data + size, remain); 623 int ret, remain; local in function:write_guest_memory 635 remain = ((gva & PAGE_MASK) + size - PAGE_SIZE); 637 remain = 0; 639 size -= remain; [all...] |
/src/sys/kern/ |
uipc_mbuf.c | 1329 unsigned len = len0, remain, len_save; local in function:m_split_internal 1337 remain = m->m_len - len; 1349 if ((m->m_flags & M_EXT) == 0 && remain > MHLEN) { 1361 } else if (remain == 0) { 1376 m_align(n, remain); 1377 memcpy(mtod(n, void *), mtod(m, char *) + len, remain); 1380 n->m_len = remain;
|
/src/sys/external/bsd/drm2/dist/include/drm/ |
drm_print.h | 130 * @remain: The number of bytes to write for this iteration 135 ssize_t remain; member in struct:drm_print_iterator 159 * iter.remain = count;
|