Searched defs:idx (Results 1 - 25 of 577) 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++) {
/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/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/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/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/tools/smatch/src/
H A Dtarget.h62 static inline unsigned long array_element_offset(unsigned long base_bits, int idx) argument
67 return base_bits * idx;
H A Dcheck_proc_create.c37 int idx = PTR_INT(_param_type); local
39 arg_expr = get_argument_from_call_expr(expr->args, param_index[idx].mode_param);
44 arg_expr = get_argument_from_call_expr(expr->args, param_index[idx].name_param);
/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dsm_casts4.c14 int idx; local
H A Dsm_casts5.c14 int idx; local
H A Dsm_casts6.c14 int idx; local
/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/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/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/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/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/krb5/ss/
H A Dhelp.c34 register int idx; local
63 for (idx = 0; info->info_dirs[idx] != (char *)NULL; idx++) {
64 (void) strncpy(buffer, info->info_dirs[idx], sizeof(buffer) - 1);
/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/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 373 milliseconds

1234567891011>>