Searched defs:items (Results 1 - 25 of 49) sorted by relevance

12

/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/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...]
H A Dfiles_attr.c49 int files_getpwnam(char *name, attrlist *items, pwu_repository_t *rep,
51 int files_update(attrlist *items, pwu_repository_t *rep, void *buf);
213 * files_getpwnam(name, items, rep, buf)
218 files_getpwnam(char *name, attrlist *items, pwu_repository_t *rep, void **buf) argument
231 * we need for the items we need to update
233 for (p = items; p != NULL; p = p->next) {
467 * files_getattr(name, items, rep)
469 * Get attributes specified in list 'items'
472 files_getattr(char *name, attrlist *items, pwu_repository_t *rep) argument
480 res = files_getpwnam(name, items, re
641 files_update(attrlist *items, pwu_repository_t *rep, void *buf) argument
[all...]
/illumos-gate/usr/src/uts/common/zmod/
H A Dzmod_subr.c43 zcalloc(void *opaque, uint_t items, uint_t size) argument
45 size_t nbytes = sizeof (struct zchdr) + items * size;
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...]
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/client/
H A DpmHelpIndexPanel.java139 public void setSearchResults(Vector items) { argument
142 if (items.size() == 0) {
146 Enumeration e = items.elements();
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/cmd/ypcmd/
H A Dypserv_net_secure.c71 int items = 0, line = 0; local
84 items++;
127 if (items == 0) {
/illumos-gate/usr/src/common/fs/
H A Ddecompress.c70 cf_alloc(void *opaque, unsigned int items, unsigned int size) argument
77 nbytes = roundup(items * size, sizeof (long));
/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/format/
H A Dmenu_defect.c614 int i, items, status = 0, count, cksum; local
668 items = fscanf(fptr, "0x%x%d 0x%x\n", &magicno,
673 if (items != 3 || count < 0 ||
710 items = fscanf(fptr, "%*d%hd%hd%d%hd%hd\n", &dptr->cyl,
715 if (items != 5)
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Disns_htab.h63 htab_item_t **items; member in struct:htab
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...]
/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/tools/stabs/
H A Dforth.c264 int items, inc, limit; local
269 items = ap->indices->range_end - ap->indices->range_start + 1;
270 inc = (mlp->size / items) / 8;
H A Dgenassym.c272 int items, inc; local
275 items = ap->indices->range_end - ap->indices->range_start + 1;
276 inc = (mlp->size / items) / 8;
/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/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/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/lib/libeti/menu/inc/
H A Dmenu.h83 int rows; /* Number of items high */
84 int cols; /* Number of items wide */
85 int frows; /* Number of formated items high */
86 int fcols; /* Number of formated items wide */
97 ITEM **items; member in struct:MENU
98 int nitems; /* Total number of items in menu */
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Ddeflate.c76 static void *z_alloc(void *, uint_t items, uint_t size);
151 z_alloc(void *notused, uint_t items, uint_t size) argument
155 size = items * size + sizeof (struct zchunk);

Completed in 374 milliseconds

12