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

1234

/freebsd-10.0-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-10.0-release/contrib/serf/buckets/
H A Dlimit_buckets.c24 apr_uint64_t remaining; member in struct:__anon4147
35 ctx->remaining = len;
47 if (!ctx->remaining) {
52 if (requested == SERF_READ_ALL_AVAIL || requested > ctx->remaining) {
53 if (ctx->remaining <= REQUESTED_MAX) {
54 requested = (apr_size_t) ctx->remaining;
63 ctx->remaining -= *len;
67 if (!ctx->remaining && !status) {
81 if (!ctx->remaining) {
89 ctx->remaining
[all...]
H A Dresponse_body_buckets.c31 apr_uint64_t remaining; member in struct:__anon4150
41 ctx->remaining = len;
54 if (!ctx->remaining) {
59 if (requested == SERF_READ_ALL_AVAIL || requested > ctx->remaining) {
60 if (ctx->remaining <= REQUESTED_MAX) {
61 requested = (apr_size_t) ctx->remaining;
70 ctx->remaining -= *len;
73 if (APR_STATUS_IS_EOF(status) && ctx->remaining > 0) {
89 if (!ctx->remaining) {
97 ctx->remaining
[all...]
H A Dmmap_buckets.c28 apr_off_t remaining; member in struct:__anon4148
42 ctx->remaining = ctx->mmap->size;
53 if (requested == SERF_READ_ALL_AVAIL || requested > ctx->remaining) {
54 *len = ctx->remaining;
65 ctx->remaining -= *len;
67 if (ctx->remaining == 0) {
84 /* XXX An overflow is generated if we pass &ctx->remaining to readline.
87 *len = ctx->remaining;
94 ctx->remaining -= *len;
96 if (ctx->remaining
[all...]
H A Dsimple_buckets.c25 apr_size_t remaining; member in struct:__anon4153
49 ctx->remaining = len;
67 ctx->remaining = len;
84 ctx->remaining = len;
97 if (requested == SERF_READ_ALL_AVAIL || requested > ctx->remaining)
98 requested = ctx->remaining;
104 ctx->remaining -= requested;
106 return ctx->remaining ? APR_SUCCESS : APR_EOF;
117 serf_util_readline(&ctx->current, &ctx->remaining, acceptable, found);
122 return ctx->remaining
[all...]
H A Diovec_buckets.c76 apr_size_t remaining; local
84 remaining = vec.iov_len - ctx->offset;
86 /* Less bytes requested than remaining in the current buffer. */
87 if (requested != SERF_READ_ALL_AVAIL && requested < remaining) {
95 vecs[*vecs_used].iov_len = remaining;
98 requested -= remaining;
141 remaining data. */
H A Dbuckets.c312 databuf->remaining = 0;
327 if (databuf->remaining > 0)
345 databuf->remaining = readlen;
362 /* peg the requested amount to what we have remaining */
363 if (requested == SERF_READ_ALL_AVAIL || requested > databuf->remaining)
364 requested = databuf->remaining;
372 databuf->remaining -= requested;
379 return databuf->remaining ? APR_SUCCESS : databuf->status;
398 serf_util_readline(&databuf->current, &databuf->remaining, acceptable,
405 return databuf->remaining
[all...]
/freebsd-10.0-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-10.0-release/sys/amd64/vmm/io/
H A Diommu.c225 uint64_t mapped, remaining; local
227 remaining = len;
229 while (remaining > 0) {
230 mapped = IOMMU_CREATE_MAPPING(dom, gpa, hpa, remaining);
233 remaining -= mapped;
240 uint64_t unmapped, remaining; local
242 remaining = len;
244 while (remaining > 0) {
245 unmapped = IOMMU_REMOVE_MAPPING(dom, gpa, remaining);
247 remaining
[all...]
/freebsd-10.0-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-10.0-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-10.0-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-10.0-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-10.0-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-10.0-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-10.0-release/lib/libstdthreads/
H A Dthrd.c116 thrd_sleep(const struct timespec *duration, struct timespec *remaining) argument
119 return (nanosleep(duration, remaining));
/freebsd-10.0-release/usr.sbin/acpi/acpidump/
H A Dacpi.c778 acpi_handle_dmar_devscope(void *addr, int remaining) argument
785 if (remaining < (int)sizeof(ACPI_DMAR_DEVICE_SCOPE))
788 if (remaining < devscope->Length)
818 int remaining, consumed; local
835 remaining = drhd->Header.Length - sizeof(ACPI_DMAR_HARDWARE_UNIT);
836 if (remaining > 0)
838 while (remaining > 0) {
839 cp = (char *)drhd + drhd->Header.Length - remaining;
840 consumed = acpi_handle_dmar_devscope(cp, remaining);
844 remaining
852 int remaining, consumed; local
878 int remaining, consumed; local
919 acpi_handle_dmar_remapping_structure(void *addr, int remaining) argument
959 int remaining, consumed; local
[all...]
/freebsd-10.0-release/contrib/ldns/
H A Dbuffer.c103 size_t remaining; local
109 remaining = ldns_buffer_remaining(buffer);
111 written = vsnprintf((char *) ldns_buffer_current(buffer), remaining,
117 } else if ((size_t) written >= remaining) {
/freebsd-10.0-release/contrib/llvm/tools/llvm-ar/
H A Dllvm-ar.cpp40 // llvm-ar remaining positional arguments.
183 // getMembers - Copy over remaining items in RestOfArgs to our Members vector
557 // Keep a list of the paths remaining to be moved
558 std::set<sys::Path> remaining(Paths);
563 I != E && !remaining.empty(); ++I ) {
565 std::find(remaining.begin(),remaining.end(),I->getPath());
566 if (found != remaining.end()) {
569 remaining.erase(found);
618 std::set<sys::Path> remaining(Path
[all...]
/freebsd-10.0-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-10.0-release/contrib/libarchive/libarchive/
H A Darchive_write.c331 ssize_t remaining, to_copy; local
334 remaining = length;
343 while (remaining > 0) {
345 a->client_data, buff, remaining);
348 remaining -= bytes_written;
358 to_copy = ((size_t)remaining > state->avail) ?
359 state->avail : (size_t)remaining;
364 remaining -= to_copy;
387 while ((size_t)remaining >= state->buffer_size) {
394 remaining
[all...]
/freebsd-10.0-release/contrib/libarchive/libarchive/test/
H A Dtest_read_format_7zip.c446 size_t remaining; local
463 remaining = (size_t)archive_entry_size(ae);
464 while (remaining) {
465 if (remaining < sizeof(buff))
466 assertEqualInt(remaining,
472 remaining -= bytes;
476 assertEqualInt(0, remaining);
500 size_t remaining; local
517 remaining = (size_t)archive_entry_size(ae);
518 while (remaining) {
555 size_t remaining; local
[all...]
/freebsd-10.0-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-10.0-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-10.0-release/contrib/file/
H A Dcompile42 Remove `-o dest.o' from ARGS, run PROGRAM with the remaining

Completed in 384 milliseconds

1234