HomeSort by relevance Sort by last modified time
    Searched refs:elements (Results 1 - 25 of 1251) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/third_party/WebKit/Source/core/editing/
RemoveFormatCommand.cpp 51 DEFINE_STATIC_LOCAL(HashSet<QualifiedName>, elements, ());
52 if (elements.isEmpty()) {
53 elements.add(acronymTag);
54 elements.add(bTag);
55 elements.add(bdoTag);
56 elements.add(bigTag);
57 elements.add(citeTag);
58 elements.add(codeTag);
59 elements.add(dfnTag);
60 elements.add(emTag)
    [all...]
  /external/clang/test/SemaCXX/
for-range-unused.cpp 10 for (auto& e : elements) // expected-warning {{unused variable 'e'}}
14 T elements[10]; member in struct:Vector
  /external/mockito/src/org/mockito/internal/stubbing/answers/
ReturnsElementsOf.java 15 * Returns elements of the collection. Keeps returning the last element forever.
16 * Might be useful on occasion when you have a collection of elements to return.
35 private final LinkedList<Object> elements; field in class:ReturnsElementsOf
37 public ReturnsElementsOf(Collection<?> elements) {
38 if (elements == null) {
42 this.elements = new LinkedList<Object>(elements);
46 if (elements.size() == 1)
47 return elements.get(0);
49 return elements.poll();
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
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.length
106 public int[] elements() { method in class:IntArrayList
    [all...]
OrderedHashSet.java 35 /** A HashMap that remembers the order that the elements were added.
41 /** Track the elements as they are added to the set */
42 protected List<T> elements = new ArrayList<T>(); field in class:OrderedHashSet
45 return elements.get(i);
52 T oldElement = elements.get(i);
53 elements.set(i,value); // update list
66 elements.add((T)value);
74 elements.remove(o);
80 elements.clear();
84 /** Return the List holding list of table elements. Note that you ar
87 public List<T> elements() { method in class:OrderedHashSet
    [all...]
  /external/javassist/src/main/javassist/bytecode/
LongVector.java 23 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/mockito/src/org/mockito/stubbing/answers/
ReturnsElementsOf.java 10 * Returns elements of the collection. Keeps returning the last element forever.
11 * Might be useful on occasion when you have a collection of elements to return.
26 public ReturnsElementsOf(Collection<?> elements) {
27 super(elements);
  /external/icu/icu4c/source/i18n/
collationrootelements.h 25 * Container and access methods for collation elements and weights
34 : elements(rootElements), length(rootElementsLength) {}
54 * Same as the start of the compact root elements table.
79 * Currently the same as elements[IX_FIRST_TERTIARY_INDEX].
91 return (elements[IX_SEC_TER_BOUNDARIES] << 8) & 0xff00;
98 return elements[elements[IX_FIRST_TERTIARY_INDEX]] & ~SEC_TER_DELTA_FLAG;
105 return elements[elements[IX_FIRST_SECONDARY_INDEX] - 1] & ~SEC_TER_DELTA_FLAG;
113 return (elements[IX_SEC_TER_BOUNDARIES] >> 16) & 0xff00
247 const uint32_t *elements; member in class:CollationRootElements
    [all...]
collationrootelements.cpp 25 U_ASSERT(p > elements[elements[IX_FIRST_PRIMARY_INDEX]]);
27 uint32_t q = elements[index];
30 // p == elements[index] is a root primary. Find the CE before it.
33 secTer = elements[index - 1];
42 p = elements[index];
51 // p > elements[index] which is the previous primary.
56 q = elements[++index];
72 if(p != (elements[index] & 0xffffff00)) {
74 p = elements[++index]
    [all...]
  /external/flac/libFLAC/include/private/
memory.h 48 FLAC__bool FLAC__memory_alloc_aligned_int32_array(unsigned elements, FLAC__int32 **unaligned_pointer, FLAC__int32 **aligned_pointer);
49 FLAC__bool FLAC__memory_alloc_aligned_uint32_array(unsigned elements, FLAC__uint32 **unaligned_pointer, FLAC__uint32 **aligned_pointer);
50 FLAC__bool FLAC__memory_alloc_aligned_uint64_array(unsigned elements, FLAC__uint64 **unaligned_pointer, FLAC__uint64 **aligned_pointer);
51 FLAC__bool FLAC__memory_alloc_aligned_unsigned_array(unsigned elements, unsigned **unaligned_pointer, unsigned **aligned_pointer);
53 FLAC__bool FLAC__memory_alloc_aligned_real_array(unsigned elements, FLAC__real **unaligned_pointer, FLAC__real **aligned_pointer);
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
AbstractContainerTester.java 27 * and {@link java.util.Map Map}) that contain elements.
84 * @param elements expected contents of {@link #container}
86 protected final void expectContents(E... elements) {
87 expectContents(Arrays.asList(elements));
91 * Asserts that the collection under test contains exactly the given elements,
117 * Asserts that the collection under test contains exactly the elements it was
118 * initialized with plus the given elements, according to
122 * created, and the number of occurrences of all other elements has not
136 * @param elements expected additional contents of {@link #container}
138 protected final void expectAdded(E... elements) {
174 public final E[] elements; field in class:AbstractContainerTester.ArrayWithDuplicate
188 E[] elements = createSamplesArray(); local
    [all...]
  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
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
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/google/
ListGenerators.java 43 @Override protected List<String> create(String[] elements) {
44 return ImmutableList.copyOf(elements);
49 @Override protected List<String> create(String[] elements) {
51 for (String element : elements) {
60 @Override protected List<String> create(String[] elements) {
62 .addAll(asList(elements))
69 @Override protected List<String> create(String[] elements) {
70 List<String> list = asList(elements);
78 @Override protected List<String> create(String[] elements) {
80 String[] all = new String[elements.length + suffix.length]
    [all...]
  /external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/
RemoteDebugEventSocketListener.cs 337 string[] elements = GetEventElements(line);
338 if (elements == null || elements[0] == null) {
342 if (elements[0].Equals("enterRule")) {
343 listener.EnterRule(elements[1], elements[2]);
344 } else if (elements[0].Equals("exitRule")) {
345 listener.ExitRule(elements[1], elements[2]);
346 } else if (elements[0].Equals("enterAlt"))
    [all...]
  /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
RemoteDebugEventSocketListener.cs 420 string[] elements = GetEventElements( line );
421 if ( elements == null || elements[0] == null )
426 if ( elements[0].Equals( "enterRule" ) )
428 listener.EnterRule( elements[1], elements[2] );
430 else if ( elements[0].Equals( "exitRule" ) )
432 listener.ExitRule( elements[1], elements[2] );
434 else if ( elements[0].Equals( "enterAlt" )
    [all...]
  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/
RemoteDebugEventSocketListener.java 254 String[] elements = getEventElements(line); local
255 if ( elements==null || elements[0]==null ) {
259 if ( elements[0].equals("enterRule") ) {
260 listener.enterRule(elements[1], elements[2]);
262 else if ( elements[0].equals("exitRule") ) {
263 listener.exitRule(elements[1], elements[2]);
265 else if ( elements[0].equals("enterAlt") )
481 String[] elements = new String[MAX_EVENT_ELEMENTS]; local
    [all...]
  /cts/tools/signature-tools/src/signature/model/impl/
SigAnnotation.java 30 private Set<IAnnotationElement> elements; field in class:SigAnnotation
34 elements = Collections.emptySet();
46 return elements;
49 public void setElements(Set<IAnnotationElement> elements) {
50 this.elements = elements;
  /external/chromium_org/base/android/java/src/org/chromium/base/
CollectionUtil.java 21 public static <E> HashSet<E> newHashSet(E... elements) {
22 HashSet<E> set = new HashSet<E>(elements.length);
23 Collections.addAll(set, elements);
28 public static <E> ArrayList<E> newArrayList(E... elements) {
29 ArrayList<E> list = new ArrayList<E>(elements.length);
30 Collections.addAll(list, elements);
  /external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/
RewriteRuleElementStream.as 30 /** A generic list of elements tracked in an alternative to be used in
35 * Once you start next()ing, do not try to add more elements. It will
45 * which bumps it to 1 meaning no more elements.
49 /** Track single elements w/o creating a list. Upon 2nd add, alloc list */
53 protected var elements:Array;
78 this.elements = element as Array;
88 * not consumed any of its elements. Elements themselves are untouched.
102 if ( elements!=null ) { // if in list, just add
103 elements.push(el)
    [all...]
  /external/guava/guava/src/com/google/common/collect/
ImmutableCollection.java 28 * An immutable collection. Does not permit null elements.
31 * #asList()} method, which returns a list view of the collection's elements.
50 * Returns an unmodifiable iterator across the elements in this collection.
219 private final E[] elements; field in class:ImmutableCollection.ArrayImmutableCollection
221 ArrayImmutableCollection(E[] elements) {
222 this.elements = elements;
227 return elements.length;
235 return Iterators.forArray(elements);
239 return elements.length == 1 ? new SingletonImmutableList<E>(elements[0]
253 final Object[] elements; field in class:ImmutableCollection.SerializedForm
    [all...]
ImmutableSet.java 37 * iteration order. Does not permit null elements.
75 // Casting to any type is safe because the set will never hold any elements.
92 * Returns an immutable set containing the given elements, in order. Repeated
103 * Returns an immutable set containing the given elements, in order. Repeated
114 * Returns an immutable set containing the given elements, in order. Repeated
125 * Returns an immutable set containing the given elements, in order. Repeated
136 * Returns an immutable set containing the given elements, in order. Repeated
146 Object[] elements = new Object[paramCount + others.length]; local
147 elements[0] = e1;
148 elements[1] = e2
    [all...]
  /external/chromium_org/third_party/icu/source/common/
uvector.cpp 33 elements(0),
43 elements(0),
53 elements(0),
63 elements(0),
78 elements = (UElement *)uprv_malloc(sizeof(UElement)*initialCapacity);
79 if (elements == 0) {
88 uprv_free(elements);
89 elements = 0;
101 if (elements[i].pointer != 0 && deleter != 0) {
102 (*deleter)(elements[i].pointer)
    [all...]
  /external/icu/icu4c/source/common/
uvector.cpp 33 elements(0),
43 elements(0),
53 elements(0),
63 elements(0),
78 elements = (UElement *)uprv_malloc(sizeof(UElement)*initialCapacity);
79 if (elements == 0) {
88 uprv_free(elements);
89 elements = 0;
101 if (elements[i].pointer != 0 && deleter != 0) {
102 (*deleter)(elements[i].pointer)
    [all...]
  /external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/
RewriteRuleElementStream.js 1 /** A generic list of elements tracked in an alternative to be used in
6 * Once you start next()ing, do not try to add more elements. It will
16 * which bumps it to 1 meaning no more elements.
35 this.elements = el;
44 * not consumed any of its elements. Elements themselves are untouched.
57 if ( this.elements ) { // if in list, just add
58 this.elements.push(el);
61 if ( !org.antlr.lang.isValue(this.singleElement) ) { // no elements yet, track w/o list
66 this.elements = []
    [all...]
  /external/chromium_org/components/bookmarks/browser/
bookmark_node_data_mac.cc 17 WriteBookmarksToPasteboard(type, elements, profile_path_);
22 if (ReadBookmarksFromPasteboard(type, elements, &file_path)) {

Completed in 1318 milliseconds

1 2 3 4 5 6 7 8 91011>>