Home
last modified time | relevance | path

Searched refs:items (Results 1 – 25 of 126) sorted by relevance

123456

/titanic_50/usr/src/lib/passwdutil/
H A D__failed_count.c35 attrlist items[1]; in __incr_failed_count() local
51 items[0].type = ATTR_INCR_FAILED_LOGINS; in __incr_failed_count()
52 items[0].next = NULL; in __incr_failed_count()
53 if ((ret = ops->getpwnam(username, items, NULL, &buf)) != PWU_SUCCESS) { in __incr_failed_count()
58 if ((ret = ops->update(items, NULL, buf)) != PWU_SUCCESS) { in __incr_failed_count()
63 if (items[0].data.val_i >= max_failures) { in __incr_failed_count()
68 items[0].type = ATTR_LOCK_ACCOUNT; in __incr_failed_count()
69 if ((ret = ops->update(items, NULL, buf)) != PWU_SUCCESS) in __incr_failed_count()
74 (items[0].type == ATTR_LOCK_ACCOUNT)) in __incr_failed_count()
94 attrlist items[1]; in __rst_failed_count() local
[all …]
H A D__set_authtoken_attr.c39 attrlist *items, int *updated_reps) in __set_authtoken_attr() argument
50 for (p = items; p != NULL; p = p->next) { in __set_authtoken_attr()
86 err = rops[i]->getpwnam(name, items, rep, &buf); in __set_authtoken_attr()
90 err = rops[i]->update(items, rep, buf); in __set_authtoken_attr()
H A Dnss_attr.c43 int nss_getpwnam(char *name, attrlist *items, pwu_repository_t *rep,
87 nss_getpwnam(char *name, attrlist *items, pwu_repository_t *rep, void **buf) in nss_getpwnam() argument
103 for (p = items; p != NULL; p = p->next) { in nss_getpwnam()
219 nss_getattr(char *name, attrlist *items, pwu_repository_t *rep) in nss_getattr() argument
227 res = nss_getpwnam(name, items, rep, (void **)&pwbuf); in nss_getattr()
234 for (w = items; res == PWU_SUCCESS && w != NULL; w = w->next) { in nss_getattr()
H A Dnis_attr.c45 int nis_getpwnam(char *name, attrlist *items, pwu_repository_t *rep,
47 int nis_update(attrlist *items, pwu_repository_t *rep, void *buf);
191 nis_getattr(char *name, attrlist *items, pwu_repository_t *rep) in nis_getattr() argument
198 res = nis_getpwnam(name, items, rep, (void **)&nisbuf); in nis_getattr()
204 for (w = items; w != NULL; w = w->next) { in nis_getattr()
284 nis_getpwnam(char *name, attrlist *items, pwu_repository_t *rep, in nis_getpwnam() argument
380 nis_update(attrlist *items, pwu_repository_t *rep, void *buf) in nis_update() argument
386 for (p = items; p != NULL; p = p->next) { in nis_update()
/titanic_50/usr/src/cmd/isns/isnsd/
H A Dhtable.c537 htab_item_t **items; in enlarge_htab() local
549 items = (htab_item_t **)calloc( in enlarge_htab()
552 if (items != NULL) { in enlarge_htab()
559 item = tab->items[(i * oldsz) + j]; in enlarge_htab()
562 itemp = &items[(i * newsz) + in enlarge_htab()
578 free(tab->items); in enlarge_htab()
579 tab->items = items; in enlarge_htab()
621 htab_item_t **items = NULL; in htab_create() local
630 items = (htab_item_t **)calloc( in htab_create()
632 if (items != NULL) { in htab_create()
[all …]
/titanic_50/usr/src/tools/pmodes/
H A Dbinsearch.c41 char **items; member
56 x->items = 0; in new_itemlist()
68 memcpy(new, l->items, l->nused * sizeof (char *)); in item_add()
69 l->items = new; in item_add()
75 l->items = realloc(l->items, sizeof (char *) * l->nallocated); in item_add()
77 l->items[l->nused++] = s; in item_add()
85 l->items = s; in item_add_list()
134 qsort(l->items, l->nused, sizeof (char *), xcmp); in item_search()
140 int res = strcmp(s, l->items[mid]); in item_search()
158 return (l->items[i]); in item_get()
/titanic_50/usr/src/cmd/csh/
H A Dsh.file.c285 print_by_column(tchar *dir, tchar *items[], int count, int looking_for_command) in print_by_column() argument
293 maxwidth = max(maxwidth, tswidth(items[i])); in print_by_column()
310 printf("%t", items[i]); in print_by_column()
311 w = tswidth(items[i]); in print_by_column()
314 (tchar) filetype(dir, items[i], 0)); in print_by_column()
500 free_items(tchar **items) in free_items() argument
507 for (i = 0; items[i]; i++) in free_items()
508 xfree(items[i]); in free_items()
509 xfree((char *)items); in free_items()
512 #define FREE_ITEMS(items) { \ argument
[all …]
/titanic_50/usr/src/uts/common/zmod/
H A Dzutil.c222 voidpf zcalloc (voidpf opaque, unsigned items, unsigned size) in zcalloc() argument
225 ulg bsize = (ulg)items*size; in zcalloc()
281 voidpf zcalloc (voidpf opaque, unsigned items, unsigned size) in zcalloc() argument
284 return _halloc((long)items, size); in zcalloc()
302 extern voidp calloc OF((uInt items, uInt size));
306 voidpf zcalloc (opaque, items, size) in zcalloc() argument
308 unsigned items;
311 if (opaque) items += size - size; /* make compiler happy */
312 return sizeof(uInt) > 2 ? (voidpf)malloc(items * size) :
313 (voidpf)calloc(items, size);
H A Dzmod_subr.c43 zcalloc(void *opaque, uint_t items, uint_t size) in zcalloc() argument
45 size_t nbytes = sizeof (struct zchdr) + items * size; in zcalloc()
H A Dzutil.h266 voidpf zcalloc OF((voidpf opaque, unsigned items, unsigned size));
269 #define ZALLOC(strm, items, size) \ argument
270 (*((strm)->zalloc))((strm)->opaque, (items), (size))
/titanic_50/usr/src/uts/common/os/
H A Ddevpolicy.c409 devplcysys_t *items; in devpolicy_load() local
436 items = kmem_alloc(mem, KM_SLEEP); in devpolicy_load()
438 if (copyin(uitmp, items, mem)) { in devpolicy_load()
439 kmem_free(items, mem); in devpolicy_load()
444 if (items[0].dps_maj != DEVPOLICY_DFLT_MAJ) { in devpolicy_load()
445 kmem_free(items, mem); in devpolicy_load()
460 curmaj = items[i].dps_maj; in devpolicy_load()
461 len = strlen(items[i].dps_minornm); in devpolicy_load()
463 (tmp = strchr(items[i].dps_minornm, '*')) != NULL; in devpolicy_load()
467 len >= sizeof (items[i].dps_minornm) || in devpolicy_load()
[all …]
/titanic_50/usr/src/cmd/localedef/
H A Dmkwidths.py47 items = line.split()
48 if (len(items) != 2) or items[0].startswith("#"):
50 (sym, val) = (items[0], items[1])
/titanic_50/usr/src/cmd/th_tools/
H A Dth_define.c380 dump_log(uint_t lvl, FILE *fp, struct acc_log_elem *items, in dump_log() argument
392 if (elem_cmp(items+i, items) != 0) in dump_log()
398 (items->access_type & BOFI_DMA_RW) ? in dump_log()
402 for (i = 0; i < nitems; i++, items++) { in dump_log()
403 offset = items->offset; in dump_log()
408 items->access_type, offset, items->size, in dump_log()
409 items->value, items->repcount, in dump_log()
411 items->access_time : 0ull); in dump_log()
421 items->access_type, offset, items->size, in dump_log()
422 items->value, items->repcount, in dump_log()
[all …]
/titanic_50/usr/src/lib/libshell/common/tests/
H A Dcubetype.sh37 items=(foo bar)
74 b.items[1]=bam
75 b.items[2]=extra
85 unset b.items
91 unset bb.items
151 cc[2]=(x=2 y=3 name=two colors+=([table]=white) items+=(pencil) z=6)
156 [[ ${cc[2].items[2]} == pencil ]] || err_exit '${cc[2].items[2]} != pencil'
165 unset cc[2].name cc[2].colors cc[2].items
170 cc[two]=(x=2 y=3 name=two colors+=([table]=white) items+=(pencil) z=6)
176 [[ ${cc[two].items[2]} == pencil ]] || err_exit '${cc[two].items[2]} != pencil'
[all …]
/titanic_50/usr/src/lib/libeti/menu/common/
H A Dnewmenu.c40 new_menu(ITEM **items) in new_menu() argument
48 if (items) { in new_menu()
49 if (*items == (ITEM *)0 || !_connect(m, items)) { in new_menu()
H A Dconnect.c64 _connect(MENU *m, ITEM **items) in _connect() argument
70 for (ip = items; *ip; ip++) { in _connect()
77 for (i = 0, ip = items; *ip; ip++) { in _connect()
80 for (ip = items; *ip; ip++) { in _connect()
96 Items(m) = items; in _connect()
/titanic_50/usr/src/cmd/print/printmgr/com/sun/admin/pm/client/
H A DpmHelpRepository.java89 Enumeration items = helpItemDB.elements(); in populateHelpKeywordDB() local
90 while (items.hasMoreElements()) { in populateHelpKeywordDB()
91 pmHelpItem item = (pmHelpItem) items.nextElement(); in populateHelpKeywordDB()
120 Enumeration items = helpItemDB.elements(); in populateHelpTitleDB() local
121 while (items.hasMoreElements()) { in populateHelpTitleDB()
122 pmHelpItem item = (pmHelpItem) items.nextElement(); in populateHelpTitleDB()
H A DpmHelpSearchPanel.java150 public void setSearchResults(Vector items) { in setSearchResults() argument
153 if (items.size() == 0) { in setSearchResults()
157 Enumeration e = items.elements(); in setSearchResults()
438 Enumeration items = newItems.elements(); in getItemsForKeywords() local
439 while (items.hasMoreElements()) { in getItemsForKeywords()
440 pmHelpItem i = (pmHelpItem) items.nextElement(); in getItemsForKeywords()
/titanic_50/usr/src/uts/common/io/usb/clients/hidparser/
H A Dhidparser.c47 char *items[500]; /* Print items */ variable
1372 indent_space, items[entity->entity_item_type], in hidparser_print_entity()
1390 items[attribute->entity_attribute_tag], in hidparser_print_this_attribute()
1395 items[attribute->entity_attribute_tag], in hidparser_print_this_attribute()
2310 items[current->entity_item_type]); in hidparser_free_report_descr_handle()
2324 items[current->entity_item_type]); in hidparser_free_report_descr_handle()
2348 items[current->entity_attribute_tag], in hidparser_free_attribute_list()
2374 items[R_ITEM_USAGE] = "Usage"; in hidparser_initialize_items()
2375 items[R_ITEM_USAGE_MIN] = "Usage Minimum"; in hidparser_initialize_items()
2376 items[R_ITEM_USAGE_MAX] = "Usage Maximum"; in hidparser_initialize_items()
[all …]
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_dhcp.c268 int items, i; in show_options() local
337 items = *start++ / 4; in show_options()
338 display_ip(items, "%s at = %s", in show_options()
404 items = *start++ / 8; in show_options()
405 for (i = 0; i < items; i++) { in show_options()
424 items = *start / sizeof (ushort_t); in show_options()
426 for (i = 0; i < items; i++) { in show_options()
448 items = *start++ / 8; in show_options()
449 for (i = 0; i < items; i++) { in show_options()
630 display_ip(int items, char *fmt, char *msg, unsigned char **opt) in display_ip() argument
[all …]
/titanic_50/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_kmod.c355 smb_netsvcitem_t *items; in smb_kmod_enum() local
373 items = calloc(svcenum->se_nitems, sizeof (smb_netsvcitem_t)); in smb_kmod_enum()
374 if (items == NULL) in smb_kmod_enum()
377 ns->ns_items = items; in smb_kmod_enum()
385 user = &items->nsi_un.nsi_user; in smb_kmod_enum()
389 tree = &items->nsi_un.nsi_tree; in smb_kmod_enum()
394 ofile = &items->nsi_un.nsi_ofile; in smb_kmod_enum()
405 list_insert_tail(&ns->ns_list, items); in smb_kmod_enum()
407 ++items; in smb_kmod_enum()
/titanic_50/usr/src/lib/mergeq/
H A Dworkq.c153 void **items; in workq_grow() local
162 items = workq_alloc(ncap * sizeof (void *)); in workq_grow()
163 if (items == NULL) in workq_grow()
166 bzero(items, ncap * sizeof (void *)); in workq_grow()
167 bcopy(wqp->wq_items, items, wqp->wq_cap * sizeof (void *)); in workq_grow()
169 wqp->wq_items = items; in workq_grow()
H A Dmergeq.c321 void **items; in mergeq_grow() local
330 items = mergeq_alloc(ncap * sizeof (void *)); in mergeq_grow()
331 if (items == NULL) in mergeq_grow()
334 bzero(items, ncap * sizeof (void *)); in mergeq_grow()
335 bcopy(mqp->mq_items, items, mqp->mq_cap * sizeof (void *)); in mergeq_grow()
337 mqp->mq_items = items; in mergeq_grow()
/titanic_50/usr/src/lib/fm/libfmd_msg/common/
H A Dfmd_msg.c1265 char *items[FMD_MSG_ITEM_MAX]; in fmd_msg_gettext_locked() local
1283 bzero(items, sizeof (items)); in fmd_msg_gettext_locked()
1286 items[i] = fmd_msg_getitem_locked(h, nvl, dict, code, i); in fmd_msg_gettext_locked()
1287 if (items[i] == NULL) in fmd_msg_gettext_locked()
1340 items[FMD_MSG_ITEM_TYPE], items[FMD_MSG_ITEM_SEVERITY], in fmd_msg_gettext_locked()
1342 items[FMD_MSG_ITEM_DESC], items[FMD_MSG_ITEM_RESPONSE], in fmd_msg_gettext_locked()
1343 items[FMD_MSG_ITEM_IMPACT], items[FMD_MSG_ITEM_ACTION]); in fmd_msg_gettext_locked()
1351 items[FMD_MSG_ITEM_TYPE], items[FMD_MSG_ITEM_SEVERITY], in fmd_msg_gettext_locked()
1353 items[FMD_MSG_ITEM_DESC], items[FMD_MSG_ITEM_RESPONSE], in fmd_msg_gettext_locked()
1354 items[FMD_MSG_ITEM_IMPACT], items[FMD_MSG_ITEM_ACTION]); in fmd_msg_gettext_locked()
[all …]
/titanic_50/usr/src/stand/lib/sa/
H A Dstdio.c250 size_t items; in fread() local
257 for (items = 0, bytes = 0; items < nitems; items++) { in fread()

123456