/titanic_50/usr/src/cmd/mandoc/ |
H A D | man.c | 121 man_parseln(struct man *man, int ln, char *buf, int offs) in man_parseln() argument 127 return (roff_getcontrol(man->roff, buf, &offs) ? in man_parseln() 128 man_pmacro(man, ln, buf, offs) : in man_parseln() 129 man_ptext(man, ln, buf, offs)); in man_parseln() 350 man_descope(struct man *man, int line, int offs) in man_descope() argument 366 man_body_alloc(man, line, offs, man->last->tok); in man_descope() 370 man_ptext(struct man *man, int line, char *buf, int offs) in man_ptext() argument 377 man_word_alloc(man, line, offs, buf + offs); in man_ptext() 378 man_descope(man, line, offs); in man_ptext() 382 for (i = offs; buf[i] == ' '; i++) in man_ptext() [all …]
|
H A D | mdoc.c | 229 mdoc_parseln(struct mdoc *mdoc, int ln, char *buf, int offs) in mdoc_parseln() argument 246 return(roff_getcontrol(mdoc->roff, buf, &offs) ? in mdoc_parseln() 247 mdoc_pmacro(mdoc, ln, buf, offs) : in mdoc_parseln() 248 mdoc_ptext(mdoc, ln, buf, offs)); in mdoc_parseln() 589 mdoc_ptext(struct mdoc *mdoc, int line, char *buf, int offs) in mdoc_ptext() argument 608 mdoc_macro(mdoc, MDOC_It, line, offs, &offs, buf); in mdoc_ptext() 618 mdoc_macro(mdoc, MDOC_It, line, offs, &offs, buf); in mdoc_ptext() 629 for (c = end = buf + offs; *c; c++) { in mdoc_ptext() 667 if (buf[offs] == '\0' && ! (mdoc->flags & MDOC_LITERAL)) { in mdoc_ptext() 676 mdoc_elem_alloc(mdoc, line, offs, MDOC_sp, NULL); in mdoc_ptext() [all …]
|
H A D | tbl_opts.c | 124 tbl_option(struct tbl_node *tbl, int ln, const char *p, int *offs) in tbl_option() argument 128 pos = *offs; in tbl_option() 134 *offs = pos + 1; in tbl_option()
|
H A D | mdoc.h | 303 const char *offs; /* -offset */ member 310 const char *offs; /* -offset */ member
|
H A D | roff.c | 354 int *offs /* reset offset of buffer data */ 1108 roff_parsetext(struct buf *buf, int pos, int *offs) in roff_parsetext() argument 1149 *offs = 0; in roff_parsetext() 1159 roff_parseln(struct roff *r, int ln, struct buf *buf, int *offs) in roff_parseln() argument 1168 ppos = pos = *offs; in roff_parseln() 1201 e = (*roffs[t].text)(r, t, buf, ln, pos, pos, offs); in roff_parseln() 1207 return(eqn_read(&r->eqn, ln, buf->buf, ppos, offs)); in roff_parseln() 1211 return(roff_parsetext(buf, pos, offs)); in roff_parseln() 1231 return((*roffs[t].sub)(r, t, buf, ln, ppos, pos, offs)); in roff_parseln() 1264 return((*roffs[t].proc)(r, t, buf, ln, ppos, pos, offs)); in roff_parseln() [all …]
|
/titanic_50/usr/src/uts/common/zmod/ |
H A D | inftrees.c | 61 unsigned short offs[MAXBITS+1]; /* offsets in table for each length */ local 143 offs[1] = 0; 145 offs[len + 1] = offs[len] + count[len]; 149 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym;
|
/titanic_50/usr/src/uts/i86pc/os/ |
H A D | fastboot.c | 469 size_t offs = 0; /* offset from the starting address */ in fastboot_build_mbi() local 540 offs += sizeof (multiboot_info_t); in fastboot_build_mbi() 541 mbi->mods_addr = start_addr_pa + offs; in fastboot_build_mbi() 542 mbp = (mb_module_t *)(start_addr_va + offs); in fastboot_build_mbi() 546 offs += sizeof (mb_module_t); in fastboot_build_mbi() 549 (void *)(start_addr_va + offs), mdnsz); in fastboot_build_mbi() 550 mbp->mod_name = start_addr_pa + offs; in fastboot_build_mbi() 556 offs += mdnsz; in fastboot_build_mbi() 557 offs = P2ROUNDUP_TYPED(offs, 16, size_t); in fastboot_build_mbi() 562 mbi->mmap_addr = start_addr_pa + offs; in fastboot_build_mbi() [all …]
|
/titanic_50/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | typegraph.c | 1606 uintptr_t offs = 0; in typegraph_pass1_node() local 1640 if (tg_pass == TG_PASS1 && e->tge_srcoffs - offs > size) in typegraph_pass1_node() 1643 if (offs >= typegraph_size(type)) in typegraph_pass1_node() 1646 if (e->tge_srcoffs < offs) in typegraph_pass1_node() 1653 e->tge_srcoffs - offs, e, &member); in typegraph_pass1_node() 1674 member, e->tge_srcoffs - offs, rtype, ntype); in typegraph_pass1_node() 1761 offs = this->tgtd_offs; in typegraph_pass1_node() 1790 size_t tsize, nsize, rem, offs, limit; in typegraph_pass2_node() local 1887 for (offs = 0; offs < limit; ) { in typegraph_pass2_node() 1888 ntype = typegraph_type_offset(type, offs, NULL, NULL); in typegraph_pass2_node() [all …]
|
/titanic_50/usr/src/cmd/make/bin/ |
H A D | ar.cc | 622 ar_port_word *offs; in translate_entry() local 684 offs = (ar_port_word *) alloca((int) (arp->num_symbols * AR_PORT_WORD)); in translate_entry() 685 if (fread((char *) offs, in translate_entry() 693 *((int*)buffer)=offs[i]; in translate_entry() 694 offs[i]=(ar_port_word)sgetl(buffer); in translate_entry() 705 offend = &offs[arp->num_symbols]; in translate_entry() 706 while (offs < offend) { in translate_entry() 714 (long) *offs, in translate_entry() 760 offs++; in translate_entry()
|
/titanic_50/usr/src/lib/libdwarf/common/ |
H A D | dwarf_line2.c | 58 Dwarf_Off ** offs, in _dwarf_line_address_offsets() argument 100 *offs = loffsets; in _dwarf_line_address_offsets()
|
H A D | pro_line.c | 93 Dwarf_Addr offs, in dwarf_lne_set_address() argument 101 _dwarf_pro_add_line_entry(dbg, 0, offs, symidx, 0, 0, 0, 0, opc, in dwarf_lne_set_address()
|
/titanic_50/usr/src/uts/common/io/1394/targets/dcam1394/ |
H A D | dcam_reg.c | 53 (uint64_t)(arg->offs & 0x00000FFC); in dcam_reg_read() 99 (uint64_t)(arg->offs & 0x00000FFC); in dcam_reg_write()
|
H A D | dcam_param.c | 671 reg_io.offs = feature_csr_offs + in feature_get() 687 reg_io.offs = feature_elm_inq_reg_offs + in feature_get() 718 reg_io.offs = feature_csr_offs + DCAM1394_REG_OFFS_FEATURE_CSR_BASE; in feature_set() 742 reg_io.offs = DCAM1394_REG_OFFS_BASIC_FUNC_INQ; in param_cap_power_ctrl_get() 766 reg_io.offs = DCAM1394_REG_OFFS_VID_MODE_INQ; in param_cap_vid_mode_get() 795 reg_io.offs = DCAM1394_REG_OFFS_FRAME_RATE_INQ_BASE + (4 * vid_mode); in param_cap_frame_rate_get() 818 reg_io.offs = DCAM1394_REG_OFFS_CAMERA_POWER; in param_power_get() 838 reg_io.offs = DCAM1394_REG_OFFS_CAMERA_POWER; in param_power_set() 857 reg_io.offs = DCAM1394_REG_OFFS_CUR_V_MODE; in param_vid_mode_get() 880 reg_io.offs = DCAM1394_REG_OFFS_CUR_V_MODE; in param_vid_mode_set() [all …]
|
H A D | dcam_frame.c | 375 reg_io.offs = DCAM1394_REG_OFFS_CUR_ISO_CHANNEL; in dcam_frame_rcv_init() 424 reg_io.offs = DCAM1394_REG_OFFS_ISO_EN; in dcam_frame_rcv_start() 450 reg_io.offs = DCAM1394_REG_OFFS_ISO_EN; in dcam_frame_rcv_stop()
|
/titanic_50/usr/src/lib/libdtrace/common/ |
H A D | dt_consume.c | 402 dtrace_bufdesc_t *buf, size_t offs) in dt_flowindent() argument 458 offs += epd->dtepd_size; in dt_flowindent() 461 if (offs >= buf->dtbd_size) in dt_flowindent() 464 next = *(uint32_t *)((uintptr_t)buf->dtbd_data + offs); in dt_flowindent() 467 offs += sizeof (id); in dt_flowindent() 2092 size_t offs; in dt_consume_cpu() local 2107 for (offs = buf->dtbd_oldest; offs < buf->dtbd_size; ) { in dt_consume_cpu() 2113 id = *(uint32_t *)((uintptr_t)buf->dtbd_data + offs); in dt_consume_cpu() 2120 offs += sizeof (id); in dt_consume_cpu() 2129 data.dtpda_data = buf->dtbd_data + offs; in dt_consume_cpu() [all …]
|
H A D | dt_provider.c | 535 uint32_t **offs; in dt_probe_define() local 585 offs = &pip->pi_enoffs; in dt_probe_define() 589 offs = &pip->pi_offs; in dt_probe_define() 601 bcopy(*offs, new_offs, sizeof (uint32_t) * *maxoffs); in dt_probe_define() 603 dt_free(dtp, *offs); in dt_probe_define() 605 *offs = new_offs; in dt_probe_define() 614 (*offs)[(*noffs)++] = offset; in dt_probe_define()
|
H A D | dt_aggregate.c | 436 size_t offs, roffs, size, ndx; in dt_aggregate_snap_cpu() local 484 for (offs = 0; offs < buf->dtbd_size; ) { in dt_aggregate_snap_cpu() 489 (uintptr_t)offs)); in dt_aggregate_snap_cpu() 496 offs += sizeof (id); in dt_aggregate_snap_cpu() 503 addr = buf->dtbd_data + offs; in dt_aggregate_snap_cpu() 693 offs += agg->dtagd_size; in dt_aggregate_snap_cpu() 1141 uint32_t size, offs = 0; in dt_aggwalk_rval() local 1149 offs = sizeof (uint64_t); in dt_aggwalk_rval() 1153 bzero(&data->dtada_data[rec->dtrd_offset] + offs, size); in dt_aggwalk_rval() 1159 bzero(data->dtada_percpu[i] + offs, size); in dt_aggwalk_rval()
|
H A D | dt_options.c | 862 size_t offs; in dt_options_load() local 898 for (offs = 0; offs < sec->dofs_size; offs += sec->dofs_entsize) { in dt_options_load() 900 ((uintptr_t)dof + sec->dofs_offset + offs); in dt_options_load()
|
/titanic_50/usr/src/common/lzma/ |
H A D | LzmaEnc.c | 608 UInt32 offs = 0x100; in LitEnc_EncodeMatched() local 613 RangeEnc_EncodeBit(p, probs + (offs + (matchByte & offs) + (symbol >> 8)), (symbol >> 7) & 1); in LitEnc_EncodeMatched() 615 offs &= ~(matchByte ^ symbol); in LitEnc_EncodeMatched() 672 UInt32 offs = 0x100; in LitEnc_GetPriceMatched() local 677 price += GET_PRICEa(probs[offs + (matchByte & offs) + (symbol >> 8)], (symbol >> 7) & 1); in LitEnc_GetPriceMatched() 679 offs &= ~(matchByte ^ symbol); in LitEnc_GetPriceMatched() 1097 UInt32 offs = 0; in GetOptimum() local 1098 while (len > matches[offs]) in GetOptimum() 1099 offs += 2; in GetOptimum() 1103 UInt32 distance = matches[offs + 1]; in GetOptimum() [all …]
|
H A D | LzmaDec.c | 195 unsigned offs = 0x100; in LzmaDec_DecodeReal() local 202 bit = (matchByte & offs); in LzmaDec_DecodeReal() 203 probLit = prob + offs + bit + symbol; in LzmaDec_DecodeReal() 204 GET_BIT2(probLit, symbol, offs &= ~bit, offs &= bit) in LzmaDec_DecodeReal() 543 unsigned offs = 0x100; in LzmaDec_TryDummy() local 550 bit = (matchByte & offs); in LzmaDec_TryDummy() 551 probLit = prob + offs + bit + symbol; in LzmaDec_TryDummy() 552 GET_BIT2_CHECK(probLit, symbol, offs &= ~bit, offs &= bit) in LzmaDec_TryDummy()
|
/titanic_50/usr/src/uts/common/io/audio/drv/audioens/ |
H A D | audioens.c | 377 audioens_writemem(audioens_dev_t *dev, uint32_t page, uint32_t offs, in audioens_writemem() argument 382 PUT32(dev, offs, data); in audioens_writemem() 386 audioens_readmem(audioens_dev_t *dev, uint32_t page, uint32_t offs) in audioens_readmem() argument 389 return (GET32(dev, offs)); in audioens_readmem() 547 uint32_t page, offs; in audioens_count() local 553 offs = CONC_wDAC1FC_OFF; in audioens_count() 558 offs = CONC_wADCFC_OFF; in audioens_count() 566 frameno = audioens_readmem(port->dev, page, offs) >> 16; in audioens_count()
|
/titanic_50/usr/src/common/bignum/ |
H A D | bignumimpl.c | 310 uint32_t offs; in bytestring2bignum() local 321 offs = slen % BIGNUM_WORDSIZE; in bytestring2bignum() 332 if (offs > 0) { in bytestring2bignum() 334 for (i = 1; i < offs; i++) word = (word << BITSINBYTE) + kn[i]; in bytestring2bignum() 353 uint32_t offs; in bignum2bytestring() local 366 offs = slen % BIGNUM_WORDSIZE; in bignum2bytestring() 367 if (offs > 0) { in bignum2bytestring() 963 big_shiftleft(BIGNUM *result, BIGNUM *aa, int offs) in big_shiftleft() argument 968 if (offs == 0) { in big_shiftleft() 977 result->value[i] = (ai << offs) | cy; in big_shiftleft() [all …]
|
/titanic_50/usr/src/uts/common/io/audio/drv/audiopci/ |
H A D | audiopci.c | 245 audiopci_writemem(audiopci_dev_t *dev, uint32_t page, uint32_t offs, in audiopci_writemem() argument 250 PUT32(dev, offs, data); in audiopci_writemem() 254 audiopci_readmem(audiopci_dev_t *dev, uint32_t page, uint32_t offs) in audiopci_readmem() argument 257 return (GET32(dev, offs)); in audiopci_readmem() 444 uint32_t page, offs; in audiopci_count() local 450 offs = CONC_wDACFC_OFF; in audiopci_count() 455 offs = CONC_wSYNFC_OFF; in audiopci_count() 460 offs = CONC_wADCFC_OFF; in audiopci_count() 468 frameno = audiopci_readmem(port->dev, page, offs) >> 16; in audiopci_count()
|
/titanic_50/usr/src/uts/common/dtrace/ |
H A D | dtrace.c | 2303 uintptr_t offs; in dtrace_aggregate() local 2466 offs = buf->dtb_offset; in dtrace_aggregate() 2467 while (offs & (align - 1)) in dtrace_aggregate() 2468 offs += sizeof (uint32_t); in dtrace_aggregate() 2474 if ((uintptr_t)tomax + offs + fsize > in dtrace_aggregate() 2485 key->dtak_data = kdata = tomax + offs; in dtrace_aggregate() 2486 buf->dtb_offset = offs + fsize; in dtrace_aggregate() 2598 intptr_t offs; in dtrace_speculation_commit() local 2668 if ((offs = dtrace_buffer_reserve(dest, src->dtb_offset, in dtrace_speculation_commit() 2710 daddr = (uintptr_t)dest->dtb_tomax + offs; in dtrace_speculation_commit() [all …]
|
/titanic_50/usr/src/uts/common/io/audio/drv/audioemu10k/ |
H A D | audioemu10k.c | 501 int offs, bit; in emu10k_set_loop_stop() local 503 offs = voice / 32; in emu10k_set_loop_stop() 507 tmp = emu10k_read_reg(devc, SOLL + offs, 0); in emu10k_set_loop_stop() 512 emu10k_write_reg(devc, SOLL + offs, 0, tmp); in emu10k_set_loop_stop() 720 uint32_t offs; in emu10k_reset_play() local 722 offs = (portc->buf_size / portc->channels) * 2; in emu10k_reset_play() 726 emu10k_reset_pair(portc, 2, clfe_routing, offs); in emu10k_reset_play() 727 emu10k_reset_pair(portc, 4, surr_routing, 2 * offs); in emu10k_reset_play() 728 emu10k_reset_pair(portc, 6, side_routing, 3 * offs); in emu10k_reset_play() 731 emu10k_reset_pair(portc, 2, clfe_routing, offs); in emu10k_reset_play() [all …]
|