Home
last modified time | relevance | path

Searched refs:bc (Results 1 – 25 of 72) sorted by relevance

123

/titanic_44/usr/src/lib/libast/common/comp/
H A Dstrcasecmp.c40 register int bc;
48 bc = *b++;
49 if (isupper(bc))
50 bc = tolower(bc);
51 if (d = ac - bc)
H A Dstrncasecmp.c41 register int bc;
52 bc = *b++;
53 if (isupper(bc))
54 bc = tolower(bc);
55 if (d = ac - bc)
/titanic_44/usr/src/cmd/bc/
H A DMakefile27 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
/titanic_44/usr/src/uts/common/inet/ip/
H A Dip6_if.c1511 rule_isdst(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) in rule_isdst() argument
1513 if (!bc->cand_isdst_set) { in rule_isdst()
1514 bc->cand_isdst = in rule_isdst()
1515 IN6_ARE_ADDR_EQUAL(&bc->cand_srcaddr, dstinfo->dst_addr); in rule_isdst()
1516 bc->cand_isdst_set = B_TRUE; in rule_isdst()
1523 if (cc->cand_isdst == bc->cand_isdst) in rule_isdst()
1538 rule_scope(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) in rule_scope() argument
1540 if (!bc->cand_scope_set) { in rule_scope()
1541 bc->cand_scope = ip_addr_scope_v6(&bc->cand_srcaddr); in rule_scope()
1542 bc->cand_scope_set = B_TRUE; in rule_scope()
[all …]
/titanic_44/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_send/
H A Dzfs_send_006_pos.ksh47 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)
/titanic_44/usr/src/lib/libc/i386/gen/
H A D_mul64.s37 / 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
/titanic_44/usr/src/uts/common/crypto/api/
H A Dkcf_cbufcall.c82 crypto_bufcall_free(crypto_bc_t bc) in crypto_bufcall_free() argument
84 kcf_cbuf_elem_t *cbufp = (kcf_cbuf_elem_t *)bc; in crypto_bufcall_free()
107 crypto_bufcall(crypto_bc_t bc, void (*func)(void *arg), void *arg) in crypto_bufcall() argument
111 cbufp = (kcf_cbuf_elem_t *)bc; in crypto_bufcall()
155 crypto_unbufcall(crypto_bc_t bc) in crypto_unbufcall() argument
157 kcf_cbuf_elem_t *cbufp = (kcf_cbuf_elem_t *)bc; in crypto_unbufcall()
/titanic_44/usr/src/lib/libldap5/sources/ldap/common/
H A Dldaputf8.c141 unsigned long sc, bc; in ldap_utf8strtok_r() local
150 for (bp = brk; (bc = LDAP_UTF8GETCC(bp)) != 0;) { in ldap_utf8strtok_r()
151 if (sc == bc) in ldap_utf8strtok_r()
168 if ((bc = LDAP_UTF8GETCC(bp)) == sc) { in ldap_utf8strtok_r()
177 } while (bc != 0); in ldap_utf8strtok_r()
/titanic_44/usr/src/cmd/mdb/common/modules/genunix/
H A Dleaky_subr.c517 kmem_bufctl_audit_t bc; in leaky_subr_add_leak() local
519 if (mdb_vread(&bc, sizeof (bc), addr) == -1) { in leaky_subr_add_leak()
525 depth = MIN(bc.bc_depth, KMEM_STACK_DEPTH); in leaky_subr_add_leak()
537 leaky_add_leak(TYPE_KMEM, addr, (uintptr_t)bc.bc_addr, in leaky_subr_add_leak()
538 bc.bc_timestamp, bc.bc_stack + 1, depth, in leaky_subr_add_leak()
539 (uintptr_t)bc.bc_cache, 0); in leaky_subr_add_leak()
899 kmem_bufctl_audit_t bc; in leaky_subr_invoke_callback() local
915 if (mdb_vread(&bc, sizeof (bc), lkb->lkb_addr) == -1) { in leaky_subr_invoke_callback()
920 return (cb(lkb->lkb_addr, &bc, cbdata)); in leaky_subr_invoke_callback()
H A Dkmem.c871 kmem_bufctl_t bc; in kmem_hash_lookup() local
880 if (mdb_vread(&bc, sizeof (kmem_bufctl_t), in kmem_hash_lookup()
885 if (bc.bc_addr == buf) { in kmem_hash_lookup()
889 bcp = bc.bc_next; in kmem_hash_lookup()
1345 kmem_bufctl_t bc; in kmem_walk_step() local
1488 if (mdb_vread(&bc, sizeof (bc), (uintptr_t)bcp) == -1) { in kmem_walk_step()
1493 buf = bc.bc_addr; in kmem_walk_step()
1513 bc = *((kmem_bufctl_t *)((uintptr_t)ubase + offs)); in kmem_walk_step()
1548 bcp = bc.bc_next; in kmem_walk_step()
1704 kmem_bufctl_audit_t bc; in bufctl_history_walk_init() local
[all …]
/titanic_44/usr/src/lib/libcurses/screen/
H A Dinit_color.c127 float rc, gc, bc, h, l, s; in _rgb_to_hls() local
154 bc = (max - b) / (max - min); in _rgb_to_hls()
157 h = bc - gc; in _rgb_to_hls()
159 h = 2 + rc - bc; in _rgb_to_hls()
/titanic_44/usr/src/lib/fm/topo/modules/sun4/ioboard/
H A Dioboard.c224 uint_t bc, ac; in split_bus_address() local
242 bc = strtonum(mod, bac, &e); in split_bus_address()
259 *brd = ((bc - baseaddr) / bussep) + minbrd; in split_bus_address()
260 *br = (bc - baseaddr) % bussep; in split_bus_address()
266 *brd, *br, *bus, bc, ac); in split_bus_address()
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/bridged/
H A Devents.c449 bridge_ctl_t bc; in handle_control() local
454 retv = read(control_fd, &bc, sizeof (bc)); in handle_control()
455 if (retv != sizeof (bc)) in handle_control()
457 if ((port = find_by_linkid(bc.bc_linkid)) == NULL) in handle_control()
459 if (port->sdu_failed == bc.bc_failed) in handle_control()
461 port->sdu_failed = bc.bc_failed; in handle_control()
477 if ((rc = STP_IN_enable_port(port->port_index, !bc.bc_failed)) != 0) in handle_control()
479 port->name, bc.bc_failed ? "disable" : "enable", in handle_control()
/titanic_44/usr/src/lib/libsmbfs/smb/
H A Dnegprot.c115 uint16_t dindex, bc; in smb_negprot() local
237 err = md_get_uint16le(mbp, &bc); /* ByteCount */ in smb_negprot()
354 len = (int)bc - SMB_GUIDLEN; in smb_negprot()
376 if (bc < eklen || eklen < NTLM_CHAL_SZ) { in smb_negprot()
H A Dssnsetup.c296 uint16_t bc, len1, len2, sblen; in smb__ssnsetup() local
394 md_get_uint16le(mbp, &bc); /* byte count */ in smb__ssnsetup()
399 if (sblen == 0 || bc < sblen) in smb__ssnsetup()
412 err = md_get_uint16le(mbp, &bc); /* byte count */ in smb__ssnsetup()
/titanic_44/usr/src/cmd/fs.d/ufs/fsck/
H A Ddir.c834 int bc, f; in expanddir() local
855 for (bc = 0; ((nxtbn > 0) && (bc < nxtbn) && (bc < NDADDR)); bc++) { in expanddir()
856 if (dp->di_db[bc] == 0) { in expanddir()
971 for (bc = 0; ((bc < nxtibn) && (bc < n)); bc++) { in expanddir()
973 if (((daddr32_t *)bp[1]->b_un.b_buf)[bc] == 0) { in expanddir()
/titanic_44/usr/src/lib/libresolv2/common/nameser/
H A Dns_name.c744 int ac, bc; in ns_name_eq() local
746 while (ac = *a, bc = *b, ac != 0 && bc != 0) { in ns_name_eq()
747 if ((ac & NS_CMPRSFLGS) != 0 || (bc & NS_CMPRSFLGS) != 0) { in ns_name_eq()
751 if (a + ac >= ae || b + bc >= be) { in ns_name_eq()
755 if (ac != bc || strncasecmp((const char *) ++a, in ns_name_eq()
758 a += ac, b += bc; in ns_name_eq()
760 return (ac == 0 && bc == 0); in ns_name_eq()
/titanic_44/usr/src/cmd/dd/
H A Ddd.c1818 int bc; in flsh() local
1832 bc = write(obf, (char *)obuf, oc); in flsh()
1833 if (bc != oc) { in flsh()
1834 if (bc < 0) in flsh()
1839 "wrote %d bytes, expected %d\n"), bc, oc); in flsh()
1844 obytes += bc; in flsh()
1851 bc = obc; in flsh()
1854 } while (--bc); in flsh()
/titanic_44/usr/src/uts/common/io/comstar/port/qlt/
H A Dqlt_dma.c87 qlt_dmem_bctl_t *bctl, *bc; in qlt_dmem_init() local
196 bc = bctl; in qlt_dmem_init()
197 while (bc) { in qlt_dmem_init()
198 stmf_free(bc->bctl_buf); in qlt_dmem_init()
199 bc = bc->bctl_next; in qlt_dmem_init()
/titanic_44/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_dump.h342 uint32_t bc:24; /* byte count */ member
346 uint32_t bc:24; /* byte count */
/titanic_44/usr/src/cmd/mdb/common/modules/libumem/
H A Dumem.c787 umem_bufctl_t bc; in umem_hash_lookup() local
796 if (mdb_vread(&bc, sizeof (umem_bufctl_t), in umem_hash_lookup()
801 if (bc.bc_addr == buf) { in umem_hash_lookup()
805 bcp = bc.bc_next; in umem_hash_lookup()
1300 umem_bufctl_t bc; in umem_walk_step() local
1436 if (mdb_vread(&bc, sizeof (bc), (uintptr_t)bcp) == -1) { in umem_walk_step()
1441 buf = bc.bc_addr; in umem_walk_step()
1461 bc = *((umem_bufctl_t *)((uintptr_t)ubase + offs)); in umem_walk_step()
1496 bcp = bc.bc_next; in umem_walk_step()
1635 umem_bufctl_audit_t bc; in bufctl_history_walk_init() local
[all …]
/titanic_44/usr/src/common/bzip2/
H A Dcompress.c242 Int32 v, t, i, j, gs, ge, totc, bt, bc, iter; in sendMTFValues() local
400 bc = 999999999; bt = -1; in sendMTFValues()
402 if (cost[t] < bc) { bc = cost[t]; bt = t; }; in sendMTFValues()
403 totc += bc; in sendMTFValues()
/titanic_44/usr/src/lib/fm/topo/modules/sun4v/platform-mem/
H A Dmem_mdesc.c260 int bc, idx, mdesc_dimm_count, mdesc_bank_count; in mdesc_init_n2() local
398 bc = md_scan_dag(mdp, listp[idx], in mdesc_init_n2()
407 gmp = find_grp(bl, bc, bclist, banklist, mdesc_bank_count, mem); in mdesc_init_n2()
409 smp->sm_grp = create_grp(mod, bl, bc, in mdesc_init_n2()
/titanic_44/usr/src/lib/libast/amd64/src/lib/libast/FEATURE/
H A Dccode10 #define CC_EBCDIC_S 5 /* Siemens posix-bc */
/titanic_44/usr/src/lib/libast/sparcv9/src/lib/libast/FEATURE/
H A Dccode10 #define CC_EBCDIC_S 5 /* Siemens posix-bc */

123