/frameworks/base/sax/java/android/sax/ |
Children.java | 20 * Contains element children. Using this class instead of HashMap results in 30 Element getOrCreate(Element parent, String uri, String localName) { 65 Element get(String uri, String localName) { 86 static class Child extends Element { 91 Child(Element parent, String uri, String localName, int depth,
|
/frameworks/support/room/compiler/src/main/kotlin/android/arch/persistence/room/log/ |
RLog.kt | 24 import javax.lang.model.element.Element 31 val defaultElement : Element?) { 42 fun d(element: Element, msg: String, vararg args: Any) { 43 messager.printMessage(NOTE, msg.safeFormat(args), element) 50 fun e(element: Element, msg: String, vararg args: Any) { 51 messager.printMessage(ERROR, msg.safeFormat(args), element) 58 fun w(warning: Warning, element: Element? = null, msg: String, vararg args: Any) [all...] |
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
ElementHasAttributeNS.java | 24 import org.w3c.dom.Element; 33 * name and namespace URI is specified on this element or has a default value, 36 * Retreive the first employee element node. Invoke the hasAttributeNS method to 76 Element element; local 81 element = (Element) elementList.item(0); 82 state = element 88 Element element; local 101 Element element; local [all...] |
ElementSetAttributeNodeNS.java | 24 import org.w3c.dom.Element; 35 * Testing Element.setAttributeNodeNS: If an attribute with that local name and 36 * that namespace URI is already present in the element, it is replaced by the 37 * new one. Create a new element and two new attribute nodes (in the same 39 * element node using the setAttributeNodeNS method. Check that only one 78 Element element; local 89 element = doc.createElementNS("http://www.w3.org/DOM/Test/Level2", 90 "new:element"); 96 element.setAttributeNodeNS(attribute1) 111 Element element; local 185 Element element; local 206 Element element; local [all...] |
SetAttributeNS.java | 24 import org.w3c.dom.Element; 92 ((Element) /* Node */testAddr).setAttributeNS(namespaceURI, 114 ((Element) /* Node */testAddr).setAttributeNS(namespaceURI, 133 // Element genElement; 147 // genElement = (Element) gList.item(0); 174 ((Element) /* Node */testAddr).setAttributeNS("http://www.nist.gov", 176 addrAttr = ((Element) /* Node */testAddr).getAttributeNodeNS( 178 resultAttr = ((Element) /* Node */testAddr).getAttributeNS( 202 ((Element) /* Node */testAddr).setAttributeNS(namespaceURI, 204 resultAttr = ((Element) /* Node */testAddr).getAttributeNS [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/model/ |
UiManifestElementNode.java | 27 import org.w3c.dom.Element; 38 * Element nodes don't contain data per se. Their data is contained in their attributes 57 * Uses the element's attribute "android:name" if present, or the "android:label" one 58 * followed by the element's name if not repeated. 74 getXmlNode() instanceof Element && 83 Element elem = (Element) getXmlNode(); 114 * Note: This is a wrapper around {@link Element#getAttributeNS(String, String)}. 118 * @see Element#getAttributeNS(String, String) 120 * @return The result from {@link Element#getAttributeNS(String, String)} or or an empty string [all...] |
/prebuilts/go/darwin-x86/src/container/list/ |
list.go | 14 // Element is an element of a linked list. 15 type Element struct { 18 // as a ring, such that &l.root is both the next element of the last 19 // list element (l.Back()) and the previous element of the first list 20 // element (l.Front()). 21 next, prev *Element 23 // The list to which this element belongs. 26 // The value stored with this element [all...] |
/prebuilts/go/linux-x86/src/container/list/ |
list.go | 14 // Element is an element of a linked list. 15 type Element struct { 18 // as a ring, such that &l.root is both the next element of the last 19 // list element (l.Back()) and the previous element of the first list 20 // element (l.Front()). 21 next, prev *Element 23 // The list to which this element belongs. 26 // The value stored with this element [all...] |
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
NdkApiXmlReport.java | 23 import org.w3c.dom.Element; 141 // create the root element 142 Element apiEle = dom.createElement(API_TAG); 143 Element pkgEle = dom.createElement(PACKAGE_TAG); 153 Element classEle = addToDom(dom, pkgEle, symArr, ndkSo.getName().toLowerCase()); 177 public static Element addToDom( 178 Document dom, Element pkgEle, ReadElf.Symbol[] symArr, String libName) { 179 Element classEle = createClassEle(dom, libName); 182 Element methodEle; 200 public static void addToDom(Document dom, Element pkgEle, ReadElf.Symbol[] symArr) [all...] |
/external/skia/src/core/ |
SkClipStack.h | 44 class Element { 47 //!< This element makes the clip empty (regardless of previous elements). 49 //!< This element combines a rect with the current clip using a set operation 51 //!< This element combines a round-rect with the current clip using a set operation 53 //!< This element combines a path with the current clip using a set operation 60 Element() { 65 Element(const Element&); 67 Element(const SkRect& rect, SkClipOp op, bool doAA) { 71 Element(const SkRRect& rrect, SkClipOp op, bool doAA) [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
IsObjectTest.java | 21 import android.renderscript.Element; 32 Element element; field in class:IsObjectTest 44 element = Element.BOOLEAN(mRS); 46 type = new Type.Builder(mRS, Element.I8(mRS)).setX(1).create(); 74 mItem.element = element; 78 mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); 87 Assert.assertTrue("rsIsObject element test fail: " + "Expect 1;value [all...] |
SetObjectTest.java | 21 import android.renderscript.Element; 31 Element element; field in class:SetObjectTest 43 element = Element.BOOLEAN(mRS); 45 type = new Type.Builder(mRS, Element.I8(mRS)).setX(1).create(); 75 mItem.element = element; 79 mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); 88 Assert.assertTrue("rsSetObject element test fail: " + "Expect 1;value [all...] |
ForEachTest.java | 29 import android.renderscript.Element; 59 Type t = new Type.Builder(mRS, Element.I8(mRS)).setX(x).create(); 66 t = new Type.Builder(mRS, Element.U8(mRS)).setX(x).create(); 80 t = new Type.Builder(mRS, Element.I8_2(mRS)).setX(x).create(); 82 t = new Type.Builder(mRS, Element.U8_2(mRS)).setX(x).create(); 96 t = new Type.Builder(mRS, Element.I8_3(mRS)).setX(x).create(); 98 t = new Type.Builder(mRS, Element.U8_3(mRS)).setX(x).create(); 112 t = new Type.Builder(mRS, Element.I8_4(mRS)).setX(x).create(); 114 t = new Type.Builder(mRS, Element.U8_4(mRS)).setX(x).create(); 128 t = new Type.Builder(mRS, Element.I16(mRS)).setX(x).create() [all...] |
KernelTest.java | 29 import android.renderscript.Element; 59 Type t = new Type.Builder(mRS, Element.I8(mRS)).setX(x).create(); 66 t = new Type.Builder(mRS, Element.U8(mRS)).setX(x).create(); 80 t = new Type.Builder(mRS, Element.I8_2(mRS)).setX(x).create(); 82 t = new Type.Builder(mRS, Element.U8_2(mRS)).setX(x).create(); 96 t = new Type.Builder(mRS, Element.I8_3(mRS)).setX(x).create(); 98 t = new Type.Builder(mRS, Element.U8_3(mRS)).setX(x).create(); 112 t = new Type.Builder(mRS, Element.I8_4(mRS)).setX(x).create(); 114 t = new Type.Builder(mRS, Element.U8_4(mRS)).setX(x).create(); 128 t = new Type.Builder(mRS, Element.I16(mRS)).setX(x).create() [all...] |
/external/protobuf/src/google/protobuf/util/internal/ |
json_objectwriter.h | 92 : element_(new Element(NULL)), 120 class LIBPROTOBUF_EXPORT Element : public BaseElement { 122 explicit Element(Element* parent) : BaseElement(parent), is_first_(true) {} 124 // Called before each field of the Element is to be processed. 137 GOOGLE_DISALLOW_IMPLICIT_CONSTRUCTORS(Element); 140 virtual Element* element() { return element_.get(); } function in class:google::protobuf::util::converter::JsonObjectWriter 169 // Pushes a new element to the stack. 170 void Push() { element_.reset(new Element(element_.release())); [all...] |
/external/deqp/external/vulkancts/framework/vulkan/ |
vkBinaryRegistry.hpp | 101 template<typename Element> 107 const Element& operator[] (size_t ndx); 123 std::vector<Element> m_elements; 127 template<typename Element> 128 LazyResource<Element>::LazyResource (de::MovePtr<tcu::Resource> resource) 132 const size_t numElements = resSize/sizeof(Element); 135 TCU_CHECK_INTERNAL(numElements*sizeof(Element) == resSize); 141 template<typename Element> 142 const Element& LazyResource<Element>::operator[] (size_t ndx [all...] |
/external/autotest/frontend/client/src/autotest/common/ |
PaddedJsonRpcProxy.java | 6 import com.google.gwt.dom.client.Element; 34 private Element scriptTag; 131 private static Element addScript(String url, int requestId) { 133 Element scriptElement = addScriptToDocument(scriptId, url); 137 private static native Element addScriptToDocument(String uniqueId, String url) /*-{ 146 private static native void dropScript(Element scriptElement) /*-{
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
AbstractComponentProcessingStep.java | 24 import javax.lang.model.element.Element; 25 import javax.lang.model.element.TypeElement; 59 public final ImmutableSet<Element> process( 60 SetMultimap<Class<? extends Annotation>, Element> elementsByAnnotation) { 61 ImmutableSet.Builder<Element> rejectedElements = ImmutableSet.builder(); 64 for (Element element : elementsByAnnotation.get(componentAnnotation)) { 65 TypeElement componentTypeElement = MoreElements.asType(element); 99 * Returns an object that can validate a type element annotated with the component type [all...] |
/external/guice/core/test/com/google/inject/spi/ |
ModuleRewriterTest.java | 50 List<Element> elements = Elements.getElements(module); 53 List<Element> rewritten = Lists.newArrayList(); 54 for (Element element : elements) { 55 element = element.acceptVisitor(new DefaultElementVisitor<Element>() { 56 @Override public <T> Element visit(Binding<T> binding) { 66 if (element != null) { 67 rewritten.add(element); [all...] |
/frameworks/base/tools/aapt2/xml/ |
XmlActionExecutor.cpp | 22 static bool wrapper_one(XmlNodeAction::ActionFunc& f, Element* el, SourcePathDiagnostics*) { 26 static bool wrapper_two(XmlNodeAction::ActionFuncWithDiag& f, Element* el, 41 static void PrintElementToDiagMessage(const Element* el, DiagMessage* msg) { 50 Element* el) const { 56 for (Element* child_el : el->GetChildElements()) { 66 error_msg << "unknown element "; 81 Element* el = doc->root.get(); 98 error_msg << "unknown element ";
|
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/ |
HTML.java | 24 * HTML class defines Element and Attribute classes. 31 * Html element 33 public static final class Element { 60 * Construct an Element. 63 * Flow refers to whether the element is inherently character or block level. Breaks flow 68 public Element(String name, int type, boolean empty, 70 Preconditions.checkNotNull(name, "Element name can not be null"); 71 Preconditions.checkNotNull(flow, "Element flow can not be null"); 81 * Construct an Element with inline=true. 83 public Element(String name, int type, boolean empty [all...] |
HtmlTreeBuilder.java | 38 /** Stack contains HTML4.Element objects to keep track of unclosed tags */ 39 private final List<HTML.Element> stack = new ArrayList<HTML.Element>(); 72 HTML.Element element = t.getElement(); local 73 if (element.isEmpty()) { 82 tree.addStartTag(HtmlDocument.createTag(element, 85 EndTag end = HtmlDocument.createEndTag(element); 90 push(element); // Track the open tags 98 HTML.Element element = t.getElement() local 144 HTML.Element element = pop(); local 196 HTML.Element element = tag.getElement(); local 232 HTML.Element element= endTag.getElement(); local [all...] |
/sdk/apps/DeviceConfig/src/com/example/android/deviceconfig/ |
ConfigGenerator.java | 37 import org.w3c.dom.Element; 70 * The "devices" element is the root element of this schema. 78 * A "device" element contains a "hardware" element, a "software" element 79 * for each API version it supports, and a "state" element for each possible 85 * The "hardware" element contains all of the hardware information for a 91 * The "software" element contains all of the software information for an 97 * The "state" element contains all of the parameters for a given state o [all...] |
/external/llvm/lib/Target/X86/ |
X86ShuffleDecodeConstantPool.cpp | 77 uint64_t Element = APElt.getLoBits(8).getZExtValue(); 80 // If the high bit (7) of the byte is set, the element is zeroed. 81 if (Element & (1 << 7)) 85 int Index = Base + (Element & 0xf); 123 // Support any element type from byte up to element size. 148 uint64_t Element = cast<ConstantInt>(COp)->getZExtValue(); 150 Index += (Element >> 1) & 0x1; 152 Index += Element & 0x3; 176 // Support any element type from byte up to element size [all...] |
/frameworks/base/rs/java/android/renderscript/ |
ProgramVertexFixedFunction.java | 57 public InternalBuilder addInput(Element e) throws IllegalStateException { 136 Element.Builder b = new Element.Builder(rs); 137 b.add(Element.MATRIX4X4(rs), "MV"); 138 b.add(Element.MATRIX4X4(rs), "P"); 139 b.add(Element.MATRIX4X4(rs), "TexMatrix"); 140 b.add(Element.MATRIX4X4(rs), "MVP"); 180 Element.Builder b = new Element.Builder(mRS); 181 b.add(Element.F32_4(mRS), "position") [all...] |