Searched defs:elements (Results 51 - 75 of 607) sorted by relevance

1234567891011>>

/external/guava/guava-testlib/src/com/google/common/collect/testing/
H A DTestStringSetGenerator.java39 public Set<String> create(Object... elements) { argument
40 String[] array = new String[elements.length];
42 for (Object e : elements) {
48 protected abstract Set<String> create(String[] elements); argument
58 * <p>By default, returns the supplied elements in their given order; however,
H A DTestStringSortedSetGenerator.java36 public SortedSet<String> create(Object... elements) { argument
37 return (SortedSet<String>) super.create(elements);
40 @Override protected abstract SortedSet<String> create(String[] elements); argument
42 /** Sorts the elements by their natural ordering. */
H A DTestUnhashableCollectionGenerator.java26 * Creates collections containing unhashable sample elements, to be tested.
40 public T create(Object... elements) { argument
41 UnhashableObject[] array = createArray(elements.length);
43 for (Object e : elements) {
50 * Creates a new collection containing the given elements; implement this
53 protected abstract T create(UnhashableObject[] elements); argument
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
H A DTestEnumMultisetGenerator.java43 public Multiset<AnEnum> create(Object... elements) { argument
44 AnEnum[] array = new AnEnum[elements.length];
46 for (Object e : elements) {
52 protected abstract Multiset<AnEnum> create(AnEnum[] elements); argument
H A DTestStringMultisetGenerator.java41 public Multiset<String> create(Object... elements) { argument
42 String[] array = new String[elements.length];
44 for (Object e : elements) {
50 protected abstract Multiset<String> create(String[] elements); argument
/external/guice/core/src/com/google/inject/internal/
H A DAbstractProcessor.java26 * Abstract base class for creating an injector from module elements.
49 public void process(InjectorImpl injector, List<Element> elements) { argument
53 for (Iterator<Element> i = elements.iterator(); i.hasNext(); ) {
/external/guice/core/src/com/google/inject/spi/
H A DElementVisitor.java24 * Visit elements.
82 * Visit a collection of configuration elements for a {@linkplain com.google.inject.PrivateBinder
85 V visit(PrivateElements elements); argument
/external/guice/extensions/servlet/test/com/google/inject/servlet/
H A DServletScopesTest.java187 private ImmutableMap<Key<?>, Binding<?>> indexBindings(Iterable<Element> elements) { argument
189 for (Element element : elements) {
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/collection/
H A DIsIn.java17 public IsIn(T[] elements) { argument
18 collection = Arrays.asList(elements);
72 * @param elements
77 public static <T> Matcher<T> isIn(T[] elements) { argument
78 return in(elements);
87 * @param elements
91 public static <T> Matcher<T> in(T[] elements) { argument
92 return new IsIn<T>(elements);
97 * specified elements.
103 * @param elements
108 isOneOf(T... elements) argument
122 oneOf(T... elements) argument
[all...]
/external/icu/icu4c/source/common/unicode/
H A Dbytestriebuilder.h170 BytesTrieElement *elements; member in class:BytesTrieBuilder
/external/javassist/src/main/javassist/bytecode/
H A DLongVector.java23 private int elements; field in class:LongVector
27 elements = 0;
33 elements = 0;
36 public int size() { return elements; }
41 if (i < 0 || elements <= i)
48 int nth = elements >> ABITS;
49 int offset = elements & (ASIZE - 1);
61 elements++;
/external/libcxx/utils/google-benchmark/src/
H A Dcsv_reporter.cc33 std::vector<std::string> elements = { member in namespace:benchmark::__anon10290
43 for (auto B = elements.begin(); B != elements.end();) {
45 if (B != elements.end()) Out << ",";
64 Out << std::string(elements.size() - 3, ',');
/external/libtextclassifier/common/
H A Dworkspace.cc52 VectorIntWorkspace::VectorIntWorkspace(const std::vector<int> &elements) argument
53 : elements_(elements) {}
/external/ltp/lib/tests/
H A Dbytes_by_prefix_test.c173 int elements; /* Number of elements inside the test array. */ local
175 elements = sizeof(test) / sizeof(struct test_vals);
181 tests_number[i] = elements;
188 for (i = 0; i < elements; i++) {
212 elements = sizeof(test_i) / sizeof(struct test_vals);
213 tests_number[0] += elements;
218 for (i = 0; i < elements; i++) {
227 elements = sizeof(test_l) / sizeof(struct test_vals);
228 tests_number[1] += elements;
[all...]
/external/mesa3d/src/mesa/main/
H A Duniforms.h244 struct gl_builtin_uniform_element *elements; member in struct:gl_builtin_uniform_desc
255 * access other elements of the array by adding an offset to the
260 * HOWEVER, some other OpenGL drivers allow accessing array elements
/external/mockito/src/main/java/org/mockito/
H A DAdditionalAnswers.java73 * // returns otherDreams (happens to be a 4 elements array)
121 * // returns otherDreams (happens to be a 3 elements array)
299 * Returns elements of the collection. Keeps returning the last element forever.
300 * Might be useful on occasion when you have a collection of elements to return.
310 * @param elements The collection of elements to return.
315 public static <T> Answer<T> returnsElementsOf(Collection<?> elements) { argument
316 return (Answer<T>) new ReturnsElementsOf(elements);
/external/mockito/src/main/java/org/mockito/internal/util/collections/
H A DSets.java25 public static <T> Set<T> newSet(T ... elements) { argument
26 if (elements == null) {
27 throw new IllegalArgumentException("Expected an array of elements (or empty array) but received a null.");
29 return new LinkedHashSet<T>(asList(elements));
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/
H A DImmutableAnnotation.java48 @Nonnull protected final ImmutableSet<? extends ImmutableAnnotationElement> elements; field in class:ImmutableAnnotation
52 @Nullable Collection<? extends AnnotationElement> elements) {
55 this.elements = ImmutableAnnotationElement.immutableSetOf(elements);
60 @Nullable ImmutableSet<? extends ImmutableAnnotationElement> elements) {
63 this.elements = ImmutableUtils.nullToEmptySet(elements);
78 @Nonnull @Override public ImmutableSet<? extends ImmutableAnnotationElement> getElements() { return elements; }
50 ImmutableAnnotation(int visibility, @Nonnull String type, @Nullable Collection<? extends AnnotationElement> elements) argument
58 ImmutableAnnotation(int visibility, @Nonnull String type, @Nullable ImmutableSet<? extends ImmutableAnnotationElement> elements) argument
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/value/
H A DImmutableAnnotationEncodedValue.java47 @Nonnull protected final ImmutableSet<? extends ImmutableAnnotationElement> elements; field in class:ImmutableAnnotationEncodedValue
50 @Nullable Collection<? extends AnnotationElement> elements) {
52 this.elements = ImmutableAnnotationElement.immutableSetOf(elements);
56 @Nullable ImmutableSet<? extends ImmutableAnnotationElement> elements) {
58 this.elements = ImmutableUtils.nullToEmptySet(elements);
71 @Nonnull @Override public ImmutableSet<? extends ImmutableAnnotationElement> getElements() { return elements; }
49 ImmutableAnnotationEncodedValue(@onnull String type, @Nullable Collection<? extends AnnotationElement> elements) argument
55 ImmutableAnnotationEncodedValue(@onnull String type, @Nullable ImmutableSet<? extends ImmutableAnnotationElement> elements) argument
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
H A DBuilderAnnotation.java43 @Nonnull final Set<? extends BuilderAnnotationElement> elements; field in class:BuilderAnnotation
47 @Nonnull Set<? extends BuilderAnnotationElement> elements) {
50 this.elements = elements;
62 return elements;
46 BuilderAnnotation(int visibility, @Nonnull BuilderTypeReference type, @Nonnull Set<? extends BuilderAnnotationElement> elements) argument
/external/vogar/src/vogar/
H A DClasspath.java31 private final List<File> elements = new ArrayList<File>(); field in class:Classpath
39 result.elements.addAll(files);
43 public void addAll(File... elements) { argument
44 addAll(Arrays.asList(elements));
47 public void addAll(Collection<File> elements) { argument
48 this.elements.addAll(elements);
52 this.elements.addAll(anotherClasspath.elements);
56 return elements;
[all...]
/external/webrtc/webrtc/modules/audio_processing/beamformer/
H A Dcomplex_matrix.h64 return ConjugateTranspose(operand.elements());
84 complex<T>* const* elements = this->elements(); local
87 elements[i][j] = conj(src[j][i]);
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
H A DListOrganizer.java109 public List<ElementType> elements() { method in class:ListOrganizer
H A DZLinkedList.java64 public List<Type> elements() { method in class:ZLinkedList
65 return organizer.elements();
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
H A DRewriteRuleElementStream.cs39 * A generic list of elements tracked in an alternative to be used in
46 * Once you start next()ing, do not try to add more elements. It will
60 * which bumps it to 1 meaning no more elements.
65 /** <summary>Track single elements w/o creating a list. Upon 2nd add, alloc list */
69 protected IList elements; field in class:Antlr.Runtime.Tree.RewriteRuleElementStream
102 public RewriteRuleElementStream( ITreeAdaptor adaptor, string elementDescription, IList elements )
106 this.elements = elements;
111 * not consumed any of its elements. Elements themselves are untouched.
129 if ( elements !
[all...]

Completed in 480 milliseconds

1234567891011>>