/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
InjectMethodValidator.java | 21 import javax.lang.model.element.AnnotationMirror; 22 import javax.lang.model.element.ExecutableElement; 23 import javax.lang.model.element.Modifier; 24 import javax.lang.model.element.VariableElement; 33 import static javax.lang.model.element.Modifier.ABSTRACT; 34 import static javax.lang.model.element.Modifier.PRIVATE; 35 import static javax.lang.model.element.Modifier.STATIC;
|
Scope.java | 24 import javax.lang.model.element.AnnotationMirror; 25 import javax.lang.model.element.Element; 26 import javax.lang.model.element.TypeElement; 65 * If the source code element has an associated scoped annotation then returns a representation 68 static Scope scopeOf(Element element) { 69 Optional<AnnotationMirror> scopeAnnotation = getScopeAnnotation(element);
|
/external/deqp/executor/ |
xeTestCaseListParser.cpp | 86 xml::Element element = m_xmlParser.getElement(); local 88 if (element == xml::ELEMENT_INCOMPLETE || 89 element == xml::ELEMENT_END_OF_STRING) 92 if (element == xml::ELEMENT_START || element == xml::ELEMENT_END) 94 bool isStart = element == xml::ELEMENT_START; 139 else if (element != xml::ELEMENT_DATA)
|
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/ |
AnnotationIdTest.java | 88 * Test adding a method annotation with new value of Boolean element. 93 AnnotationId.Element element = new AnnotationId.Element("elementBoolean", true); local 94 addAnnotationToMethod(methodId, element); 104 * Test adding a method annotation with new value of Byte element. 109 AnnotationId.Element element = new AnnotationId.Element("elementByte", Byte.MAX_VALUE); local 110 addAnnotationToMethod(methodId, element); 125 AnnotationId.Element element = new AnnotationId.Element("elementChar", 'X'); local 141 AnnotationId.Element element = new AnnotationId.Element("elementDouble", Double.NaN); local 157 AnnotationId.Element element = new AnnotationId.Element("elementFloat", Float.NaN); local 173 AnnotationId.Element element = new AnnotationId.Element("elementInt", Integer.MAX_VALUE); local 189 AnnotationId.Element element = new AnnotationId.Element("elementLong", Long.MAX_VALUE); local 205 AnnotationId.Element element = new AnnotationId.Element("elementShort", Short.MAX_VALUE); local 221 AnnotationId.Element element = new AnnotationId.Element("elementString", "hello"); local 239 AnnotationId.Element element = new AnnotationId.Element("elementEnum", ElementEnum.INSTANCE_1); local 255 AnnotationId.Element element = new AnnotationId.Element("elementClass", AnnotationId.class); local 316 AnnotationId.Element element = new AnnotationId.Element("elementInt", a); local 331 AnnotationId.Element element = new AnnotationId.Element("elementInt", INT); local [all...] |
/external/google-breakpad/src/testing/gtest/samples/ |
sample3-inl.h | 42 // The element type must support copy constructor. 43 template <typename E> // E is the element type 46 // QueueNode is a node in a Queue, which consists of an element of 48 template <typename E> // E is the element type 53 // Gets the element in this node. 54 const E& element() const { return element_; } function in class:QueueNode 61 // Creates a node with a given element value. The next pointer is 73 template <typename E> // E is the element type. 104 // Gets the first element of the queue, or NULL if the queue is empty. 108 // Gets the last element of the queue, or NULL if the queue is empty 143 E* element = new E(old_head->element()); local [all...] |
/external/googletest/googletest/samples/ |
sample3-inl.h | 40 // The element type must support copy constructor. 41 template <typename E> // E is the element type 44 // QueueNode is a node in a Queue, which consists of an element of 46 template <typename E> // E is the element type 51 // Gets the element in this node. 52 const E& element() const { return element_; } function in class:QueueNode 59 // Creates a node with a given element value. The next pointer is 72 template <typename E> // E is the element type. 103 // Gets the first element of the queue, or NULL if the queue is empty. 107 // Gets the last element of the queue, or NULL if the queue is empty 142 E* element = new E(old_head->element()); local [all...] |
/external/jacoco/org.jacoco.report/src/org/jacoco/report/xml/ |
XMLFormatter.java | 66 RootVisitor(final XMLElement element) throws IOException { 67 super(element, null); 82 XMLCoverageWriter.writeBundle(bundle, element); 89 return new XMLGroupVisitor(element, name); 93 element.attr("name", name); 95 final XMLElement sessioninfo = root.element("sessioninfo"); 104 element.close();
|
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/xml/ |
XMLElementTest.java | 55 root.element("child"); 66 root.element("world"); 73 root.element("world"); 74 root.element("universe"); 88 root.element("tag1"); 90 root.element("tag2"); 142 root.element("child");
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_draw.c | 57 const struct pipe_vertex_element *element = local 60 &vertex_buffers[element->vertex_buffer_index]; 73 format_desc = util_format_description(element->src_format); 86 if (element->src_offset >= buffer_size) { 91 buffer_size -= element->src_offset; 105 if (element->instance_divisor == 0) { 112 if ((info->start_instance + info->instance_count)/element->instance_divisor
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
BooleanArrayList.java | 139 public Boolean set(int index, Boolean element) { 140 return setBoolean(index, element); 144 public boolean setBoolean(int index, boolean element) { 148 array[index] = element; 153 public void add(int index, Boolean element) { 154 addBoolean(index, element); 158 * Like {@link #add(Boolean)} but more efficient in that it doesn't box the element. 161 public void addBoolean(boolean element) { 162 addBoolean(size, element); 166 * Like {@link #add(int, Boolean)} but more efficient in that it doesn't box the element [all...] |
DoubleArrayList.java | 140 public Double set(int index, Double element) { 141 return setDouble(index, element); 145 public double setDouble(int index, double element) { 149 array[index] = element; 154 public void add(int index, Double element) { 155 addDouble(index, element); 159 * Like {@link #add(Double)} but more efficient in that it doesn't box the element. 162 public void addDouble(double element) { 163 addDouble(size, element); 167 * Like {@link #add(int, Double)} but more efficient in that it doesn't box the element [all...] |
FloatArrayList.java | 138 public Float set(int index, Float element) { 139 return setFloat(index, element); 143 public float setFloat(int index, float element) { 147 array[index] = element; 152 public void add(int index, Float element) { 153 addFloat(index, element); 157 * Like {@link #add(Float)} but more efficient in that it doesn't box the element. 160 public void addFloat(float element) { 161 addFloat(size, element); 165 * Like {@link #add(int, Float)} but more efficient in that it doesn't box the element [all...] |
IntArrayList.java | 138 public Integer set(int index, Integer element) { 139 return setInt(index, element); 143 public int setInt(int index, int element) { 147 array[index] = element; 152 public void add(int index, Integer element) { 153 addInt(index, element); 157 * Like {@link #add(Integer)} but more efficient in that it doesn't box the element. 160 public void addInt(int element) { 161 addInt(size, element); 165 * Like {@link #add(int, Integer)} but more efficient in that it doesn't box the element [all...] |
LongArrayList.java | 138 public Long set(int index, Long element) { 139 return setLong(index, element); 143 public long setLong(int index, long element) { 147 array[index] = element; 152 public void add(int index, Long element) { 153 addLong(index, element); 157 * Like {@link #add(Long)} but more efficient in that it doesn't box the element. 160 public void addLong(long element) { 161 addLong(size, element); 165 * Like {@link #add(int, Long)} but more efficient in that it doesn't box the element [all...] |
/external/webrtc/webrtc/tools/loopback_test/ |
adapter.js | 110 // Attach a media stream to an element. 111 attachMediaStream = function(element, stream) { 113 element.mozSrcObject = stream; 114 element.play(); 193 // Attach a media stream to an element. 194 attachMediaStream = function(element, stream) { 195 if (typeof element.srcObject !== 'undefined') { 196 element.srcObject = stream; 197 } else if (typeof element.mozSrcObject !== 'undefined') { 198 element.mozSrcObject = stream [all...] |
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/ |
SequenceMatcher.java | 34 * @param <E> type of stream element. 57 * @param <E> type of stream element. 68 void accumulate(E element) { 70 // Search for the first element of sequence. 71 if (mPredicates[0].test(element)) { 72 mSequence.add(element); 81 if (mPredicates[currentIndex].test(element)) { 82 mSequence.add(element); 124 * @param <E> type of stream element 129 throw new IllegalArgumentException("At least one element.") [all...] |
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/tree/ |
RewriteRuleElementStream.as | 65 /** The element or stream description; usually has name of the token or 72 public function RewriteRuleElementStream(adaptor:TreeAdaptor, elementDescription:String, element:Object = null) { 75 if (element != null) { 76 if (element is Array) { 78 this.elements = element as Array; 81 /** Create a stream with one element */ 82 add(element); 110 // adding 2nd element, move to list 117 /** Return the next element in the stream. If out of elements, throw 120 * size==1. If we've already used the element, dup (dirty bit set) [all...] |
/external/autotest/client/site_tests/webrtc_PausePlayPeerConnections/ |
pause-play.js | 23 const element = document.createElement(elementType); 24 element.autoplay = false; 25 $('body').appendChild(element); 34 this.elements.push(element); 36 new PeerConnection(element, [resolution], cpuOveruseDetection));
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableCollection.java | 105 public abstract Builder<E> add(E element); 109 for (E element : elements) { 110 add(checkNotNull(element)); 117 for (E element : elements) { 118 add(checkNotNull(element));
|
/external/libchrome/mojo/public/cpp/bindings/ |
clone_traits.h | 60 for (const auto& element : input) 61 result.push_back(mojo::Clone(element)); 71 for (const auto& element : input) { 72 result.insert(std::make_pair(mojo::Clone(element.first), 73 mojo::Clone(element.second)));
|
/external/libchrome/mojo/public/cpp/bindings/lib/ |
wtf_clone_equals_util.h | 23 for (const auto& element : input) 24 result.push_back(mojo::Clone(element)); 34 for (const auto& element : input) 35 result.insert(mojo::Clone(element.key), mojo::Clone(element.value));
|
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/validator/ |
FoundOnImplementsValidator.java | 4 import javax.lang.model.element.AnnotationMirror; 5 import javax.lang.model.element.Element; 6 import javax.lang.model.element.ExecutableElement; 7 import javax.lang.model.element.TypeElement; 8 import javax.lang.model.element.VariableElement; 30 public void init(Element elem, Element p) { 51 final public Void visitVariable(VariableElement elem, Element parent) { 60 final public Void visitExecutable(ExecutableElement elem, Element parent) [all...] |
/external/webrtc/webrtc/libjingle/xmpp/ |
xmppengineimpl_iq.cc | 39 XmppEngineImpl::SendIq(const XmlElement * element, XmppIqHandler * iq_handler, 45 if (!element || element->Name() != QN_IQ) 48 const std::string& type = element->Attr(QN_TYPE); 52 if (!element->HasAttr(QN_ID)) 54 const std::string& id = element->Attr(QN_ID); 57 element->Attr(QN_TO), 60 SendStanza(element); 233 XmppEngineImpl::HandleIqResponse(const XmlElement * element) { 236 if (element->Name() != QN_IQ [all...] |
/external/ImageMagick/MagickCore/ |
linked-list.c | 173 *element; 186 element=next; 188 element=(ElementInfo *) RelinquishMagickMemory(element); 436 % InsertValueInLinkedList() inserts an element in the linked-list at the 502 *element; 504 element=list_info->head; 505 next->next=element->next; 508 element=element->next 169 *element; local 496 *element; local 553 *element; local 778 *element; local 857 *element; local [all...] |
/external/okhttp/website/static/ |
bootstrap.min.js | 6 !function(e){"use strict";e(function(){e.support.transition=function(){var e=function(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},n;for(n in t)if(e.style[n]!==undefined)return t[n]}();return e&&{end:e}}()})}(window.jQuery),!function(e){"use strict";var t='[data-dismiss="alert"]',n=function(n){e(n).on("click",t,this.close)};n.prototype.close=function(t){function s(){i.trigger("closed").remove()}var n=e(this),r=n.attr("data-target"),i;r||(r=n.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,"")),i=e(r),t&&t.preventDefault(),i.length||(i=n.hasClass("alert")?n:n.parent()),i.trigger(t=e.Event("close"));if(t.isDefaultPrevented())return;i.removeClass("in"),e.support.transition&&i.hasClass("fade")?i.on(e.support.transition.end,s):s()};var r=e.fn.alert;e.fn.alert=function(t){return this.each(function(){var r=e(this),i=r.data("alert");i||r.data("alert",i=new n(this)),typeof t=="string"&&i[t].call(r)})},e.fn.alert.Constructor=n,e.fn.alert.noConflict=function(){return e.fn.alert=r,this},e(document).on("click.alert.data-api",t,n.prototype.close)}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.button.defaults,n)};t.prototype.setState=function(e){var t="disabled",n=this.$element,r=n.data(),i=n.is("input")?"val":"html";e+="Text",r.resetText||n.data("resetText",n[i]()),n[i](r[e]||this.options[e]),setTimeout(function(){e=="loadingText"?n.addClass(t).attr(t,t):n.removeClass(t).removeAttr(t)},0)},t.prototype.toggle=function(){var e=this.$element.closest('[data-toggle="buttons-radio"]');e&&e.find(".active").removeClass("active"),this.$element.toggleClass("active")};var n=e.fn.button;e.fn.button=function(n){return this.each(function(){var r=e(this),i=r.data("button"),s=typeof n=="object"&&n;i||r.data("button",i=new t(this,s)),n=="toggle"?i.toggle():n&&i.setState(n)})},e.fn.button.defaults={loadingText:"loading..."},e.fn.button.Constructor=t,e.fn.button.noConflict=function(){return e.fn.button=n,this},e(document).on("click.button.data-api","[data-toggle^=button]",function(t){var n=e(t.target);n.hasClass("btn")||(n=n.closest(".btn")),n.button("toggle")})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.options.pause=="hover"&&this.$element.on("mouseenter",e.proxy(this.pause,this)).on("mouseleave",e.proxy(this.cycle,this))};t.prototype={cycle:function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},getActiveIndex:function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},to:function(t){var n=this.getActiveIndex(),r=this;if(t>this.$items.length-1||t<0)return;return this.sliding?this.$element.one("slid",function(){r.to(t)}):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",e(this.$items[t]))},pause:function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&e.support.transition.end&&(this.$element.trigger(e.support.transition (…) [all...] |