/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
H A D | ProtobufArrayListTest.java | 281 private static ProtobufArrayList<Integer> newImmutableProtoArrayList(int... elements) { argument 283 for (int element : elements) {
|
/external/smali/util/src/test/java/org/jf/util/ |
H A D | ClassFileNameHandlerTest.java | 238 private void checkFilename(File base, File file, String... elements) { argument 239 for (int i=elements.length-1; i>=0; i--) { 240 Assert.assertEquals(elements[i], file.getName());
|
/external/vogar/src/vogar/ |
H A D | Md5Cache.java | 128 public String makeKey(String... elements) { argument 130 for (String element : elements) {
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/ |
H A D | ZHash.java | 24 * mutable ordering (z indexing) of elements.
141 public List<KeyType> elements() {
method in class:ZHash 150 return elements();
|
/external/antlr/antlr-3.4/runtime/C/include/ |
H A D | antlr3rewritestreams.h | 42 /// A generic list of elements tracked in an alternative to be used in 52 /// Once you start next()ing, do not try to add more elements. It will 66 /// which bumps it to 1 meaning no more elements. 70 /// Track single elements w/o creating a list. Upon 2nd add, alloc list 76 pANTLR3_VECTOR elements; member in struct:ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct 106 /// not consumed any of its elements. Elements themselves are untouched. 114 /// Return the next element in the stream. If out of elements, throw 115 /// an exception unless size()==1. If size is 1, then return elements[0]. 148 /// Number of elements available in the stream
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
H A D | RewriteRuleElementStream.cs | 38 * A generic list of elements tracked in an alternative to be used in 45 * Once you start next()ing, do not try to add more elements. It will 58 * which bumps it to 1 meaning no more elements. 63 /** <summary>Track single elements w/o creating a list. Upon 2nd add, alloc list */ 67 protected IList elements; field in class:Antlr.Runtime.Tree.RewriteRuleElementStream 98 public RewriteRuleElementStream(ITreeAdaptor adaptor, string elementDescription, IList elements) argument 101 this.elements = elements; 106 * not consumed any of its elements. Elements themselves are untouched. 121 if (elements ! [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
H A D | RewriteRuleElementStream.java | 33 /** A generic list of elements tracked in an alternative to be used in 38 * Once you start next()ing, do not try to add more elements. It will 48 * which bumps it to 1 meaning no more elements. 52 /** Track single elements w/o creating a list. Upon 2nd add, alloc list */ 56 protected List elements; field in class:RewriteRuleElementStream 94 List elements) 98 this.elements = elements; 102 * not consumed any of its elements. Elements themselves are untouched. 116 if ( elements! 92 RewriteRuleElementStream(TreeAdaptor adaptor, String elementDescription, List elements) argument [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/ |
H A D | IntArrayList.java | 39 protected int[] elements = null; field in class:IntArrayList 46 elements = new int[initialCapacity]; 54 int v = elements[i]; 55 elements[i] = newValue; 60 if ( n>=elements.length ) { 63 elements[n] = o; 69 if ( newSize>=elements.length ) { 76 ensureCapacity((elements.length * 3)/2 + 1); 81 int element = elements[i]; 90 int oldCapacity = elements 106 public int[] elements() { method in class:IntArrayList [all...] |
H A D | IntSet.java | 47 /** Add all elements from incoming set to this set. Can limit 57 IntSet complement(IntSet elements); argument
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
H A D | ComponentGenerator.java | 42 private final Elements elements; field in class:ComponentGenerator 48 Elements elements, 54 this.elements = elements; 124 types, elements, keyFactory, nullableValidationType, componentName, input) 46 ComponentGenerator( Filer filer, Elements elements, Types types, Key.Factory keyFactory, Diagnostic.Kind nullableValidationType) argument
|
H A D | ModuleValidator.java | 72 private final Elements elements; field in class:ModuleValidator 80 Elements elements, 86 this.elements = elements; 237 TypeMirror objectType = elements.getTypeElement(Object.class.getCanonicalName()).asType(); 249 && elements.overrides(providesMethod, superclassMethod, subject)) { 263 && elements.overrides(method, superclassMethod, subject)) { 78 ModuleValidator( Types types, Elements elements, MethodSignatureFormatter methodSignatureFormatter, Class<? extends Annotation> moduleClass, ImmutableList<Class<? extends Annotation>> includedModuleClasses, Class<? extends Annotation> methodClass) argument
|
H A D | Util.java | 173 Elements elements, TypeElement type) { 175 Set<ExecutableElement> methods = getLocalAndInheritedMethods(type, elements); 172 getUnimplementedMethods( Elements elements, TypeElement type) argument
|
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
H A D | vktSpvAsmComputeShaderTestUtil.hpp | 66 Buffer (const std::vector<E>& elements) argument 67 : m_elements(elements)
|
/external/guava/guava/src/com/google/common/collect/ |
H A D | Queues.java | 66 * Creates an {@code ArrayDeque} containing the elements of the specified iterable, 71 public static <E> ArrayDeque<E> newArrayDeque(Iterable<? extends E> elements) { argument 72 if (elements instanceof Collection) { 73 return new ArrayDeque<E>(Collections2.cast(elements)); 76 Iterables.addAll(deque, elements); 90 * Creates a {@code ConcurrentLinkedQueue} containing the elements of the specified iterable, 94 Iterable<? extends E> elements) { 95 if (elements instanceof Collection) { 96 return new ConcurrentLinkedQueue<E>(Collections2.cast(elements)); 99 Iterables.addAll(queue, elements); 93 newConcurrentLinkedQueue( Iterable<? extends E> elements) argument 131 newLinkedBlockingDeque(Iterable<? extends E> elements) argument 166 newLinkedBlockingQueue(Iterable<? extends E> elements) argument 197 newPriorityBlockingQueue( Iterable<? extends E> elements) argument 227 newPriorityQueue( Iterable<? extends E> elements) argument [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
H A D | ImmutableCollection.java | 107 public Builder<E> add(E... elements) { argument 108 checkNotNull(elements); // for GWT 109 for (E element : elements) { 115 public Builder<E> addAll(Iterable<? extends E> elements) { argument 116 checkNotNull(elements); // for GWT 117 for (E element : elements) { 123 public Builder<E> addAll(Iterator<? extends E> elements) { argument 124 checkNotNull(elements); // for GWT 125 while (elements.hasNext()) { 126 add(checkNotNull(elements [all...] |
H A D | ImmutableSet.java | 43 // Casting to any type is safe because the set will never hold any elements. 82 public static <E> ImmutableSet<E> copyOf(E[] elements) { argument 83 checkNotNull(elements); 84 switch (elements.length) { 88 return of(elements[0]); 90 return create(elements); 94 public static <E> ImmutableSet<E> copyOf(Collection<? extends E> elements) { argument 95 Iterable<? extends E> iterable = elements; 99 public static <E> ImmutableSet<E> copyOf(Iterable<? extends E> elements) { argument 100 if (elements instanceo 108 copyOf(Iterator<? extends E> elements) argument 140 create(E... elements) argument 181 add(E... elements) argument 188 addAll(Iterable<? extends E> elements) argument 197 addAll(Iterator<? extends E> elements) argument [all...] |
/external/guava/guava-gwt/src-super/java/util/super/java/util/concurrent/ |
H A D | ConcurrentHashMap.java | 137 public Enumeration<V> elements() { method in class:ConcurrentHashMap
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
H A D | EnumMultisetTest.java | 41 @Override protected Multiset<AnEnum> create(AnEnum[] elements) { 42 return (elements.length == 0) 44 : EnumMultiset.create(asList(elements)); 119 public static <E extends Enum<E>> EnumMultiset<E> create(Iterable<E> elements) { argument 120 return EnumMultiset.create(elements);
|
H A D | ImmutableSetTest.java | 71 @Override protected Set<String> copyOf(String[] elements) { argument 72 return ImmutableSet.copyOf(elements); 75 @Override protected Set<String> copyOf(Collection<String> elements) { argument 76 return ImmutableSet.copyOf(elements); 79 @Override protected Set<String> copyOf(Iterable<String> elements) { argument 80 return ImmutableSet.copyOf(elements); 83 @Override protected Set<String> copyOf(Iterator<String> elements) { argument 84 return ImmutableSet.copyOf(elements);
|
H A D | PeekingIteratorTest.java | 46 * a given collection of elements (used as the reference iterator) 52 * same elements as the reference's iterator {@code #remove()}. 69 @Override protected void verify(List<T> elements) { argument 71 assertEquals(elements, targetList); 178 * This Iterator claims to have more elements than the underlying 179 * iterable, but when you try to fetch the extra elements, it throws 210 * If the PeekingIterator is caching elements too aggressively,
|
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/ |
H A D | ByteArrayAsListTest.java | 49 @Override protected List<Byte> create(Byte[] elements) { argument 50 return asList(elements); 55 @Override protected List<Byte> create(Byte[] elements) { argument 57 Byte[] all = concat(elements, suffix); 58 return asList(all).subList(0, elements.length); 63 @Override protected List<Byte> create(Byte[] elements) { argument 65 Byte[] all = concat(prefix, elements); 66 return asList(all).subList(2, elements.length + 2); 71 @Override protected List<Byte> create(Byte[] elements) { argument 74 Byte[] all = concat(concat(prefix, elements), suffi 94 create(Object... elements) argument 107 create(Byte[] elements) argument [all...] |
H A D | CharArrayAsListTest.java | 49 @Override protected List<Character> create(Character[] elements) { argument 50 return asList(elements); 55 @Override protected List<Character> create(Character[] elements) { argument 57 Character[] all = concat(elements, suffix); 58 return asList(all).subList(0, elements.length); 63 @Override protected List<Character> create(Character[] elements) { argument 65 Character[] all = concat(prefix, elements); 66 return asList(all).subList(2, elements.length + 2); 71 @Override protected List<Character> create(Character[] elements) { argument 74 Character[] all = concat(concat(prefix, elements), suffi 94 create(Object... elements) argument 107 create(Character[] elements) argument [all...] |
H A D | DoubleArrayAsListTest.java | 49 @Override protected List<Double> create(Double[] elements) { argument 50 return asList(elements); 55 @Override protected List<Double> create(Double[] elements) { argument 57 Double[] all = concat(elements, suffix); 58 return asList(all).subList(0, elements.length); 63 @Override protected List<Double> create(Double[] elements) { argument 65 Double[] all = concat(prefix, elements); 66 return asList(all).subList(2, elements.length + 2); 71 @Override protected List<Double> create(Double[] elements) { argument 74 Double[] all = concat(concat(prefix, elements), suffi 94 create(Object... elements) argument 107 create(Double[] elements) argument [all...] |
H A D | FloatArrayAsListTest.java | 49 @Override protected List<Float> create(Float[] elements) { argument 50 return asList(elements); 55 @Override protected List<Float> create(Float[] elements) { argument 57 Float[] all = concat(elements, suffix); 58 return asList(all).subList(0, elements.length); 63 @Override protected List<Float> create(Float[] elements) { argument 65 Float[] all = concat(prefix, elements); 66 return asList(all).subList(2, elements.length + 2); 71 @Override protected List<Float> create(Float[] elements) { argument 74 Float[] all = concat(concat(prefix, elements), suffi 94 create(Object... elements) argument 107 create(Float[] elements) argument [all...] |
H A D | IntArrayAsListTest.java | 50 @Override protected List<Integer> create(Integer[] elements) { argument 51 return asList(elements); 56 @Override protected List<Integer> create(Integer[] elements) { argument 58 Integer[] all = concat(elements, suffix); 59 return asList(all).subList(0, elements.length); 64 @Override protected List<Integer> create(Integer[] elements) { argument 66 Integer[] all = concat(prefix, elements); 67 return asList(all).subList(2, elements.length + 2); 72 @Override protected List<Integer> create(Integer[] elements) { argument 75 Integer[] all = concat(concat(prefix, elements), suffi 95 create(Object... elements) argument 108 create(Integer[] elements) argument [all...] |