/dalvik/dx/tests/108-string-annotation/ |
expected.txt | 2 elements[0]: 6 elements[0]: 10 elements[0]:
|
/external/webkit/Source/WebKit/qt/tests/qdeclarativewebview/resources/ |
elements.qml | 4 url: "elements.html"
|
/frameworks/compile/slang/tests/F_large_array/ |
stderr.txt.expect | 1 large_array.rs:5:15: error: array is too large (4294967296 elements)
|
/external/webkit/Source/WebCore/editing/ |
RemoveFormatCommand.cpp | 48 DEFINE_STATIC_LOCAL(HashSet<QualifiedName>, elements, ()); 49 if (elements.isEmpty()) { 50 elements.add(acronymTag); 51 elements.add(bTag); 52 elements.add(bdoTag); 53 elements.add(bigTag); 54 elements.add(citeTag); 55 elements.add(codeTag); 56 elements.add(dfnTag); 57 elements.add(emTag) [all...] |
/external/webkit/LayoutTests/fast/dom/getElementsByClassName/resources/ |
common.js | 2 function t(collection, elements) { 9 if(collection.length != elements.length) { 11 log += "Got " + collection.length + " elements, expected " + elements.length + ". " 13 for(var i = 0, max = collection.length > elements.length ? elements.length : collection.length; i < max; i++) { 14 if(collection[i] != elements[i]) { 17 log += ", expected element `" + elements[i].tagName + "` (" + elements[i].namespaceURI + "). "
|
/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/v8/test/mjsunit/ |
for-in-special-cases.js | 75 var elements = Accumulate("abcd"); 76 // We do not assume that for-in enumerates elements in order. 77 assertTrue(-1 != elements.indexOf("0")); 78 assertTrue(-1 != elements.indexOf("1")); 79 assertTrue(-1 != elements.indexOf("2")); 80 assertTrue(-1 != elements.indexOf("3")); 81 assertEquals(4, elements.length); 97 var elements = Accumulate(y); 99 // If for-in returns elements in a different order on multiple calls, this 101 assertEquals(elements, elements1, "For-in elements not the same both times.") [all...] |
/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/stlport/test/unit/ |
count_test.cpp | 49 int elements = count(numbers.begin(), numbers.end(), 2); local 50 CPPUNIT_ASSERT(elements==33); 52 elements = 0; 53 count(numbers.begin(), numbers.end(), 2, elements); 54 CPPUNIT_ASSERT(elements==33); 62 int elements = count_if(numbers.begin(), numbers.end(), odd); local 63 CPPUNIT_ASSERT(elements==33); 65 elements = 0; 66 count_if(numbers.begin(), numbers.end(), odd, elements); 67 CPPUNIT_ASSERT(elements==33) [all...] |
/external/webkit/LayoutTests/fast/dom/HTMLFormElement/script-tests/ |
elements-not-in-document.js | 1 description('Test the elements collection when the form is not a descendant of the document. This test case failed in an early version of Acid3.'); 15 shouldBe("f.elements.length", "1"); 16 shouldBe("f.elements[0]", "i"); 17 shouldBe("f.elements.first", "i"); 19 f.elements.second; 25 shouldBe("f.elements.second", "i"); 32 shouldBe("f.elements.length", "1"); 33 shouldBe("f.elements[0]", "i"); 34 shouldBe("f.elements.first", "undefined"); 35 shouldBe("f.elements.second", "i") [all...] |
/ndk/tests/device/test-gnustl-full/unit/ |
count_test.cpp | 49 int elements = count(numbers.begin(), numbers.end(), 2); local 50 CPPUNIT_ASSERT(elements==33); 52 elements = 0; 53 count(numbers.begin(), numbers.end(), 2, elements); 54 CPPUNIT_ASSERT(elements==33); 62 int elements = count_if(numbers.begin(), numbers.end(), odd); local 63 CPPUNIT_ASSERT(elements==33); 65 elements = 0; 66 count_if(numbers.begin(), numbers.end(), odd, elements); 67 CPPUNIT_ASSERT(elements==33) [all...] |
/ndk/tests/device/test-stlport/unit/ |
count_test.cpp | 49 int elements = count(numbers.begin(), numbers.end(), 2); local 50 CPPUNIT_ASSERT(elements==33); 52 elements = 0; 53 count(numbers.begin(), numbers.end(), 2, elements); 54 CPPUNIT_ASSERT(elements==33); 62 int elements = count_if(numbers.begin(), numbers.end(), odd); local 63 CPPUNIT_ASSERT(elements==33); 65 elements = 0; 66 count_if(numbers.begin(), numbers.end(), odd, elements); 67 CPPUNIT_ASSERT(elements==33) [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...] |
/external/guava/guava/src/com/google/common/collect/ |
SortedIterables.java | 42 * Returns {@code true} if {@code elements} is a sorted collection using an ordering equivalent 45 public static boolean hasSameComparator(Comparator<?> comparator, Iterable<?> elements) { 47 checkNotNull(elements); 49 if (elements instanceof SortedSet) { 50 SortedSet<?> sortedSet = (SortedSet<?>) elements; 55 } else if (elements instanceof SortedIterable) { 56 comparator2 = ((SortedIterable<?>) elements).comparator(); 64 * Returns a sorted collection of the unique elements according to the specified comparator. Does 69 Comparator<? super E> comparator, Iterator<E> elements) { 71 Iterators.addAll(sortedSet, elements); [all...] |
/external/proguard/src/proguard/gui/splash/ |
package.html | 3 with text, graphical elements, and some special effects.
|
/external/webkit/LayoutTests/fast/dom/HTMLFormElement/ |
elements-not-in-document-expected.txt | 1 Test the elements collection when the form is not a descendant of the document. This test case failed in an early version of Acid3. 11 PASS f.elements.length is 1 12 PASS f.elements[0] is i 13 PASS f.elements.first is i 14 PASS f.elements.second is i 20 PASS f.elements.length is 1 21 PASS f.elements[0] is i 22 PASS f.elements.first is undefined 23 PASS f.elements.second is i
|
/external/webkit/LayoutTests/fast/dom/beforeload/ |
link-before-load-expected.txt | 1 This page tests the beforeload event on link elements. You should see the word PASS below underneath a green square.
|
script-before-load-dynamic-expected.txt | 1 This page tests the beforeload event on script elements. You should see a PASS message below if everything works.
|
script-before-load-expected.txt | 1 This page tests the beforeload event on script elements. You should see a PASS message below if everything works.
|
script-before-load-xhtml-expected.txt | 1 This page tests the beforeload event on script elements. You should see a PASS message below if everything works.
|
/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...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableSet.java | 51 // Casting to any type is safe because the set will never hold any elements. 92 @Deprecated public static <E> ImmutableSet<E> of(E[] elements) { 93 return copyOf(elements); 96 public static <E> ImmutableSet<E> copyOf(E[] elements) { 97 checkNotNull(elements); 98 switch (elements.length) { 102 return of(elements[0]); 104 return create(elements); 108 public static <E> ImmutableSet<E> copyOf(Collection<? extends E> elements) { 109 Iterable<? extends E> iterable = elements; [all...] |
/external/webkit/Source/WebCore/html/ |
CollectionType.h | 31 DocImages, // all <img> elements in the document 32 DocApplets, // all <object> and <applet> elements 33 DocEmbeds, // all <embed> elements 34 DocObjects, // all <object> elements 35 DocForms, // all <form> elements 36 DocLinks, // all <a> _and_ <area> elements with a value for href 37 DocAnchors, // all <a> elements with a value for name 38 DocScripts, // all <script> elements 40 DocAll, // "all" elements (IE) 50 TableTBodies, // all <tbody> elements in this tabl [all...] |