Home
last modified time | relevance | path

Searched refs:offset (Results 26 – 50 of 1848) sorted by relevance

12345678910>>...74

/illumos-gate/usr/src/lib/iconv_modules/ko/common/
H A Dutf_to_njh_main.c134 short int offset; in _icv_iconv() local
137 offset = 2; in _icv_iconv()
139 offset = 3; in _icv_iconv()
141 offset = 4; in _icv_iconv()
143 offset = 5; in _icv_iconv()
145 offset = 6; in _icv_iconv()
147 offset = 1; in _icv_iconv()
163 ib += offset; in _icv_iconv()
166 offset = (offset > 2) ? 2 : 1; in _icv_iconv()
174 if (offset > 1) in _icv_iconv()
[all …]
H A Dutf_to_ojh_main.c134 short int offset; in _icv_iconv() local
137 offset = 2; in _icv_iconv()
139 offset = 3; in _icv_iconv()
141 offset = 4; in _icv_iconv()
143 offset = 5; in _icv_iconv()
145 offset = 6; in _icv_iconv()
147 offset = 1; in _icv_iconv()
163 ib += offset; in _icv_iconv()
166 offset = (offset > 2) ? 2 : 1; in _icv_iconv()
174 if (offset > 1) in _icv_iconv()
[all …]
H A DUTF2_to_johap.c167 short int offset; in _icv_iconv() local
172 offset = 2; in _icv_iconv()
174 offset = 3; in _icv_iconv()
176 offset = 4; in _icv_iconv()
178 offset = 5; in _icv_iconv()
180 offset = 6; in _icv_iconv()
182 offset = 1; in _icv_iconv()
190 ib += offset; in _icv_iconv()
193 offset = (offset > 2) ? 2 : 1; in _icv_iconv()
201 if (offset > 1) in _icv_iconv()
[all …]
H A Dutf_to_uhang_main.c175 short int offset; in _icv_iconv() local
178 offset = 2; in _icv_iconv()
180 offset = 3; in _icv_iconv()
182 offset = 4; in _icv_iconv()
184 offset = 5; in _icv_iconv()
186 offset = 6; in _icv_iconv()
188 offset = 1; in _icv_iconv()
204 ib += offset; in _icv_iconv()
207 offset = (offset > 2) ? 2 : 1; in _icv_iconv()
215 if (offset > 1) in _icv_iconv()
[all …]
H A Dutf_to_iso_main.c208 short int offset; in _icv_iconv() local
211 offset = 2; in _icv_iconv()
213 offset = 3; in _icv_iconv()
215 offset = 4; in _icv_iconv()
217 offset = 5; in _icv_iconv()
219 offset = 6; in _icv_iconv()
221 offset = 1; in _icv_iconv()
237 ib += offset; in _icv_iconv()
240 offset = (offset > 2) ? 2 : 1; in _icv_iconv()
255 if (offset > 1) in _icv_iconv()
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dbitmap.h12 unsigned long offset = nr / BITS_IN_LONG; in test_bit() local
14 return (bitmap[offset] >> bit) & 1; in test_bit()
19 unsigned long offset = nr / BITS_IN_LONG; in set_bit() local
21 bitmap[offset] |= 1UL << bit; in set_bit()
26 unsigned long offset = nr / BITS_IN_LONG; in clear_bit() local
28 bitmap[offset] &= ~(1UL << bit); in clear_bit()
33 unsigned long offset = nr / BITS_IN_LONG; in test_and_set_bit() local
35 unsigned long old = bitmap[offset]; in test_and_set_bit()
37 bitmap[offset] = old | mask; in test_and_set_bit()
45 unsigned long old = bitmap[offset]; in test_and_clear_bit()
[all …]
H A Dsmatch_address.c88 int offset; in get_member_offset() local
95 offset = 0; in get_member_offset()
101 offset = ALIGN(offset, tmp->ctype.alignment); in get_member_offset()
104 return offset; in get_member_offset()
107 return offset; in get_member_offset()
120 int offset; in get_member_offset_from_deref() local
144 if (offset >= 0) in get_member_offset_from_deref()
146 return offset; in get_member_offset_from_deref()
159 if (offset == 0) in add_offset_to_pointer()
183 min.value = offset; in add_offset_to_pointer()
[all …]
H A Dsmatch_param_to_mtag_data.c49 int offset; member
60 data->offset = offset; in alloc_tag_data_state()
85 int offset; in match_assign() local
101 if (!expr_to_mtag_offset(left, &tag, &offset)) in match_assign()
129 snprintf(buf, sizeof(buf), "$->[%d]", offset); in propogate_assignment()
161 sql_insert_mtag_map(alias, offset, arg_tag, arg_offset); in assign_to_alias()
168 int offset; in call_does_mtag_assign() local
179 offset = atoi(p + 1); in call_does_mtag_assign()
182 propogate_assignment(expr, tag, offset, param, key); in call_does_mtag_assign()
183 assign_to_alias(expr, param, tag, offset, key); in call_does_mtag_assign()
[all …]
H A Dsmatch_mtag_data.c44 tag, offset); in select_orig()
128 tag, offset, DATA_VALUE); in insert_mtag_data()
162 int offset; in update_mtag_data() local
189 orig = select_orig(tag, offset); in update_mtag_data()
191 insert_mtag_data(tag, offset, new); in update_mtag_data()
198 int offset; in match_global_assign() local
216 insert_mtag_data(tag, offset, rl); in match_global_assign()
271 mtag_t merged = tag | offset; in get_rl_from_mtag_offset()
290 tag, offset, DATA_VALUE); in get_rl_from_mtag_offset()
317 int offset; in get_mtag_rl() local
[all …]
/illumos-gate/usr/src/cmd/mandoc/
H A Dman_term.c370 p->tcol->offset = mt->offset; in pre_in()
390 p->tcol->offset -= p->tcol->offset > v ? v : p->tcol->offset; in pre_in()
450 p->tcol->offset = mt->offset; in pre_HP()
477 p->tcol->offset = mt->offset; in post_HP()
496 p->tcol->offset = mt->offset; in pre_PP()
541 p->tcol->offset = mt->offset; in pre_IP()
570 p->tcol->offset = mt->offset; in post_IP()
616 p->tcol->offset = mt->offset; in pre_TP()
652 p->tcol->offset = mt->offset; in post_TP()
785 p->tcol->offset = mt->offset; in pre_RS()
[all …]
/illumos-gate/usr/src/uts/common/io/xge/hal/include/
H A Dxge-os-pal.h54 volatile int offset; /* offset within the tracebuf */ member
69 int offset = tb->offset; \
71 int leftsize = tb->size - offset; \
73 xge_os_memzero(tb->data + offset, leftsize); \
74 offset = 0; \
77 xge_os_memcpy(tb->data + offset, tb->msg, msgsize-1); \
78 *(tb->data + offset + msgsize-1) = '\n'; \
79 *(tb->data + offset + msgsize) = 0; \
80 offset += msgsize; \
81 tb->offset = offset; \
[all …]
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Defx_bootcfg.c69 size_t offset = 0; in efx_bootcfg_verify() local
74 for (offset = 1; offset < size; ) { in efx_bootcfg_verify()
79 tag = data[offset]; in efx_bootcfg_verify()
81 offset++; in efx_bootcfg_verify()
82 used = offset; in efx_bootcfg_verify()
86 offset++; in efx_bootcfg_verify()
103 offset += 2 + length; in efx_bootcfg_verify()
104 used = offset; in efx_bootcfg_verify()
252 size_t offset; in efx_bootcfg_write() local
297 for (offset = 0; offset < sector_length; offset += remaining) { in efx_bootcfg_write()
[all …]
/illumos-gate/usr/src/uts/common/io/i40e/core/
H A Di40e_dcb.c92 offset++; in i40e_parse_ieee_etscfg_tlv()
109 offset++; in i40e_parse_ieee_etscfg_tlv()
147 offset++; in i40e_parse_ieee_etsrec_tlv()
164 offset++; in i40e_parse_ieee_etsrec_tlv()
238 offset++; in i40e_parse_ieee_app_tlv()
339 offset++; in i40e_parse_cee_pgcfg_tlv()
1047 offset++; in i40e_add_ieee_ets_tlv()
1062 offset++; in i40e_add_ieee_ets_tlv()
1111 offset++; in i40e_add_ieee_etsrec_tlv()
1126 offset++; in i40e_add_ieee_etsrec_tlv()
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/posix/
H A Dsetenv.c67 int l_value, offset;
99 offset = cnt;
102 if (!(environ[offset] = /* name + `=' + value */
125 int offset;
127 while (__findenv(name, &offset)) /* if set multiple times */
128 for (p = &environ[offset];; ++p)
146 int offset;
148 return (__findenv(name, &offset));
161 __findenv(name, offset) in __findenv() argument
163 int *offset;
[all …]
/illumos-gate/usr/src/uts/common/sys/rsm/
H A Drsmpi.h254 off_t offset,
260 off_t offset,
264 off_t offset,
301 off_t offset,
307 off_t offset,
313 off_t offset,
319 off_t offset,
325 off_t offset,
334 off_t offset,
340 off_t offset,
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/compression/
H A Dcompress_003_pos.ksh61 typeset -i offset=0
78 (( offset = $RANDOM ))
79 if (( offset > blksize )); then
80 (( offset = offset % blksize ))
82 if (( (offset % 2) == 0 )); then
84 (( offset = offset + 1 ))
86 (( fsize = offset ))
88 (( fsize = blksize + offset ))
/illumos-gate/usr/src/cmd/bhyve/
H A Dpci_hda.c145 uint32_t offset);
214 uint64_t offset, int size);
290 assert(offset < HDA_LAST_OFFSET); in hda_set_reg_by_offset()
291 sc->regs[offset] = value; in hda_set_reg_by_offset()
297 assert(offset < HDA_LAST_OFFSET); in hda_get_reg_by_offset()
298 return sc->regs[offset]; in hda_get_reg_by_offset()
702 if (offset == HDAC_WALCLK) in hda_read()
717 if (offset < nitems(hda_set_reg_table)) in hda_write()
723 set_reg_handler(sc, offset, old); in hda_write()
909 hda_set_reg_by_offset(sc, offset, old); in hda_set_statests()
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Dvuid_store.c83 (void) vuid_add_value(seg, offset);
89 vuid_set_boolean_bit(seg, offset);
91 vuid_clear_boolean_bit(seg, offset);
149 if (!vuid_get_int_bit(seg, offset))
257 vuid_find_value(seg, offset) in vuid_find_value() argument
259 ushort_t offset;
264 if (vuid_id_offset(val_node->offset) == offset)
271 vuid_add_value(seg, offset) in vuid_add_value() argument
273 ushort_t offset;
281 val_node->offset = offset;
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/bsd/
H A Dsetenv.c48 static char *findenv(const char *name, int *offset);
59 int l_value, offset; in setenv() local
64 if ((c = findenv(name, &offset))) { /*%< find if already exists */ in setenv()
91 offset = cnt; in setenv()
94 if (!(environ[offset] = /*%< name + `=' + value */ in setenv()
97 for (c = environ[offset]; (*c = *name++) && *c != '='; ++c); in setenv()
109 int offset; in unsetenv() local
111 while (findenv(name, &offset)) /*%< if set multiple times */ in unsetenv()
112 for (p = &environ[offset];; ++p) in unsetenv()
127 findenv(const char *name, int *offset) { in findenv() argument
[all …]
/illumos-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd_zvol.c160 uint64_t offset = zvio->zvio_offset; in sbd_zvol_alloc_read_bufs() local
176 offset, len, TRUE, RDTAG, &numbufs, &dbpp, in sbd_zvol_alloc_read_bufs()
202 odiff = offset - dbp->db_offset; in sbd_zvol_alloc_read_bufs()
207 offset += seglen; in sbd_zvol_alloc_read_bufs()
248 uint64_t offset = zvio->zvio_offset; in sbd_zvol_alloc_write_bufs() local
294 seglen = P2NPHASE(offset, blksize); in sbd_zvol_alloc_write_bufs()
304 offset += seglen; in sbd_zvol_alloc_write_bufs()
344 uint64_t toffset, offset = zvio->zvio_offset; in sbd_zvol_rele_write_bufs() local
362 toffset = offset; in sbd_zvol_rele_write_bufs()
398 uint64_t offset = (uint64_t)uio->uio_loffset; in sbd_zvol_copy_read() local
[all …]
/illumos-gate/usr/src/uts/common/io/nxge/npi/
H A Dnpi_rx_rd64.h222 uint64_t offset, in RXDMA_REG_READ64() argument
227 const char *name = nxge_rx2str((int)offset); in RXDMA_REG_READ64()
230 offset &= DMA_CSR_MASK; in RXDMA_REG_READ64()
231 offset += (((channel << 1) + 1) << DMA_CSR_SLL); in RXDMA_REG_READ64()
233 offset += (channel << DMA_CSR_SLL); in RXDMA_REG_READ64()
238 (uint64_t *)(handle.regp + (uint32_t)offset)); in RXDMA_REG_READ64()
240 *value = ddi_get64(handle.regh, (uint64_t *)(handle.regp + offset)); in RXDMA_REG_READ64()
245 name, (uint32_t)offset, *value); in RXDMA_REG_READ64()
250 rt_show_reg(0xbadbad, B_FALSE, (uint32_t)offset, *value); in RXDMA_REG_READ64()
H A Dnpi_rx_wr64.h200 uint64_t offset, in RXDMA_REG_WRITE64() argument
205 const char *name = nxge_rx2str((int)offset); in RXDMA_REG_WRITE64()
208 offset &= DMA_CSR_MASK; in RXDMA_REG_WRITE64()
209 offset += (((channel << 1) + 1) << DMA_CSR_SLL); in RXDMA_REG_WRITE64()
211 offset += (channel << DMA_CSR_SLL); in RXDMA_REG_WRITE64()
216 (uint64_t *)(handle.regp + (uint32_t)offset), value); in RXDMA_REG_WRITE64()
219 (uint64_t *)(handle.regp + offset), value); in RXDMA_REG_WRITE64()
224 name, (uint32_t)offset, value); in RXDMA_REG_WRITE64()
229 rt_show_reg(0xbadbad, B_TRUE, (uint32_t)offset, value); in RXDMA_REG_WRITE64()
H A Dnpi_tx_rd64.h122 uint64_t offset, in TXDMA_REG_READ64() argument
127 const char *name = nxge_tx2str((int)offset); in TXDMA_REG_READ64()
130 offset &= DMA_CSR_MASK; in TXDMA_REG_READ64()
131 offset += ((channel << 1) << DMA_CSR_SLL); in TXDMA_REG_READ64()
133 offset += (channel << DMA_CSR_SLL); in TXDMA_REG_READ64()
138 (uint64_t *)(handle.regp + (uint32_t)offset)); in TXDMA_REG_READ64()
140 *value = ddi_get64(handle.regh, (uint64_t *)(handle.regp + offset)); in TXDMA_REG_READ64()
145 name, (uint32_t)offset, *value); in TXDMA_REG_READ64()
150 rt_show_reg(0xbadbad, B_FALSE, (uint32_t)offset, *value); in TXDMA_REG_READ64()
H A Dnpi_tx_wr64.h122 uint64_t offset, in TXDMA_REG_WRITE64() argument
127 const char *name = nxge_tx2str((int)offset); in TXDMA_REG_WRITE64()
130 offset &= DMA_CSR_MASK; in TXDMA_REG_WRITE64()
131 offset += ((channel << 1) << DMA_CSR_SLL); in TXDMA_REG_WRITE64()
133 offset += (channel << DMA_CSR_SLL); in TXDMA_REG_WRITE64()
138 (uint64_t *)(handle.regp + (uint32_t)offset), value); in TXDMA_REG_WRITE64()
141 (uint64_t *)(handle.regp + offset), value); in TXDMA_REG_WRITE64()
146 name, (uint32_t)offset, value); in TXDMA_REG_WRITE64()
151 rt_show_reg(0xbadbad, B_TRUE, (uint32_t)offset, value); in TXDMA_REG_WRITE64()
/illumos-gate/usr/src/uts/common/crypto/io/
H A Dmd4_mod.c237 off_t offset = data->cd_offset; in md4_digest_update_uio() local
267 offset, length); in md4_digest_update_uio()
270 offset, cur_len); in md4_digest_update_uio()
274 offset = 0; in md4_digest_update_uio()
300 off_t offset = digest->cd_offset; in md4_digest_final_uio() local
324 if (offset + digest_len <= in md4_digest_final_uio()
361 offset, length); in md4_digest_final_uio()
369 offset = 0; in md4_digest_final_uio()
392 off_t offset = data->cd_offset; in md4_digest_update_mblk() local
418 offset = 0; in md4_digest_update_mblk()
[all …]

12345678910>>...74