/illumos-gate/usr/src/lib/libast/common/comp/ |
H A D | strcasecmp.c | 40 register int bc; 48 bc = *b++; 49 if (isupper(bc)) 50 bc = tolower(bc); 51 if (d = ac - bc)
|
H A D | strncasecmp.c | 41 register int bc; 52 bc = *b++; 53 if (isupper(bc)) 54 bc = tolower(bc); 55 if (d = ac - bc)
|
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | bcache.c | 84 #define BHASH(bc, blkno) ((blkno) & ((bc)->bcache_nblks - 1)) 85 #define BCACHE_LOOKUP(bc, blkno) \ 86 ((bc)->bcache_ctl[BHASH((bc), (blkno))].bc_blkno != (blkno)) 90 static void bcache_invalidate(struct bcache *bc, daddr_t blkno); 91 static void bcache_insert(struct bcache *bc, daddr_t blkno); 92 static void bcache_free_instance(struct bcache *bc); 123 struct bcache *bc = malloc(sizeof (struct bcache)); local 129 if (bc 171 struct bcache *bc = cache; local 189 struct bcache *bc = dd->dv_cache; local 213 struct bcache *bc = dd->dv_cache; local 330 struct bcache *bc = dd->dv_cache; local 408 bcache_free_instance(struct bcache *bc) argument 423 bcache_insert(struct bcache *bc, daddr_t blkno) argument 438 bcache_invalidate(struct bcache *bc, daddr_t blkno) argument [all...] |
/illumos-gate/usr/src/cmd/bc/ |
H A D | Makefile | 27 PROG= bc 28 XPG6PROG= bc 30 EXOBJS= bc.o 31 XPG6EXOBJS= exobjs.xpg6/bc.o 73 $(XD)/bc.o: bc.y 74 $(YACC.y) bc.y
|
/illumos-gate/usr/src/lib/libc/i386/gen/ |
H A D | _mul64.s | 37 / ac bc 39 / ac ad+bc bd 41 / We can ignore ac and top 32 bits of ad+bc: if <> 0, overflow happened. 58 mull 20(%ebp) / Multiply A.lo * B.hi (producing bc) 59 addl %ecx,%eax / Produce ad+bc
|
/illumos-gate/usr/src/uts/common/crypto/api/ |
H A D | kcf_cbufcall.c | 82 crypto_bufcall_free(crypto_bc_t bc) argument 84 kcf_cbuf_elem_t *cbufp = (kcf_cbuf_elem_t *)bc; 107 crypto_bufcall(crypto_bc_t bc, void (*func)(void *arg), void *arg) argument 111 cbufp = (kcf_cbuf_elem_t *)bc; 155 crypto_unbufcall(crypto_bc_t bc) argument 157 kcf_cbuf_elem_t *cbufp = (kcf_cbuf_elem_t *)bc;
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | init_color.c | 127 float rc, gc, bc, h, l, s; local 154 bc = (max - b) / (max - min); 157 h = bc - gc; 159 h = 2 + rc - bc;
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_send/ |
H A D | zfs_send_006_pos.ksh | 47 return=$(echo "$PERCENT * $value" | bc) 48 return=$(echo "$return / 100" | bc) 68 total_size=$(echo "$total_size * $block_count" | bc) 78 typeset refer_diff=$(echo "$refer_size - $estimate_size" | bc) 79 refer_diff=$(echo "$refer_diff / 1" | bc) 81 typeset file_diff=$(echo "$file_size - $estimate_size" | bc) 82 file_diff=$(echo "$file_diff / 1" | bc) 147 refer_size=$(echo "$refer_size - $deduct_size" | bc) 184 refer_size=$(echo "$refer_size * 3" | bc)
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | ldaputf8.c | 141 unsigned long sc, bc; local 150 for (bp = brk; (bc = LDAP_UTF8GETCC(bp)) != 0;) { 151 if (sc == bc) 168 if ((bc = LDAP_UTF8GETCC(bp)) == sc) { 177 } while (bc != 0);
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip6_if.c | 1487 * against the best candidate (bc). Each rule has three possible outcomes; 1511 rule_isdst(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) argument 1513 if (!bc->cand_isdst_set) { 1514 bc->cand_isdst = 1515 IN6_ARE_ADDR_EQUAL(&bc->cand_srcaddr, dstinfo->dst_addr); 1516 bc->cand_isdst_set = B_TRUE; 1523 if (cc->cand_isdst == bc->cand_isdst) 1538 rule_scope(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) argument 1540 if (!bc->cand_scope_set) { 1541 bc 1568 rule_deprecated(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) argument 1597 rule_preferred(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) argument 1621 rule_interface(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) argument 1653 rule_label(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) argument 1683 rule_temporary(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) argument 1712 rule_ifprefix(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) argument 1757 rule_zone_specific(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) argument 1782 rule_addr_type(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) argument 1807 rule_prefix(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) argument 1833 rule_must_be_last(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) argument [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/sun4/ioboard/ |
H A D | ioboard.c | 224 uint_t bc, ac; local 242 bc = strtonum(mod, bac, &e); 259 *brd = ((bc - baseaddr) / bussep) + minbrd; 260 *br = (bc - baseaddr) % bussep; 265 topo_mod_dprintf(mod, "brd=%d br=%d bus=%d bc=%x ac=%x\n", 266 *brd, *br, *bus, bc, ac);
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | leaky_subr.c | 517 kmem_bufctl_audit_t bc; local 519 if (mdb_vread(&bc, sizeof (bc), addr) == -1) { 525 depth = MIN(bc.bc_depth, KMEM_STACK_DEPTH); 537 leaky_add_leak(TYPE_KMEM, addr, (uintptr_t)bc.bc_addr, 538 bc.bc_timestamp, bc.bc_stack + 1, depth, 539 (uintptr_t)bc.bc_cache, 0); 899 kmem_bufctl_audit_t bc; local 915 if (mdb_vread(&bc, sizeo [all...] |
H A D | kmem.c | 871 kmem_bufctl_t bc; local 880 if (mdb_vread(&bc, sizeof (kmem_bufctl_t), 885 if (bc.bc_addr == buf) { 889 bcp = bc.bc_next; 1345 kmem_bufctl_t bc; local 1488 if (mdb_vread(&bc, sizeof (bc), (uintptr_t)bcp) == -1) { 1493 buf = bc.bc_addr; 1513 bc = *((kmem_bufctl_t *)((uintptr_t)ubase + offs)); 1548 bcp = bc 1704 kmem_bufctl_audit_t bc; local 1749 kmem_bufctl_audit_t bc; local 1995 kmem_bufctl_audit_t bc; local 2855 kmem_bufctl_audit_t bc; local [all...] |
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | negprot.c | 115 uint16_t dindex, bc; local 237 err = md_get_uint16le(mbp, &bc); /* ByteCount */ 354 len = (int)bc - SMB_GUIDLEN; 376 if (bc < eklen || eklen < NTLM_CHAL_SZ) {
|
H A D | ssnsetup.c | 296 uint16_t bc, len1, len2, sblen; local 394 md_get_uint16le(mbp, &bc); /* byte count */ 399 if (sblen == 0 || bc < sblen) 412 err = md_get_uint16le(mbp, &bc); /* byte count */
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/ |
H A D | events.c | 449 bridge_ctl_t bc; local 454 retv = read(control_fd, &bc, sizeof (bc)); 455 if (retv != sizeof (bc)) 457 if ((port = find_by_linkid(bc.bc_linkid)) == NULL) 459 if (port->sdu_failed == bc.bc_failed) 461 port->sdu_failed = bc.bc_failed; 477 if ((rc = STP_IN_enable_port(port->port_index, !bc.bc_failed)) != 0) 479 port->name, bc.bc_failed ? "disable" : "enable",
|
/illumos-gate/usr/src/lib/libresolv2/common/nameser/ |
H A D | ns_name.c | 744 int ac, bc; local 746 while (ac = *a, bc = *b, ac != 0 && bc != 0) { 747 if ((ac & NS_CMPRSFLGS) != 0 || (bc & NS_CMPRSFLGS) != 0) { 751 if (a + ac >= ae || b + bc >= be) { 755 if (ac != bc || strncasecmp((const char *) ++a, 758 a += ac, b += bc; 760 return (ac == 0 && bc == 0);
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/enchilada/frudata/ |
H A D | libpiclfrudata.conf | 44 name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,bc 45 PROP FRUDevicePath string r 0 "/devices/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,bc:dimm-spd"
|
/illumos-gate/usr/src/cmd/dd/ |
H A D | dd.c | 1818 int bc; local 1832 bc = write(obf, (char *)obuf, oc); 1833 if (bc != oc) { 1834 if (bc < 0) 1839 "wrote %d bytes, expected %d\n"), bc, oc); 1844 obytes += bc; 1851 bc = obc; 1854 } while (--bc);
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/ |
H A D | emlxs_dump.h | 342 uint32_t bc:24; /* byte count */ member in struct:_DUMP_TABLE_ENTRY_PORT_BLK::__anon7317::__anon7318 346 uint32_t bc:24; /* byte count */
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | dir.c | 834 int bc, f; local 855 for (bc = 0; ((nxtbn > 0) && (bc < nxtbn) && (bc < NDADDR)); bc++) { 856 if (dp->di_db[bc] == 0) { 971 for (bc = 0; ((bc < nxtibn) && (bc < n)); bc [all...] |
/illumos-gate/usr/src/uts/common/io/comstar/port/qlt/ |
H A D | qlt_dma.c | 87 qlt_dmem_bctl_t *bctl, *bc; local 196 bc = bctl; 197 while (bc) { 198 stmf_free(bc->bctl_buf); 199 bc = bc->bctl_next;
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/ents/frudata/ |
H A D | libpiclfrudata.conf | 57 name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd?UnitAddress=0,bc 58 PROP FRUDevicePath string r 0 "/devices/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,bc:dimm-spd"
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/mpxu/frudata/ |
H A D | libpiclfrudata.conf | 48 name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd?UnitAddress=0,bc 49 PROP FRUDevicePath string r 0 "/devices/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,bc:dimm-spd"
|
/illumos-gate/usr/src/common/bzip2/ |
H A D | compress.c | 242 Int32 v, t, i, j, gs, ge, totc, bt, bc, iter; local 400 bc = 999999999; bt = -1; 402 if (cost[t] < bc) { bc = cost[t]; bt = t; }; 403 totc += bc;
|