Searched refs:remaining (Results 1 - 25 of 81) sorted by relevance

1234

/freebsd-9.3-release/contrib/ncurses/ncurses/tinfo/
H A Dlib_napms.c61 struct timespec request, remaining; local
64 while (nanosleep(&request, &remaining) == -1
66 request = remaining;
/freebsd-9.3-release/crypto/heimdal/appl/telnet/telnetd/
H A Dglobal.c96 int remaining, ret; local
99 remaining = BUFSIZ - (nfrontp - netobuf);
101 remaining,
104 nfrontp += min(ret, remaining-1);
/freebsd-9.3-release/contrib/tnftp/src/
H A Dprogressbar.c141 int ratio, i, remaining, barlength; local
275 remaining = (int)
278 if (remaining >= 100 * SECSPERHOUR)
282 i = remaining / SECSPERHOUR;
289 i = remaining % SECSPERHOUR;
317 int remaining, hh, i; local
337 remaining = (int)elapsed;
338 if (remaining > SECSPERDAY) {
341 days = remaining / SECSPERDAY;
342 remaining
[all...]
/freebsd-9.3-release/contrib/xz/src/xz/
H A Dmessage.c64 /// and estimate remaining time.
402 /// Make a string indicating elapsed or remaining time. The format is either
434 /// Return a string containing estimated remaining time when
439 // Don't show the estimated remaining time when it wouldn't
454 uint32_t remaining = (double)(expected_in_size - in_pos)
456 if (remaining < 1)
457 remaining = 1;
461 // Select appropriate precision for the estimated remaining time.
462 if (remaining <= 10) {
463 // A maximum of 10 seconds remaining
[all...]
/freebsd-9.3-release/contrib/libarchive/libarchive/
H A Darchive_write_set_compression_none.c119 ssize_t remaining, to_copy; local
132 remaining = length;
141 while (remaining > 0) {
143 a->client_data, buff, remaining);
147 remaining -= bytes_written;
158 to_copy = (remaining > state->avail) ?
159 state->avail : remaining;
164 remaining -= to_copy;
178 while (remaining > state->buffer_size) {
186 remaining
[all...]
/freebsd-9.3-release/contrib/openpam/lib/libpam/
H A Dopenpam_ttyconv.c88 struct timeval now, target, remaining; local
129 remaining.tv_sec = openpam_ttyconv_timeout;
130 remaining.tv_usec = 0;
131 timeradd(&now, &remaining, &target);
135 remaining.tv_sec = remaining.tv_usec = 0;
151 timersub(&target, &now, &remaining);
152 remaining_ms = remaining.tv_sec * 1000 +
153 remaining.tv_usec / 1000;
217 struct timeval now, target, remaining; local
[all...]
/freebsd-9.3-release/contrib/ntp/lib/isc/win32/
H A Dentropy.c86 unsigned int remaining; local
151 remaining = needed;
167 if (remaining == 0)
173 got = get_from_filesource(source, remaining);
177 remaining -= ISC_MIN(remaining, got);
190 if (blocking && remaining != 0) {
196 * Here, if there are bits remaining to be had and we can block,
200 while ((remaining != 0) && (source != NULL)) {
206 got = get_from_callback(source, remaining, blockin
[all...]
/freebsd-9.3-release/contrib/bind9/lib/dns/
H A Dncache.c281 isc_region_t remaining, tavailable; local
306 isc_buffer_remainingregion(&source, &remaining);
307 dns_name_fromregion(&name, &remaining);
308 INSIST(remaining.length >= name.length);
310 remaining.length -= name.length;
312 INSIST(remaining.length >= 5);
322 isc_buffer_remainingregion(&source, &remaining);
323 INSIST(remaining.length >= 2);
326 isc_buffer_remainingregion(&source, &remaining);
327 rdata.data = remaining
515 isc_region_t remaining; local
594 isc_region_t remaining, sigregion; local
688 isc_region_t remaining, sigregion; local
[all...]
/freebsd-9.3-release/sys/contrib/xz-embedded/linux/lib/xz/
H A Dxz_dec_test.c105 size_t remaining; local
119 remaining = size;
120 while ((remaining > 0 || buffers.out_pos == buffers.out_size)
124 buffers.in_size = min(remaining, sizeof(buffer_in));
129 remaining -= buffers.in_size;
145 return size - remaining - (buffers.in_size - buffers.in_pos);
/freebsd-9.3-release/sys/dev/drm2/radeon/
H A Datombios_i2c.c94 int i, remaining, current_count, buffer_offset, max_bytes, ret; local
111 remaining = p->len;
121 while (remaining) {
122 if (remaining > max_bytes)
125 current_count = remaining;
131 remaining -= current_count;
/freebsd-9.3-release/contrib/gperf/src/
H A Dpositions.h121 /* Returns the number of remaining positions, i.e. how often next() will
123 unsigned int remaining () const;
151 /* Returns the number of remaining positions, i.e. how often next() will
153 unsigned int remaining () const;
/freebsd-9.3-release/contrib/bind9/lib/isc/unix/
H A Dentropy.c252 unsigned int remaining; local
316 remaining = needed;
327 if (remaining == 0)
334 got = get_from_filesource(source, remaining);
338 got = get_from_usocketsource(source, remaining);
344 remaining -= ISC_MIN(remaining, got);
352 if (blocking && remaining != 0) {
361 * Here, if there are bits remaining to be had and we can block,
365 while ((remaining !
[all...]
/freebsd-9.3-release/contrib/ntp/lib/isc/unix/
H A Dentropy.c252 unsigned int remaining; local
316 remaining = needed;
327 if (remaining == 0)
334 got = get_from_filesource(source, remaining);
338 got = get_from_usocketsource(source, remaining);
344 remaining -= ISC_MIN(remaining, got);
352 if (blocking && remaining != 0) {
361 * Here, if there are bits remaining to be had and we can block,
365 while ((remaining !
[all...]
/freebsd-9.3-release/contrib/tcpdump/
H A Dprint-rip.c129 rip_entry_print_v2(register const struct rip_netinfo *ni, const unsigned remaining) argument
152 print_unknown_data((u_int8_t *)&ni->rip_dest,"\n\t ",remaining);
153 return remaining; /* AT spans till the packet end */
157 print_unknown_data((u_int8_t *)&ni->rip_dest,"\n\t ",remaining);
/freebsd-9.3-release/contrib/ntp/sntp/libevent/
H A Dbuffer_iocp.c101 size_t remaining, len; local
113 remaining = nBytes;
114 for (i = 0; remaining > 0 && i < (unsigned)buf->n_buffers; ++i) {
117 if (remaining < len)
118 len = remaining;
121 remaining -= len;
/freebsd-9.3-release/contrib/xz/src/liblzma/common/
H A Dindex_hash.c55 lzma_vli remaining; member in struct:lzma_index_hash_s
199 ret = lzma_vli_decode(&index_hash->remaining,
205 if (index_hash->remaining != index_hash->blocks.count)
212 index_hash->sequence = index_hash->remaining == 0
259 index_hash->sequence = --index_hash->remaining == 0
/freebsd-9.3-release/sys/dev/sfxge/common/
H A Defx_bootcfg.c253 size_t remaining; local
297 for (offset = 0; offset < sector_length; offset += remaining) {
298 remaining = MIN(chunk_length, sector_length - offset);
304 MIN(remaining, used_bytes - offset));
311 offset, (caddr_t)chunk, remaining)) != 0)
/freebsd-9.3-release/contrib/cvs/
H A Dcompile42 Remove `-o dest.o' from ARGS, run PROGRAM with the remaining
/freebsd-9.3-release/contrib/ntp/sntp/
H A Dcompile42 Remove `-o dest.o' from ARGS, run PROGRAM with the remaining
/freebsd-9.3-release/contrib/ofed/libibcm/config/
H A Dcompile42 Remove `-o dest.o' from ARGS, run PROGRAM with the remaining
/freebsd-9.3-release/contrib/ofed/librdmacm/config/
H A Dcompile42 Remove `-o dest.o' from ARGS, run PROGRAM with the remaining
/freebsd-9.3-release/crypto/heimdal/
H A Dcompile42 Remove `-o dest.o' from ARGS, run PROGRAM with the remaining
/freebsd-9.3-release/contrib/ntp/sntp/libevent/build-aux/
H A Dcompile42 Remove `-o dest.o' from ARGS, run PROGRAM with the remaining
/freebsd-9.3-release/contrib/ntp/
H A Dcompile42 Remove `-o dest.o' from ARGS, run PROGRAM with the remaining
/freebsd-9.3-release/contrib/bind9/lib/isc/
H A Dlex.c364 size_t remaining; local
416 remaining = lex->max_token;
620 remaining);
636 if (remaining == 0U) {
637 result = grow_data(lex, &remaining,
642 INSIST(remaining > 0U);
645 remaining--;
664 (lex->max_token - remaining);
671 if (remaining == 0U) {
672 result = grow_data(lex, &remaining,
[all...]

Completed in 245 milliseconds

1234