Searched refs:idx (Results 1 - 25 of 681) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/test/util-tests/tests/awk/gnu/
H A Dsplitargv.awk2 for (idx = 1; idx < ARGC; idx++)
3 split(ARGV[idx], temp, ".");
/illumos-gate/usr/src/boot/sys/boot/efi/libefi/
H A Dhandles.c49 int idx, unit; local
51 idx = nentries;
55 for (unit = 0; idx < nentries; idx++, unit++) {
56 entry[idx].handle = handles[unit];
58 entry[idx].alias = aliases[unit];
60 entry[idx].alias = NULL;
61 entry[idx].dev = sw;
62 entry[idx].unit = unit;
70 int idx; local
85 int idx; local
105 int idx; local
[all...]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/json/
H A Dtst.usdt.c39 int idx; local
45 for (idx = 0; idx < 10; idx++) {
49 odd = idx % 2 == 1 ? "true" : "false";
50 even = idx % 2 == 0 ? "true" : "false";
51 action = idx == 7 ? "ignore" : "print";
53 asprintf(&json, FMT, size, idx, odd, even, action);
/illumos-gate/usr/src/cmd/smbsrv/test-msgbuf/
H A Dtest_main.c47 int idx; local
53 idx = 0;
55 if ((idx & 15) == 0) {
56 printf("%04X: ", idx);
65 idx++;
66 if ((idx & 3) == 0) {
70 if ((idx & 15) == 0) {
76 if ((idx & 15) != 0) {
79 while ((idx & 15) != 0) {
80 if ((idx
[all...]
/illumos-gate/usr/src/boot/lib/libc/string/
H A Dstrcspn.c41 * NB: idx and bit are temporaries whose use causes gcc 3.4.2 to
47 int idx; local
56 for (tbl[0] = idx = 1; idx < sizeof(tbl) / sizeof(tbl[0]); idx++)
57 tbl[idx] = 0;
60 idx = IDX(*charset);
62 tbl[idx] |= bit;
66 idx = IDX(*s1);
68 if ((tbl[idx]
[all...]
H A Dstrspn.c41 * NB: idx and bit are temporaries whose use causes gcc 3.4.2 to
47 int idx; local
55 for (idx = 0; idx < sizeof(tbl) / sizeof(tbl[0]); idx++)
56 tbl[idx] = 0;
59 idx = IDX(*charset);
61 tbl[idx] |= bit;
65 idx = IDX(*s1);
67 if ((tbl[idx]
[all...]
/illumos-gate/usr/src/common/mdesc/
H A Dmdesc_findname.c44 int idx, len; local
55 for (idx = 0; idx < mdp->name_blk_size; idx += len) {
58 p = &(mdp->namep[idx]);
63 return ((mde_str_cookie_t)idx);
H A Dmdesc_findnodeprop.c41 int idx; local
48 idx = (int)node;
49 mdep = &(mdp->mdep[idx]);
53 idx++;
67 for (idx++, mdep++; MDE_TAG(mdep) != MDET_NODE_END; idx++, mdep++) {
70 return ((mde_cookie_t)idx);
/illumos-gate/usr/src/lib/krb5/dyn/
H A Ddyn_insert.c19 int DynInsert(obj, idx, els_in, num)
22 int idx, num;
27 if (idx < 0 || idx > obj->num_el) {
30 idx, obj->num_el);
43 (obj->num_el-idx)*obj->el_size, obj->array,
44 obj->el_size*idx, obj->el_size*(idx+num));
49 memmove(obj->array + obj->el_size*(idx + num),
50 obj->array + obj->el_size*idx,
[all...]
H A Ddyn_delete.c26 int DynDelete(obj, idx)
28 int idx;
30 if (idx < 0) {
32 fprintf(stderr, "dyn: delete: bad index %d\n", idx);
36 if (idx >= obj->num_el) {
43 if (idx == obj->num_el-1) {
47 memset(obj->array + idx*obj->el_size, 0, obj->el_size);
58 obj->el_size*(obj->num_el - idx), obj->array,
59 (idx+1)*obj->el_size, idx*ob
[all...]
/illumos-gate/usr/src/uts/common/xen/public/io/
H A Dconsole.h32 #define MASK_XENCONS_IDX(idx, ring) ((idx) & (sizeof(ring)-1))
/illumos-gate/usr/src/uts/intel/os/
H A Dcpr_intel.c61 static int idx; local
63 prom_printf(spin_strings[idx]);
64 if (++idx == 4)
65 idx = 0;
/illumos-gate/usr/src/lib/libumem/common/
H A Dumem_fork.c42 int idx; local
45 for (idx = 0; idx < ncpus; idx++)
46 (void) mutex_lock(&cp->cache_cpu[idx].cc_lock);
55 int idx; local
61 for (idx = 0; idx < ncpus; idx++)
62 (void) mutex_unlock(&cp->cache_cpu[idx]
68 int idx; local
80 int idx; local
[all...]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/
H A Decore_common.h27 #define BIT_VEC64_SET_BIT(vec64, idx) \
28 __BIT_VEC64_SET_BIT((vec64)[(idx) >> BIT_VEC64_ELEM_SHIFT], \
29 (idx) & BIT_VEC64_ELEM_MASK)
31 #define BIT_VEC64_CLEAR_BIT(vec64, idx) \
32 __BIT_VEC64_CLEAR_BIT((vec64)[(idx) >> BIT_VEC64_ELEM_SHIFT], \
33 (idx) & BIT_VEC64_ELEM_MASK)
35 #define BIT_VEC64_TEST_BIT(vec64, idx) \
36 (((vec64)[(idx) >> BIT_VEC64_ELEM_SHIFT] >> \
37 ((idx) & BIT_VEC64_ELEM_MASK)) & 0x1)
40 idx
[all...]
/illumos-gate/usr/src/cmd/sgs/common/
H A Dalist.c65 * idx [alist_insert / aplist_insert] - Index at which to insert the
97 Aliste init_arritems, Aliste idx)
149 ASSERT(idx <= lp->al_nitems);
151 addr = (idx * lp->al_size) + (char *)lp->al_data;
158 if (idx < lp->al_nitems)
160 (lp->al_nitems - idx) * lp->al_size);
175 Aliste idx; local
179 idx = 0;
181 idx = (off - ALIST_OFF_DATA) / (*lpp)->al_size;
184 return (alist_insert(lpp, datap, size, init_arritems, idx));
96 alist_insert(Alist **lpp, const void *datap, size_t size, Aliste init_arritems, Aliste idx) argument
188 aplist_insert(APlist **lpp, const void *ptr, Aliste init_arritems, Aliste idx) argument
302 Aliste idx = *idxp; local
328 Aliste idx; local
340 Aliste idx = *idxp; local
377 size_t idx; local
424 size_t idx; local
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dfindscripts.c47 extern char *cl_nam(int idx);
53 cl_iscript(int idx) argument
55 if (cl_Classes && idx >= 0 && idx < cl_NClasses)
56 return (cl_Classes[idx]->inst_script);
67 cl_deliscript(int idx) argument
69 if (cl_Classes && idx >= 0 && idx < cl_NClasses)
70 if (cl_Classes[idx]->inst_script) {
71 free(cl_Classes[idx]
84 cl_rscript(int idx) argument
[all...]
/illumos-gate/usr/src/cmd/drd/
H A Ddrd_rcm.c140 int idx; local
150 for (idx = 0; idx < nrsrc; idx++)
151 rsrcs[idx].status = DRCTL_STATUS_ALLOW;
187 int idx; local
211 for (idx = 0; idx < nrsrc; idx++) {
212 if (rsrcs[idx]
294 int idx; local
374 int idx; local
469 int idx; local
579 int idx; local
647 int idx; local
748 int idx; local
804 int idx; local
851 int idx; local
903 int idx; local
959 int idx; local
983 int idx; local
1216 int idx; local
1300 int idx; local
1324 int idx; local
1352 int idx; local
1402 int idx; local
[all...]
/illumos-gate/usr/src/uts/common/io/bnxe/
H A Dbnxe_rx.c60 int idx,
63 lm_rx_chain_t * pLmRxChain = &LM_RXQ(&pUM->lm_dev, idx);
75 BNXE_LOCK_ENTER_RX(pUM, idx);
77 if (pUM->rxq[idx].rxLowWater > s_list_entry_cnt(&pLmRxChain->active_descq))
79 pUM->rxq[idx].rxLowWater = s_list_entry_cnt(&pLmRxChain->active_descq);
82 lm_return_packet_bytes(&pUM->lm_dev, idx, returnedBytes);
94 BNXE_LOCK_EXIT_RX(pUM, idx);
103 BNXE_LOCK_EXIT_RX(pUM, idx);
108 lm_post_buffers(&pUM->lm_dev, idx, NULL, 0);
110 BNXE_LOCK_EXIT_RX(pUM, idx);
59 BnxeRxPostBuffers(um_device_t * pUM, int idx, s_list_t * pReclaimList) argument
145 int idx = pRxPkt->idx; local
207 int i, idx, cnt=0, tot=0; local
273 BnxeRxRingProcess(um_device_t * pUM, int idx, boolean_t polling, int numBytes) argument
577 BnxeRxRingDump(um_device_t * pUM, int idx) argument
597 BnxeRxPktsAbortIdx(um_device_t * pUM, int idx) argument
611 int idx; local
637 BnxeRxBufAlloc(um_device_t * pUM, int idx, um_rxpacket_t * pRxPkt) argument
695 BnxeRxPktsInitPostBuffersIdx(um_device_t * pUM, int idx) argument
709 int idx; local
737 BnxeRxPktsInitIdx(um_device_t * pUM, int idx) argument
805 int idx; local
836 BnxeRxPktsFiniIdx(um_device_t * pUM, int idx) argument
894 int idx; local
[all...]
H A Dbnxe_lock.c39 void BNXE_LOCK_ENTER_INTR (um_device_t * pUM, int idx) { mutex_enter(&pUM->intrMutex[idx]); } argument
40 void BNXE_LOCK_EXIT_INTR (um_device_t * pUM, int idx) { mutex_exit(&pUM->intrMutex[idx]); } argument
41 void BNXE_LOCK_ENTER_INTR_FLIP (um_device_t * pUM, int idx) { mutex_enter(&pUM->intrFlipMutex[idx]); } argument
42 void BNXE_LOCK_EXIT_INTR_FLIP (um_device_t * pUM, int idx) { mutex_exit(&pUM->intrFlipMutex[idx]); } argument
43 void BNXE_LOCK_ENTER_TX (um_device_t * pUM, int idx) { mutex_enter(&pUM->txq[idx] argument
44 BNXE_LOCK_EXIT_TX(um_device_t * pUM, int idx) argument
45 BNXE_LOCK_ENTER_FREETX(um_device_t * pUM, int idx) argument
46 BNXE_LOCK_EXIT_FREETX(um_device_t * pUM, int idx) argument
47 BNXE_LOCK_ENTER_RX(um_device_t * pUM, int idx) argument
48 BNXE_LOCK_EXIT_RX(um_device_t * pUM, int idx) argument
49 BNXE_LOCK_ENTER_DONERX(um_device_t * pUM, int idx) argument
50 BNXE_LOCK_EXIT_DONERX(um_device_t * pUM, int idx) argument
51 BNXE_LOCK_ENTER_SB(um_device_t * pUM, int idx) argument
52 BNXE_LOCK_EXIT_SB(um_device_t * pUM, int idx) argument
[all...]
/illumos-gate/usr/src/uts/common/io/chxge/com/
H A Dfpga_defs.h239 #define MAC_REG_ADDR(idx, reg) (MAC_REG_BASE + (idx) * 128 + (reg))
241 #define MAC_REG_IDLO(idx) MAC_REG_ADDR(idx, A_GMAC_MACID_LO)
242 #define MAC_REG_IDHI(idx) MAC_REG_ADDR(idx, A_GMAC_MACID_HI)
243 #define MAC_REG_CSR(idx) MAC_REG_ADDR(idx, A_GMAC_CSR)
244 #define MAC_REG_IFS(idx) MAC_REG_ADDR(idx, A_GMAC_IF
[all...]
/illumos-gate/usr/src/cmd/prtvtoc/
H A Dprtvtoc.c109 int idx; local
115 while ((idx = getopt(ac, av, "fhst:m:")) != -1)
116 switch (idx) {
137 idx = 0;
139 idx |= prtvtoc(av[optind++]);
140 return (idx == 0 ? 0 : 1);
239 int idx; local
247 for (idx = 0; idx < V_NUMPAR; ++idx)
366 int idx; local
435 ushort_t idx; local
455 ushort_t idx; local
478 ushort_t idx; local
536 ushort_t idx; local
[all...]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dgraphics.h34 void graphics_set_palette(int idx, int red, int green, int blue);
/illumos-gate/usr/src/uts/sparc/v9/syscall/
H A Dinstall_utrap.c42 int idx; local
57 idx = UTRAP_V8P_FP_DISABLED;
60 idx = UTRAP_V8P_MEM_ADDRESS_NOT_ALIGNED;
99 ov = p->p_utraps[idx];
102 tmp = atomic_cas_ptr(&p->p_utraps[idx], ov, nv);
154 int idx; local
161 idx = UT_ILLTRAP_INSTRUCTION;
172 idx = UT_FP_DISABLED;
175 idx = UT_FP_EXCEPTION_IEEE_754;
178 idx
[all...]
/illumos-gate/usr/src/data/locale/tools/
H A Dmkwidths.py32 idx = 0
34 while idx < len(u8str):
35 out += "\\x%X" % ord(u8str[idx])
36 idx += 1
/illumos-gate/usr/src/cmd/msgfmt/
H A Dgnu_hash.c146 unsigned int idx, inc; local
148 idx = hash_value % hash_size;
152 if (!hash_tbl[idx])
153 return (idx);
154 idx = (idx + inc) % hash_size;

Completed in 176 milliseconds

1234567891011>>