/titanic_44/usr/src/cmd/mandoc/ |
H A D | mdoc.c | 285 mdoc_parseln(struct mdoc *mdoc, int ln, char *buf, int offs) in mdoc_parseln() argument 303 return(roff_getcontrol(mdoc->roff, buf, &offs) ? in mdoc_parseln() 304 mdoc_pmacro(mdoc, ln, buf, offs) : in mdoc_parseln() 305 mdoc_ptext(mdoc, ln, buf, offs)); in mdoc_parseln() 689 mdoc_preptext(struct mdoc *mdoc, int line, char *buf, int offs) 694 while ('\0' != buf[offs]) { 698 if (NULL != (start = strchr(buf + offs, delim))) 702 if ( ! mdoc_ptext(mdoc, line, buf, offs)) 710 offs += start - (buf + offs); 711 assert(start == &buf[offs]); [all …]
|
H A D | man.c | 128 man_parseln(struct man *man, int ln, char *buf, int offs) in man_parseln() argument 135 return (roff_getcontrol(man->roff, buf, &offs) ? in man_parseln() 136 man_pmacro(man, ln, buf, offs) : in man_parseln() 137 man_ptext(man, ln, buf, offs)); in man_parseln() 396 man_descope(struct man *man, int line, int offs) in man_descope() argument 416 return(man_body_alloc(man, line, offs, man->last->tok)); in man_descope() 420 man_ptext(struct man *man, int line, char *buf, int offs) in man_ptext() argument 427 if ( ! man_word_alloc(man, line, offs, buf + offs)) in man_ptext() 429 return(man_descope(man, line, offs)); in man_ptext() 432 for (i = offs; ' ' == buf[i]; i++) in man_ptext() [all …]
|
H A D | preconv.c | 48 size_t offs; /* starting buffer offset */ member 90 cp = b->buf + (int)b->offs; in conv_latin_1() 100 for (i = b->offs; i < b->sz; i++) { in conv_latin_1() 131 cp = b->buf + (int)b->offs; in conv_utf_8() 141 for (i = b->offs; i < b->sz; i++) { in conv_utf_8() 312 cue_enc(const struct buf *b, size_t *offs, enum enc *enc) in cue_enc() argument 318 ln = b->buf + (int)*offs; in cue_enc() 319 sz = b->sz - *offs; in cue_enc() 328 *offs = (size_t)((eoln + 1) - b->buf); in cue_enc() 406 size_t offs; in main() local [all …]
|
H A D | roff.c | 147 int *offs /* reset offset of buffer data */ 629 roff_parsetext(char **bufp, size_t *szp, int pos, int *offs) in roff_parsetext() argument 674 *offs = 0; in roff_parsetext() 685 size_t *szp, int pos, int *offs) in roff_parseln() argument 716 (r, t, bufp, szp, ln, pos, pos, offs); in roff_parseln() 722 return(eqn_read(&r->eqn, ln, *bufp, ppos, offs)); in roff_parseln() 726 return(roff_parsetext(bufp, szp, pos, offs)); in roff_parseln() 740 ln, ppos, pos, offs)); in roff_parseln() 755 ln, ppos, pos, offs)); in roff_parseln() 1044 ln, ppos, pos, offs)); in roff_block_sub() [all …]
|
H A D | tbl.c | 33 tbl_read(struct tbl_node *tbl, int ln, const char *p, int offs) in tbl_read() argument 38 cp = &p[offs]; in tbl_read()
|
H A D | mdoc.h | 302 const char *offs; /* -offset */ member 309 const char *offs; /* -offset */ member
|
H A D | mdoc_validate.c | 598 const char *offs, *width; in pre_bl() local 625 width = offs = NULL; in pre_bl() 678 offs = n->args->argv[i].value[0]; in pre_bl() 679 dup = (NULL != n->norm->Bl.offs); in pre_bl() 695 if (offs && ! dup) in pre_bl() 696 n->norm->Bl.offs = offs; in pre_bl() 722 n->norm->Bl.offs || in pre_bl() 785 const char *offs; in pre_bd() local 805 offs = NULL; in pre_bd() 829 offs = n->args->argv[i].value[0]; in pre_bd() [all …]
|
/titanic_44/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_44/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_44/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_44/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_44/usr/src/tools/ctf/dwarf/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()
|
/titanic_44/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_44/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()
|
/titanic_44/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_44/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_44/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_44/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_44/usr/src/uts/common/dtrace/ |
H A D | dtrace.c | 2269 uintptr_t offs; in dtrace_aggregate() local 2432 offs = buf->dtb_offset; in dtrace_aggregate() 2433 while (offs & (align - 1)) in dtrace_aggregate() 2434 offs += sizeof (uint32_t); in dtrace_aggregate() 2440 if ((uintptr_t)tomax + offs + fsize > in dtrace_aggregate() 2451 key->dtak_data = kdata = tomax + offs; in dtrace_aggregate() 2452 buf->dtb_offset = offs + fsize; in dtrace_aggregate() 2564 intptr_t offs; in dtrace_speculation_commit() local 2634 if ((offs = dtrace_buffer_reserve(dest, src->dtb_offset, in dtrace_speculation_commit() 2676 daddr = (uintptr_t)dest->dtb_tomax + offs; in dtrace_speculation_commit() [all …]
|
/titanic_44/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 …]
|