/illumos-gate/usr/src/lib/libmvec/common/ |
H A D | __vhypot.c | 103 int hx0, hx1, hy0, j0, diff; local 129 diff = hy0 - hx0; 130 j0 = diff >> 31; 131 j0 = hy0 - (diff & j0); 148 j0 = diff >> 31; 149 if (((diff ^ j0) - j0) < 0x03600000) /* max(|X|,|Y|)/min(|X|,|Y|) < 2**54 */ 171 diff = hy0 - hx0; 172 j0 = diff >> 31; 173 j0 = hy0 - (diff & j0); 190 j0 = diff >> 3 [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/libuutil/ |
H A D | libuutil.c | 284 uintptr_t diff; local 295 diff = ulnw->ulnw_current - ulnw->ulnw_offset; 297 if (mdb_vread(ulnw->ulnw_buf, ulnw->ulnw_bufsz, diff) == -1) { 298 mdb_warn("failed to read enclosing structure %x", diff); 304 status = wsp->walk_callback(diff, ulnw->ulnw_buf, wsp->walk_cbdata);
|
/illumos-gate/usr/src/cmd/rpcsvc/ |
H A D | rpc.rusersd.c | 404 long lastaction, diff; local 412 diff = now - lastaction; 413 diff = DIV60(diff); 414 if (diff < 0) diff = 0; 415 return (diff);
|
/illumos-gate/usr/src/cmd/sckmd/sparc/sun4u/ |
H A D | sckmd.c | 372 double diff; local 432 diff = (double)(after - before)/(double)CLK_TCK; 433 timeout -= (int)(diff * 1000);
|
/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | dumpoptr.c | 459 int diff; local 461 diff = strcoll((*p1)->id_name, (*p2)->id_name); 462 if (diff == 0) { 471 diff = -1; 473 diff = 1; 475 return (diff);
|
H A D | dumptraverse.c | 519 u_offset_t bytepos, diff; local 549 diff = bytepos - loffset; 551 tpblkskip = d_howmany(diff, (u_offset_t)tp_bsize); 553 blkp += (int)(diff / sblock->fs_bsize); 555 bytecnt = diff % (unsigned)(sblock->fs_bsize);
|
/illumos-gate/usr/src/cmd/fs.d/ |
H A D | switchout.c | 233 int diff = argc - optind; local 238 if (diff > 0) /* gave more than one mountpoint or device */ 240 stat_snap(cbasename, diff == 0 ? argv[argc-1] : NULL, oopts);
|
/illumos-gate/usr/src/cmd/sgs/yacc/common/ |
H A D | y3.c | 133 int diff; local 158 diff = qq - rr; 161 qq = diff + rr; 177 diff = qq - rr; 180 qq = diff + rr;
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_trantcp.c | 684 ptrdiff_t diff; local 723 diff = MBLKHEAD(m); 724 if (diff == 4 && DB_REF(m) == 1) {
|
/illumos-gate/usr/src/stand/lib/fs/nfs/ |
H A D | clnt_btcp.c | 407 uint_t start, diff; local 420 diff = (uint_t)(prom_gettime() - start); 421 if (diff > ct->ct_wait_msec) {
|
/illumos-gate/usr/src/test/os-tests/tests/poll/ |
H A D | poll_test.c | 152 time_t diff = expected - elapsed; local 159 return (elapsed >= expected || diff <= TIME_DRIFT);
|
/illumos-gate/usr/src/uts/sun4/io/ |
H A D | cbe.c | 62 hrtime_t diff = ts; local 64 while (diff > nsec_per_sys_tick) { 65 unscale += hrtime2tick(diff); 68 diff = ts - rescale;
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | sysioerr.c | 774 hrtime_t diff = now - softsp->bto_timestamp; local 776 if (diff > ((hrtime_t)bto_secs * NANOSEC) || diff < 0LL) {
|
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_put.c | 805 int diff = destcol - outcol; local 806 j = (wchar == FILLER ? 1 : scrlength > diff ? diff : scrlength);
|
/illumos-gate/usr/src/common/fs/ |
H A D | ufsops.c | 369 int off, size, diff; local 380 diff = filep->fi_inode->i_size - filep->fi_offset; 381 if (diff <= 0) { 417 filep->fi_count = diff + off; 434 int off, size, diff; local 445 diff = filep->fi_inode->i_size - filep->fi_offset; 446 if (diff <= 0) { 470 filep->fi_count = diff + off;
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.proc.c | 752 struct timeval tetime, diff; local 765 tvsub(&diff, &pp->p_etime, &pp->p_btime); 766 if (timercmp(&diff, &tetime, >)) 767 tetime = diff;
|
/illumos-gate/usr/src/cmd/diff/ |
H A D | diff.h | 74 * diff - directory comparison 108 * doing a "context" diff. (see routine "change" to understand the 174 char diff[] = "/usr/bin/diff"; variable
|
/illumos-gate/usr/src/cmd/diff3/ |
H A D | diff3prog.c | 44 * d13 = diff report on f1 vs f3 45 * d23 = diff report on f2 vs f3 59 struct diff {struct range old, new; }; struct 69 static struct diff d13[NC]; 70 static struct diff d23[NC]; 77 static struct diff de[NC]; 101 static int readin(char *name, struct diff *dd); 115 static int edit(struct diff *diff, int dup, int j); 184 readin(char *name, struct diff *d 515 edit(struct diff *diff, int dup, int j) argument [all...] |
/illumos-gate/usr/src/cmd/sgs/lex/common/ |
H A D | sub2.c | 523 int cmin, cval, tcnt, diff, p, *ast; local 609 diff = 0; 615 diff++; 621 diff = ncg; 628 diff++; 632 diff++; 636 diff = ncg; 637 if (diff < cval && diff < tcnt) { 638 cval = diff; [all...] |
/illumos-gate/usr/src/cmd/bdiff/ |
H A D | bdiff.c | 48 * and then executes diff upon the pieces. The output of 49 * 'diff' is then processed to make it look as if 'diff' had 51 * is a reasonable upper limit on the size of files that diff can 57 * the files whole, assuming 'diff' could handle such large files. 59 * 'diff' is executed by a child process, generated by forking, 67 static char diff[] = "/usr/bin/diff"; variable 160 * sent to 'diff'. Since the running time of 'diff' i [all...] |
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_subr2.c | 768 int clen, diff; local 776 diff = strncmp(a->hdr_n_rpath, b->hdr_n_rpath, clen); 777 if (diff < 0) 779 if (diff > 0)
|
/illumos-gate/usr/src/tools/onbld/Scm/ |
H A D | WorkSpace.py | 986 def diff(self, node1=None, node2=None, match=None, opts=None): member in class:WorkSpace 987 '''Return the diff of changes between two changesets as a string''' 997 for chunk in patch.diff(self.repo, node1, node2, match=match,
|
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/ |
H A D | ip_rpcb_pxy.c | 312 int rv, diff; local 327 diff = 0; 363 diff = ippr_rpcb_modv3(fin, nat, rm, m, off); 365 diff = ippr_rpcb_modv4(fin, nat, rm, m, off); 386 return(diff); 805 int diff; local 841 diff = xlen - XDRALIGN(B(ra->ra_maddr.xu_xslen)); 847 if (diff != 0) { 849 udp->uh_ulen = htons(ntohs(udp->uh_ulen) + diff); 850 fin->fin_ip->ip_len += diff; 1333 int diff; local 1400 int diff, cnt; local [all...] |
/illumos-gate/usr/src/uts/common/io/usb/clients/video/usbvc/ |
H A D | usbvc_v4l2.c | 758 uint32_t w, h, diff, sz, i; local 762 diff = 0xffffffff; 776 if (sz < diff) { 778 diff = sz; 781 if (diff == 0) {
|
/illumos-gate/usr/src/uts/common/ipp/flowacct/ |
H A D | flowacct.c | 729 hrtime_t diff; local 768 FLOWACCT_DELTA(now, fl_hdr->last_seen, diff); 775 (diff < flowacct_data->timeout)) {
|