Searched refs:rem (Results 1 - 19 of 19) sorted by relevance

/fuchsia/zircon/third_party/ulib/musl/src/time/
H A D__year_to_secs.c14 int cycles, centuries, leaps, rem; local
19 rem = (year - 100) % 400;
20 if (rem < 0) {
22 rem += 400;
24 if (!rem) {
29 if (rem >= 200) {
30 if (rem >= 300)
31 centuries = 3, rem -= 300;
33 centuries = 2, rem -= 200;
35 if (rem >
[all...]
H A Dnanosleep.c8 int nanosleep(const struct timespec* req, struct timespec* rem) { argument
17 if (rem) {
18 *rem = (struct timespec){
H A Dclock_nanosleep.c4 int clock_nanosleep(clockid_t clk, int flags, const struct timespec* req, struct timespec* rem) { argument
/fuchsia/zircon/third_party/ulib/musl/src/thread/
H A Dthrd_sleep.c8 int thrd_sleep(const struct timespec* req, struct timespec* rem) { argument
25 if (rem) {
26 *rem = (struct timespec){
/fuchsia/zircon/third_party/ulib/musl/src/stdio/
H A Dfmemopen.c28 size_t rem = c->len - c->pos; local
30 rem = 0;
31 if (len > rem) {
32 len = rem;
37 rem -= len;
38 if (rem > f->buf_size)
39 rem = f->buf_size;
41 f->rend = f->buf + rem;
42 memcpy(f->rpos, c->buf + c->pos, rem);
43 c->pos += rem;
49 size_t rem; local
[all...]
H A D__stdio_write.c9 size_t rem = iov[0].iov_len + iov[1].iov_len; local
14 if (cnt == rem) {
24 rem -= cnt;
/fuchsia/zircon/kernel/object/include/object/
H A Dbuffer_chain.h68 size_t rem = size;
70 for (auto iter = buffers_.begin(); rem > 0 && iter != end; ++iter) {
71 const size_t copy_len = fbl::min(rem, iter->size() - copy_offset);
78 rem -= copy_len;
188 size_t rem = size;
190 for (auto iter = buffers_.begin(); rem > 0 && iter != end; ++iter) {
191 const size_t copy_len = fbl::min(rem, iter->size() - copy_offset);
198 rem -= copy_len;
H A Dmbuf.h69 size_t rem() const;
/fuchsia/zircon/third_party/ulib/jemalloc/include/jemalloc/internal/
H A Dtcache_externs.h35 szind_t binind, unsigned rem);
37 unsigned rem, tcache_t *tcache);
H A Dsize_classes.sh105 rem="yes"
107 rem="no"
115 rem="yes"
126 -o ${lg_size} -eq ${lg_kmax} -a ${rem} = "no" ] ; then
/fuchsia/zircon/third_party/ulib/musl/include/
H A Dstdlib.h56 typedef struct { int quot, rem; } div_t; member in struct:__anon1739
57 typedef struct { long quot, rem; } ldiv_t; member in struct:__anon1740
58 typedef struct { long long quot, rem; } lldiv_t; member in struct:__anon1741
H A Dinttypes.h12 typedef struct { intmax_t quot, rem; } imaxdiv_t; member in struct:__anon1697
/fuchsia/zircon/third_party/ulib/cksum/
H A Dadler32.c135 uint32_t rem; local
139 rem = (uint32_t)len2;
141 sum2 = rem * sum1;
144 sum2 += ((adler1 >> 16) & 0xffff) + ((adler2 >> 16) & 0xffff) + BASE - rem;
/fuchsia/zircon/third_party/ulib/uboringssl/crypto/fipsmodule/modes/
H A Dcfb.c166 int n, rem, num; local
191 rem = nbits % 8;
193 if (rem == 0) {
197 ivec[n] = ovec[n + num] << rem | ovec[n + num + 1] >> (8 - rem);
H A Dgcm.c133 size_t rem, nlo, nhi; local
143 rem = (size_t)Z.lo & 0xf;
147 Z.hi ^= rem_4bit[rem];
149 Z.hi ^= (uint64_t)rem_4bit[rem] << 32;
163 rem = (size_t)Z.lo & 0xf;
167 Z.hi ^= rem_4bit[rem];
169 Z.hi ^= (uint64_t)rem_4bit[rem] << 32;
189 size_t rem, nlo, nhi; local
202 rem = (size_t)Z.lo & 0xf;
206 Z.hi ^= rem_4bit[rem];
[all...]
/fuchsia/zircon/kernel/lib/fixed_point/include/lib/
H A Dfixed_point.h27 uint32_t rem; local
30 rem = (uint32_t)(((uint64_t)dividend << 32) % divisor);
33 tmp = ((uint64_t)rem << 32) / divisor;
/fuchsia/zircon/third_party/ulib/jemalloc/src/
H A Dtcache.c89 szind_t binind, unsigned rem)
97 assert(rem <= tbin->ncached);
101 for (nflush = tbin->ncached - rem; nflush > 0; nflush = ndeferred) {
158 memmove(tbin->avail - rem, tbin->avail - tbin->ncached, rem *
160 tbin->ncached = rem;
167 unsigned rem, tcache_t *tcache)
175 assert(rem <= tbin->ncached);
179 for (nflush = tbin->ncached - rem; nflush > 0; nflush = ndeferred) {
241 memmove(tbin->avail - rem, tbi
88 tcache_bin_flush_small(tsd_t *tsd, tcache_t *tcache, tcache_bin_t *tbin, szind_t binind, unsigned rem) argument
166 tcache_bin_flush_large(tsd_t *tsd, tcache_bin_t *tbin, szind_t binind, unsigned rem, tcache_t *tcache) argument
[all...]
/fuchsia/zircon/third_party/ulib/uboringssl/crypto/fipsmodule/modes/asm/
H A Dghash-x86_64.pl131 $rem="%rdx";
161 mov $Zlo,$rem
167 and \$0xf,$rem
175 xor ($rem_4bit,$rem,8),$Zhi
176 mov $Zlo,$rem
183 and \$0xf,$rem
190 xor ($rem_4bit,$rem,8),$Zhi
191 mov $Zlo,$rem
198 and \$0xf,$rem
205 xor ($rem_4bit,$rem,
[all...]
/fuchsia/zircon/kernel/object/
H A Dmbuf.cpp21 size_t MBufChain::MBuf::rem() const { function in class:MBufChain::MBuf
140 if (head_->rem() == 0) {
148 size_t copy_len = fbl::min(head_->rem(), len - pos);

Completed in 115 milliseconds