Searched refs:items (Results 1 - 25 of 71) sorted by relevance

123

/illumos-gate/usr/src/lib/passwdutil/
H A D__failed_count.c35 attrlist items[1]; local
51 items[0].type = ATTR_INCR_FAILED_LOGINS;
52 items[0].next = NULL;
53 if ((ret = ops->getpwnam(username, items, NULL, &buf)) != PWU_SUCCESS) {
58 if ((ret = ops->update(items, NULL, buf)) != PWU_SUCCESS) {
63 if (items[0].data.val_i >= max_failures) {
68 items[0].type = ATTR_LOCK_ACCOUNT;
69 if ((ret = ops->update(items, NULL, buf)) != PWU_SUCCESS)
74 (items[0].type == ATTR_LOCK_ACCOUNT))
94 attrlist items[ local
[all...]
H A D__set_authtoken_attr.c39 attrlist *items, int *updated_reps)
50 for (p = items; p != NULL; p = p->next) {
86 err = rops[i]->getpwnam(name, items, rep, &buf);
90 err = rops[i]->update(items, rep, buf);
38 __set_authtoken_attr(char *name, char *oldpw, pwu_repository_t *rep, attrlist *items, int *updated_reps) argument
H A Dnss_attr.c43 int nss_getpwnam(char *name, attrlist *items, pwu_repository_t *rep,
82 * nss_getpwnam(name, items, rep, buf)
87 nss_getpwnam(char *name, attrlist *items, pwu_repository_t *rep, void **buf) argument
101 * we need for the items we need to update
103 for (p = items; p != NULL; p = p->next) {
214 * nss_getattr(name, items, rep)
216 * Get attributes specified in list 'items'
219 nss_getattr(char *name, attrlist *items, pwu_repository_t *rep) argument
227 res = nss_getpwnam(name, items, rep, (void **)&pwbuf);
234 for (w = items; re
[all...]
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);
186 * nis_getattr(name, items, rep)
188 * get account attributes specified in 'items'
191 nis_getattr(char *name, attrlist *items, pwu_repository_t *rep) argument
198 res = nis_getpwnam(name, items, rep, (void **)&nisbuf);
204 for (w = items; w != NULL; w = w->next) {
278 * nis_getpwnam(name, items, rep)
284 nis_getpwnam(char *name, attrlist *items, pwu_repository_t *rep, argument
373 * nis_update(items, re
380 nis_update(attrlist *items, pwu_repository_t *rep, void *buf) argument
[all...]
/illumos-gate/usr/src/lib/libeti/menu/common/
H A Dnewmenu.c40 new_menu(ITEM **items) argument
48 if (items) {
49 if (*items == (ITEM *)0 || !_connect(m, items)) {
H A Dconnect.c64 _connect(MENU *m, ITEM **items) argument
69 /* Is the list of items connected to any other menu? */
70 for (ip = items; *ip; ip++) {
77 for (i = 0, ip = items; *ip; ip++) {
80 for (ip = items; *ip; ip++) {
96 Items(m) = items;
121 /* Release items for another menu */
/illumos-gate/usr/src/cmd/localedef/
H A Dmkwidths.py43 items = line.split()
44 if (len(items) != 2) or items[0].startswith("#"):
46 (sym, val) = (items[0], items[1])
/illumos-gate/usr/src/tools/pmodes/
H A Dbinsearch.c41 char **items; member in struct:itemlist
56 x->items = 0;
68 memcpy(new, l->items, l->nused * sizeof (char *));
69 l->items = new;
75 l->items = realloc(l->items, sizeof (char *) * l->nallocated);
77 l->items[l->nused++] = s;
85 l->items = s;
134 qsort(l->items, l->nused, sizeof (char *), xcmp);
140 int res = strcmp(s, l->items[mi
[all...]
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Dhtable.c537 htab_item_t **items; local
549 items = (htab_item_t **)calloc(
551 /* re-hash all items to the new table */
552 if (items != NULL) {
559 item = tab->items[(i * oldsz) + j];
562 itemp = &items[(i * newsz) +
578 free(tab->items);
579 tab->items = items;
621 htab_item_t **items local
704 htab_item_t *items = NULL, **itemp; local
844 htab_item_t *items = NULL; local
1094 htab_item_t *items; local
[all...]
H A Disns_htab.h63 htab_item_t **items; member in struct:htab
/illumos-gate/usr/src/uts/common/zmod/
H A Dzutil.c222 voidpf zcalloc (voidpf opaque, unsigned items, unsigned size) argument
225 ulg bsize = (ulg)items*size;
281 voidpf zcalloc (voidpf opaque, unsigned items, unsigned size) argument
284 return _halloc((long)items, size);
302 extern voidp calloc OF((uInt items, uInt size));
306 voidpf zcalloc (opaque, items, size)
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, siz
[all...]
H A Dzmod_subr.c43 zcalloc(void *opaque, uint_t items, uint_t size) argument
45 size_t nbytes = sizeof (struct zchdr) + items * size;
/illumos-gate/usr/src/boot/lib/libz/
H A Dzutil.c220 voidpf ZLIB_INTERNAL zcalloc (voidpf opaque, unsigned items, unsigned size) argument
223 ulg bsize = (ulg)items*size;
279 voidpf ZLIB_INTERNAL zcalloc (voidpf opaque, uInt items, uInt size) argument
282 return _halloc((long)items, size);
300 extern voidp calloc OF((uInt items, uInt size));
304 voidpf ZLIB_INTERNAL zcalloc (opaque, items, size)
306 unsigned items;
309 if (opaque) items += size - size; /* make compiler happy */
310 return sizeof(uInt) > 2 ? (voidpf)malloc(items * size) :
311 (voidpf)calloc(items, siz
[all...]
/illumos-gate/usr/src/cmd/csh/
H A Dsh.file.c285 print_by_column(tchar *dir, tchar *items[], int count, int looking_for_command) argument
293 maxwidth = max(maxwidth, tswidth(items[i]));
310 printf("%t", items[i]);
311 w = tswidth(items[i]);
314 (tchar) filetype(dir, items[i], 0));
500 free_items(tchar **items) argument
507 for (i = 0; items[i]; i++)
508 xfree(items[i]);
509 xfree((char *)items);
512 #define FREE_ITEMS(items) { \
527 static tchar **items = NULL; local
[all...]
/illumos-gate/usr/src/lib/libshell/common/tests/
H A Dcubetype.sh37 items=(foo bar)
74 b.items[1]=bam
75 b.items[2]=extra
76 exp=3 got=${#b.items[@]}
77 [[ ${#b.items[@]} == 3 ]] || err_exit "\${#b.items[@]} incorrect for iteration $i -- expected $exp, got '$got'"
85 unset b.items
86 exp=2 got=${#b.items[@]}
87 [[ ${#b.items[@]} == 2 ]] || err_exit "\${#b.items[
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Ddevpolicy.c409 devplcysys_t *items; local
436 items = kmem_alloc(mem, KM_SLEEP);
438 if (copyin(uitmp, items, mem)) {
439 kmem_free(items, mem);
444 if (items[0].dps_maj != DEVPOLICY_DFLT_MAJ) {
445 kmem_free(items, mem);
460 curmaj = items[i].dps_maj;
461 len = strlen(items[i].dps_minornm);
463 (tmp = strchr(items[i].dps_minornm, '*')) != NULL;
467 len >= sizeof (items[
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_dhcp.c268 int items, i; local
337 items = *start++ / 4;
338 display_ip(items, "%s at = %s",
404 items = *start++ / 8;
405 for (i = 0; i < items; i++) {
424 items = *start / sizeof (ushort_t);
426 for (i = 0; i < items; i++) {
448 items = *start++ / 8;
449 for (i = 0; i < items; i++) {
630 display_ip(int items, cha argument
[all...]
/illumos-gate/usr/src/cmd/th_tools/
H A Dth_define.c380 dump_log(uint_t lvl, FILE *fp, struct acc_log_elem *items, argument
392 if (elem_cmp(items+i, items) != 0)
398 (items->access_type & BOFI_DMA_RW) ?
402 for (i = 0; i < nitems; i++, items++) {
403 offset = items->offset;
408 items->access_type, offset, items->size,
409 items->value, items
666 define_nerrs(int fd, FILE *fp, int *ecnt, struct bofi_errdef *edp, struct acc_log_elem *items, size_t nitems, uint_t naccess, uint_t minac, uint_t maxac, ulong_t logtime, ulong_t logsize) argument
884 struct acc_log_elem *items, *item, *elem; local
1055 struct acc_log_elem *items; local
[all...]
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/client/
H A DpmHelpRepository.java89 Enumeration items = helpItemDB.elements();
90 while (items.hasMoreElements()) {
91 pmHelpItem item = (pmHelpItem) items.nextElement();
120 Enumeration items = helpItemDB.elements();
121 while (items.hasMoreElements()) {
122 pmHelpItem item = (pmHelpItem) items.nextElement();
154 v.size() + " items");
H A DpmHelpSearchPanel.java150 public void setSearchResults(Vector items) { argument
153 if (items.size() == 0) {
157 Enumeration e = items.elements();
435 Debug.info("HELP: getItemsForKeywords new items: " + newItems);
438 Enumeration items = newItems.elements();
439 while (items.hasMoreElements()) {
440 pmHelpItem i = (pmHelpItem) items.nextElement();
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_kmod.c355 smb_netsvcitem_t *items; local
373 items = calloc(svcenum->se_nitems, sizeof (smb_netsvcitem_t));
374 if (items == NULL)
377 ns->ns_items = items;
385 user = &items->nsi_un.nsi_user;
389 tree = &items->nsi_un.nsi_tree;
394 ofile = &items->nsi_un.nsi_ofile;
405 list_insert_tail(&ns->ns_list, items);
407 ++items;
/illumos-gate/usr/src/uts/common/io/usb/clients/hidparser/
H A Dhidparser.c47 char *items[500]; /* Print items */ variable
867 * Note that only short items are supported.
1034 * list. Don't put undefined usage items
1202 * Return a list of all report ids used for descriptor items
1349 * Prints the entity items recursively
1372 indent_space, items[entity->entity_item_type],
1390 items[attribute->entity_attribute_tag],
1395 items[attribute->entity_attribute_tag],
2165 * for control attributes(local items), a
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Ddeflate.c62 static void *z_alloc __P((void *, u_int items, u_int size));
92 z_alloc(notused, items, size)
94 u_int items, size;
96 return malloc(items * size);
/illumos-gate/usr/src/stand/lib/sa/
H A Dstdio.c250 size_t items; local
257 for (items = 0, bytes = 0; items < nitems; items++) {
/illumos-gate/usr/src/lib/fm/libfmd_msg/common/
H A Dfmd_msg.c66 * the corresponding locale directories. The values for the message items are
1257 * items, and then produces the final string composing all of the items. The
1265 char *items[FMD_MSG_ITEM_MAX]; local
1283 bzero(items, sizeof (items));
1286 items[i] = fmd_msg_getitem_locked(h, nvl, dict, code, i);
1287 if (items[i] == NULL)
1340 items[FMD_MSG_ITEM_TYPE], items[FMD_MSG_ITEM_SEVERIT
[all...]

Completed in 98 milliseconds

123