/external/guava/guava-tests/test/com/google/common/reflect/ |
ElementTest.java | 29 * Unit tests of {@link Element}. 36 Element element = A.field("privateField"); local 37 assertTrue(element.isPrivate()); 38 assertFalse(element.isAbstract()); 39 assertFalse(element.isPackagePrivate()); 40 assertFalse(element.isProtected()); 41 assertFalse(element.isPublic()); 42 assertFalse(element.isFinal()); 43 assertFalse(element.isStatic()) 48 Element element = A.field("packagePrivateField"); local 59 Element element = A.field("protectedField"); local 70 Element element = A.field("publicField"); local 81 Element element = A.field("finalField"); local 88 Element element = A.field("staticField"); local 94 Element element = A.field("volatileField"); local 99 Element element = A.field("transientField"); local 104 Element element = A.constructor(); local 113 Element element = A.method("abstractMethod"); local 121 Element element = A.method("overridableMethod"); local 129 Element element = A.method("privateMethod"); local 139 Element element = A.method("protectedMethod"); local 150 Element element = A.method("publicFinalMethod"); local 159 Element element = A.method("nativeMethod"); local 165 Element element = A.method("synchronizedMethod"); local 170 Element element = A.method("notAnnotatedMethod"); local 219 Element element = new Element(A.class.getDeclaredField(name)); local 227 Element element = new Element(constructor); local 234 Element element = new Element(A.class.getDeclaredMethod(name, parameterTypes)); local [all...] |
/external/droiddriver/src/io/appium/droiddriver/validators/ |
DefaultAccessibilityValidator.java | 33 public boolean isApplicable(UiElement element, Action action) { 38 public String validate(UiElement element, Action action) { 39 return isSpeakingNode(element) ? null : "TalkBack cannot speak about it"; 43 private static boolean isAccessibilityFocusable(UiElement element) { 44 return isActionableForAccessibility(element) 45 || (isTopLevelScrollItem(element) && isSpeakingNode(element)); 48 private static boolean isTopLevelScrollItem(UiElement element) { 49 UiElement parent = element.getParent(); 54 private static boolean isActionableForAccessibility(UiElement element) { [all...] |
ExemptRootValidator.java | 27 public boolean isApplicable(UiElement element, Action action) { 28 return element.getParent() == null; // don't check root 32 public String validate(UiElement element, Action action) {
|
VisibilityValidator.java | 27 public boolean isApplicable(UiElement element, Action action) { 32 public String validate(UiElement element, Action action) { 33 return element.isVisible() ? null : "invisible";
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/util/ |
PsiUtil.java | 38 public static PsiElement searchBackward(PsiElement element, PsiMatcherExpression matcher, 40 while (!matcher.match(element)) { 41 if (until.match(element)) { 44 PsiElement prev = element.getPrevSibling(); 46 prev = element.getParent(); 51 element = prev; 53 return element; 56 public static PsiElement searchForward(PsiElement element, PsiMatcherExpression matcher, 58 while (!matcher.match(element)) { 59 if (until.match(element)) { [all...] |
/external/parameter-framework/upstream/parameter/include/ |
ParameterHandle.h | 48 CParameterHandle(CConfigurableElement &element, CParameterMgr ¶meterMgr) 49 : ElementHandle(element, parameterMgr)
|
/external/v8/src/base/ |
list.h | 20 void PushBack(T* element) { 21 DCHECK(!element->list_node().next()); 22 DCHECK(!element->list_node().prev()); 25 InsertAfter(element, back_); 27 AddFirstElement(element); 31 void PushFront(T* element) { 32 DCHECK(!element->list_node().next()); 33 DCHECK(!element->list_node().prev()); 36 InsertBefore(element, front_); 38 AddFirstElement(element); [all...] |
/external/droiddriver/src/io/appium/droiddriver/actions/ |
EventAction.java | 32 public final boolean perform(UiElement element) { 33 return perform(element.getInjector(), element); 40 * @param element the UiElement to perform the action on 45 protected abstract boolean perform(InputInjector injector, UiElement element);
|
KeyAction.java | 33 protected void maybeCheckFocused(UiElement element) { 34 if (checkFocused && element != null && !element.isFocused()) { 35 throw new ActionException(element + " is not focused");
|
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/ |
_from_grpc_import_star.py | 22 element for element in _AFTER_IMPORT 23 if element not in _BEFORE_IMPORT and element != '_BEFORE_IMPORT')
|
/external/autotest/frontend/client/src/autotest/common/ui/ |
ElementWidget.java | 4 import com.google.gwt.user.client.Element; 8 * A simple widget that wraps an HTML element. This allows the element to be 12 protected Element element; field in class:ElementWidget 15 * @param element the HTML element to wrap 17 public ElementWidget(Element element) { 18 this.element = element 20 DOM.removeChild(DOM.getParent(element), element); local [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
MultisetSetCountUnconditionallyTester.java | 31 @Override void setCountCheckReturnValue(E element, int count) { 33 getMultiset().count(element), setCount(element, count)); 36 @Override void setCountNoCheckReturnValue(E element, int count) { 37 setCount(element, count); 40 private int setCount(E element, int count) { 41 return getMultiset().setCount(element, count);
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
SingletonImmutableList.java | 35 E element; field in class:SingletonImmutableList 37 SingletonImmutableList(E element) { 38 this.delegate = singletonList(checkNotNull(element)); 39 this.element = element;
|
SingletonImmutableSet.java | 36 E element; field in class:SingletonImmutableSet 38 SingletonImmutableSet(E element) { 39 this.element = checkNotNull(element); 49 return Iterators.singletonIterator(element); 54 return element.equals(object);
|
/external/tensorflow/tensorflow/core/util/ |
batch_util.h | 24 // Copies element into the index^th slice of parent (in the 0th dimension). 26 // NOTE(mrry): The `element` argument is taken by value. Use `std::move()` 27 // to move the `element` argument into this function, and the implementation 30 Status CopyElementToSlice(Tensor element, Tensor* parent, int64 index); 32 // Copies the index^th slice of parent (in the 0th dimension) into element. 33 Status CopySliceToElement(const Tensor& parent, Tensor* element, int64 index); 35 // Copies the index^th slice of parent (in the 0th dimension) into element. 39 Status MaybeMoveSliceToElement(Tensor* parent, Tensor* element, int64 index); 41 // Zero-initializes the tensor `element` using the scalar stored in `padding`. 42 // Both `element` and `padding` must have matching `dtype` [all...] |
batch_util.cc | 29 Status ValidateInput(const Tensor& parent, const Tensor& element, int64 index) { 32 if (element.NumElements() != (parent.NumElements() / parent.dim_size(0))) { 37 " Shapes are: [element]: ", 38 element.shape().DebugString(), 45 Status HandleElementToSlice(Tensor element, Tensor* parent, int64 index, 47 parent->flat_outer_dims<T>().chip(index, 0) = element.flat<T>(); 52 Status HandleElementToSlice<string>(Tensor element, Tensor* parent, int64 index, 55 auto element_flat = element.flat<string>(); 57 for (int64 i = 0; i < element.NumElements(); ++i) { 67 Status HandleElementToSlice<Variant>(Tensor element, Tensor* parent [all...] |
/development/vndk/tools/header-checker/src/repr/ |
ir_representation_internal.h | 28 inline std::string GetReferencedTypeMapKey(T &element) { 29 return element.GetReferencedType(); 33 inline std::string GetReferencedTypeMapKey<ArrayTypeIR>(ArrayTypeIR &element) { 34 return element.GetReferencedType() + ":" + std::to_string(element.GetSize()); 39 BuiltinTypeIR &element) { 40 return element.GetLinkerSetKey(); 49 QualifiedTypeIR &element) { 50 return element.GetReferencedType() + BoolToString(element.IsRestricted()) [all...] |
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/internal/ |
ConcurrentIntrusiveList.java | 22 import io.opencensus.implcore.trace.internal.ConcurrentIntrusiveList.Element; 33 * <p>Elements must derive from the {@code Element<T extends Element<T>>} interface: 36 * class MyClass implements {@code Element<MyClass>} { 46 * void setNext(MyClass element) { 47 * next = element; 56 * void setPrev(MyClass element) { 57 * prev = element; 63 public final class ConcurrentIntrusiveList<T extends Element<T>> { 70 * Adds the given {@code element} to the list [all...] |
/external/adhd/cras/src/common/ |
array.h | 39 /* Define a type for the array given the element type */ 44 element_type *element; \ 57 (a)->element = (__typeof((a)->element)) \ 58 realloc((a)->element, \ 60 sizeof((a)->element[0])); \ 62 &(a)->element[((a)->count)++]; \ 65 /* Append an element with the given value to the array a */ 71 /* Append a zero element to the array a and return the pointer to the element */ [all...] |
/external/guava/guava/src/com/google/common/collect/ |
SingletonImmutableSet.java | 27 * Implementation of {@link ImmutableSet} with exactly one element. 36 final transient E element; field in class:SingletonImmutableSet 46 SingletonImmutableSet(E element) { 47 this.element = Preconditions.checkNotNull(element); 50 SingletonImmutableSet(E element, int hashCode) { 52 this.element = element; 66 return element.equals(target); 70 return Iterators.singletonIterator(element); [all...] |
/external/droiddriver/src/io/appium/droiddriver/actions/view/ |
ViewAction.java | 35 public final boolean perform(UiElement element) { 36 return perform(((ViewElement) element).getRawElement(), element); 43 * @param element the UiElement to perform the action on 47 protected abstract boolean perform(View view, UiElement element);
|
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/ |
ListHashCodeTester.java | 30 for (E element : getOrderedElements()) { 32 ((element == null) ? 0 : element.hashCode());
|
/external/desugar/java/com/google/devtools/common/options/processor/ |
OptionProcessorException.java | 16 import javax.lang.model.element.Element; 20 private final Element elementInError; 22 OptionProcessorException(Element element, String message, Object... args) { 24 elementInError = element; 27 OptionProcessorException(Element element, Throwable throwable, String message, Object... args) { 29 elementInError = element; 32 Element getElementInError() [all...] |
/external/python/cpython2/Lib/test/ |
test_xml_etree_c.py | 25 element = cET.Element('tag') 27 element.tag = 'TAG' 29 del element.tag 30 self.assertEqual(element.tag, 'TAG') 33 del element.text 34 self.assertIsNone(element.text) 35 element.text = 'TEXT' 37 del element.text 38 self.assertEqual(element.text, 'TEXT' [all...] |
/cts/tests/tests/location/src/android/location/cts/asn1/supl2/ulp/ |
UlpMessage.java | 67 private Asn1Object element; field in class:UlpMessage 153 element = selection.createElement(); 154 return element; 162 element = select.createElement(); 173 return element; 192 String elementIndentedString(Asn1Object element, String indent) { 193 return toString() + " : " + element.toIndentedString(indent); 210 String elementIndentedString(Asn1Object element, String indent) { 211 return toString() + " : " + element.toIndentedString(indent); 228 String elementIndentedString(Asn1Object element, String indent) 378 SUPLINIT element = new SUPLINIT(); local 407 SUPLSTART element = new SUPLSTART(); local 436 SUPLRESPONSE element = new SUPLRESPONSE(); local 465 SUPLPOSINIT element = new SUPLPOSINIT(); local 494 SUPLPOS element = new SUPLPOS(); local 523 SUPLEND element = new SUPLEND(); local 552 SUPLAUTHREQ element = new SUPLAUTHREQ(); local 581 SUPLAUTHRESP element = new SUPLAUTHRESP(); local 740 Ver2_SUPLTRIGGEREDSTART element = new Ver2_SUPLTRIGGEREDSTART(); local 768 Ver2_SUPLTRIGGEREDRESPONSE element = new Ver2_SUPLTRIGGEREDRESPONSE(); local 796 Ver2_SUPLTRIGGEREDSTOP element = new Ver2_SUPLTRIGGEREDSTOP(); local 824 Ver2_SUPLNOTIFY element = new Ver2_SUPLNOTIFY(); local 852 Ver2_SUPLNOTIFYRESPONSE element = new Ver2_SUPLNOTIFYRESPONSE(); local 880 Ver2_SUPLSETINIT element = new Ver2_SUPLSETINIT(); local 908 Ver2_SUPLREPORT element = new Ver2_SUPLREPORT(); local [all...] |