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

12345

/openjdk10/langtools/test/tools/javac/diags/examples/
H A DVarargsNonReifiableType.java28 void m(T... items) { argument
H A DUncheckedGenericArrayCreation.java33 void show(T... items) { argument
/openjdk10/jdk/src/jdk.jdwp.agent/share/native/libjdwp/
H A Dbag.c32 void *items; /* hold items in bag, must align on itemSize */ member in struct:bag
33 int used; /* number of items in bag */
45 theBag->items = jvmtiAllocate(initialAllocation * itemSize);
46 if (theBag->items == NULL) {
63 (void)memcpy(newBag->items, oldBag->items, newBag->used * newBag->itemSize);
72 jvmtiDeallocate(theBag->items);
80 char *items = theBag->items; local
98 void *items = theBag->items; local
125 void *items = theBag->items; local
149 char *items = theBag->items; local
[all...]
/openjdk10/jdk/test/javax/swing/JComboBox/8033069/
H A Dbug8033069ScrollBar.java50 public bug8033069ScrollBar(String[] items) throws AWTException { argument
51 super(items);
H A Dbug8033069NoScrollBar.java58 private final String[] items; field in class:bug8033069NoScrollBar
81 public bug8033069NoScrollBar(String[] items) throws AWTException { argument
82 this.items = items;
92 cb1 = new JComboBox<>(items);
93 cb2 = new JComboBox<>(items);
/openjdk10/jdk/src/jdk.internal.le/share/classes/jdk/internal/jline/console/history/
H A DMemoryHistory.java30 private final LinkedList<CharSequence> items = new LinkedList<CharSequence>(); field in class:MemoryHistory
78 return items.size();
82 return items.isEmpty();
90 items.clear();
96 return items.get(index - offset);
100 items.set(index - offset, item);
111 if (!items.isEmpty() && item.equals(items.getLast())) {
120 return items.remove(i);
124 return items
[all...]
/openjdk10/jdk/src/java.base/share/classes/java/util/concurrent/
H A DArrayBlockingQueue.java96 * even for the items array, which is default-serialized, even if
102 /** The queued items */
103 final Object[] items; field in class:ArrayBlockingQueue
105 /** items index for next take, poll, peek or remove */
108 /** items index for next put, offer, or add */
160 return (E) items[i];
168 static <E> E itemAt(Object[] items, int i) { argument
169 return (E) items[i];
179 // assert items[putIndex] == null;
180 final Object[] items
679 circularClear(Object[] items, int i, int end) argument
[all...]
/openjdk10/hotspot/test/gc/g1/plab/lib/
H A DAppPLABPromotion.java74 int items = (int) ((memSize - 1) / (realSize)) + 1;
77 storage = new MemoryConsumer(items, (int) chunkSize);
83 storage.consume(items * chunkSize);
H A DAppPLABResize.java87 int items;
89 items = (int) ((memoryToFill + change * ITERATIONS) / CHUNK) + 1;
91 items = (int) (memoryToFill / CHUNK) + 1;
96 MemoryConsumer storage = new MemoryConsumer(items, (int) CHUNK);
/openjdk10/jdk/test/java/beans/Introspector/
H A DTest8039776.java60 public void setValue(SortedSet<Object> items) { argument
61 super.setValue(items);
/openjdk10/jdk/test/java/util/concurrent/ConcurrentQueues/
H A DConcurrentQueueLoops.java37 * @summary Checks that a set of threads can repeatedly get and modify items
73 int items = 1024 * 1024; field in class:ConcurrentQueueLoops
79 queues.add(new ArrayBlockingQueue<Integer>(items, false));
98 items = Integer.parseInt(args[1]);
111 oneRun(1, items, q);
112 oneRun(3, items, q);
116 oneRun(i, items, q);
125 int items; field in class:ConcurrentQueueLoops.Stage
126 Stage(Queue<Integer> q, CyclicBarrier b, int items) { argument
129 this.items
165 oneRun(int n, int items, final Queue<Integer> q) argument
[all...]
/openjdk10/nashorn/samples/
H A Dgutenberg.js61 var items = [];
87 items.push({ title: title, link: link });
93 return items;
99 var items = readRssFeed(url);
107 for each (i in items) {
/openjdk10/jdk/test/javax/accessibility/JList/
H A DAccessibleJListChildNPETest.java79 private List<String> items = new ArrayList<>(); field in class:AccessibleJListChildNPETest.MyModel
83 items.addAll(newItems);
89 items.remove(0);
96 return items.size();
101 return items.get(index);
/openjdk10/jdk/src/jdk.jcmd/share/classes/sun/tools/jstat/
H A DJStatLogger.java58 List<Monitor> items = monitoredVm.findByPattern(names);
59 Collections.sort(items, comparator);
61 for (Monitor m: items) {
78 List<Monitor> items = monitoredVm.findByPattern(names);
79 Collections.sort(items, comparator);
81 printList(items, verbose, showUnsupported, out);
/openjdk10/jdk/test/java/lang/management/GarbageCollectorMXBean/
H A DGcInfoCompositeType.java93 Set<String> items = new HashSet<String>(ct.keySet());
94 System.out.println("Items at start: " + items);
101 // Also track which items had corresponding getters, to make sure
107 items.remove(key);
112 if (items.isEmpty()) {
113 System.out.println("No type-specific items");
116 System.out.println("Type-specific items: " + items);
/openjdk10/jdk/src/java.management/share/classes/javax/management/openmbean/
H A DCompositeDataSupport.java77 * As a {@code CompositeType} does not specify any order on its items,
80 * The items contained in this {@code CompositeDataSupport} instance are
97 * @param itemValues the values of the items, listed in the same order as
109 * {@code itemValues[]}'s size differs from the number of items defined in
152 * are given by the mappings in the map {@code items}.
158 * @param items the mappings of all the item names to their values;
159 * {@code items} must contain all the item names defined in {@code compositeType};
163 * {@code items} is null or empty, or one of the keys in {@code items} is a null
165 * @throws OpenDataException {@code items}' siz
174 CompositeDataSupport(CompositeType compositeType, Map<String,?> items) argument
180 makeMap(Map<String, ?> items) argument
199 CompositeDataSupport( SortedMap<String, Object> items, CompositeType compositeType) argument
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/java/awt/
H A DMenu.java77 return menu.items;
83 * A vector of the items that will be part of the Menu.
88 private final Vector<MenuItem> items = new Vector<>(); field in class:Menu
222 * Get the number of items in this menu.
223 * @return the number of items in this menu
231 * Returns the number of items in this menu.
233 * @return the number of items in this menu
247 return items.size();
264 return items.elementAt(index);
282 items
[all...]
/openjdk10/jaxws/src/jdk.xml.bind/share/classes/com/sun/xml/internal/xsom/impl/scd/
H A DIterators.java163 * Only return unique items.
201 private final T[] items; field in class:Iterators.Array
203 public Array(T[] items) { argument
204 this.items = items;
208 return index<items.length;
212 return items[index++];
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/
H A DOptMapInfo.java58 final char[]items = EncodingHelper.caseFoldCodesByString(caseFoldFlag & ~Config.INTERNAL_ENC_CASE_FOLD_MULTI_CHAR, chars[p]);
60 for (int i=0; i<items.length; i++) {
61 addChar(items[i]);
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/
H A DDefaultComboBoxModel.java56 * @param items an array of Object objects
58 public DefaultComboBoxModel(final E items[]) { argument
59 objects = new Vector<E>(items.length);
62 for ( i=0,c=items.length;i<c;i++ )
63 objects.addElement(items[i]);
/openjdk10/jdk/test/java/awt/Mouse/MouseComboBoxTest/
H A DMouseComboBoxTest.java41 private static final String[] items = {"One", "Two", "Three", "Four", "Five"}; field in class:MouseComboBoxTest
61 for (int i = 0; i < items.length; i++) {
90 int step = size.height / items.length;
114 comboBox = new JComboBox(items);
/openjdk10/jdk/src/java.desktop/unix/classes/sun/awt/X11/
H A DXTaskbarPeer.java140 MenuItem[] items = new MenuItem[msize];
142 items[i] = menu.getItem(i);
144 setNativeMenu(items);
179 private native void setNativeMenu(MenuItem[] items); argument
H A DListHelper.java38 * Class to paint a list of items, possibly with scrollbars
39 * This class paints all items with the same font
40 * For now, this class manages the list of items and painting thereof, but not
49 // of items
51 // of items and item's bg, and between
52 // items
58 private java.util.List<String> items; // List of items field in class:ListHelper
61 private java.util.List<Integer> selected; // List of selected items
62 private boolean multiSelect; // Can multiple items b
[all...]
/openjdk10/jdk/src/java.base/share/native/libzip/zlib/
H A Dzutil.c242 voidpf ZLIB_INTERNAL zcalloc (voidpf opaque, unsigned items, unsigned size) argument
245 ulg bsize = (ulg)items*size;
305 voidpf ZLIB_INTERNAL zcalloc (voidpf opaque, uInt items, uInt size) argument
308 return _halloc((long)items, size);
326 extern voidp calloc OF((uInt items, uInt size));
330 voidpf ZLIB_INTERNAL zcalloc (opaque, items, size)
332 unsigned items;
336 return sizeof(uInt) > 2 ? (voidpf)malloc(items * size) :
337 (voidpf)calloc(items, size);
/openjdk10/jdk/src/java.management/share/classes/javax/management/
H A DInQueryExp.java62 public InQueryExp(ValueExp v1, ValueExp items[]) { argument
64 valueList = items;

Completed in 329 milliseconds

12345