Searched defs:idx (Results 76 - 100 of 143) sorted by relevance

123456

/osnet-11/usr/src/lib/libsuri/common/
H A Dsuri_parser.c349 * of the match but the start offset from 'pm[idx]' must be used.
352 pmatch_copy(char *dst, const char *matched_str, regmatch_t pm[], int idx) argument
354 int len = pm[idx].rm_eo - pm[idx].rm_so;
355 (void) memcpy(dst, matched_str + pm[idx].rm_so, len);
/osnet-11/usr/src/lib/libzfs/common/
H A Dlibzfs_changelist.c803 uu_list_index_t idx; local
806 &idx);
807 uu_list_insert(clp->cl_list, cn, idx);
1052 uu_list_index_t idx; local
1053 (void) uu_list_find(clp->cl_list, cn, NULL, &idx);
1054 uu_list_insert(clp->cl_list, cn, idx);
/osnet-11/usr/src/lib/nsswitch/mdns/common/
H A Dmdns_common.c669 int idx; local
672 for (idx = 0; idx < NSSMDNS_MAXSRCHDMNS; idx++) {
673 if (be->dmnsrchlist[idx] != NULL) {
674 free(be->dmnsrchlist[idx]);
675 be->dmnsrchlist[idx] = NULL;
678 for (idx = 0; idx < NSSMDNS_MAXVALIDDMNS; idx
[all...]
/osnet-11/usr/src/lib/passwdutil/
H A Dldap_attr.c500 * attr_addmod(attrs, idx, item, val)
503 * update idx if item is added
507 attr_addmod(ns_ldap_attr_t **attrs, int *idx, char *item, int value) argument
517 for (i = 0; i < *idx; i++) {
532 attrs[*idx] = new_attr(item, strp);
533 if (attrs[*idx] == NULL)
535 (*idx)++;
/osnet-11/usr/src/lib/udapl/udapl_tavor/tavor/
H A Ddapl_tavor_wr.c1152 uint32_t idx; local
1188 idx = wridlist->wl_freel_head;
1190 new_wl_freel[i] = old_wl_freel[idx];
1191 idx = (idx + 1) % old_size;
1196 idx = wridlist->wl_freel_entries;
1197 new_wl_freel[idx] = wridlist->wl_srq_desc_addr + old_size *
1199 prev_idx = idx;
1200 idx = (idx
[all...]
/osnet-11/usr/src/lib/libshare/common/
H A Dlibshare_upgrade.c461 char *idx; local
470 idx = valuestr;
473 idx = "0";
489 ret = sa_upgrade_add_nvlist(share, idx,
/osnet-11/usr/src/lib/libnisdb/
H A Dldap_map.c887 int idx; local
909 idx = iq * maxMatches;
911 if (idx == 0 || !firstOnly)
912 (void) memcpy(&tpa[idx], tp,
913 numMatches * sizeof (tpa[idx]));
966 dni->index = idx + n;
976 dn[idx+n] = dnt;
977 odn[idx+n] = odnt;
978 rv[idx+n] = rvt;
/osnet-11/usr/src/lib/libntsvcs/common/
H A Ddfs.c1000 int rc, idx; local
1026 idx = dfs_target_find(info.i_targets, info.i_ntargets, server, share);
1027 if (idx != -1) {
1028 bcopy(&info.i_targets[idx + 1], &info.i_targets[idx],
1029 (info.i_ntargets - idx - 1) * sizeof (dfs_target_t));
/osnet-11/usr/src/lib/libdladm/common/
H A Dlibdladm.c741 int idx; local
743 for (idx = 0; idx < MEDIATYPECOUNT; idx++) {
744 mt = media_type_table + idx;
762 int idx; local
764 for (idx = 0; idx < MEDIATYPECOUNT; idx++) {
765 mt = media_type_table + idx;
[all...]
H A Dlibdlmgmt.c521 int idx; local
523 for (idx = 0; idx < zonecnt; idx++) {
524 if (zonelist[idx] == zid)
/osnet-11/usr/src/lib/fm/libfmd_msg/common/
H A Dfmd_msg.c649 * For nvpairs that are arrays types, passing -1 as the idx param indicates
656 data_type_t type, void *p, uint_t n, uint_t idx)
661 if (idx != -1u) {
662 if (idx >= n) {
665 idx, nvpair_name(nvp), n ? n - 1 : 0));
667 p = (uchar_t *)p + nvt->nvt_size * idx;
736 fmd_msg_nv_print_nvpair(fmd_msg_buf_t *b, nvpair_t *nvp, uint_t idx) argument
751 err = fmd_msg_nv_print_items(b, nvp, nvt->nvt_base, a, n, idx);
754 err = fmd_msg_nv_print_items(b, nvp, nvt->nvt_base, &v, 1, idx);
655 fmd_msg_nv_print_items(fmd_msg_buf_t *b, nvpair_t *nvp, data_type_t type, void *p, uint_t n, uint_t idx) argument
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/common/
H A Dpi_subr.c257 int idx; local
297 idx = 0;
298 while (id == NULL && idx < num_nodes) {
299 result = md_get_prop_str(mdp, nodes[idx], MD_STR_TYPE, &type);
305 result = md_get_prop_str(mdp, nodes[idx],
311 (uint64_t)nodes[idx]);
314 idx++;
339 int idx; local
383 idx = 0;
384 while (id == NULL && idx < num_node
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dlocaladdr.c379 unsigned int idx, pfxlen, scope, dadstat; local
394 &idx, &pfxlen, &scope, &dadstat, ifname) != EOF) {
/osnet-11/usr/src/lib/krb5/kadm5/srv/
H A Dsvr_principal.c146 int i, idx; local
150 idx = (from->key_data_ver == 1 ? 1 : 2);
152 for (i = 0; i < idx; i++) {
156 for (i = 0; i < idx; i++) {
/osnet-11/usr/src/grub/grub2/grub-core/fs/
H A Dhfs.c660 grub_hfs_iterate_records (struct grub_hfs_data *data, int type, int idx,
686 idx / (data->blksz / nodesize), 0);
687 blk += (idx % (data->blksz / nodesize));
720 idx = grub_be_to_cpu32 (node.node.next);
721 } while (idx && this);
733 grub_uint32_t idx, int type, char *datar, int datalen)
781 if (grub_hfs_iterate_records (data, type, idx, 0, node_found))
787 idx = found;
659 grub_hfs_iterate_records(struct grub_hfs_data *data, int type, int idx, int this, int (*node_hook) (struct grub_hfs_node *hnd, struct grub_hfs_record *)) argument
731 grub_hfs_find_node(struct grub_hfs_data *data, char *key, grub_uint32_t idx, int type, char *datar, int datalen) argument
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/
H A Dregex_internal.c574 re_string_reconstruct (re_string_t *pstr, Idx idx, int eflags)
578 if (BE (pstr->raw_mbs_idx <= idx, 0))
579 offset = idx - pstr->raw_mbs_idx;
597 offset = idx;
644 pstr->len = pstr->raw_len - idx + offset;
645 pstr->stop = pstr->raw_stop - idx + offset;
697 pstr->len = pstr->raw_len - idx + offset;
698 pstr->stop = pstr->raw_stop - idx + offset;
766 pstr->valid_len = re_string_skip_chars (pstr, idx, &wc) - idx;
573 re_string_reconstruct(re_string_t *pstr, Idx idx, int eflags) argument
836 re_string_peek_byte_case(const re_string_t *pstr, Idx idx) argument
925 re_string_context_at(const re_string_t *input, Idx idx, int eflags) argument
1283 Idx idx; local
1373 __re_size_t idx, right, mid; local
1393 re_node_set_remove_at(re_node_set *set, Idx idx) argument
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt/cipher/
H A Decc.c453 int idx, aliasno;
458 for (idx = 0; domain_parms[idx].desc; idx++)
459 if (!strcmp (name, domain_parms[idx].desc))
462 if (!domain_parms[idx].desc)
469 for (idx = 0; domain_parms[idx].desc; idx++)
471 domain_parms[idx]
449 int idx, aliasno; local
1215 int idx; local
[all...]
H A Dmd.c1193 static int idx=0; local
1204 idx++;
1205 snprintf (buf, DIM(buf)-1, "dbgmd-%05d.%.10s", idx, suffix );
H A Drijndael.c1008 int tvi, idx;
1043 for (idx=0; idx < DIM (tv[tvi].data); idx++)
1046 tv[tvi].data[idx].input,
1047 sizeof tv[tvi].data[idx].input);
1050 if (memcmp (scratch, tv[tvi].data[idx].output, sizeof scratch))
1053 tv[tvi].data[idx].output,
1054 sizeof tv[tvi].data[idx].output);
1057 if (memcmp (scratch, tv[tvi].data[idx]
1005 int tvi, idx; local
[all...]
H A Drsa.c457 int idx;
460 for (idx=0; tbl[idx].name; idx++)
462 oneparm = gcry_sexp_find_token (deriveparms, tbl[idx].name, 0);
465 *tbl[idx].value = gcry_sexp_nth_mpi (oneparm, 1,
470 for (idx=0; tbl[idx].name; idx++)
471 if (!*tbl[idx]
456 int idx; local
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt-grub/cipher/
H A Decc.c453 int idx, aliasno;
458 for (idx = 0; domain_parms[idx].desc; idx++)
459 if (!strcmp (name, domain_parms[idx].desc))
462 if (!domain_parms[idx].desc)
469 for (idx = 0; domain_parms[idx].desc; idx++)
471 domain_parms[idx]
449 int idx, aliasno; local
1215 int idx; local
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/video/
H A Dsm712.c321 grub_sm712_write_dda_lookup (int idx, grub_uint8_t compare, grub_uint16_t dda, argument
328 GRUB_SM712_CR_DDA_LOOKUP_REG3_START + 2 * idx);
330 GRUB_SM712_CR_DDA_LOOKUP_REG2_START + 2 * idx);
332 GRUB_SM712_CR_DDA_LOOKUP_REG1_START + idx);
/osnet-11/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_utils.c617 int idx = 0; local
622 idx = msgid;
624 for (idx = 0; idx < N_STRS; idx++) {
625 if (str_tbl[idx].msgid == msgid)
628 if (idx >= N_STRS) {
629 idx = UNKNOWN_ERR_IDX;
633 return (idx);
/osnet-11/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_utils.c542 int idx = 0; local
547 idx = msgid;
549 for (idx = 0; idx < N_STRS; idx++) {
550 if (str_tbl[idx].msgid == msgid)
553 if (idx >= N_STRS) {
554 idx = UNKNOWN_ERR_IDX;
558 return (idx);
/osnet-11/usr/src/cmd/sendmail/src/
H A Ddaemon.c132 int idx, curdaemon = -1; local
151 for (idx = 0; idx < NDaemons; idx++)
153 Daemons[idx].d_port = setupdaemon(&(Daemons[idx].d_addr));
154 Daemons[idx].d_firsttime = true;
155 Daemons[idx].d_refuse_connections_until = (time_t) 0;
164 for (idx = 0; idx < NDaemon
968 int idx; local
2059 int idx; local
[all...]

Completed in 1346 milliseconds

123456