/external/proguard/src/proguard/classfile/editor/ |
VariableSizeUpdater.java | 24 import proguard.classfile.attribute.*; 25 import proguard.classfile.attribute.visitor.AttributeVisitor; 50 public void visitAnyAttribute(Clazz clazz, Attribute attribute) {}
|
/external/proguard/src/proguard/obfuscate/ |
AttributeShrinker.java | 24 import proguard.classfile.attribute.*; 25 import proguard.classfile.attribute.visitor.AttributeVisitor; 81 public void visitAnyAttribute(Clazz clazz, Attribute attribute) {}
|
NameAndTypeUsageMarker.java | 24 import proguard.classfile.attribute.*; 25 import proguard.classfile.attribute.visitor.AttributeVisitor; 94 public void visitAnyAttribute(Clazz clazz, Attribute attribute) {}
|
/external/proguard/src/proguard/optimize/info/ |
VariableUsageMarker.java | 24 import proguard.classfile.attribute.*; 25 import proguard.classfile.attribute.visitor.AttributeVisitor; 55 public void visitAnyAttribute(Clazz clazz, Attribute attribute) {}
|
/external/proguard/src/proguard/optimize/peephole/ |
PeepholeOptimizer.java | 24 import proguard.classfile.attribute.*; 25 import proguard.classfile.attribute.visitor.AttributeVisitor; 33 * (optional) branch target finder and code attribute editor. 48 * @param codeAttributeEditor the code attribute editor that will be reset 52 * attribute editor. 65 * @param codeAttributeEditor the code attribute editor that will be reset 69 * attribute editor. 83 public void visitAnyAttribute(Clazz clazz, Attribute attribute) {} 94 // Set up the code attribute editor [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
BridgeXmlPullAttributes.java | 49 * the name of the attribute. 54 // get the attribute name. 57 // get the attribute namespace 69 // this is not an attribute in the android namespace, we query the customviewloader, if 82 public int getAttributeListValue(String namespace, String attribute, 84 String value = getAttributeValue(namespace, attribute); 99 public boolean getAttributeBooleanValue(String namespace, String attribute, 101 String value = getAttributeValue(namespace, attribute); 116 public int getAttributeResourceValue(String namespace, String attribute, int defaultValue) { 117 String value = getAttributeValue(namespace, attribute); [all...] |
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
elementremoveattributerestoredefaultvalue.java | 32 * specified attribute node and restores any default values. 75 String attribute; local 82 attribute = testEmployee.getAttribute("street"); 83 assertEquals("streetYes", "Yes", attribute);
|
hc_attrcreatedocumentfragment.java | 31 * Create a new DocumentFragment and add a newly created Element node(with one attribute). 32 * Once the element is added, its attribute should be available as an attribute associated 69 Attr attribute; local 81 attribute = (Attr) attributes.item(indexN10078); 82 attrName = attribute.getNodeName(); 84 if (equalsAutoCase("attribute", "lang", attrName)) {
|
hc_elementretrieveallattributes.java | 65 Attr attribute; local 81 attribute = (Attr) attributes.item(indexN1006B); 82 attributeName = attribute.getNodeName();
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
elementgetattributenodens03.java | 36 * attribute node. 74 Attr attribute; local 82 attribute = element.getAttributeNodeNS(nullNS, "defaultAttr"); 83 attrValue = attribute.getNodeValue();
|
elementhasattributens02.java | 34 * The method hasAttributeNS returns true when an attribute with a given local 37 * Create a new element and attribute node that belong to the same namespace. 38 * Add the attribute node to the element node. Check if the newly created element 39 * node has an attribute by invoking the hasAttributeNS method with appropriate 77 Attr attribute; local 81 attribute = doc.createAttributeNS("http://www.w3.org/DOM", "domestic"); 82 newAttribute = element.setAttributeNode(attribute);
|
elementhasattributens03.java | 34 * The method hasAttributeNS returns true when an attribute with a given local name 38 * Create a new element and an attribute node that has an empty namespace. 39 * Add the attribute node to the element node. Check if the newly created element 40 * node has an attribute by invoking the hasAttributeNS method with appropriate 79 Attr attribute; local 86 attribute = doc.createAttributeNS(nullNS, "domestic"); 87 newAttribute = element.setAttributeNode(attribute);
|
elementremoveattributens01.java | 34 * The method removeAttributeNS removes an attribute by local name and namespace URI. 35 * Create a new element and add a new attribute node to it. 36 * Remove the attribute node using the removeAttributeNodeNS method. 37 * Check if the attribute was remove by invoking the hasAttributeNS 75 Attr attribute; local 79 attribute = doc.createAttributeNS("http://www.w3.org/DOM/Test/createAttributeNS", "attr"); 80 newAttribute = element.setAttributeNodeNS(attribute);
|
elementsetattributenodens02.java | 35 * Retreive the street attribute from the second address element node. 75 Attr attribute; local 86 attribute = element.getAttributeNodeNS(nullNS, "street"); 87 attributeCloned = (Attr) attribute.cloneNode(true);
|
elementsetattributenodens03.java | 34 * The method setAttributeNodeNS adds a new attribute and raises the 35 * INUSE_ATTRIBUTE_ERR exception if the newAttr is already an attribute of 38 * Retreive an attribute node of an existing element node. Attempt to add it to an another 77 Attr attribute; local 85 attribute = element1.getAttributeNodeNS(nullNS, "street"); 91 newAttribute = element2.setAttributeNodeNS(attribute);
|
elementsetattributenodens05.java | 34 * The method setAttributeNodeNS Adds a new attribute and raises 37 * Create new element and attribute nodes in different documents. 38 * Attempt to add the attribute node to the element node. 77 Attr attribute; local 82 attribute = docAlt.createAttributeNS("http://www.w3.org/DOM/Test", "attr"); 87 newAttribute = element.setAttributeNodeNS(attribute);
|
getAttributeNodeNS02.java | 35 * attribute node by local name and NamespaceURI. 40 * proper attribute node was retrieved. 76 Attr attribute; local 82 attribute = testAddr.getAttributeNodeNS("http://www.nist.gov", "domestic"); 83 attrName = attribute.getNodeName();
|
namednodemapgetnameditemns02.java | 36 * Using the method getNamedItemNS, retreive an attribute node having namespaceURI=http://www.nist.gov 37 * and localName=domestic, from a NamedNodeMap of attribute nodes, for the second element 75 Attr attribute; local 82 attribute = (Attr) attributes.getNamedItemNS("http://www.nist.gov", "domestic"); 83 attrName = attribute.getNodeName();
|
namednodemapgetnameditemns03.java | 36 * Create a new Element node and add 2 new attribute nodes having the same local name but different 37 * namespace names and namespace prefixes to it. Using the getNamedItemNS retreive the second attribute node. 74 Attr attribute; local 86 attribute = (Attr) attributes.getNamedItemNS("http://www.w3.org/DOM/L2", "att"); 87 attrName = attribute.getNodeName();
|
namednodemapgetnameditemns04.java | 37 * Create a new attribute node having the same name as an existing node but different namespaceURI 38 * and add it to this element. Using the getNamedItemNS retreive the newly created attribute 76 Attr attribute; local 87 attribute = (Attr) attributes.getNamedItemNS("http://www.w3.org/DOM/L1", "street"); 88 attrName = attribute.getNodeName();
|
namednodemapgetnameditemns05.java | 36 * Retreieve the second address element and its attribute into a named node map. 37 * Try retreiving the street attribute from the namednodemap using the 38 * default namespace uri and the street attribute name. Since the default 75 Attr attribute; local 81 attribute = (Attr) attributes.getNamedItemNS("*", "street"); 82 assertNull("namednodemapgetnameditemns05", attribute);
|
namednodemapsetnameditemns01.java | 39 * and put its attributes into a named node map. Create a new attribute node and add it to this map. 76 Attr attribute; local 87 attribute = (Attr) attributes.getNamedItemNS("http://www.w3.org/DOM/L1", "streets"); 88 attrName = attribute.getNodeName();
|
namednodemapsetnameditemns02.java | 38 * Create a new element and attribute Node and add the newly created attribute node to the elements 40 * the nodeName of the retreived atttribute from the list of attribute nodes in this map. 76 Attr attribute; local 85 attribute = (Attr) attributes.getNamedItemNS("http://www.w3.org/DOM/L1", "att"); 86 attrName = attribute.getNodeName();
|
nodehasattributes04.java | 78 Attr attribute; local 87 attribute = newDoc.createAttribute("attr"); 88 setNode = element.setAttributeNode(attribute);
|
nodesetprefix02.java | 34 * The method setPrefix sets the namespace prefix of this node. Note that setting this attribute, 35 * when permitted, changes the nodeName attribute, which holds the qualified name, as well as the 37 * Create a new attribute node and add it to an element node with an existing attribute having 38 * the same localName as this attribute but different namespaceURI. Change the prefix of the 39 * newly created attribute using setPrefix. Check if the new attribute nodeName has changed 40 * and the existing attribute is the same. 75 Attr attribute; local 87 attribute = element.getAttributeNodeNS("http://www.usa.com", "domestic") [all...] |