Home
last modified time | relevance | path

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

123456

/titanic_41/usr/src/cmd/krb5/kadmin/gui/visualrt/sunsoft/jws/visual/rt/awt/
H A DTextList.java48 private StringVector items; field in TextList
51 items = new StringVector(); in TextList()
53 view.items(items.vector); in TextList()
66 public StringVector items() { in items() method in TextList
67 return items; in items()
132 Object items[] = view.getSelectedItems(); in getSelectedItems() local
133 String str[] = new String[items.length]; in getSelectedItems()
134 for (int i = 0; i < items.length; i++) in getSelectedItems()
135 str[i] = (String)items[i]; in getSelectedItems()
140 items.addElement(item); in addItem()
[all …]
H A DCLChoice.java45 private Vector items = new Vector(); field in CLChoice
61 public CLChoice(String[] items) { in CLChoice() argument
62 this(items, 0, null); in CLChoice()
65 public CLChoice(String[] items, int selectedIndex) { in CLChoice() argument
66 this(items, selectedIndex, null); in CLChoice()
69 public CLChoice(String[] items, String selectedItem) { in CLChoice() argument
70 this(items, selectedItem, null); in CLChoice()
73 public CLChoice(String[] items, int selectedIndex, Image icon) { in CLChoice() argument
76 if (items == null) { in CLChoice()
80 setItems(items); in CLChoice()
[all …]
H A DCheckboxList.java49 Vector items = view.items; in CheckboxList() local
51 items.addElement(/* NOI18N */"item" + i); in CheckboxList()
58 Vector items; field in CheckboxView
65 items = new Vector(); in CheckboxView()
84 int size = items.size(); in updateCheckboxes()
85 for (int i = 0; i < items.size(); i++) { in updateCheckboxes()
86 Checkbox box = new Checkbox((String)items.elementAt(i)); in updateCheckboxes()
H A DTextView.java47 protected Vector items; field in TextView
112 if (selected[i] >= items.size()) { in updateView()
128 if (index >= items.size()) in select()
183 select(items.indexOf(item)); in select()
187 if (index < 0 || index >= items.size()) in deselect()
241 return items.elementAt(selected[0]); in getSelectedItem()
247 data[i] = items.elementAt(selected[i]); in getSelectedItems()
270 protected void items(Vector items) { in items() argument
271 this.items = items; in items()
301 return new Dimension(minWidth, items.size()*lineHeight); in scrollSize()
[all …]
/titanic_41/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_41/usr/src/cmd/krb5/kadmin/gui/visualrt/sunsoft/jws/visual/rt/shadow/
H A DFlowPanelShadow.java72 private GBPanelShadow items[]; field in FlowPanelShadow
132 items = null; in add()
137 items = null; in remove()
141 if (items == null) { in getItems()
149 items = new GBPanelShadow[i]; in getItems()
156 items[i++] = (GBPanelShadow)s; in getItems()
160 return items; in getItems()
163 private void setItems(GBPanelShadow items[]) { in setItems() argument
170 if (items == null) { in setItems()
174 for (i = 0; i < items.length; i++) { in setItems()
[all …]
H A DTextListShadow.java129 StringVector items = list.items(); in setOnBody() local
130 items.removeAllElements(); in setOnBody()
134 items.addElement(names[i]); in setOnBody()
143 index = list.items().indexOf((String)value); in setOnBody()
146 String items[] = (String[])value; in setOnBody() local
149 if (items != null) { in setOnBody()
150 for (int i = 0; i < items.length; i++) in setOnBody()
151 list.select(items[i]); in setOnBody()
154 if (items != null && items.length != 0) in setOnBody()
155 list.select(items[0]); in setOnBody()
/titanic_41/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_41/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_41/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_41/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);
/titanic_41/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_41/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])
/titanic_41/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_41/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_41/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_41/usr/src/cmd/krb5/kadmin/gui/visualrt/sunsoft/jws/visual/rt/shadow/java/awt/
H A DListShadow.java198 String items[] = (String[])value; in setOnBody() local
201 if (items != null) { in setOnBody()
202 for (int i = 0; i < items.length; i++) in setOnBody()
203 select(list, items[i]); in setOnBody()
206 if (items != null && items.length != 0) in setOnBody()
207 select(list, items[0]); in setOnBody()
/titanic_41/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()
/titanic_41/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_41/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_41/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_kmod.c343 smb_netsvcitem_t *items; in smb_kmod_enum() local
361 items = calloc(svcenum->se_nitems, sizeof (smb_netsvcitem_t)); in smb_kmod_enum()
362 if (items == NULL) in smb_kmod_enum()
365 ns->ns_items = items; in smb_kmod_enum()
373 user = &items->nsi_un.nsi_user; in smb_kmod_enum()
377 tree = &items->nsi_un.nsi_tree; in smb_kmod_enum()
382 ofile = &items->nsi_un.nsi_ofile; in smb_kmod_enum()
393 list_insert_tail(&ns->ns_list, items); in smb_kmod_enum()
395 ++items; in smb_kmod_enum()

123456