/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRRewriteRuleSubtreeStream.h | 43 elements:(NSArray *)theElements; 47 - (id) initWithTreeAdaptor:(id<ANTLRTreeAdaptor>)aTreeAdaptor description:(NSString *)anElementDescription elements:(NSArray *)theElements;
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
NoSuchElementExceptionTest.java | 33 v.elements().nextElement();
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
MyPermissionCollection.java | 37 public Enumeration<Permission> elements() { method in class:MyPermissionCollection
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
OneSizeGenerator.java | 55 public T create(Object... elements) { 56 return generator.create(elements); 66 Collection<E> elements = getSampleElements( local 68 return generator.create(elements.toArray());
|
TestContainerGenerator.java | 25 * elements. Such things include both {@link Collection} and {@link Map}; since 35 * Returns the sample elements that this generate populates its container 41 * Creates a new container containing the given elements. TODO: would be nice 45 T create(Object ... elements); 54 * Returns the iteration ordering of elements, given the order in
|
TestStringSortedSetGenerator.java | 33 @Override protected abstract SortedSet<String> create(String[] elements); 35 /** Sorts the elements by their natural ordering. */
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
TestMultisetGenerator.java | 24 * Creates multisets, containing sample elements, to be tested. 31 Multiset<E> create(Object... elements);
|
/external/skia/src/gpu/ |
GrClipMaskManager.h | 115 const GrReducedClip::ElementList& elements, 118 // Creates an alpha mask of the clip. The mask is a rasterization of elements through the 122 const GrReducedClip::ElementList& elements, 127 const GrReducedClip::ElementList& elements, 137 bool useSWOnlyPath(const GrReducedClip::ElementList& elements);
|
/external/guava/guava/src/com/google/common/collect/ |
HashMultiset.java | 47 * number of distinct elements. 49 * @param distinctElements the expected number of distinct elements 57 * Creates a new {@code HashMultiset} containing the specified elements. 59 * <p>This implementation is highly efficient when {@code elements} is itself 62 * @param elements the elements that the multiset should contain 64 public static <E> HashMultiset<E> create(Iterable<? extends E> elements) { 66 create(Multisets.inferDistinctElements(elements)); 67 Iterables.addAll(multiset, elements); 80 * @serialData the number of distinct elements, the first element, its count [all...] |
LinkedHashMultiset.java | 29 * iterator orders elements according to when the first occurrence of the 53 * number of distinct elements. 55 * @param distinctElements the expected number of distinct elements 63 * Creates a new {@code LinkedHashMultiset} containing the specified elements. 65 * <p>This implementation is highly efficient when {@code elements} is itself 68 * @param elements the elements that the multiset should contain 71 Iterable<? extends E> elements) { 73 create(Multisets.inferDistinctElements(elements)); 74 Iterables.addAll(multiset, elements); [all...] |
ImmutableSortedMultiset.java | 31 * An immutable {@code SortedMultiset} that stores its elements in a sorted array. Some instances 33 * elements. Either way, null elements are not supported. 49 * {@code ImmutableSortedMultiset} doesn't use {@link Object#equals} to determine if two elements 51 * elements {@code x} and {@code y} are equivalent: 57 * With natural ordering of elements, the following relation determines whether two elements are 101 * Returns an immutable sorted multiset containing the given elements sorted by their natural 112 * Returns an immutable sorted multiset containing the given elements sorted by their natural 123 * Returns an immutable sorted multiset containing the given elements sorted by their natura 575 Object[] elements; field in class:ImmutableSortedMultiset.SerializedForm [all...] |
Constraints.java | 70 * constraint. Any operations that add new elements to the collection will 72 * existing elements satisfy the constraint. 77 * @param constraint the constraint that validates added elements 102 @Override public boolean addAll(Collection<? extends E> elements) { 103 return delegate.addAll(checkElements(elements, constraint)); 109 * constraint. Any operations that add new elements to the set will call the 111 * elements satisfy the constraint. 116 * @param constraint the constraint that validates added elements 140 @Override public boolean addAll(Collection<? extends E> elements) { 141 return delegate.addAll(checkElements(elements, constraint)) [all...] |
/external/guava/guava-gwt/src/com/google/common/collect/ |
ImmutableAsList_CustomFieldSerializer.java | 43 List<Object> elements = new ArrayList<Object>(); local 44 Collection_CustomFieldSerializerBase.deserialize(reader, elements); 45 ImmutableList<Object> asImmutableList = ImmutableList.copyOf(elements);
|
RegularImmutableSortedSet_CustomFieldSerializer.java | 48 List<Object> elements = new ArrayList<Object>(); local 49 Collection_CustomFieldSerializerBase.deserialize(reader, elements); 53 * RegularImmutableSortedSet always have one or more elements, 57 ImmutableSortedSet.copyOf(comparator, elements);
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
EnumMultiset.java | 38 * Creates a new {@code EnumMultiset} containing the specified elements. 40 * <p>This implementation is highly efficient when {@code elements} is itself a {@link 43 * @param elements the elements that the multiset should contain 44 * @throws IllegalArgumentException if {@code elements} is empty 46 public static <E extends Enum<E>> EnumMultiset<E> create(Iterable<E> elements) { 47 Iterator<E> iterator = elements.iterator(); 50 Iterables.addAll(multiset, elements);
|
/packages/inputmethods/LatinIME/tools/maketext/src/com/android/inputmethod/latin/maketext/ |
ArrayInitializerFormatter.java | 46 final String[] elements = mBuffer.toString().split(" "); local 49 mIndent, mBufferedIndex, elements[0], 50 mIndent, lastIndex, elements[1]);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
BaseLayoutRuleTest.java | 42 IDragElement[] elements = TestDragElement.create(TestDragElement.create( local 52 return elements; 57 IDragElement[] elements = TestDragElement.create(TestDragElement.create( local 60 Map<String, Pair<String, String>> ids = new BaseLayoutRule().collectIds(idMap, elements); 70 IDragElement[] elements = TestDragElement.create(TestDragElement.create( local 75 Map<String, Pair<String, String>> ids = new BaseLayoutRule().collectIds(idMap, elements); 103 * Test {@link BaseLayoutRule#collectIds}: Check that with multiple elements and 109 IDragElement[] elements = createSampleElements(); local 110 Map<String, Pair<String, String>> ids = new BaseLayoutRule().collectIds(idMap, elements); 128 IDragElement[] elements = createSampleElements() local 150 IDragElement[] elements = createSampleElements(); local [all...] |
/external/icu4c/common/ |
bytestriebuilder.cpp | 128 : strings(NULL), elements(NULL), elementsCapacity(0), elementsLength(0), 141 delete[] elements; 151 // Cannot add elements after building. 168 uprv_memcpy(newElements, elements, elementsLength*sizeof(BytesTrieElement)); 170 delete[] elements; 171 elements=newElements; 174 elements[elementsLength++].setTo(s, value, *strings, errorCode); 230 uprv_sortArray(elements, elementsLength, (int32_t)sizeof(BytesTrieElement), 238 StringPiece prev=elements[0].getString(*strings); 240 StringPiece current=elements[i].getString(*strings) [all...] |
ucharstriebuilder.cpp | 87 : elements(NULL), elementsCapacity(0), elementsLength(0), 91 delete[] elements; 101 // Cannot add elements after building. 118 uprv_memcpy(newElements, elements, elementsLength*sizeof(UCharsTrieElement)); 120 delete[] elements; 121 elements=newElements; 124 elements[elementsLength++].setTo(s, value, strings, errorCode); 187 uprv_sortArray(elements, elementsLength, (int32_t)sizeof(UCharsTrieElement), 195 UnicodeString prev=elements[0].getString(strings); 197 UnicodeString current=elements[i].getString(strings) [all...] |
uvectr32.h | 67 int32_t* elements; member in class:UVector32 84 * equal if they are of the same size and all elements are equal, 137 * elements for i >= newSize. If newSize is larger, grow the 147 * Returns true if this vector contains none of the elements 157 * The current elements are assumed to be sorted already. 170 * Units are vector elements (32 bits each), not bytes. 222 return (index >= 0 && count > 0 && count - index > 0) ? elements[index] : 0; 228 elements[count] = elem; 237 int32_t *rp = elements+count; 248 return elements+count-size [all...] |
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
TestTreeWizard.java | 131 final List elements = new ArrayList(); local 134 elements.add(t); 137 String found = elements.toString(); 145 final List elements = new ArrayList(); local 149 elements.add(t); 152 String found = elements.toString(); 160 final List elements = new ArrayList(); local 164 elements.add(t); 167 String found = elements.toString(); 175 final List elements = new ArrayList() local 190 final List elements = new ArrayList(); local 207 final List elements = new ArrayList(); local 224 final List elements = new ArrayList(); local 239 final List elements = new ArrayList(); local 256 final List elements = new ArrayList(); local 396 List elements = subtrees; local [all...] |
/external/javassist/src/main/javassist/bytecode/annotation/ |
ArrayMemberValue.java | 45 * @param t the type of the array elements. 58 "no array elements found: " + method.getName()); 87 * Obtains the type of the elements. 96 * Obtains the elements of the array. 103 * Sets the elements of the array. 105 public void setValue(MemberValue[] elements) { 106 values = elements; 107 if (elements != null && elements.length > 0) 108 type = elements[0] [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
FrameLayoutRule.java | 56 final @Nullable IDragElement[] elements) { 57 if (elements.length == 0) { 65 drawFeedback(gc, node, elements, feedback); 73 IDragElement[] elements, 90 Rect be = elements[0].getBounds(); 95 // for all dropped elements with valid bounds, offset at 97 for (IDragElement it : elements) { 106 // We don't have bounds for new elements. In this case 119 public DropFeedback onDropMove(@NonNull INode targetNode, @NonNull IDragElement[] elements, 127 public void onDropLeave(@NonNull INode targetNode, @NonNull IDragElement[] elements, [all...] |
/external/icu4c/i18n/ |
ucol_cnt.cpp | 60 tbl->elements = (ContractionTable **)uprv_malloc(INIT_EXP_TABLE_SIZE*sizeof(ContractionTable *)); 61 if(tbl->elements == NULL) { 67 uprv_memset(tbl->elements, 0, INIT_EXP_TABLE_SIZE*sizeof(ContractionTable *)); 98 table->elements[table->size] = el; 100 //uhash_put(table->elements, (void *)table->size, el, status); 107 /* table->elements = (ContractionTable **)realloc(table->elements, table->capacity*2*sizeof(ContractionTable *));*/ 113 ContractionTable **oldElements = table->elements; 117 table->elements = newElements; 151 table->position += table->elements[i]->position [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/test/unit/ |
test-tree-wizard.rb | 253 elements = [] 255 elements << node.to_s 258 assert_equal( %w(B), elements ) 265 elements = [] 267 elements << node.to_s 270 assert_equal(%w(C), elements) 277 elements = [] 279 elements << node.to_s 282 assert_equal(%w(B B B), elements) 289 elements = [ [all...] |