Home
last modified time | relevance | path

Searched refs:offset (Results 51 – 75 of 1848) sorted by relevance

12345678910>>...74

/illumos-gate/usr/src/lib/iconv_modules/ko/common/
H A DUTF2_to_johap92.c218 short int offset; in _icv_iconv() local
223 offset = 2; in _icv_iconv()
225 offset = 3; in _icv_iconv()
227 offset = 4; in _icv_iconv()
229 offset = 5; in _icv_iconv()
231 offset = 6; in _icv_iconv()
233 offset = 1; in _icv_iconv()
241 ib += offset; in _icv_iconv()
244 offset = (offset > 2) ? 2 : 1; in _icv_iconv()
252 if (offset > 1) in _icv_iconv()
[all …]
H A DUTF2_to_euc.c219 short int offset; in _icv_iconv() local
224 offset = 2; in _icv_iconv()
226 offset = 3; in _icv_iconv()
228 offset = 4; in _icv_iconv()
230 offset = 5; in _icv_iconv()
232 offset = 6; in _icv_iconv()
234 offset = 1; in _icv_iconv()
242 ib += offset; in _icv_iconv()
245 offset = (offset > 2) ? 2 : 1; in _icv_iconv()
253 if (offset > 1) in _icv_iconv()
[all …]
H A DUTF2_to_iso2022-7.c272 short int offset; in _icv_iconv() local
277 offset = 2; in _icv_iconv()
279 offset = 3; in _icv_iconv()
281 offset = 4; in _icv_iconv()
283 offset = 5; in _icv_iconv()
285 offset = 6; in _icv_iconv()
287 offset = 1; in _icv_iconv()
295 ib += offset; in _icv_iconv()
298 offset = (offset > 2) ? 2 : 1; in _icv_iconv()
306 if (offset > 1) in _icv_iconv()
[all …]
H A DUTF2_to_nbyte.c175 short int offset; in _icv_iconv() local
180 offset = 2; in _icv_iconv()
182 offset = 3; in _icv_iconv()
184 offset = 4; in _icv_iconv()
186 offset = 5; in _icv_iconv()
188 offset = 6; in _icv_iconv()
190 offset = 1; in _icv_iconv()
198 ib += offset; in _icv_iconv()
201 offset = (offset > 2) ? 2 : 1; in _icv_iconv()
209 if (offset > 1) in _icv_iconv()
[all …]
/illumos-gate/usr/src/uts/common/io/ixgbe/
H A Dixgbe_debug.c176 off_t offset; in ixgbe_pci_dump() local
274 offset = cap_ptr; in ixgbe_pci_dump()
278 pci_config_get8(handle, offset)); in ixgbe_pci_dump()
280 next_ptr = pci_config_get8(handle, offset + 1); in ixgbe_pci_dump()
298 offset = next_ptr; in ixgbe_pci_dump()
302 pci_config_get8(handle, offset)); in ixgbe_pci_dump()
316 pci_config_get32(handle, offset + 0x8)); in ixgbe_pci_dump()
319 pci_config_get16(handle, offset + 0xC)); in ixgbe_pci_dump()
322 offset = next_ptr; in ixgbe_pci_dump()
326 pci_config_get8(handle, offset)); in ixgbe_pci_dump()
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_rw.c94 size_t offset; local
99 offset = 0; offset < len; taddr += nr, offset += nr) {
101 __db_jump.j_read(fd, taddr, len - offset) :
102 read(fd, taddr, len - offset)) < 0)
124 size_t offset; local
129 offset = 0; offset < len; taddr += nw, offset += nw)
131 __db_jump.j_write(fd, taddr, len - offset) :
132 write(fd, taddr, len - offset)) < 0)
/illumos-gate/usr/src/uts/sun4u/io/pciex/
H A Dpci_cfgacc_4u.c40 #define RC_BDF_TO_CFGADDR(bdf, offset) (((bdf) << RC_PA_BDF_SHIFT) + (offset)) argument
47 if (IS_P2ALIGNED(req->offset, sz) && in pci_cfgacc_valid()
48 (req->offset + sz - 1 < PCIE_CFG_SPACE_SIZE) && in pci_cfgacc_valid()
53 req->offset, sz); in pci_cfgacc_valid()
61 pci_cfgacc_get(dev_info_t *dip, uint16_t bdf, uint16_t offset, uint8_t size) in pci_cfgacc_get() argument
71 base_addr += RC_BDF_TO_CFGADDR(bdf, offset); in pci_cfgacc_get()
94 pci_cfgacc_set(dev_info_t *dip, uint16_t bdf, uint16_t offset, uint8_t size, in pci_cfgacc_set() argument
104 base_addr += RC_BDF_TO_CFGADDR(bdf, offset); in pci_cfgacc_set()
136 pci_cfgacc_set(req->rcdip, req->bdf, req->offset, in pci_cfgacc_acc()
140 req->offset, req->size); in pci_cfgacc_acc()
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dfastlz_api.c107 if (*offset >= out_buf_size) { in write_to_buf()
113 *offset = *offset + in_buf_size; in write_to_buf()
127 *offset = *offset + out_buf_size; in read_from_buf()
210 &(pout_buff->offset), buffer, 10); in write_compression_hdr()
313 &_c_buff->offset, buffer, 8); in detect_magic()
344 &pc_buff->offset, buffer, 16); in read_chunk_header()
419 &pc_buff->offset, buffer, in decompress_buffer()
477 &pc_buff->offset, buffer, in decompress_buffer()
485 &pd_buff->offset, buffer, in decompress_buffer()
505 &pc_buff->offset, in decompress_buffer()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Drevlib.c41 off_t offset; in rev_line() local
54 if((offset = sfseek(in,(off_t)0,SEEK_END)) <= start) in rev_line()
56 offset = rounddown(offset,BUFSIZE); in rev_line()
60 if(offset < start) in rev_line()
62 n -= (start-offset); in rev_line()
63 offset = start; in rev_line()
65 sfseek(in, offset, SEEK_SET); in rev_line()
101 if(offset <= start) in rev_line()
103 offset -= BUFSIZE; in rev_line()
H A Dtail.c173 return offset; in tailpos()
179 offset = first; in tailpos()
203 last = offset; in tailpos()
227 offset[0] = offset[1] = 0; in pipetail()
240 offset[fno] = 0; in pipetail()
249 if (offset[fno]) in pipetail()
271 Sfoff_t offset; in init() local
278 offset = 0; in init()
283 offset = 1; in init()
296 if (offset) in init()
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_off_by_one_relative.c34 struct expression *offset; in array_check() local
46 offset = get_array_offset(expr); in array_check()
47 if (!possible_comparison(size, SPECIAL_EQUAL, offset)) in array_check()
54 offset_str = expr_to_str(offset); in array_check()
63 struct expression *offset; in known_access_ok_numbers() local
68 offset = get_array_offset(expr); in known_access_ok_numbers()
74 get_absolute_max(offset, &max); in known_access_ok_numbers()
83 struct expression *offset; in array_check_data_info() local
100 offset = get_array_offset(expr); in array_check_data_info()
101 offset_name = expr_to_var(offset); in array_check_data_info()
[all …]
/illumos-gate/usr/src/lib/libproc/common/
H A Dpr_lseek.c52 return (lseek(filedes, offset, whence)); in pr_lseek()
65 adp->arg_value = offset; in pr_lseek()
73 off.full = offset; in pr_lseek()
102 offset = rval.sys_rval1; in pr_lseek()
106 offset = (off_t)off.full; in pr_lseek()
109 return (offset); in pr_lseek()
140 adp->arg_value = offset; in pr_llseek()
148 off.full = offset; in pr_llseek()
177 offset = rval.sys_rval1; in pr_llseek()
181 offset = off.full; in pr_llseek()
[all …]
/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_phy.c326 offset, in e1000_read_phy_reg_mdic()
392 offset, in e1000_write_phy_reg_mdic()
618 i2ccmd = ((offset << in e1000_write_sfp_data_byte()
749 (u16)offset); in __e1000_read_phy_reg_igp()
818 (u16)offset); in __e1000_write_phy_reg_igp()
821 offset, in __e1000_write_phy_reg_igp()
2165 u16 phy_data, offset, mask; in e1000_check_downshift_generic() local
2237 u16 data, offset, mask; in e1000_check_polarity_igp() local
2280 u16 phy_data, offset, mask; in e1000_check_polarity_ife() local
4052 offset = offset & GS40G_OFFSET_MASK; in e1000_write_phy_reg_gs40g()
[all …]
/illumos-gate/usr/src/cmd/adbgen/common/
H A Dadbsub.c55 offset(off_t off) in offset() function
199 indirect(off_t offset, size_t size, char *base, char *member) in indirect() argument
202 if (offset == 0) { in indirect()
205 printf("*(%s+0t%ld)", base, offset); in indirect()
208 if (offset == 2) { in indirect()
211 printf("(*(%s+0t%ld)&0xffff)", base, offset - 2); in indirect()
214 if (offset == 3) { in indirect()
217 if ((offset & 0x1) == 0x1) { in indirect()
218 printf("(*(%s+0t%ld)&0xff)", base, offset - 3); in indirect()
221 base, offset - 2); in indirect()
/illumos-gate/usr/src/cmd/truss/
H A Dstat.c48 show_stat(private_t *pri, long offset) in show_stat() argument
51 show_stat64(pri, offset); in show_stat()
53 show_stat32(pri, offset); in show_stat()
57 show_stat32(private_t *pri, long offset) in show_stat32() argument
62 if (offset != 0 && in show_stat32()
63 Pread(Proc, &statb, sizeof (statb), offset) == sizeof (statb)) { in show_stat32()
102 show_stat64_32(private_t *pri, long offset) in show_stat64_32() argument
107 if (offset != 0 && in show_stat64_32()
108 Pread(Proc, &statb, sizeof (statb), offset) == sizeof (statb)) { in show_stat64_32()
146 show_stat64(private_t *pri, long offset) in show_stat64() argument
[all …]
/illumos-gate/usr/src/lib/iconv_modules/th_TH/common/
H A Dutf_to_euc_main.c145 short int offset; in _icv_iconv() local
148 offset = number_of_bytes_in_utf8_char[*ib]; in _icv_iconv()
149 if (offset == ICV_TYPE_ILLEGAL_CHAR ) in _icv_iconv()
153 else if (ibtail-ib < offset) in _icv_iconv()
164 for(i=2;i<offset;i++) in _icv_iconv()
179 ib += offset; in _icv_iconv()
182 offset = (offset > 2) ? 2 : 1; in _icv_iconv()
183 if ((obtail - ob) < offset) in _icv_iconv()
190 if (offset > 1) in _icv_iconv()
192 ret_val += offset; in _icv_iconv()
/illumos-gate/usr/src/uts/common/io/i40e/core/
H A Di40e_nvm.c242 offset); in i40e_read_nvm_word_srctl()
291 offset, words); in i40e_read_nvm_aq()
334 u16 offset, in __i40e_read_nvm_word() argument
385 u16 offset = 0; in i40e_read_nvm_module_data() local
461 index = offset + word; in i40e_read_nvm_buffer_srctl()
521 offset += read_size; in i40e_read_nvm_buffer_aq()
543 u16 offset, in __i40e_read_nvm_buffer() argument
1534 if (cmd->offset == 0xffff) in i40e_nvmupd_exec_aq()
1573 if (cmd->offset) in i40e_nvmupd_exec_aq()
1589 if (cmd->offset) { in i40e_nvmupd_exec_aq()
[all …]
/illumos-gate/usr/src/lib/libmlrpc/common/
H A Dndr_marshal.c608 offset = 24UL; in ndr__ndr_bind_ack_hdr()
628 offset += 2; in ndr__ndr_bind_ack_hdr()
630 offset += NDR_ALIGN4(offset); in ndr__ndr_bind_ack_hdr()
643 unsigned offset; in ndr_bind_ack_hdr_size() local
647 offset = 24UL; in ndr_bind_ack_hdr_size()
651 offset += 2; in ndr_bind_ack_hdr_size()
653 offset += NDR_ALIGN4(offset); in ndr_bind_ack_hdr_size()
655 return (offset); in ndr_bind_ack_hdr_size()
719 offset += NDR_ALIGN4(offset); in ndr__ndr_alter_context_rsp_hdr()
731 unsigned offset; in ndr_alter_context_rsp_hdr_size() local
[all …]
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioFile.cc429 off_t offset; in ReadData() local
460 if ((offset + hdrsize) >= maplen) { in ReadData()
476 cp = mapaddr + offset + hdrsize; in ReadData()
515 off_t& offset) // returned byte offset in seekread() argument
518 if (offset != seekpos) { in seekread()
521 seekpos = offset; in seekread()
547 if (offset != seekpos) { in seekwrite()
550 seekpos = offset; in seekwrite()
564 size_t offset; in AsyncCopy() local
600 if ((offset + hdrsize) >= maplen) { in AsyncCopy()
[all …]
/illumos-gate/usr/src/cmd/mandoc/
H A Ddbm_map.c143 dbm_get(int32_t offset) in dbm_get() argument
145 offset = be32toh(offset); in dbm_get()
146 if (offset < 0) { in dbm_get()
147 warnx("dbm_get: Database corrupt: offset %d", offset); in dbm_get()
150 if (offset >= max_offset) { in dbm_get()
152 offset, max_offset); in dbm_get()
155 return dbm_base + offset; in dbm_get()
164 dbm_getint(int32_t offset) in dbm_getint() argument
166 return (int32_t *)dbm_base + offset; in dbm_getint()
/illumos-gate/usr/src/uts/sun4u/daktari/io/
H A Dhpc3130_dak.c69 #define HPC3130_REG(offset, slot) ((offset) + ((slot)*8)) argument
660 uint8_t offset; in hpc3130_ioctl() local
671 offset = ste->callback_info.offset; in hpc3130_ioctl()
673 unitp->enabled[offset] = in hpc3130_ioctl()
1491 uint8_t offset; in hpc3130_slot_connect() local
1516 offset = info_p->offset; in hpc3130_slot_connect()
1680 uint8_t offset; in hpc3130_slot_disconnect() local
1700 offset = info_p->offset; in hpc3130_slot_disconnect()
1756 offset, hpc3130_p->present[offset])); in hpc3130_slot_disconnect()
1893 uint8_t offset; in hpc3130_slot_control() local
[all …]
/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_dir.c137 offset_t offset; in pc_direnter() local
205 if (offset == -1) { in pc_direnter()
217 offset); in pc_direnter()
490 offset_t offset; in pc_dirempty() local
499 offset = 0; in pc_dirempty()
698 offset_t offset; in pc_rename() local
779 offset); in pc_rename()
903 offset_t offset; in pc_findentry() local
926 offset = 0; in pc_findentry()
994 offset_t offset, in pc_blkatoff() argument
[all …]
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_dir.c352 offset = 0; in ufs_dirlook()
1103 slotp->offset = offset; in ufs_dircheckforname()
1122 slotp->offset = offset + ep->d_reclen; in ufs_dircheckforname()
1169 slotp->offset = offset; in ufs_dircheckforname()
1343 slotp->offset = offset; in ufs_dircheckforname()
1355 slotp->offset = offset; in ufs_dircheckforname()
1382 slotp->offset = offset; in ufs_dircheckforname()
1562 offset = slotp->offset - slotp->size; in ufs_dirrename()
1564 offset = slotp->offset + 1; in ufs_dirrename()
1831 offset = slotp->offset - slotp->size; in ufs_diraddentry()
[all …]
/illumos-gate/usr/src/uts/sun4u/io/
H A Dpmubus.c396 off_t offset; in pmubus_get8() local
401 offset &= PMUBUS_REGOFFSET; in pmubus_get8()
444 offset &= PMUBUS_REGOFFSET; in pmubus_get32()
481 off_t offset; in pmubus_put8() local
485 offset &= PMUBUS_REGOFFSET; in pmubus_put8()
514 "value=%x\n", (void *)addr, offset, value)); in pmubus_put8()
535 off_t offset; in pmubus_put32() local
539 offset &= PMUBUS_REGOFFSET; in pmubus_put32()
568 "value=%x\n", (void *)addr, offset, value)); in pmubus_put32()
594 off_t offset; in pmubus_apply_range() local
[all …]
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dpic8259.c36 previous_handler->offset = irq_vector->offset; in install_irq_handler()
39 handler->segment, handler->offset, irq, in install_irq_handler()
42 previous_handler->segment, previous_handler->offset ); in install_irq_handler()
44 irq_vector->offset = handler->offset; in install_irq_handler()
65 ( irq_vector->offset != handler->offset ) ) { in remove_irq_handler()
73 irq_vector->offset = previous_handler->offset; in remove_irq_handler()
101 IRQ_VECTOR(irq)->offset ); in dump_irq_status()

12345678910>>...74