/external/chromium_org/v8/src/ |
list-inl.h | 16 void List<T, P>::Add(const T& element, P alloc) { 18 data_[length_++] = element; 20 List<T, P>::ResizeAdd(element, alloc); 45 void List<T, P>::ResizeAdd(const T& element, P alloc) { 46 ResizeAddInternal(element, alloc); 51 void List<T, P>::ResizeAddInternal(const T& element, P alloc) { 56 // Since the element reference could be an element of the list, copy 58 T temp = element; 103 T element = at(i) local [all...] |
/external/deqp/executor/ |
xeContainerFormatParser.cpp | 74 // If we haven't parsed complete element, re-try after data feed. 193 ContainerElement element; member in struct:xe::__anon23482 234 m_element = s_elements[elemNdx].element;
|
/external/doclava/src/com/google/doclava/ |
AnnotationValueInfo.java | 33 public AnnotationValueInfo(MethodInfo element) { 34 mElement = element; 41 public MethodInfo element() { method in class:AnnotationValueInfo 45 public void setElement(MethodInfo element) { 46 mElement = element; 119 } else if ("element".equals(resolution.getVariable())) {
|
/external/droiddriver/src/com/google/android/droiddriver/base/ |
DroidDriverContext.java | 57 E element = map.get(rawElement); local 58 if (element == null) { 59 element = driver.newUiElement(rawElement, parent); 60 map.put(rawElement, element); 62 return element;
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/tests/tools/ |
TestVersionTracker.java | 70 // Start Element Event Handler 77 String element = atts.getValue("id"); local 81 elements.put(element,element+"_"+version); 83 elements.put(element+"-feature",element+"_"+version); 86 String includeFile = thisFile.getParentFile().getParent() + '/' + element+"_"+version + "/feature.xml";
|
/external/guava/guava/src/com/google/common/collect/ |
ConcurrentHashMultiset.java | 63 /** The number of occurrences of each element. */ 103 * applies to all occurrences of a given element as a single unit. However, most updates to the 142 * Returns the number of occurrences of {@code element} in this multiset. 144 * @param element the element to look for 145 * @return the nonnegative number of occurrences of the element 147 @Override public int count(@Nullable Object element) { 148 AtomicInteger existingCounter = safeGet(element); 155 * those cases as if the element isn't in the map, by catching the exceptions and returning null. 157 private AtomicInteger safeGet(Object element) { 201 E element = entry.getElement(); local [all...] |
ImmutableSet.java | 46 * correctly if an element is modified after being placed in the set. For this 82 * Returns an immutable set containing a single element. This set behaves and 84 * a null element. It is preferable mainly for consistency and 87 public static <E> ImmutableSet<E> of(E element) { 88 return new SingletonImmutableSet<E>(element); 93 * occurrences of an element (according to {@link Object#equals}) after the 96 * @throws NullPointerException if any element is null 104 * occurrences of an element (according to {@link Object#equals}) after the 107 * @throws NullPointerException if any element is null 115 * occurrences of an element (according to {@link Object#equals}) after th 167 Object element = elements[i]; local 199 E element = (E) uniqueElements[0]; local [all...] |
Iterables.java | 114 * Returns {@code true} if {@code iterable} contains {@code element}; that is, 115 * any object for which {@code equals(element)} is true. 117 public static boolean contains(Iterable<?> iterable, @Nullable Object element) 122 return collection.contains(element); 129 return Iterators.contains(iterable.iterator(), element); 133 * Removes, from an iterable, every element that belongs to the provided 141 * @return {@code true} if any element was removed from {@code iterable} 151 * Removes, from an iterable, every element that does not belong to the 159 * @return {@code true} if any element was removed from {@code iterable} 169 * Removes, from an iterable, every element that satisfies the provide 198 T element = list.get(from); local [all...] |
RegularImmutableSortedSet.java | 40 * separate class for a single-element sorted set. 172 Object element = iterator.next(); local 175 || unsafeCompare(element, otherElement) != 0) {
|
SingletonImmutableList.java | 30 * Implementation of {@link ImmutableList} with exactly one element. 38 final transient E element; field in class:SingletonImmutableList 40 SingletonImmutableList(E element) { 41 this.element = checkNotNull(element); 47 return element; 51 return element.equals(object) ? 0 : -1; 55 return Iterators.singletonIterator(element); 59 return element.equals(object) ? 0 : -1; 81 return element; [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
Iterables.java | 111 * Returns {@code true} if {@code iterable} contains {@code element}; that is, 112 * any object for which {@code equals(element)} is true. 114 public static boolean contains(Iterable<?> iterable, @Nullable Object element) 119 return collection.contains(element); 126 return Iterators.contains(iterable.iterator(), element); 130 * Removes, from an iterable, every element that belongs to the provided 138 * @return {@code true} if any element was removed from {@code iterable} 148 * Removes, from an iterable, every element that does not belong to the 156 * @return {@code true} if any element was removed from {@code iterable} 166 * Removes, from an iterable, every element that satisfies the provide 195 T element = list.get(from); local [all...] |
/external/mesa3d/src/gallium/auxiliary/translate/ |
translate.h | 67 struct translate_element element[PIPE_MAX_ATTRIBS + 1]; member in struct:translate_key
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_vertex_buffers.c | 133 struct pipe_vertex_element element; local 135 /* setup rectangle element */ 136 element.src_offset = 0; 137 element.instance_divisor = 0; 138 element.vertex_buffer_index = 0; 139 element.src_format = PIPE_FORMAT_R32G32_FLOAT; 141 return element; 170 /* Position element */ 173 /* block num element */ 191 /* Position element */ [all...] |
/external/mesa3d/src/gallium/drivers/nv50/ |
nv50_stateobj.h | 62 struct nv50_vertex_element element[0]; member in struct:nv50_vertex_stateobj
|
/external/mesa3d/src/gallium/drivers/nvc0/ |
nvc0_stateobj.h | 61 struct nvc0_vertex_element element[0]; member in struct:nvc0_vertex_stateobj
|
/external/mesa3d/src/glsl/ |
lower_ubo_reference.cpp | 235 ir_constant *element = new(mem_ctx) ir_constant(i); local 238 element);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
GlobalKeyManager.java | 100 String element = parser.getName(); local 101 if (element == null) { 104 if (TAG_KEY.equals(element)) {
|
/frameworks/rs/ |
rsType.h | 40 const Element * element; member in struct:android::renderscript::Type::Hal::State 61 Type * createTex2D(const Element *, size_t w, size_t h, bool mip); 66 const Element * getElement() const {return mElement.get();} 102 static ObjectBaseRef<Type> getTypeRef(Context *rsc, const Element *e, 106 static Type* getType(Context *rsc, const Element *e, 128 ObjectBaseRef<const Element> mElement;
|
/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/action/ |
AdapterViewProtocols.java | 136 // thats a huge element. 149 View element = adapterView.getChildAt(childAt); local 151 // there is extra scrolling to be done. In particular if the element is the first or last 152 // element of the list, the smooth scroller may decide that no work needs to be done to scroll 153 // to the element if a certain percentage of it is on screen. Ugh. Sigh. Yuck. 155 return isDisplayingAtLeast(FULLY_RENDERED_PERCENTAGE_CUTOFF).matches(element);
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
documentimportnode20.java | 40 * from this document to a new document object. The replacement text of this entity is an element 42 * imported correctly by checking the nodeNames of the imported element node, the data for the 87 Element element; local 105 element = (Element) childList.item(0); 106 elemchildList = element.getChildNodes(); 115 assertEquals("documentimportnode20_Cdata", "Element data", cdataVal);
|
documentimportnode21.java | 40 * second element node whose tagName is address and import these nodes into another document. 88 Element element; local 106 element = (Element) addressList.item(1); 107 addressChildList = element.getChildNodes();
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
AbstractQueueTest.java | 91 * element returns normally if peek succeeds 95 q.element(); 99 * element throws NSEE if peek returns null 104 q.element();
|
/libcore/luni/src/main/java/java/util/ |
Deque.java | 14 * A linear collection that supports element insertion and removal at 23 * examine the element. Each of these methods exists in two forms: 38 * <td ALIGN=CENTER COLSPAN = 2> <b>First Element (Head)</b></td> 39 * <td ALIGN=CENTER COLSPAN = 2> <b>Last Element (Tail)</b></td> 100 * <td>{@link java.util.Queue#element element()}</td> 155 * element-based versions of the <tt>equals</tt> and <tt>hashCode</tt> 167 * Inserts the specified element at the front of this deque if it is 172 * @param e the element to add 173 * @throws IllegalStateException if the element cannot be added at thi 434 E element(); method in interface:Deque [all...] |
EnumSet.java | 42 * if the specified element type is not and enum type. 61 * @return an enum set with elements solely from the specified element type. 63 * if the specified element type is not and enum type. 80 * if the specified element type is not and enum type. 110 E element = iterator.next(); local 111 EnumSet<E> set = EnumSet.noneOf(element.getDeclaringClass()); 112 set.add(element); 140 * Creates a new enum set, containing only the specified element. There are 146 * the element to be initially contained. 147 * @return an enum set containing the specified element [all...] |
MiniEnumSet.java | 108 public boolean add(E element) { 109 elementClass.cast(element); // Called to throw ClassCastException. 111 long newBits = oldBits | (1L << element.ordinal()); 146 Enum<E> element = (Enum<E>) object; local 147 int ordinal = element.ordinal(); 221 Enum<E> element = (Enum<E>) object; local 222 int ordinal = element.ordinal();
|