/illumos-gate/usr/src/common/mdesc/ |
H A D | mdesc_findname.c | 44 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 D | mdesc_findnodeprop.c | 41 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 D | mdesc_init_intern.c | 39 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 D | mdesc_getproparcs.c | 91 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 D | mdesc_scandag.c | 60 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 D | crc.c | 182 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 D | rec_search.c | 71 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 D | cpr_intel.c | 61 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 D | strcspn.c | 41 * 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 D | strspn.c | 41 * 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 D | tst.usdt.c | 39 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 D | entry.c | 43 Aliste idx; local 66 for (ALIST_TRAVERSE(enp->ec_files, idx, edfp))
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | findscripts.c | 47 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 D | readmmap.c | 53 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 D | bt_search.c | 74 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 D | help.c | 36 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 D | biosacpi.c | 112 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 D | link_addr.c | 70 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 D | umem_fail.c | 92 uint_t idx; local 97 for (idx = SKIP_FRAMES; idx < nframes; idx++) { 98 (void) print_sym((void *)cur_stack[idx]);
|
H A D | umem_fork.c | 42 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 D | gnu_hash.c | 146 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 D | dict.c | 102 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 D | rm_lnkcnt_zero_file.c | 64 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 D | hpi.c | 88 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 D | misc_free.c | 64 int i, idx; local 66 idx = (key->key_data_ver == 1 ? 1 : 2); 67 for (i = 0; i < idx; i++) {
|