Searched defs:idx (Results 1 - 25 of 540) sorted by relevance

1234567891011>>

/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);
H A Dmdesc_init_intern.c39 int idx; local
110 for (done = 0, idx = 0, count = 0; !done; ) {
113 np = &(mdp->mdep[idx]);
126 mdp->root_node = (mde_cookie_t)idx;
128 idx = MDE_PROP_INDEX(np);
133 idx++; /* ignore */
148 mdp->element_count = idx + 1; /* include LIST_END */
H A Dmdesc_getproparcs.c91 int idx; local
94 idx = (int)node;
95 mdep = &(mdp->mdep[idx]);
107 for (idx++, mdep++; MDE_TAG(mdep) != MDET_NODE_END; idx++, mdep++) {
H A Dmdesc_scandag.c60 int idx; local
110 idx = 0;
113 seenp, &idx, stashp, 0);
117 return (res >= 0 ? idx : res);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/crc32/
H A Dcrc.c182 register int idx; local
190 idx = (int) (data[i] ^ c);
191 idx &= 0xff;
193 c ^= (u_long) crc_table[idx];
216 register int idx; local
225 idx = (int) (data[i] ^ c);
226 idx &= 0xff;
228 c ^= (u_long) crc_table[idx];
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_search.c71 register indx_t idx; local
89 for (idx = 0, top = NEXTINDEX(h);;) {
90 r = GETRINTERNAL(h, idx);
91 if (++idx == top || total + r->nrecs > recno)
96 BT_PUSH(t, pg, idx - 1);
101 --GETRINTERNAL(h, (idx - 1))->nrecs;
105 ++GETRINTERNAL(h, (idx - 1))->nrecs;
/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/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/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/sgs/liblddbg/common/
H A Dentry.c43 Aliste idx; local
66 for (ALIST_TRAVERSE(enp->ec_files, idx, edfp))
/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/test/zfs-tests/cmd/readmmap/
H A Dreadmmap.c53 size_t idx = 0; local
97 idx = random() % size;
98 map[idx] = 1;
119 if (buf[idx] != 1) {
122 idx, buf[idx]);
127 (void) printf("good data from read: buf[%ud]=1\n", idx);
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_search.c74 indx_t base, idx, lim; local
86 t->bt_cur.index = idx = base + (lim >> 1);
95 base = idx + 1;
131 idx = base ? base - 1 : base;
133 next: BT_PUSH(t, h->pgno, idx);
134 pg = GETBINTERNAL(h, idx)->pgno;
162 indx_t idx; local
193 idx = parent->index + 1;
194 BT_PUSH(t, h->pgno, idx);
203 bi = GETBINTERNAL(h, idx);
242 indx_t idx; local
[all...]
/illumos-gate/usr/src/lib/krb5/ss/
H A Dhelp.c36 register int idx; local
65 for (idx = 0; info->info_dirs[idx] != (char *)NULL; idx++) {
66 (void) strncpy(buffer, info->info_dirs[idx], sizeof(buffer) - 1);
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dbiosacpi.c112 int ofs, idx; local
122 for (idx = 0; idx < RSDP_CHECKSUM_LENGTH; idx++)
123 sum += *(cp + idx);
/illumos-gate/usr/src/lib/libsocket/inet/
H A Dlink_addr.c70 int idx = 0, numcolons = 0, digits = 0; local
122 netaddr[idx++] = num;
129 netaddr[idx++] = num;
133 *maclen = idx;
/illumos-gate/usr/src/lib/libumem/common/
H A Dumem_fail.c92 uint_t idx; local
97 for (idx = SKIP_FRAMES; idx < nframes; idx++) {
98 (void) print_sym((void *)cur_stack[idx]);
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/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;
/illumos-gate/usr/src/cmd/svc/startd/
H A Ddict.c102 uu_list_index_t idx; local
111 &idx)) != NULL) {
124 uu_list_insert(dictionary->dict_list, entry, idx);
/illumos-gate/usr/src/test/zfs-tests/cmd/rm_lnkcnt_zero_file/
H A Drm_lnkcnt_zero_file.c64 int idx, len, ret; local
69 idx = pickidx();
70 (void) snprintf(buf, len, "%s.%03d", filebase, idx);
84 int idx, len, ret; local
89 idx = pickidx();
90 (void) snprintf(buf, len, "%s.%03d", filebase, idx);
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhpi.c88 int idx; local
89 idx = rt->next_idx;
91 rt->buf[idx].ctl_addr = (addr & TRACE_ADDR_MASK) | TRACE_CTL_WR;
93 rt->buf[idx].ctl_addr = (addr & TRACE_ADDR_MASK);
94 rt->buf[idx].ctl_addr |= (((handle.function.function
97 rt->buf[idx].val_l32 = val & 0xFFFFFFFF;
98 rt->buf[idx].val_h32 = (val >> 32) & 0xFFFFFFFF;
/illumos-gate/usr/src/lib/krb5/kadm5/
H A Dmisc_free.c64 int i, idx; local
66 idx = (key->key_data_ver == 1 ? 1 : 2);
67 for (i = 0; i < idx; i++) {

Completed in 2573 milliseconds

1234567891011>>