/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
getElementsByTagNameNS09.java | 35 * Element should return a new NodeList of all descendant Elements with a given 40 * element with namespaceURI being "*" and localName is "employee". 42 * Retrieve the FOURTH element whose name should be "emp:employee". 79 Element newElement; 82 Element docElem; 87 newElement = (Element) newList.item(3);
|
namednodemapsetnameditemns06.java | 34 * Retreieve the first element whose localName is address and its attributes into a named node map. 36 * Retreieve the second element whose localName is address and its attributes into a named node map. 74 Element element; local 79 element = (Element) elementList.item(0); 80 attributes = element.getAttributes(); 82 element = (Element) elementList.item(1); 83 attributes = element.getAttributes() [all...] |
namednodemapsetnameditemns07.java | 36 * attribute of another Element object. 38 * Retreieve the attributes of first element whose localName is address into a named node map. 40 * from the NamedNodeMap. Retreieve the attributes of second element whose localName is address 80 Element element; local 85 element = (Element) elementList.item(0); 86 attributes = element.getAttributes(); 88 element = (Element) elementList.item(1) [all...] |
namednodemapsetnameditemns08.java | 35 * attribute of another Element object. 36 * Retreieve the first element whose localName is address and its attributes into a named node map. 37 * Retreiving the domestic attribute from the namednodemap. Retreieve the second element whose 76 Element element; local 81 element = (Element) elementList.item(0); 82 attributes = element.getAttributes(); 84 element = (Element) elementList.item(1) [all...] |
removeAttributeNS02.java | 90 ((Element) /*Node */testAddr).removeAttributeNS("http://www.nist.gov", "local1"); 93 addrAttr = ((Element) /*Node */testAddr).getAttributeNodeNS("http://www.nist.gov", "local1"); 94 attr = ((Element) /*Node */testAddr).getAttributeNS("http://www.nist.gov", "local1");
|
setAttributeNS04.java | 36 * on the element, its prefix is changed to be the prefix part of the "qualifiedName", 41 * Add a new attribute to the "emp:address" element. 90 ((Element) /*Node */testAddr).setAttributeNS("http://www.nist.gov", "newprefix:zone", "newValue"); 91 addrAttr = ((Element) /*Node */testAddr).getAttributeNodeNS("http://www.nist.gov", "zone"); 92 resultAttr = ((Element) /*Node */testAddr).getAttributeNS("http://www.nist.gov", "zone");
|
setAttributeNS09.java | 36 * on the element, its prefix is changed to be the prefix part of the "qualifiedName", 41 * Add a new attribute to the "emp:address" element. 85 ((Element) /*Node */testAddr).setAttributeNS(namespaceURI, qualifiedName, "newValue"); 86 addrAttr = ((Element) /*Node */testAddr).getAttributeNodeNS(namespaceURI, localName); 87 resultAttr = ((Element) /*Node */testAddr).getAttributeNS(namespaceURI, localName);
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
HCNamedNodeMapInvalidType.java | 23 import org.w3c.dom.Element; 29 * Attempt to insert an element into an attribute list, should raise a 72 Element docElem; 73 Element newElem;
|
NodeGetLocalName.java | 27 import org.w3c.dom.Element; 35 * Ceate two new element nodes and atribute nodes, with and without namespace prefixes. 71 Element element; local 72 Element qelement; 80 element = doc.createElementNS("http://www.w3.org/DOM/Test/elem", "elem"); 84 localElemName = element.getLocalName();
|
NodeGetNamespaceURI.java | 27 import org.w3c.dom.Element; 37 * Ceate two new element nodes and atribute nodes, with and without namespace prefixes. 73 Element element; local 74 Element elementNS; 84 element = doc.createElementNS(nullNS, "elem"); 89 elemNSURINull = element.getNamespaceURI();
|
NodeGetPrefix.java | 27 import org.w3c.dom.Element; 35 * Ceate two new element nodes and atribute nodes, with and without namespace prefixes. 72 Element element; local 73 Element qelement; 81 element = doc.createElementNS("http://www.w3.org/DOM/Test/elem", "elem"); 85 elemNoPrefix = element.getPrefix();
|
OwnerElement.java | 29 import org.w3c.dom.Element; 34 * The "getOwnerElement()" will return the Element node this attribute is 37 * to get the Element associated with the attribute. The value returned should 80 Element elementNode; 94 Element elementNode;
|
NamedNodeMapGetNamedItemNS.java | 29 import org.w3c.dom.Element; 103 Node element; local 110 element = elementList.item(1); 111 attributes = element.getAttributes(); 120 Node element; local 127 element = doc.createElementNS("http://www.w3.org/DOM/Test", "root"); 129 ((Element) /* Node */element).setAttributeNodeNS(newAttr1); 131 ((Element) /* Node */element).setAttributeNodeNS(newAttr2) 141 Element element; local 160 Node element; local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
DomUtilities.java | 45 import org.w3c.dom.Element; 95 * element, etc). This will include the node itself, if it is an element. 101 public static List<Element> getAllElements(@NonNull Node node) { 102 List<Element> elements = new ArrayList<Element>(64); 107 private static void addElements(@NonNull Node node, @NonNull List<Element> elements) { 108 if (node instanceof Element) { 109 elements.add((Element) node); 120 * and the document element having depth 1 [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
UnwrapRefactoring.java | 43 import org.w3c.dom.Element; 57 private Element mContainer; 77 UnwrapRefactoring(List<Element> selectedElements, LayoutEditorDelegate editor) { 100 Element first = mElements.get(0); 102 // Determine the element of the container to be removed. 115 List<Element> elements = DomUtilities.getChildren(mContainer); 121 } else if (useParent && (parent instanceof Element)) { 122 mContainer = (Element) parent; 127 for (Element element : mElements) [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
VLoadTest.java | 95 walkAlloc = Allocation.createSized(mRS, Element.I32(mRS), i); 211 testSetup(Type.createX(mRS, Element.I8(mRS), w)); 219 testSetup(Type.createX(mRS, Element.U8(mRS), w)); 227 testSetup(Type.createX(mRS, Element.I8(mRS), w)); 235 testSetup(Type.createX(mRS, Element.U8(mRS), w)); 243 testSetup(Type.createX(mRS, Element.I16(mRS), w)); 251 testSetup(Type.createX(mRS, Element.U16(mRS), w)); 259 testSetup(Type.createX(mRS, Element.I16(mRS), w)); 267 testSetup(Type.createX(mRS, Element.U16(mRS), w)); 275 testSetup(Type.createX(mRS, Element.I32(mRS), w)) [all...] |
/external/droiddriver/src/io/appium/droiddriver/finders/ |
ByXPath.java | 22 import org.w3c.dom.Element; 59 private static final Map<BaseUiElement<?, ?>, Element> TO_DOM_MAP = 60 new HashMap<BaseUiElement<?, ?>, Element>(); 61 private static final Map<Element, BaseUiElement<?, ?>> FROM_DOM_MAP = 62 new HashMap<Element, BaseUiElement<?, ?>>(); 89 Element domNode = getDomNode((BaseUiElement<?, ?>) context, UiElement.VISIBLE); 92 Element foundNode = (Element) xPathExpression.evaluate(domNode, XPathConstants.NODE); 127 private static Element getDomNode(BaseUiElement<?, ?> uiElement, 129 Element domNode = TO_DOM_MAP.get(uiElement) 142 Element element = getDocument().createElement(XPaths.tag(className)); local [all...] |
/external/testng/src/main/java/org/testng/xml/dom/ |
DomUtil.java | 9 import org.w3c.dom.Element; 44 Element e = (Element) node; 62 if (item3 instanceof Element) { 63 Element e = (Element) item3; 80 // Element e = (Element) item2; 90 // if (item3 instanceof Element) { 91 // Element e = (Element) item3 [all...] |
/external/autotest/frontend/client/src/autotest/common/table/ |
TableRenderer.java | 7 import com.google.gwt.dom.client.Element; 83 Element tempDiv = DOM.createDiv(); 87 Element newTable = tempDiv.getFirstChildElement(); 88 Element newBody = newTable.getFirstChildElement(); 97 protected native void setBodyElement(HTMLTable table, Element newBody) /*-{
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
MapKeyProcessingStep.java | 28 import javax.lang.model.element.Element; 29 import javax.lang.model.element.ElementKind; 67 public Set<Element> process( 68 SetMultimap<Class<? extends Annotation>, Element> elementsByAnnotation) { 69 for (Element element : elementsByAnnotation.get(MapKey.class)) { 70 ValidationReport<Element> mapKeyReport = mapKeyValidator.validate(element); 74 MapKey mapkey = element.getAnnotation(MapKey.class) [all...] |
/external/guava/guava/src/com/google/common/reflect/ |
Element.java | 37 class Element extends AccessibleObject implements Member { 42 <M extends AccessibleObject & Member> Element(M member) { 92 /** Returns true if the element is public. */ 97 /** Returns true if the element is protected. */ 102 /** Returns true if the element is package-private. */ 107 /** Returns true if the element is private. */ 112 /** Returns true if the element is static. */ 133 /** Returns true if the element is native. */ 154 if (obj instanceof Element) { 155 Element that = (Element) obj [all...] |
/frameworks/rs/tests/lldb/cpp/KernelVariables/ |
KernelVariables.cpp | 28 auto e = Element::RGBA_8888(rs); 40 sp<Allocation> int_allocation = Allocation::createSized(rs, Element::I32(rs), 4); 46 Type::Builder typeI32Builder2D(rs, Element::I32(rs)); 59 Type::Builder typeI32Builder3D(rs, Element::I32(rs)); 68 Type::Builder yuvTypeBuilder(rs, Element::YUV(rs));
|
/frameworks/rs/tests/lldb/jni/KernelVariables/jnikernelvariables/ |
jnikernelvariables.cpp | 37 auto e = Element::RGBA_8888(rs); 49 sp<Allocation> int_allocation = Allocation::createSized(rs, Element::I32(rs), 4); 55 Type::Builder typeI32Builder2D(rs, Element::I32(rs)); 68 Type::Builder typeI32Builder3D(rs, Element::I32(rs)); 77 Type::Builder yuvTypeBuilder(rs, Element::YUV(rs));
|
/system/netd/server/ |
MDnsSdListener.h | 85 class Element { 88 Element *mNext; 92 Element(int id, Context *context) 94 virtual ~Element() { delete(mContext); } 96 Element *mHead;
|
/external/google-breakpad/src/testing/include/gmock/internal/ |
gmock-internal-utils.h | 80 template <typename Element> 81 inline Element* GetRawPointer(Element* p) { return p; } 395 template <typename Element, size_t N> 396 class StlContainerView<Element[N]> { 398 typedef GTEST_REMOVE_CONST_(Element) RawElement; 407 static const_reference ConstReference(const Element (&array)[N]) { 408 // Ensures that Element is not a const type. 409 testing::StaticAssertTypeEq<Element, RawElement>(); 412 // for this call without the cast to Element* [all...] |