Searched refs:elements (Results 176 - 200 of 1018) sorted by relevance

1234567891011>>

/external/icu4c/common/
H A Duvectr32.h67 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
[all...]
H A Duvectr64.h66 int64_t* elements; member in class:UVector64
83 * equal if they are of the same size and all elements are equal,
136 * elements for i >= newSize. If newSize is larger, grow the
159 * Units are vector elements (64 bits each), not bytes.
211 return (0 <= index && index < count) ? elements[index] : 0;
217 elements[count] = elem;
226 int64_t *rp = elements+count;
237 return elements+count-size;
255 return elements;
270 result = elements[coun
[all...]
/external/icu4c/i18n/
H A Ducol_cnt.cpp60 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[
[all...]
/external/guava/guava/src/com/google/common/collect/
H A DConstraints.java70 * 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) { argument
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) { argument
141 return delegate.addAll(checkElements(elements, constrain
189 addAll(Collection<? extends E> elements) argument
236 addAll(Collection<? extends E> elements) argument
239 addAll(int index, Collection<? extends E> elements) argument
352 addAll(Collection<? extends E> elements) argument
374 checkElements( Collection<E> elements, Constraint<? super E> constraint) argument
[all...]
H A DEnumMultiset.java42 * 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) { argument
51 Iterator<E> iterator = elements.iterator();
54 Iterables.addAll(multiset, elements);
75 * elements, the first element, its count, the second element, its
/external/antlr/antlr-3.4/runtime/Ruby/test/unit/
H A Dtest-tree-wizard.rb253 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...]
/external/guava/guava-tests/test/com/google/common/collect/
H A DTableCollectionTest.java121 @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) {
638 populateForRowKeySet( Table<String, Integer, Character> table, String[] elements) argument
646 populateForColumnKeySet( Table<Integer, String, Character> table, String[] elements) argument
654 populateForValues( Table<Integer, Character, String> table, String[] elements) argument
674 create( Object... elements) argument
[all...]
H A DListsTest.java107 @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[
[all...]
H A DMinMaxPriorityQueueTest.java190 * 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);
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);
597 List<Integer> expected = ImmutableList.copyOf(elements);
716 insertRandomly(ArrayList<Integer> elements, MinMaxPriorityQueue<Integer> q) argument
724 insertRandomly(ArrayList<Integer> elements, MinMaxPriorityQueue<Integer> q, Random random) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGDocumentExtensions.cpp166 // If performance becomes an issue we can keep a counted set of elements and answer the question efficiently.
172 SVGPendingElements* elements = it->value.get(); local
173 ASSERT(elements);
175 if (elements->contains(element))
206 SVGPendingElements* elements = it->value.get(); local
207 ASSERT(elements);
208 ASSERT(!elements->isEmpty());
210 elements->remove(element);
211 if (elements->isEmpty())
228 SVGPendingElements* elements local
307 OwnPtr<HashSet<SVGElement*> > elements = adoptPtr(new HashSet<SVGElement*>); local
[all...]
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
H A DSortedMapGenerators.java59 @Override protected Set<String> create(String[] elements) { argument
61 for (String key : elements) {
81 public Collection<String> create(Object... elements) { argument
83 for (int i = 0; i < elements.length; i++) {
84 builder.put(i, toStringOrNull(elements[i]));
128 @Override protected Set<String> create(String[] elements) { argument
131 for (String key : elements) {
152 public Collection<String> create(Object... elements) { argument
155 for (int i = 0; i < elements.length; i++) {
156 builder.put(i, toStringOrNull(elements[
[all...]
/external/proguard/src/proguard/gui/
H A DListPanel.java89 // 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) argument
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
247 insertElementsAt(Object[] elements, int[] indices) argument
268 setElementsAt(Object[] elements, int[] indices) argument
[all...]
/external/libvorbis/vq/
H A Dvqgen.c57 #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, argument
246 v->elements=elements;
250 v->pointlist=_ogg_malloc(v->allocated*(v->elements
[all...]
/external/apache-xml/src/main/java/org/apache/xalan/processor/
H A DXSLTElementDef.java32 * 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 A
55 XSLTElementDef(XSLTSchema schema, String namespace, String name, String nameAlias, XSLTElementDef[] elements, XSLTAttributeDef[] attributes, XSLTElementProcessor contentHandler, Class classObject) argument
84 XSLTElementDef(XSLTSchema schema, String namespace, String name, String nameAlias, XSLTElementDef[] elements, XSLTAttributeDef[] attributes, XSLTElementProcessor contentHandler, Class classObject, boolean has_required) argument
116 XSLTElementDef(XSLTSchema schema, String namespace, String name, String nameAlias, XSLTElementDef[] elements, XSLTAttributeDef[] attributes, XSLTElementProcessor contentHandler, Class classObject, boolean has_required, boolean required) argument
142 XSLTElementDef(XSLTSchema schema, String namespace, String name, String nameAlias, XSLTElementDef[] elements, XSLTAttributeDef[] attributes, XSLTElementProcessor contentHandler, Class classObject, boolean has_required, boolean required, int order, boolean multiAllowed) argument
171 XSLTElementDef(XSLTSchema schema, String namespace, String name, String nameAlias, XSLTElementDef[] elements, XSLTAttributeDef[] attributes, XSLTElementProcessor contentHandler, Class classObject, boolean has_required, boolean required, boolean has_order, int order, boolean multiAllowed) argument
199 XSLTElementDef(XSLTSchema schema, String namespace, String name, String nameAlias, XSLTElementDef[] elements, XSLTAttributeDef[] attributes, XSLTElementProcessor contentHandler, Class classObject, boolean has_order, int order, boolean multiAllowed) argument
224 XSLTElementDef(XSLTSchema schema, String namespace, String name, String nameAlias, XSLTElementDef[] elements, XSLTAttributeDef[] attributes, XSLTElementProcessor contentHandler, Class classObject, int order, boolean multiAllowed) argument
263 build(String namespace, String name, String nameAlias, XSLTElementDef[] elements, XSLTAttributeDef[] attributes, XSLTElementProcessor contentHandler, Class classObject) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/mapi/glapi/gen/
H A Dtypeexpr.py37 # If elements is set to non-zero, then field is an array.
38 self.elements = 0
217 tn.elements = count
243 if tn.elements:
244 return tn.elements * tn.size
251 return tn.elements
257 if tn.elements or tn.pointer:
/external/mesa3d/src/mapi/glapi/gen/
H A Dtypeexpr.py37 # If elements is set to non-zero, then field is an array.
38 self.elements = 0
217 tn.elements = count
243 if tn.elements:
244 return tn.elements * tn.size
251 return tn.elements
257 if tn.elements or tn.pointer:
/external/chromium_org/ui/base/animation/
H A Danimation_container.cc58 // We notify the observer after updating all the elements. If all the elements
61 // ourself here to make sure we're still valid after running all the elements.
68 // Make a copy of the elements to iterate over so that if any elements are
70 Elements elements = elements_; local
72 for (Elements::const_iterator i = elements.begin();
73 i != elements.end(); ++i) {
/external/chromium_org/v8/src/
H A Dharmony-string.js50 var elements = new InternalArray(n);
52 elements[i] = s;
55 return %StringBuilderConcat(elements, n, "");
/external/junit/src/org/junit/internal/matchers/
H A DIsCollectionContaining.java58 public static <T> Matcher<Iterable<T>> hasItems(T... elements) { argument
60 = new ArrayList<Matcher<? extends Iterable<T>>>(elements.length);
61 for (T element : elements) {
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
H A DANTLRRewriteRuleElementStream.h38 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/
H A DANTLRRewriteRuleElementStream.h38 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/
H A DANTLRRewriteRuleElementStream.h38 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/
H A DIntSet.java47 /** Add all elements from incoming set to this set. Can limit
57 IntSet complement(IntSet elements); argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
H A DASN1EncodableVector.java21 for (Enumeration en = other.v.elements(); en.hasMoreElements();)
/external/chromium_org/ppapi/shared_impl/
H A Dppb_resource_array_shared.h23 const PP_Resource elements[],

Completed in 1928 milliseconds

1234567891011>>