Home
last modified time | relevance | path

Searched refs:srch (Results 1 – 15 of 15) sorted by relevance

/illumos-gate/usr/src/cmd/localedef/
H A Dcharmap.c196 charmap_t srch; in add_charmap_impl() local
200 srch.wc = wc; in add_charmap_impl()
201 srch.name = sym; in add_charmap_impl()
208 ((avl_find(&cmap_wc, &srch, &where)) == NULL)) { in add_charmap_impl()
218 if (avl_find(&cmap_sym, &srch, &where) != NULL) { in add_charmap_impl()
244 charmap_t srch; in add_charmap_undefined() local
247 srch.name = sym; in add_charmap_undefined()
248 cm = avl_find(&cmap_sym, &srch, NULL); in add_charmap_undefined()
320 charmap_t srch; in lookup_charmap() local
323 srch.name = sym; in lookup_charmap()
[all …]
H A Dcollate.c490 collsym_t srch; in lookup_collsym() local
492 srch.name = name; in lookup_collsym()
493 return (avl_find(&collsyms, &srch, NULL)); in lookup_collsym()
499 collelem_t srch; in lookup_collelem() local
501 srch.symbol = symbol; in lookup_collelem()
502 return (avl_find(&elem_by_symbol, &srch, NULL)); in lookup_collelem()
508 collundef_t srch; in get_collundef() local
513 srch.name = name; in get_collundef()
514 if ((ud = avl_find(&collundefs, &srch, &where)) == NULL) { in get_collundef()
533 collchar_t srch; in get_collchar() local
[all …]
H A Dctype.c138 ctype_node_t srch; in get_ctype() local
142 srch.wc = wc; in get_ctype()
143 if ((ctn = avl_find(&ctypes, &srch, &where)) == NULL) { in get_ctype()
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dsetlocale.c71 locale_t srch; in setlocale() local
99 for (srch = setlocale_list; srch != NULL; srch = srch->next) { in setlocale()
100 if (strcmp(srch->locname, loc->locname) == 0) { in setlocale()
105 if (srch == NULL) { in setlocale()
113 loc = srch; in setlocale()
/illumos-gate/usr/src/lib/libadm/common/
H A Dgetdev.c111 struct srch { struct
151 static struct srch *buildsearchlist(char **);
152 static void freesearchlist(struct srch *);
156 static char *getnextmatch(struct srch *, int);
157 static int matchallcriteria(struct devtabent *, struct srch *);
158 static int matchanycriteria(struct devtabent *, struct srch *);
215 struct srch *searchlist; /* Pointer to searching criteria */ in getdev()
489 static struct srch *
493 struct srch *rtnbuf; /* Value to return */ in buildsearchlist()
494 struct srch *psrch; /* Running pointer */ in buildsearchlist()
[all …]
/illumos-gate/usr/src/cmd/iconv/
H A Dcharmap.c336 charmap_t srch = {0}; in add_charmap_impl_to() local
341 srch.cm_name = sym; in add_charmap_impl_to()
343 m = avl_find(&cmap_sym, &srch, NULL); in add_charmap_impl_to()
461 charmap_t srch = {0}; in find_mbs() local
465 (void) memcpy(srch.cm_frmbs, mbs, len); in find_mbs()
466 srch.cm_frmbs_len = len; in find_mbs()
467 cm = avl_find(&cmap_mbs, &srch, NULL); in find_mbs()
483 charmap_t srch = {0}; in find_mbs_partial() local
487 (void) memcpy(srch.cm_frmbs, mbs, len); in find_mbs_partial()
488 srch.cm_frmbs_len = len; in find_mbs_partial()
[all …]
/illumos-gate/usr/src/uts/common/io/audio/impl/
H A Daudio_engine.c876 audio_dev_t *srch; in audio_dev_register() local
902 for (srch = list_head(l); srch; srch = list_next(l, srch)) { in audio_dev_register()
904 if (srch->d_index < start) in audio_dev_register()
906 if (srch->d_index > d->d_index) { in audio_dev_register()
917 list_insert_before(l, srch, d); in audio_dev_register()
921 for (srch = list_head(l); srch; srch = list_next(l, srch)) { in audio_dev_register()
922 if (srch->d_number >= d->d_number) { in audio_dev_register()
926 list_insert_before(l, srch, d); in audio_dev_register()
1093 audio_dev_t *srch; in auclnt_set_dev_number() local
1099 for (srch = list_head(l); srch; srch = list_next(l, srch)) { in auclnt_set_dev_number()
[all …]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/smrt/
H A Dsmrt_commands.c354 smrt_command_t srch; in smrt_lookup_inflight() local
358 bzero(&srch, sizeof (srch)); in smrt_lookup_inflight()
359 srch.smcm_tag = tag; in smrt_lookup_inflight()
361 return (avl_find(&smrt->smrt_inflight, &srch, NULL)); in smrt_lookup_inflight()
/illumos-gate/usr/src/lib/libslp/clib/
H A DSLPUtils.c190 char *ascope, **srch; in saadvert_callback() local
198 srch = slp_tsearch( in saadvert_callback()
201 if (*srch != ascope) in saadvert_callback()
385 char *ascope, **srch; in collate_scopes() local
394 srch = slp_tsearch( in collate_scopes()
397 if (*srch != ascope) in collate_scopes()
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dheaders.c661 HDR *h, *srch, *last = NULL; local
667 for (srch = e->e_header; srch != NULL && idx > 0;
668 srch = srch->h_link, idx--)
669 last = srch;
676 else if (srch == NULL)
684 h->h_link = srch->h_link;
685 srch->h_link = h;
/illumos-gate/usr/src/cmd/csh/
H A Dsh.init.c184 struct srch srchn[] = {
H A Dsh.h157 extern struct srch { struct
H A Dsh.func.c707 struct srch *sp, *sp1, *sp2; in srchx()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddsl_scan.c1121 scan_ds_t srch, *sds; in scan_ds_queue_contains() local
1123 srch.sds_dsobj = dsobj; in scan_ds_queue_contains()
1124 sds = avl_find(&scn->scn_queue, &srch, NULL); in scan_ds_queue_contains()
1147 scan_ds_t srch, *sds; in scan_ds_queue_remove() local
1149 srch.sds_dsobj = dsobj; in scan_ds_queue_remove()
1151 sds = avl_find(&scn->scn_queue, &srch, NULL); in scan_ds_queue_remove()
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_dataset.c856 struct mnttab srch = { 0 }; in libzfs_mnttab_find() local
861 srch.mnt_special = (char *)fsname; in libzfs_mnttab_find()
862 srch.mnt_fstype = MNTTYPE_ZFS; in libzfs_mnttab_find()
863 if (getmntany(hdl->libzfs_mnttab, entry, &srch) == 0) in libzfs_mnttab_find()