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

12

/openjdk7/langtools/test/tools/javac/diags/examples/
H A DVarargsNonReifiableType.java28 void m(T... items) { argument
H A DUncheckedGenericArrayCreation.java33 void show(T... items) { argument
/openjdk7/langtools/test/tools/javac/
H A DT6705935.java90 private <T> List<T> asList(Iterable<? extends T> items) { argument
92 for (T item: items)
/openjdk7/jdk/src/share/classes/javax/management/
H A DInQueryExp.java62 public InQueryExp(ValueExp v1, ValueExp items[]) { argument
64 valueList = items;
/openjdk7/jdk/make/tools/src/build/tools/jdwpgen/
H A DParse.java92 RootNode items() throws IOException { method in class:Parse
/openjdk7/langtools/test/tools/javac/api/
H A DTestJavacTask_ParseAttrGen.java114 <T> int count(Iterable<T> items) { argument
116 for (T item: items)
/openjdk7/jdk/src/share/classes/javax/swing/
H A DDefaultComboBoxModel.java55 * @param items an array of Object objects
57 public DefaultComboBoxModel(final E items[]) { argument
58 objects = new Vector<E>(items.length);
61 for ( i=0,c=items.length;i<c;i++ )
62 objects.addElement(items[i]);
/openjdk7/jdk/src/share/classes/javax/management/openmbean/
H A DCompositeDataSupport.java77 * As a <tt>CompositeType</tt> does not specify any order on its items,
80 * The items contained in this <tt>CompositeDataSupport</tt> instance are
97 * @param itemValues the values of the items, listed in the same order as
109 * <tt>itemValues[]</tt>'s size differs from the number of items defined in
151 * are given by the mappings in the map <tt>items</tt>.
157 * @param items the mappings of all the item names to their values;
158 * <tt>items</tt> must contain all the item names defined in <tt>compositeType</tt>;
162 * <tt>items</tt> is null or empty, or one of the keys in <tt>items</tt> is a null
164 * @throws OpenDataException <tt>items</t
173 CompositeDataSupport(CompositeType compositeType, Map<String,?> items) argument
179 makeMap(Map<String, ?> items) argument
198 CompositeDataSupport( SortedMap<String, Object> items, CompositeType compositeType) argument
[all...]
/openjdk7/jdk/src/share/back/
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...]
/openjdk7/jdk/src/share/classes/sun/tools/tree/
H A DFieldUpdater.java121 * Duplicate <code>items</code> words from the top of the stack, locating them
128 private void codeDup(Assembler asm, int items, int depth) { argument
129 switch (items) {
161 throw new CompilerError("can't dup: " + items + ", " + depth);
/openjdk7/hotspot/src/share/vm/adlc/
H A Darena.cpp111 void *Arena::Acalloc( size_t items, size_t x ) { argument
112 size_t z = items*x; // Total size needed
/openjdk7/jaxws/src/share/jaxws_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++];
H A DAbstractAxisImpl.java68 protected final Iterator<T> union(T... items) { argument
69 return new Iterators.Array<T>(items);
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWChoicePeer.java73 public native void addItems(String[] items, int index); argument
91 String[] items = new String[itemCount];
93 items[i] = opt.getItem(i);
95 addItems(items, 0);
H A DWListPeer.java89 native void addItems(String[] items, int index, int width); argument
135 // add any items that were already inserted in the target.
138 String[] items = new String[nitems];
142 items[i] = li.getItem(i);
143 width = fm.stringWidth(items[i]);
148 addItems(items, 0, maxWidth);
/openjdk7/jdk/src/share/native/java/util/zip/zlib-1.2.3/
H A Dzutil.c240 voidpf zcalloc (voidpf opaque, unsigned items, unsigned size) argument
243 ulg bsize = (ulg)items*size;
299 voidpf zcalloc (voidpf opaque, unsigned items, unsigned size) argument
302 return _halloc((long)items, size);
320 extern voidp calloc OF((uInt items, uInt size));
324 voidpf zcalloc (opaque, items, size)
326 unsigned items;
329 if (opaque) items += size - size; /* make compiler happy */
330 return sizeof(uInt) > 2 ? (voidpf)malloc(items * size) :
331 (voidpf)calloc(items, siz
[all...]
/openjdk7/jdk/test/java/util/concurrent/ConcurrentQueues/
H A DConcurrentQueueLoops.java38 * @summary Checks that a set of threads can repeatedly get and modify items
54 int items = 1024 * 1024; field in class:ConcurrentQueueLoops
60 queues.add(new ArrayBlockingQueue<Integer>(items, false));
79 items = Integer.parseInt(args[1]);
92 oneRun(1, items, q);
94 oneRun(3, items, q);
99 oneRun(i, items, q);
108 int items; field in class:ConcurrentQueueLoops.Stage
109 Stage(Queue<Integer> q, CyclicBarrier b, int items) { argument
112 this.items
148 oneRun(int n, int items, final Queue<Integer> q) argument
[all...]
/openjdk7/hotspot/agent/src/share/classes/com/sun/java/swing/ui/
H A DCommonUI.java179 public static JComboBox createComboBox(Object items[], ActionListener listener, boolean editable) argument
181 JComboBox comboBox = new JComboBox(items);
188 public static JComboBox createComboBox(Object items[], boolean editable) argument
190 return createComboBox(items, null, editable);
193 public static JComboBox createComboBox(Vector items, ActionListener listener, boolean editable) argument
195 JComboBox comboBox = new JComboBox(items);
202 public static JComboBox createComboBox(Vector items, boolean editable) argument
204 return createComboBox(items, null, editable);
/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DArrayBlockingQueue.java80 * even for the items array, which is default-serialized, even if
86 /** The queued items */
87 final Object[] items; field in class:ArrayBlockingQueue
89 /** items index for next take, poll, peek or remove */
92 /** items index for next put, offer, or add */
116 return (++i == items.length) ? 0 : i;
123 return ((i == 0) ? items.length : i) - 1;
135 return this.<E>cast(items[i]);
153 items[putIndex] = x;
164 final Object[] items
[all...]
/openjdk7/jdk/src/share/classes/java/awt/
H A DMenu.java70 return menu.items;
76 * A vector of the items that will be part of the Menu.
81 Vector items = new Vector(); field in class:Menu
216 * Get the number of items in this menu.
217 * @return the number of items in this menu.
238 return items.size();
255 return (MenuItem)items.elementAt(index);
273 items.addElement(mi);
329 /* Add the removed items back to the menu, they are
395 /* Add the removed items bac
[all...]
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DScreenMenu.java87 * way, such as the number of menu items, the text of the menuitems, icon, shortcut etc.
89 static boolean needsUpdate(final Component items[], final int childHashArray[]) { argument
90 if (items == null || childHashArray == null) {
93 if (childHashArray.length != items.length) {
96 for (int i = 0; i < items.length; i++) {
97 final int hashCode = getHashCode(items[i]);
111 final Component[] items = fInvoker.getMenuComponents();
112 if (needsUpdate(items, childHashArray)) {
118 addItem(items[i]);
119 childHashArray[i] = getHashCode(items[
[all...]
/openjdk7/hotspot/src/share/vm/services/
H A DmemPtrArray.hpp293 void* raw_allocate(size_t elementSize, int items) { argument
294 return os::malloc(elementSize * items, mtNMT);
297 void* raw_reallocate(void* ptr, size_t elementSize, int items) { argument
298 return os::realloc(ptr, elementSize * items, mtNMT);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/api/
H A DJavacTaskImpl.java181 <T> String toString(Iterable<T> items, String sep) { argument
184 for (T item: items) {
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXMenuBarPeer.java82 MappingData(XMenuItemPeer[] items, int desiredHeight) { argument
83 super(items);
88 * Constructs MappingData without items
135 * So we need to synchronize indicies in 'items'
267 //Cut-off items that don't fit in window
322 * size of items has changed.
H A DXMenuWindow.java109 MappingData(XMenuItemPeer[] items, Rectangle captionRect, Dimension desiredSize, int leftMarkWidth, int shortcutOrigin, int rightMarkOrigin) { argument
110 super(items);
119 * Constructs MappingData without items
303 * It's likely that size of items was changed
356 * Reads vector of items from target

Completed in 304 milliseconds

12