| /onnv-gate/usr/src/cmd/krb5/kadmin/gui/visualrt/sunsoft/jws/visual/rt/awt/ |
| H A D | TextList.java | 48 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 D | CLChoice.java | 45 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 D | CheckboxList.java | 49 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 D | TextView.java | 47 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 …]
|
| /onnv-gate/usr/src/lib/passwdutil/ |
| H A D | __failed_count.c | 35 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 …]
|
| /onnv-gate/usr/src/cmd/krb5/kadmin/gui/visualrt/sunsoft/jws/visual/rt/shadow/ |
| H A D | FlowPanelShadow.java | 72 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 D | TextListShadow.java | 129 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()
|
| /onnv-gate/usr/src/cmd/isns/isnsd/ |
| H A D | htable.c | 537 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 …]
|
| /onnv-gate/usr/src/common/openssl/crypto/pqueue/ |
| H A D | pqueue.c | 66 pitem *items; member 117 if (pq->items == NULL) in pqueue_insert() 119 pq->items = item; in pqueue_insert() 123 for(curr = NULL, next = pq->items; in pqueue_insert() 132 pq->items = item; in pqueue_insert() 152 return pq->items; in pqueue_peek() 158 pitem *item = pq->items; in pqueue_pop() 160 if (pq->items != NULL) in pqueue_pop() 161 pq->items = pq->items->next; in pqueue_pop() 172 if ( pq->items == NULL) in pqueue_find() [all …]
|
| /onnv-gate/usr/src/tools/pmodes/ |
| H A D | binsearch.c | 41 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()
|
| /onnv-gate/usr/src/cmd/csh/ |
| H A D | sh.file.c | 285 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 …]
|
| /onnv-gate/usr/src/uts/common/zmod/ |
| H A D | zutil.c | 222 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);
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/ExtUtils/ |
| H A D | Constant.pm | 517 my ($indent, $comment, $namelen, $items, @items) = @_; 520 my @names = sort map {$_->{name}} @items; 604 my $thisone = $items->{$name}; 656 my ($default_type, $what, $indent, $options, @items) = @_; 662 foreach (@items) { 753 my ($package, $subname, $default_type, $what, $indent, $breakout, @items) 770 $result .= dump_names ($default_type, $what, 0, {declare_types=>1}, @items); 919 my ($package, $subname, $default_type, $what, $indent, $breakout, @items) 927 my ($namelen, $items); 931 ($namelen, $items) = @$breakout; [all …]
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ |
| H A D | universal.c | 98 I32 items = AvFILLp(av) + 1; in S_isa_lookup() local 99 while (items--) { in S_isa_lookup() 223 if (items != 2) in XS() 250 if (items != 2) in XS() 316 if (items > 1) { in XS() 382 if (items != 1) in XS() 399 if (items != 1) in XS() 418 if (items != 1) in XS() 431 if (items != 1) in XS() 447 if (items != 1) in XS() [all …]
|
| H A D | xsutils.c | 151 if( items > 1 ) in XS() 168 if (items < 1) { in XS() 178 if (items > 1) in XS() 179 XSRETURN(modify_SV_attributes(aTHX_ sv, &ST(0), &ST(1), items-1)); in XS() 190 if (items != 1) { in XS() 197 SP -= items; in XS() 237 if (items != 1) { in XS() 295 if (items != 1) { in XS() 325 if (items != 0) { in XS()
|
| /onnv-gate/usr/src/uts/common/os/ |
| H A D | devpolicy.c | 409 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 …]
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/ExtUtils/t/ |
| H A D | Constant.t | 290 my ($name, $items, $export_names, $package, $header, $testfile, $num_tests) 295 C_constant ($package, undef, "IV", $types, undef, undef, @$items); 418 my ($name, $items, $export_names, $header, $testfile) = @_; 419 push @tests, [$name, $items, $export_names, $package, $header, $testfile, 466 my @items = ("FIVE", {name=>"OK6", type=>"PV",}, 487 push @items, $_ foreach keys %compass; 491 my @export_names = map {(ref $_) ? $_->{name} : $_} @items; 494 push @items, @common_items; 673 end_tests("Simple tests", \@items, \@export_names, $header, $test_body); 695 my @items = (@common_items, [all …]
|
| /onnv-gate/usr/src/cmd/man/src/util/nsgmls.src/lib/ |
| H A D | SdText.cxx | 70 const Vector<SdTextItem> &items = ptr_->items_; in next() local 71 if (itemIndex_ >= items.size()) in next() 73 loc = items[itemIndex_].loc; in next() 75 size_t charsIndex = items[itemIndex_].index; in next() 77 if (itemIndex_ + 1 < items.size()) in next() 78 length = items[itemIndex_ + 1].index - charsIndex; in next()
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Tie/File/t/ |
| H A D | 08_ro.t | 16 my @items = qw(Gold Frankincense Myrrh Ivory Apes Peacocks); 17 init_file(join $:, @items, ''); 23 $#a == $#items ? print "ok $N\n" : print "not ok $N\n"; 26 for my $i (0..$#items) { 27 ("$items[$i]$:" eq $a[$i]) ? print "ok $N\n" : print "not ok $N\n";
|
| /onnv-gate/usr/src/cmd/th_tools/ |
| H A D | th_define.c | 380 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 …]
|
| /onnv-gate/usr/src/lib/libeti/menu/common/ |
| H A D | newmenu.c | 40 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 D | connect.c | 64 _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()
|
| /onnv-gate/usr/src/lib/libshell/common/tests/ |
| H A D | cubetype.sh | 37 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 …]
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/List/Util/ |
| H A D | Util.xs | 119 if(!items) { in min() 124 for(index = 1 ; index < items ; index++) { in min() 145 if(!items) { in sum() 150 for(index = 1 ; index < items ; index++) { in sum() 169 if(!items) { in minstr() 181 for(index = 1 ; index < items ; index++) { in minstr() 189 for(index = 1 ; index < items ; index++) { in minstr() 221 if(items <= 1) { in reduce() 247 for(index = 2 ; index < items ; index++) { in reduce() 276 if(items <= 1) { in first() [all …]
|
| /onnv-gate/usr/src/cmd/krb5/kadmin/gui/visualrt/sunsoft/jws/visual/rt/shadow/java/awt/ |
| H A D | ListShadow.java | 198 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()
|