/external/guava/guava-tests/test/com/google/common/collect/ |
TableCollectionTest.java | 121 @Override protected Set<String> create(String[] elements) { 124 ImmutableList.copyOf(elements), ImmutableList.of(1, 2)); 125 populateForRowKeySet(table, elements); 137 @Override protected Set<String> create(String[] elements) { 139 populateForRowKeySet(table, elements); 148 @Override protected Set<String> create(String[] elements) { 150 populateForRowKeySet(table, elements); 164 @Override protected Set<String> create(String[] elements) { 167 populateForRowKeySet(table, elements); 182 @Override protected Set<String> create(String[] elements) { [all...] |
ListsTest.java | 107 @Override protected List<String> create(String[] elements) { 108 String[] rest = new String[elements.length - 1]; 109 Platform.unsafeArrayCopy(elements, 1, rest, 0, elements.length - 1); 110 return Lists.asList(elements[0], rest); 119 @Override protected List<String> create(String[] elements) { 120 String[] rest = new String[elements.length - 2]; 121 Platform.unsafeArrayCopy(elements, 2, rest, 0, elements.length - 2); 122 return Lists.asList(elements[0], elements[1], rest) [all...] |
MinMaxPriorityQueueTest.java | 190 * this map would contain the same exact elements as the MinMaxHeap; the 522 @Override protected void verify(List<T> elements) { 523 assertEquals(Sets.newHashSet(elements), 581 ArrayList<Integer> elements = createOrderedList(size); local 582 List<Integer> expected = ImmutableList.copyOf(elements); 584 long seed = insertRandomly(elements, q); 586 elements.add(q.pollFirst()); 588 assertEquals("Using seed " + seed, expected, elements); 596 ArrayList<Integer> elements = createOrderedList(size); local 597 List<Integer> expected = ImmutableList.copyOf(elements); 611 ArrayList<Integer> elements = createOrderedList(size); local 628 ArrayList<Integer> elements = createOrderedList(size); local 643 ArrayList<Integer> elements = createOrderedList(size); local 688 List<Integer> elements = Lists.newArrayListWithCapacity(size); local 733 ArrayList<Integer> elements = new ArrayList<Integer>(size); local [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
SortedMapGenerators.java | 59 @Override protected Set<String> create(String[] elements) { 61 for (String key : elements) { 81 public Collection<String> create(Object... elements) { 83 for (int i = 0; i < elements.length; i++) { 84 builder.put(i, toStringOrNull(elements[i])); 128 @Override protected Set<String> create(String[] elements) { 131 for (String key : elements) { 152 public Collection<String> create(Object... elements) { 155 for (int i = 0; i < elements.length; i++) { 156 builder.put(i, toStringOrNull(elements[i])) [all...] |
/external/proguard/src/proguard/gui/ |
ListPanel.java | 89 // Remove the selected elements. 109 // Move the selected elements up. 130 // Move the selected elements down. 159 // Remove the selected elements from this panel. 162 // Add the elements to the other panel. 209 protected void addElements(Object[] elements) 211 // Add the elements one by one. 212 for (int index = 0; index < elements.length; index++) 214 listModel.addElement(elements[index]); 218 int[] selectedIndices = new int[elements.length] [all...] |
/external/libvorbis/vq/ |
vqgen.c | 57 #define vN(data,i) (data+v->elements*i) 62 int el=v->elements; 79 memcpy(_now(v,i),_point(v,i),sizeof(float)*v->elements); 179 for(k=0;k<v->elements;k++){ 201 for(k=0;k<v->elements;k++){ 231 for(k=0;k<v->elements;k++){ 240 void vqgen_init(vqgen *v,int elements,int aux,int entries,float mindist, 246 v->elements=elements; 250 v->pointlist=_ogg_malloc(v->allocated*(v->elements+v->aux)*sizeof(float)) [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/processor/ |
XSLTElementDef.java | 32 * mapping between Xalan classes and the markup elements in the XSLT instance. 33 * This actually represents both text nodes and elements. 50 * @param elements An array of allowed child element defs, or null. 56 XSLTElementDef[] elements, XSLTAttributeDef[] attributes, 59 build(namespace, name, nameAlias, elements, attributes, contentHandler, 78 * @param elements An array of allowed child element defs, or null. 82 * @param has_required true if this element has required elements by the XSLT specification. 85 XSLTElementDef[] elements, XSLTAttributeDef[] attributes, 89 build(namespace, name, nameAlias, elements, attributes, contentHandler, 109 * @param elements An array of allowed child element defs, or null [all...] |
/external/guava/guava/src/com/google/common/collect/ |
EnumMultiset.java | 42 * Creates a new {@code EnumMultiset} containing the specified elements. 44 * <p>This implementation is highly efficient when {@code elements} is itself a {@link 47 * @param elements the elements that the multiset should contain 48 * @throws IllegalArgumentException if {@code elements} is empty 50 public static <E extends Enum<E>> EnumMultiset<E> create(Iterable<E> elements) { 51 Iterator<E> iterator = elements.iterator(); 54 Iterables.addAll(multiset, elements); 75 * elements, the first element, its count, the second element, its
|
ForwardingList.java | 70 public boolean addAll(int index, Collection<? extends E> elements) { 71 return delegate().addAll(index, elements); 144 int index, Iterable<? extends E> elements) { 145 return Lists.addAllImpl(this, index, elements);
|
/external/junit/src/org/junit/internal/matchers/ |
IsCollectionContaining.java | 58 public static <T> Matcher<Iterable<T>> hasItems(T... elements) { 60 = new ArrayList<Matcher<? extends Iterable<T>>>(elements.length); 61 for (T element : elements) {
|
/libcore/luni/src/main/java/java/util/concurrent/ |
CopyOnWriteArraySet.java | 58 * @param <E> the type of elements held in this collection 74 * Creates a set containing all of the elements of the specified 77 * @param c the collection of elements to initially contain 86 * Returns the number of elements in this set. 88 * @return the number of elements in this set 95 * Returns <tt>true</tt> if this set contains no elements. 97 * @return <tt>true</tt> if this set contains no elements 117 * Returns an array containing all of the elements in this set. 118 * If this set makes any guarantees as to what order its elements 120 * elements in the same order 336 Object[] elements = al.getArray(); local [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
ANTLRRewriteRuleElementStream.h | 33 } Elements; 38 BOOL dirty; ///< indicates whether the stream should return copies of its elements, set to true after a call to -reset 40 Elements elements; variable 49 @property (assign, getter=GetElement, setter=SetElement:) Elements elements; variable 60 elements:(NSArray *)theElements; 64 - (id) initWithTreeAdaptor:(id<ANTLRTreeAdaptor>)aTreeAdaptor description:(NSString *)anElementDescription elements:(NSArray *)theElements;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/ |
ANTLRRewriteRuleElementStream.h | 33 } Elements; 38 BOOL dirty; ///< indicates whether the stream should return copies of its elements, set to true after a call to -reset 40 Elements elements; variable 49 @property (assign, getter=GetElement, setter=SetElement:) Elements elements; variable 60 elements:(NSArray *)theElements; 64 - (id) initWithTreeAdaptor:(id<ANTLRTreeAdaptor>)aTreeAdaptor description:(NSString *)anElementDescription elements:(NSArray *)theElements;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/ |
ANTLRRewriteRuleElementStream.h | 33 } Elements; 38 BOOL dirty; ///< indicates whether the stream should return copies of its elements, set to true after a call to -reset 40 Elements elements; variable 49 @property (assign, getter=GetElement, setter=SetElement:) Elements elements; variable 60 elements:(NSArray *)theElements; 64 - (id) initWithTreeAdaptor:(id<ANTLRTreeAdaptor>)aTreeAdaptor description:(NSString *)anElementDescription elements:(NSArray *)theElements;
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/ |
IntSet.java | 47 /** Add all elements from incoming set to this set. Can limit 57 IntSet complement(IntSet elements);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
ASN1EncodableVector.java | 21 for (Enumeration en = other.v.elements(); en.hasMoreElements();)
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/scripts/ |
Fingerprints.js | 2 var formSelect=document.forms[0].elements[0]; 30 var formSelect=document.forms[0].elements[0];
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
ListEqualsTester.java | 39 "A List should equal any other List containing the same elements.", 48 "A List should not equal another List containing different elements.", 64 ArrayList<E> elements = new ArrayList<E>(getSampleElements()); local 65 elements.set(elements.size() / 2, null); 66 collection = getSubjectGenerator().create(elements.toArray());
|
/external/jmonkeyengine/engine/src/test/jme3test/animation/ |
SubtitleTrack.java | 10 import de.lessvoid.nifty.elements.render.TextRenderer;
|
/libcore/luni/src/test/java/tests/api/java/util/ |
NoSuchElementExceptionTest.java | 35 v.elements().nextElement();
|
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/ |
ImapTestUtils.java | 66 public static final ImapList buildList(ImapElement... elements) { 68 for (ImapElement e : elements) { 76 ImapElement... elements) { 78 for (ImapElement e : elements) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
HorizontalScrollViewRule.java | 69 public DropFeedback onDropMove(@NonNull INode targetNode, @NonNull IDragElement[] elements, 71 DropFeedback f = super.onDropMove(targetNode, elements, feedback, p); 84 IDragElement[] elements, 93 super.drawFeedback(gc, targetNode, elements, feedback);
|
IgnoredLayoutRule.java | 38 @Nullable IDragElement[] elements) {
|
ScrollViewRule.java | 69 public DropFeedback onDropMove(@NonNull INode targetNode, @NonNull IDragElement[] elements, 71 DropFeedback f = super.onDropMove(targetNode, elements, feedback, p); 84 IDragElement[] elements, 93 super.drawFeedback(gc, targetNode, elements, feedback);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/ |
WorkingSetHelper.java | 87 List<?> elements = treeSelection.toList(); 88 if (elements.size() == 1) { 89 Object element= elements.get(0); 110 for (Iterator<?> iterator = elements.iterator(); iterator.hasNext();) {
|