Searched defs:rem (Results 1 - 25 of 53) sorted by relevance

123

/illumos-gate/usr/src/head/iso/
H A Dstdlib_c99.h60 long long rem; member in struct:__anon154
H A Dstdlib_iso.h67 int rem; member in struct:std::__anon155
72 long rem; member in struct:std::__anon156
/illumos-gate/usr/src/boot/include/
H A Dinttypes.h44 intmax_t rem; /* Remainder. */ member in struct:__anon9
H A Dstdlib.h61 int rem; /* remainder */ member in struct:__anon40
66 long rem; member in struct:__anon41
133 long long rem; member in struct:__anon42
/illumos-gate/usr/src/head/
H A Dinttypes.h83 intmax_t rem; member in struct:__anon2262
/illumos-gate/usr/src/uts/common/zmod/
H A Dadler32.c135 unsigned rem; local
138 rem = (unsigned)(len2 % BASE);
140 sum2 = rem * sum1;
143 sum2 += ((adler1 >> 16) & 0xffff) + ((adler2 >> 16) & 0xffff) + BASE - rem;
/illumos-gate/usr/src/uts/common/os/
H A Dsctp_crc32.c129 int rem; local
131 rem = 4 - ((uintptr_t)buf) & 3;
132 if (rem != 0) {
133 if (len < rem) {
134 rem = len;
136 sctp_crc_byte(&crc32, buf, rem);
137 buf = buf + rem;
138 len = len - rem;
145 rem = len & 3;
146 if (rem !
[all...]
/illumos-gate/usr/src/boot/lib/libz/
H A Dadler32.c143 unsigned rem; local
151 rem = (unsigned)len2;
153 sum2 = rem * sum1;
156 sum2 += ((adler1 >> 16) & 0xffff) + ((adler2 >> 16) & 0xffff) + BASE - rem;
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_igmp.c132 int rem = ilen; local
143 rem -= sizeof (*qry);
152 while (srccnt > 0 && rem >= sizeof (*src)) {
153 rem -= sizeof (*src);
181 int rem = ilen, auxlen; local
196 rem -= sizeof (*rpt);
197 while (grhcnt > 0 && rem >= sizeof (*grh)) {
198 rem -= sizeof (*grh);
210 while (srccnt > 0 && rem >= sizeof (*src)) {
211 rem
[all...]
H A Dsnoop_icmp.c911 int rem = ilen; local
921 rem -= sizeof (*qry);
930 while (srccnt > 0 && rem >= sizeof (*src)) {
931 rem -= sizeof (*src);
959 int rem = ilen, auxlen; local
973 rem -= sizeof (*rpt);
974 while (marcnt > 0 && rem >= sizeof (*mar)) {
975 rem -= sizeof (*mar);
987 while (srccnt > 0 && rem >= sizeof (*src)) {
988 rem
[all...]
/illumos-gate/usr/src/lib/libsmedia/plugins/floppy/common/
H A Df_generic.c226 int32_t cyl, rem, head, start_sector; local
262 rem = r_p->offset%(fdchar.fdc_nhead * fdchar.fdc_secptrack);
263 head = rem/fdchar.fdc_secptrack;
264 start_sector = rem%fdchar.fdc_secptrack + 1;
300 int32_t cyl, rem, head, start_sector; local
335 rem = r_p->offset%(fdchar.fdc_nhead * fdchar.fdc_secptrack);
336 head = rem/fdchar.fdc_secptrack;
337 start_sector = rem%fdchar.fdc_secptrack + 1;
/illumos-gate/usr/src/cmd/mdb/common/libstand/
H A Dctime.c37 long rem; local
45 rem = *clock % SECS_PER_DAY;
46 while (rem < 0) {
47 rem += SECS_PER_DAY;
50 while (rem >= SECS_PER_DAY) {
51 rem -= SECS_PER_DAY;
54 tmp->tm_hour = (int)(rem / SECS_PER_HOUR);
55 rem = rem % SECS_PER_HOUR;
56 tmp->tm_min = (int)(rem / SECS_PER_MI
[all...]
/illumos-gate/usr/src/cmd/auths/
H A Dauths.c203 int rem, i; local
210 * We walk the list, with "i + rem + 1" the cursor for the possible
211 * candidate for removal. With "rem" we count the removed entries
214 for (i = 0, rem = 0; i < cbs->auth_cnt - rem - 1; ) {
215 if (strcmp(cbs->auths[i], cbs->auths[i + rem + 1]) == 0 ||
217 auth_match(cbs->auths[i], cbs->auths[i + rem + 1])) {
218 free(cbs->auths[i + rem + 1]);
219 rem++;
222 if (rem >
[all...]
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipf.c377 int fl = 0, rem; local
386 rem = fl;
406 printf("remove flags %s (%d)\n", arg, rem);
438 rem = fl;
458 printf("remove flags %s%s (%d)\n", (rem & FR_INQUE) ? "I" : "",
459 (rem & FR_OUTQUE) ? "O" : "", rem);
/illumos-gate/usr/src/cmd/lms/SyncLib/src/
H A DThreadUnix.cpp158 timespec time, rem; local
165 // rem will include the remaining time
166 if (nanosleep(&time, &rem) == -1) {
167 time.tv_sec = rem.tv_sec;
168 time.tv_nsec = rem.tv_nsec;
/illumos-gate/usr/src/stand/lib/sa/
H A Dtime.c95 int rem; local
102 rem = *clock % SECS_PER_DAY;
103 while (rem < 0) {
104 rem += SECS_PER_DAY;
107 while (rem >= SECS_PER_DAY) {
108 rem -= SECS_PER_DAY;
111 tmp->tm_hour = (int)(rem / SECS_PER_HOUR);
112 rem = rem % SECS_PER_HOUR;
113 tmp->tm_min = (int)(rem / SECS_PER_MI
[all...]
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_time.c257 hrtime_t tod, hrt, sec, rem; local
267 rem = tod % NANOSEC + hrt % NANOSEC;
269 tvp->tv_sec = sec + rem / NANOSEC;
270 tvp->tv_usec = (rem % NANOSEC) / (NANOSEC / MICROSEC);
/illumos-gate/usr/src/cmd/cdrw/
H A Dtrackio.c264 int blksize, i, sz_read, rem; local
303 while ((rem = (sz_read % blksize)) != 0) {
307 * rem contains the amount of data past the previous
313 if ((sz_read + (blksize - rem)) >
330 (blksize - rem));
344 ret = blksize - rem;
454 while ((rem = (sz_read % blksize)) != 0) {
463 if ((sz_read + (blksize - rem)) >
476 (blksize - rem));
491 * rem contain
[all...]
/illumos-gate/usr/src/cmd/fs.d/udfs/mkfs/
H A Dudfslib.c572 crc16(uint8_t *buf, int32_t size, int32_t rem) argument
578 return ((crc ^ rem) & 0xffff);
/illumos-gate/usr/src/cmd/troff/
H A Dn4.c378 int q, rem, k; local
385 rem = i % 5;
386 if (rem == 4) {
396 while (--rem >= 0)
H A Dn9.c90 int w, cnt, delim, rem, temp; local
122 if (rem = length % w) {
126 *i++ = makem(rem);
252 tchar c, rem, ver, neg; local
286 rem = makem(i % v) | neg;
291 if (absmot(rem) != 0) {
293 *vlp++ = rem;
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dinet_ntop.c383 int rem; local
390 rem = dbl_col - &v6buf.v6words_u[0];
391 for (next = 0; next < rem; next++) {
395 rem = i - rem;
396 word = 8 - rem;
397 while (rem > 0) {
400 rem--;
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_fflp_hash.c257 int rem; local
259 rem = 4 - ((uintptr_t)buf) & 3;
260 if (rem != 0) {
261 if (len < rem) {
262 rem = len;
264 nxge_crc32c_byte(&crc32, buf, rem);
265 buf = buf + rem;
266 len = len - rem;
271 rem = len & 3;
272 if (rem !
[all...]
/illumos-gate/usr/src/boot/sys/boot/usb/
H A Dusb_busdma_loader.c174 usb_size_t rem; local
186 rem = phys & (USB_PAGE_SIZE - 1);
187 pc->page_offset_buf = rem;
188 pc->page_offset_end += rem;
189 length += rem;
209 uint32_t rem; local
218 rem = (-((uintptr_t)ptr)) & (align - 1);
223 rem = 0;
227 pc->buffer = ((uint8_t *)ptr) + rem;
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dmain.c44 int rem = -1; /* file descriptor to remote source/sink process */ variable

Completed in 591 milliseconds

123