/osnet-11/usr/src/lib/libc/port/i18n/ |
H A D | putws.c | 51 ptrdiff_t diff; local 66 diff = ptr - ptr0; 67 if (diff <= INT_MAX) 68 return ((int)diff);
|
/osnet-11/usr/src/lib/libparted/common/libparted/fs/ext2/ |
H A D | ext2_meta.c | 47 blk_t diff; local 60 diff = newitoffset - (EXT2_GROUP_INODE_TABLE(fs->gd[i]) - start); 67 for (j=0;j<diff;j++) 80 for (j=0;j<diff;j++) 87 EXT2_GROUP_INODE_TABLE(fs->gd[i]) + diff)) 90 EXT2_GROUP_INODE_TABLE(fs->gd[i]) + diff); 103 EXT2_GROUP_INODE_BITMAP(fs->gd[i]) + diff)) 106 EXT2_GROUP_INODE_BITMAP(fs->gd[i]) + diff); 115 EXT2_GROUP_BLOCK_BITMAP(fs->gd[i])+diff)) 118 EXT2_GROUP_BLOCK_BITMAP(fs->gd[i]) + diff); [all...] |
H A D | ext2_resize.c | 458 blk_t diff; local 471 diff = newsize - EXT2_SUPER_BLOCKS_COUNT(fs->sb); 480 growto = sizelast + diff; 487 diff -= growto - sizelast; 493 while (diff) 496 1.0 - 1.0 * diff / (newsize - origsize)); 498 sizelast = PED_MIN(diff, EXT2_SUPER_BLOCKS_PER_GROUP(fs->sb)); 502 diff -= sizelast; 514 blk_t diff; local 549 diff [all...] |
H A D | ext2.c | 182 int diff; local 184 diff = state ? -1 : 1; 187 (EXT2_GROUP_FREE_BLOCKS_COUNT(fs->gd[group]) + diff); 189 (EXT2_SUPER_FREE_BLOCKS_COUNT(fs->sb) + diff); 335 int diff; local 337 diff = state ? -1 : 1; 340 (EXT2_GROUP_FREE_INODES_COUNT(fs->gd[group]) + diff); 342 (EXT2_SUPER_FREE_INODES_COUNT(fs->sb) + diff);
|
H A D | ext2_block_relocator.c | 780 blk_t diff; local 796 diff = newitoffset - (EXT2_GROUP_INODE_TABLE(fs->gd[i]) 799 for (j=0;j<diff;j++)
|
/osnet-11/usr/src/lib/libresolv2/common/nameser/ |
H A D | ns_samedomain.c | 53 int diff, i, escaped; local 105 diff = la - lb; 112 if (diff < 2) 120 if (a[diff - 1] != '.') 128 for (i = diff - 2; i >= 0; i--) 140 cp = a + diff;
|
/osnet-11/usr/src/lib/libslp/clib/ |
H A D | slp_utf8.c | 124 int diff = -1; local 141 if ((diff = strcasecmp(p1, p2)) == 0) 168 diff = wscasecmp(wcs1, wcs2); 175 return (diff);
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/ |
H A D | rc_base.c | 200 unsigned int diff; local 208 diff = residual - string_name; 209 if (!(type = malloc(diff + 1))) 211 (void) strncpy(type, string_name, diff);
|
/osnet-11/usr/src/lib/libkmf/ber_der/common/ |
H A D | decode.c | 108 int noctets, diff; local 143 diff = sizeof (ber_int_t) - noctets; 144 if (kmfber_read(ber, (char *)&netlen + diff, noctets)
|
/osnet-11/usr/src/lib/libldap4/ber/ |
H A D | decode.c | 104 int noctets, diff; local 138 diff = (int)sizeof(unsigned int) - noctets; 139 if ( ber_read( ber, (char *) &netlen + diff, noctets )
|
H A D | io.c | 572 int noctets, diff; local 622 diff = sizeof(unsigned int) - noctets; 623 if ( BerRead( sb, (char *) &netlen + diff, noctets ) !=
|
/osnet-11/usr/src/lib/libldap5/sources/ldap/ber/ |
H A D | decode.c | 97 int noctets, diff; local 131 diff = sizeof(ber_int_t) - noctets; 132 if ( ber_read( ber, (char *) &netlen + diff, noctets )
|
H A D | io.c | 600 int noctets, diff; local 650 diff = sizeof(ber_uint_t) - noctets; 651 if ( BerRead( sb, (char *) &netlen + diff, noctets ) != 1106 int noctets, diff; local 1156 diff = sizeof(ber_uint_t) - noctets; 1157 if ( read_bytes( &sb, (unsigned char *)&netlen + diff,
|
/osnet-11/usr/src/lib/libcpc/sparc/ |
H A D | event_ultra.c | 436 cpc_event_diff(cpc_event_t *diff, cpc_event_t *left, cpc_event_t *right) argument 438 diff->ce_hrt = left->ce_hrt; 439 diff->ce_tick = left->ce_tick - right->ce_tick; 440 diff->ce_pic[0] = left->ce_pic[0] - right->ce_pic[0]; 441 diff->ce_pic[1] = left->ce_pic[1] - right->ce_pic[1];
|
/osnet-11/usr/src/lib/libdscfg/common/ |
H A D | cfg_local.c | 551 int diff = 0; local 565 diff = len - cfl->l_esiz[i - 1]; 567 if ((diff > 0) && (diff > cfl->l_free)) { 596 cfl->l_esiz[i - 1] += diff; /* the new entry size */ 597 if (diff != 0) { /* move stuff over/back for correct fit */ 599 bcopy(p, p + diff, (cfl->l_entry + cfl->l_size - p)); 600 cfl->l_free -= diff; /* 0 - (-1) = 1 */ 601 cfl->l_size += diff; 604 cfp->cf_head->h_csize += diff; [all...] |
/osnet-11/usr/src/lib/libilb/common/ |
H A D | ilb_subr.c | 109 * diff contains the difference between the two with the same 115 i_cmp_addr_impl(void *ip1, void *ip2, ip_addr_type_t atype, int64_t *diff) argument 164 * 3. if high-order diff == 0, we can take low-order 165 * diff, if necessary cap it, convert it to signed 170 * if high-order diff is > 1, any low-order difference won't 231 if (diff != NULL) 232 *diff = d; 239 ilb_cmp_in6_addr(struct in6_addr *ip1, struct in6_addr *ip2, int64_t *diff) argument 243 res = i_cmp_addr_impl(ip1, ip2, internal, diff); 248 ilb_cmp_ipaddr(ilb_ip_addr_t *ip1, ilb_ip_addr_t *ip2, int64_t *diff) argument [all...] |
/osnet-11/usr/src/lib/libxcurses/src/tabs/ |
H A D | tabs.c | 413 int diff = nc - oc; local 419 putp(tparm(parm_right_cursor, diff, 0, 0, 0, 0, 0, 0, 0, 0)); 421 while (diff--) 424 while (diff--)
|
/osnet-11/usr/src/tools/onbld/Scm/ |
H A D | WorkSpace.py | 668 return self.diff(act.parenttip.node(), act.localtip.node(), 839 def diff(self, node1=None, node2=None, match=None, opts=None): member in class:WorkSpace 842 for chunk in patch.diff(self.repo, node1, node2, match=match,
|
/osnet-11/usr/src/lib/libcpc/i386/ |
H A D | event_pentium.c | 676 cpc_event_diff(cpc_event_t *diff, cpc_event_t *left, cpc_event_t *right) argument 678 diff->ce_hrt = left->ce_hrt; 679 diff->ce_tsc = left->ce_tsc - right->ce_tsc; 680 diff->ce_pic[0] = left->ce_pic[0] - right->ce_pic[0]; 681 diff->ce_pic[1] = left->ce_pic[1] - right->ce_pic[1];
|
/osnet-11/usr/src/lib/pam_modules/authtok_check/ |
H A D | authtok_check.c | 610 unsigned int diff; /* difference between old and new */ local 620 diff = pwlen - opwlen; 622 diff = opwlen - pwlen; 626 diff++; 631 if (diff < pwdef->mindiff) {
|
/osnet-11/usr/src/lib/libnsl/nis/gen/ |
H A D | nis_sec_mechs.c | 153 int diff; local 161 diff = tpp - mpp; 163 if (!(tpp_h = calloc(diff + 1, sizeof (*mpp))))
|
/osnet-11/usr/src/lib/sasl_plugins/gssapi/ |
H A D | gssapi.c | 469 unsigned diff; local 522 diff = text->size - text->cursize; 524 if (*inputlen < diff) { 533 memcpy(text->buffer + text->cursize, *input, diff); 534 *input += diff; 535 *inputlen -= diff;
|
/osnet-11/usr/src/lib/libdtrace/common/ |
H A D | dt_consume.c | 300 uint64_t diff[2] = { 0, 0 }; local 320 dt_shift_128(diff, 2); 321 dt_add_128(diff, next_pair, diff); 331 if (dt_le_128(next_try, diff)) { 332 dt_subtract_128(diff, next_try, diff); 353 uint64_t diff[2]; local 370 dt_subtract_128(avg_of_squares, square_of_avg, diff); 372 return (dt_sqrt_128(diff)); [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/fs/ |
H A D | hfsplus.c | 524 int diff; 537 diff = grub_memcmp (catkey_a->name, catkey_b->name, 539 if (diff == 0) 540 diff = grub_be_to_cpu16 (catkey_a->namelen) - catkey_b->namelen; 542 return diff; 522 int diff; local
|
/osnet-11/usr/src/grub/grub-0.97/netboot/ |
H A D | r8169.c | 644 u8 diff; local 652 diff = 256 - (TxPhyAddr - ((TxPhyAddr >> 8) << 8)); 653 TxPhyAddr += diff; 654 tpc->TxDescArray = (struct TxDesc *) (tpc->TxDescArrays + diff); 659 diff = 256 - (RxPhyAddr - ((RxPhyAddr >> 8) << 8)); 660 RxPhyAddr += diff; 661 tpc->RxDescArray = (struct RxDesc *) (tpc->RxDescArrays + diff);
|