/external/guava/guava-tests/test/com/google/common/collect/ |
PeekingIteratorTest.java | 47 * a given collection of elements (used as the reference iterator) 53 * same elements as the reference's iterator {@code #remove()}. 70 @Override protected void verify(List<T> elements) { 72 assertEquals(elements, targetList); 188 * This Iterator claims to have more elements than the underlying 189 * iterable, but when you try to fetch the extra elements, it throws 220 * If the PeekingIterator is caching elements too aggressively,
|
ImmutableSortedSetTest.java | 90 @Override protected SortedSet<String> copyOf(String[] elements) { 91 return ImmutableSortedSet.copyOf(elements); 94 @Override protected SortedSet<String> copyOf(Collection<String> elements) { 95 return ImmutableSortedSet.copyOf(elements); 98 @Override protected SortedSet<String> copyOf(Iterable<String> elements) { 99 return ImmutableSortedSet.copyOf(elements); 102 @Override protected SortedSet<String> copyOf(Iterator<String> elements) { 103 return ImmutableSortedSet.copyOf(elements); 803 private static final <E> Iterator<E> asIterator(E... elements) { 804 return asList(elements).iterator() [all...] |
/external/libffi/src/cris/ |
ffi.c | 41 FFI_ASSERT (arg->elements != NULL); 45 ptr = &(arg->elements[0]);
|
/external/openssh/ |
gss-serv.c | 259 (memcmp(supported_mechs[i]->oid.elements, 260 ctx->oid->elements, ctx->oid->length) == 0))
|
/external/v8/test/mjsunit/ |
array-unshift.js | 41 // filling the holes with elements from the prototype 80 // Now check the case with array of holes and some elements on prototype. 119 // filling the holes with elements from the prototype 157 // Now check the case with array of holes and some elements on prototype.
|
stress-array-push.js | 29 // to stress test pushing elements to an array.
|
/external/webkit/LayoutTests/fast/url/resources/ |
utilities.js | 18 // Remove any existing base elements.
|
/external/webkit/Source/WebCore/inspector/front-end/ |
treeoutline.js | 240 var elements = this._knownTreeElements[element.identifier]; 241 if (elements.indexOf(element) !== -1) 245 elements.push(element); 271 var elements = this._knownTreeElements[representedObject.__treeElementIdentifier]; 272 if (elements) { 273 for (var i = 0; i < elements.length; ++i) 274 if (elements[i].representedObject === representedObject) 275 return elements[i];
|
/frameworks/base/core/java/android/text/ |
Html.java | 167 String elements = " "; local 176 elements = "align=\"center\" " + elements; 178 elements = "align=\"right\" " + elements; 180 elements = "align=\"left\" " + elements; 185 out.append("<div ").append(elements).append(">");
|
/libcore/json/src/test/java/org/json/ |
ParsingTest.java | 220 private JSONArray array(Object... elements) { 221 return new JSONArray(Arrays.asList(elements));
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
SmartPoster.java | 189 * Returns the first element of {@code elements} which is an instance 192 private static <T> T getFirstIfExists(Iterable<?> elements, Class<T> type) { 193 Iterable<T> filtered = Iterables.filter(elements, type);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
RenderPreviewList.java | 123 List<Element> elements = DomUtilities.getChildren(document.getDocumentElement()); local 124 for (Element element : elements) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/ |
ResourceChooser.java | 378 Object[] elements = getSelectedElements(); local 379 if (elements.length == 1 && elements[0] instanceof ResourceItem) { 380 ResourceItem item = (ResourceItem)elements[0]; 599 Object[] elements = getSelectedElements(); local 600 if (elements.length == 1 && elements[0] instanceof ResourceItem) { 601 ResourceItem item = (ResourceItem)elements[0]; [all...] |
/external/v8/src/arm/ |
lithium-arm.h | 491 LOperand* elements) { 495 inputs_[3] = elements; 503 LOperand* elements() { return inputs_[3]; } function in class:v8::internal::LApplyArguments 527 explicit LArgumentsLength(LOperand* elements) { 528 inputs_[0] = elements; 539 DECLARE_CONCRETE_INSTRUCTION(ArgumentsElements, "arguments-elements") 991 DECLARE_CONCRETE_INSTRUCTION(ElementsKind, "elements-kind") 1228 LOperand* elements() { return inputs_[0]; } function in class:v8::internal::LLoadKeyedFastElement 1244 LOperand* elements() { return inputs_[0]; } function in class:v8::internal::LLoadKeyedFastDoubleElement 1739 LOperand* elements() { return inputs_[0]; } function in class:v8::internal::LStoreKeyedFastDoubleElement [all...] |
/external/v8/src/ia32/ |
lithium-ia32.h | 482 LOperand* elements) { 486 inputs_[3] = elements; 494 LOperand* elements() { return inputs_[3]; } function in class:v8::internal::LApplyArguments 518 explicit LArgumentsLength(LOperand* elements) { 519 inputs_[0] = elements; 530 DECLARE_CONCRETE_INSTRUCTION(ArgumentsElements, "arguments-elements") 1005 DECLARE_CONCRETE_INSTRUCTION(ElementsKind, "elements-kind") 1243 LOperand* elements() { return inputs_[0]; } function in class:v8::internal::LLoadKeyedFastElement 1260 LOperand* elements() { return inputs_[0]; } function in class:v8::internal::LLoadKeyedFastDoubleElement 1787 LOperand* elements() { return inputs_[0]; } function in class:v8::internal::LStoreKeyedFastDoubleElement [all...] |
/external/v8/src/mips/ |
lithium-mips.h | 490 LOperand* elements) { 494 inputs_[3] = elements; 502 LOperand* elements() { return inputs_[3]; } function in class:v8::internal::LApplyArguments 526 explicit LArgumentsLength(LOperand* elements) { 527 inputs_[0] = elements; 538 DECLARE_CONCRETE_INSTRUCTION(ArgumentsElements, "arguments-elements") 990 DECLARE_CONCRETE_INSTRUCTION(ElementsKind, "elements-kind") 1208 LOperand* elements() { return inputs_[0]; } function in class:v8::internal::LLoadKeyedFastElement 1224 LOperand* elements() { return inputs_[0]; } function in class:v8::internal::LLoadKeyedFastDoubleElement 1719 LOperand* elements() { return inputs_[0]; } function in class:v8::internal::LStoreKeyedFastDoubleElement [all...] |
/external/v8/src/x64/ |
lithium-x64.h | 492 LOperand* elements) { 496 inputs_[3] = elements; 504 LOperand* elements() { return inputs_[3]; } function in class:v8::internal::LApplyArguments 528 explicit LArgumentsLength(LOperand* elements) { 529 inputs_[0] = elements; 540 DECLARE_CONCRETE_INSTRUCTION(ArgumentsElements, "arguments-elements") 990 DECLARE_CONCRETE_INSTRUCTION(ElementsKind, "elements-kind") 1207 LOperand* elements() { return inputs_[0]; } function in class:v8::internal::LLoadKeyedFastElement 1223 LOperand* elements() { return inputs_[0]; } function in class:v8::internal::LLoadKeyedFastDoubleElement 1707 LOperand* elements() { return inputs_[0]; } function in class:v8::internal::LStoreKeyedFastDoubleElement [all...] |
/external/libffi/src/mips/ |
ffi.c | 215 while ((e = arg->elements[index])) 258 e = arg->elements[0]; 264 if (flags && (e = arg->elements[1])) 273 if (flags && (arg->elements[2])) 760 ffi_type **elt_typep = type->elements;
|
/external/webkit/Source/WebCore/platform/network/curl/ |
ResourceHandleManager.cpp | 294 Iterate through FormData elements and upload files. 469 Vector<FormDataElement> elements = job->firstRequest().httpBody()->elements(); 470 size_t numElements = elements.size(); 506 FormDataElement element = elements[i]; 521 size += elements[i].m_data.size();
|
/external/v8/src/ |
string.js | 290 var builder_elements = builder.elements; 603 // If the separator string is empty then return the elements in the subject. 932 this.elements = %_Arguments(1); 934 this.elements = new InternalArray(); 940 $Array("elements", "special_string"), $Array( 943 if (str.length > 0) this.elements.push(str); 949 this.elements.push((start << 11) | len); 953 var elements = this.elements; 954 elements.push(-len) [all...] |
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
BaseTest.java | 822 public List realElements(List elements) { 824 for (int i = Label.NUM_FAUX_LABELS+Label.MIN_TOKEN_TYPE - 1; i < elements.size(); i++) { 825 Object o = (Object) elements.get(i); 833 public List<String> realElements(Map<String, Integer> elements) { 835 Iterator iterator = elements.keySet().iterator(); 838 if ( elements.get(tokenID) >= Label.MIN_TOKEN_TYPE ) { 839 n.add(tokenID+"="+elements.get(tokenID));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
AndroidContentAssist.java | 157 // Look up the caret context - where in an element, or between elements, or 293 * Example: <manifest><applic*cursor* => returns the list of all elements that 317 protected static ElementDescriptor[] sort(ElementDescriptor[] elements) { 318 if (elements != null && elements.length > 1) { 320 ElementDescriptor[] copy = new ElementDescriptor[elements.length]; 321 System.arraycopy(elements, 0, copy, 0, elements.length); 333 return elements; 518 * Simply return the list of XML elements that can be present there, based on th [all...] |
/cts/tools/utils/ |
CollectAllTests.java | 298 NodeList elements = element.getElementsByTagName(tagName); local 299 if (elements.getLength() > 0) { 300 return (Element) elements.item(0);
|
/external/javassist/src/main/javassist/bytecode/ |
AnnotationsAttribute.java | 690 MemberValue[] elements = new MemberValue[num]; local 693 elements[i] = currentMember; 696 amv.setValue(elements);
|
/external/libffi/src/s390/ |
ffi.c | 115 && arg->elements[0] && !arg->elements[1]) 116 arg = arg->elements[0];
|