Searched defs:add (Results 51 - 75 of 107) sorted by relevance

12345

/libcore/ojluni/src/main/java/sun/nio/ch/
H A DFileLockTable.java56 public abstract void add(FileLock fl) throws OverlappingFileLockException; method in class:FileLockTable
124 public void add(FileLock fl) throws OverlappingFileLockException { method in class:SharedFileLockTable
136 // we successfully created the key so we add the file lock
137 list.add(new FileLockReference(fl, queue, fileKey));
148 // and add the new lock to the list.
153 list.add(new FileLockReference(fl, queue, fileKey));
214 // add to result
215 result.add(lock);
H A DEPollArrayWrapper.java222 void add(int fd) { method in class:EPollArrayWrapper
/libcore/ojluni/src/main/java/sun/security/ec/
H A DNamedCurve.java120 private static void add(String name, String soid, int type, String sfield, method in class:NamedCurve
149 // add entry if none present for this field size or if
165 add("secp112r1", "1.3.132.0.6", P,
174 add("secp112r2", "1.3.132.0.7", P,
183 add("secp128r1", "1.3.132.0.28", P,
192 add("secp128r2", "1.3.132.0.29", P,
201 add("secp160k1", "1.3.132.0.9", P,
210 add("secp160r1", "1.3.132.0.8", P,
219 add("secp160r2", "1.3.132.0.30", P,
228 add("secp192k
[all...]
/libcore/ojluni/src/main/java/sun/security/x509/
H A DGeneralSubtrees.java82 add(tree);
94 public void add(GeneralSubtree tree) { method in class:GeneralSubtrees
98 trees.add(tree);
329 // Step 1: If this is empty, just add everything in other to this and
343 // remove it, and whether we add anything to newExcluded or newThis.
345 // other. We add an entry to newExcluded if there is at least one
348 // We add an entry from other to newThis if there is no name of the
355 // thisEntry, remove thisEntry and add widest other to newThis.
368 newThis.add(otherEntryGS);
393 // If not, then we need to add
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DCalendarTest.java754 public void add(int field, int value) { method in class:CalendarTest.MockCalendar
1066 trimValue.add(value);
H A DArrayListTest.java52 subList.add(new Integer(i));
102 * java.util.ArrayList#add(int, java.lang.Object)
105 // Test for method void java.util.ArrayList.add(int, java.lang.Object)
107 alist.add(50, o = new Object());
108 assertTrue("Failed to add Object", alist.get(50) == o);
113 alist.add(25, null);
118 alist.add(0, o = new Object());
119 assertEquals("Failed to add Object", alist.get(0), o);
124 alist.add(0, null);
130 alist.add(
1003 public boolean add(Object o) { method in class:ArrayListTest.ArrayListExtend
[all...]
/libcore/luni/src/main/java/java/math/
H A DNativeBN.java123 long add, long rem, long cb);
125 // const BIGNUM *add, const BIGNUM *rem, BN_GENCB *cb);
122 BN_generate_prime_ex(long ret, int bits, boolean safe, long add, long rem, long cb) argument
H A DBigInt.java256 void add(BigInt a) { method in class:BigInt
/libcore/luni/src/main/java/java/util/concurrent/
H A DConcurrentSkipListSet.java34 * cost for the {@code contains}, {@code add}, and {@code remove}
213 public boolean add(E e) { method in class:ConcurrentSkipListSet
H A DConcurrentLinkedQueue.java247 * @return {@code true} (as specified by {@link Collection#add})
250 public boolean add(E e) { method in class:ConcurrentLinkedQueue
357 * and the need to add a retry loop to deal with the possibility
H A DCopyOnWriteArrayList.java54 * ListIterator#add} and {@link ListIterator#set} all throw {@link
74 * example, 100 threads simultaneously calling add() will grow the list's
197 * <p>The returned iterator does not support {@link ListIterator#add},
270 public synchronized boolean add(E e) { method in class:CopyOnWriteArrayList
278 public synchronized void add(int index, E e) { method in class:CopyOnWriteArrayList
338 add(object);
626 @Override public void add(int index, E object) { method in class:CopyOnWriteArrayList.CowSubList
630 CopyOnWriteArrayList.this.add(index + slice.from, object);
635 @Override public boolean add(E object) { method in class:CopyOnWriteArrayList.CowSubList
637 add(slic
775 public void add(E object) { method in class:CopyOnWriteArrayList.CowIterator
[all...]
/libcore/luni/src/main/java/javax/xml/datatype/
H A DXMLGregorianCalendar.java862 * @param duration Duration to add to this <code>XMLGregorianCalendar</code>.
866 public abstract void add(Duration duration); method in class:XMLGregorianCalendar
/libcore/luni/src/test/java/libcore/java/util/
H A DCalendarTest.java57 calendar.add(Calendar.DATE, 1);
73 calendar.add(Calendar.DATE, 1);
82 calendar.add(Calendar.DATE, 1);
91 calendar.add(Calendar.DATE, 1);
100 calendar.add(Calendar.AM_PM, 2);
109 calendar.add(Calendar.HOUR, 24);
118 calendar.add(Calendar.DATE, 1);
119 calendar.add(Calendar.DATE, 1);
120 // The RI fails this test by returning 47.0. It adjusts for DST on both of the add() calls!
129 calendar.add(Calenda
360 public void add(int field, int value) { method in class:CalendarTest.FakeCalendar
[all...]
H A DSpliteratorsTest.java165 public void add(int element) { method in class:SpliteratorsTest.PrimitiveIntArrayList
183 public void add(long element) { method in class:SpliteratorsTest.PrimitiveLongArrayList
201 public void add(double element) { method in class:SpliteratorsTest.PrimitiveDoubleArrayList
224 recorder.add(1);
225 recorder.add(2);
229 assertTrue(split1.tryAdvance((int value) -> recorder.add(value)));
230 assertTrue(split1.tryAdvance((Integer value) -> recorder.add(value)));
235 split2.forEachRemaining((int value) -> recorder.add(value));
241 split1.forEachRemaining((int value) -> recorder.add(value));
242 intSp.forEachRemaining((int value) -> recorder.add(valu
[all...]
/libcore/ojluni/src/main/java/java/lang/
H A DThreadGroup.java132 parent.add(this);
815 private final void add(ThreadGroup g){ method in class:ThreadGroup
885 * and the Virtual Machine. It is called from VM to add
894 void add(Thread t) { method in class:ThreadGroup
/libcore/ojluni/src/main/java/java/util/
H A DAbstractList.java43 * {@link #add(int, Object) add(int, E)} and {@link #remove(int)} methods.
55 * {@link #add(int, Object) add(int, E)} and
85 * lists will refuse to add null elements, and others will impose
90 * <p>This implementation calls {@code add(size(), e)}.
94 * {@link #add(int, Object) add(int, E)} is overridden.
97 * @return {@code true} (as specified by {@link Collection#add})
98 * @throws UnsupportedOperationException if the {@code add} operatio
107 public boolean add(E e) { method in class:AbstractList
147 public void add(int index, E element) { method in class:AbstractList
433 public void add(E e) { method in class:AbstractList.ListItr
649 public void add(int index, E element) { method in class:SubList
[all...]
H A DTreeSet.java35 * operations ({@code add}, {@code remove} and {@code contains}).
117 * {@code e2} in the set. If the user attempts to add an element
119 * attempts to add a string element to a set whose elements are
120 * integers), the {@code add} call will throw a
132 * {@code e1} and {@code e2} in the set. If the user attempts to add
134 * {@code add} call will throw a {@code ClassCastException}.
254 public boolean add(E e) { method in class:TreeSet
/libcore/ojluni/src/main/java/java/util/logging/
H A DLevel.java189 * add new logging levels, they may subclass Level and define new
230 KnownLevel.add(this);
315 // add new Level
414 // add new Level
491 static synchronized void add(Level l) { method in class:Level.KnownLevel
500 list.add(o);
507 list.add(o);
/libcore/ojluni/src/main/java/java/util/stream/
H A DDoubleStream.java870 * @param t the element to add
875 default Builder add(double t) { method in interface:DoubleStream.Builder
H A DStream.java721 * List<String> asList = stringStream.collect(ArrayList::new, ArrayList::add,
1120 * @param t the element to add
1125 default Builder<T> add(T t) { method in interface:Stream.Builder
H A DStreams.java377 public Stream.Builder<T> add(T t) { method in class:Streams.StreamBuilderImpl
842 * even if the first throws an exception, and if both throw exceptions, add
871 * even if the first throws an exception, and if both throw exceptions, add
/libcore/ojluni/src/main/java/javax/security/auth/
H A DSubject.java84 * // add a Principal and credential to the Subject
85 * subject.getPrincipals().add(principal);
86 * subject.getPublicCredentials().add(credential);
576 // so LoginModules can add to the Set if necessary
609 // so LoginModules can add to the Set if necessary
630 // so LoginModules can add to the Set if necessary
670 // so LoginModules can add to the Set if necessary
703 // so LoginModules can add to the Set if necessary
748 // so LoginModules can add to the Set if necessary
1061 public boolean add( method in class:Subject.SecureSet
1386 public boolean add(T o) { method in class:Subject.ClassSet
[all...]
/libcore/ojluni/src/main/java/sun/net/www/
H A DMessageHeader.java260 l.add(values[i]);
276 l.add(entry.getValue());
302 public synchronized void add(String k, String v) { method in class:MessageHeader
332 add(k, v);
396 add(k, v);
405 add(k, v);
505 add(k, v);
H A DMimeTable.java125 public synchronized void add(MimeEntry m) { method in class:MimeTable
225 // This is not currently used, but may in the future when we add ability
323 add(newEntry);
327 // REMIND add exception handling...
/libcore/ojluni/src/main/java/sun/security/jca/
H A DProviderList.java50 * cloning and synchronization in consumers. The add() and remove() style
90 public static ProviderList add(ProviderList providerList, Provider p) { method in class:ProviderList
105 list.add(position, new ProviderConfig(p));
187 configList.add(config);
217 newConfigs.add(newConfig);
361 ids.add(new ServiceId(type, alg));
416 services.add(firstService);
418 services.add(s);

Completed in 689 milliseconds

12345