HomeSort by relevance Sort by last modified time
    Searched refs:Element (Results 326 - 350 of 1630) sorted by null

<<11121314151617181920>>

  /libcore/luni/src/test/java/libcore/xml/
XsltXPathConformanceTestSuite.java 53 import org.w3c.dom.Element;
95 /** Orders element attributes by optional URI and name. */
166 Element testSuiteElement = document.getDocumentElement();
168 for (Element testCatalog : elementsOf(testSuiteElement.getElementsByTagName("test-catalog"))) {
169 Element majorPathElement = (Element) testCatalog.getElementsByTagName("major-path").item(0);
173 for (Element testCaseElement : elementsOf(testCatalog.getElementsByTagName("test-case"))) {
182 * Returns a JUnit test for the test described by the given element.
184 private TestCase create(File base, Element testCaseElement) {
203 Element filePathElement = (Element) testCaseElement.getElementsByTagName("file-path").item(0)
486 Element element = (Element) node; local
    [all...]
  /frameworks/compile/slang/tests/P_reduce_general_input/
ScriptField_MyStruct.java.expect 43 private static java.lang.ref.WeakReference<Element> mElementCache = new java.lang.ref.WeakReference<Element>(null);
44 public static Element createElement(RenderScript rs) {
45 Element.Builder eb = new Element.Builder(rs);
46 eb.add(Element.F32(rs), "f");
47 eb.add(Element.U32(rs), "#rs_padding_1");
48 eb.add(Element.F64(rs), "d");
97 Element e = createElement(rs);
105 throw new RSIllegalArgumentException("Type.Builder did not match expected element type.")
    [all...]
  /frameworks/compile/slang/tests/P_reduce_general_inputs/
ScriptField_MyStruct.java.expect 43 private static java.lang.ref.WeakReference<Element> mElementCache = new java.lang.ref.WeakReference<Element>(null);
44 public static Element createElement(RenderScript rs) {
45 Element.Builder eb = new Element.Builder(rs);
46 eb.add(Element.F32(rs), "f");
47 eb.add(Element.U32(rs), "#rs_padding_1");
48 eb.add(Element.F64(rs), "d");
97 Element e = createElement(rs);
105 throw new RSIllegalArgumentException("Type.Builder did not match expected element type.")
    [all...]
  /frameworks/compile/slang/tests/P_reduce_general_result/
ScriptField_MyStruct.java.expect 43 private static java.lang.ref.WeakReference<Element> mElementCache = new java.lang.ref.WeakReference<Element>(null);
44 public static Element createElement(RenderScript rs) {
45 Element.Builder eb = new Element.Builder(rs);
46 eb.add(Element.F32(rs), "f");
47 eb.add(Element.U32(rs), "#rs_padding_1");
48 eb.add(Element.F64(rs), "d");
97 Element e = createElement(rs);
105 throw new RSIllegalArgumentException("Type.Builder did not match expected element type.")
    [all...]
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
IntrinsicHistogram.java 38 Element e1;
39 Element e2;
42 case 4: e1 = Element.U8_4(mRS); break;
43 case 3: e1 = Element.U8_3(mRS); break;
44 case 2: e1 = Element.U8_2(mRS); break;
45 default: e1 = Element.U8(mRS); break;
49 case 4: e2 = Element.I32_4(mRS); break;
50 case 3: e2 = Element.I32_3(mRS); break;
51 case 2: e2 = Element.I32_2(mRS); break;
52 default: e2 = Element.I32(mRS); break
    [all...]
VoidPtr.java 20 import android.renderscript.Element;
31 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS));
66 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS));
94 Type.Builder typeBuilder = new Type.Builder(mRS, Element.U8(mRS));
123 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS));
154 Type.Builder typeBuilder = new Type.Builder(mRS, Element.U8(mRS));
RsUnpackColor8888Test.java 20 import android.renderscript.Element;
43 Allocation mAllocationIn = Allocation.createSized(mRS, Element.U8_4(mRS), INPUTSIZE);
44 Allocation mAllocationOut = Allocation.createSized(mRS, Element.F32_4(mRS), INPUTSIZE);
  /libcore/luni/src/test/java/tests/org/w3c/dom/
ElementSetAttributeNS.java 6 import org.w3c.dom.Element;
16 * The method setAttributeNS adds a new attribute. Create a new element and add
57 Element element; local
62 element = doc.createElementNS("http://www.w3.org/DOM", "dom:elem");
63 element.setAttributeNS("http://www.w3.org/DOM/Test/setAttributeNS",
65 attribute = element.getAttributeNodeNS(
74 Element element; local
81 element = (Element) elementList.item(0)
95 Element element; local
118 Element element; local
151 Element element; local
170 Element element; local
    [all...]
SetAttributeNodeNS.java 24 import org.w3c.dom.Element;
35 * DOMException if the "newAttr" is already an attribute of another element.
37 * Retrieve the first emp:address and append a newly created element. The
40 * attribute to the newly created Element. The "setAttributeNodeNS(newAttr)"
42 * be raised since the attribute is already an attribute of another element.
86 Element newElement;
103 ((Element) /* Node */testAddr).setAttributeNodeNS(newAttr);
119 // Element genElement;
134 // genElement = (Element) gList.item(0);
161 newAddrAttr = ((Element) /* Node */testAddr
    [all...]
  /cts/tests/tests/renderscript/src/android/renderscript/cts/generated/
TestRemquo.java 23 import android.renderscript.Element;
55 Allocation inNumerator = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xcd5efc69edd4ff2al, false);
56 Allocation inDenominator = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x4ff0c9312eb19f93l, false);
58 Allocation outQuotient = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_32, 1), INPUTSIZE);
59 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
70 Allocation outQuotient = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_32, 1), INPUTSIZE);
71 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
144 Allocation inNumerator = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x28c14abc3a27171al, false);
145 Allocation inDenominator = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x58f8799a6ba08403l, false);
147 Allocation outQuotient = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_32, 2), INPUTSIZE)
    [all...]
  /frameworks/base/tools/aapt2/link/
ManifestFixer.cpp 33 static bool NameIsJavaClassName(xml::Element* el, xml::Attribute* attr,
54 static bool OptionalNameIsJavaClassName(xml::Element* el, SourcePathDiagnostics* diag) {
61 static bool RequiredNameIsJavaClassName(xml::Element* el, SourcePathDiagnostics* diag) {
70 static bool RequiredNameIsJavaPackage(xml::Element* el, SourcePathDiagnostics* diag) {
80 return [=](xml::Element* el, SourcePathDiagnostics* diag) -> bool {
90 static bool AutoGenerateIsFeatureSplit(xml::Element* el, SourcePathDiagnostics* diag) {
120 static bool VerifyManifest(xml::Element* el, SourcePathDiagnostics* diag) {
150 static bool FixCoreAppAttribute(xml::Element* el, SourcePathDiagnostics* diag) {
163 static bool VerifyUsesFeature(xml::Element* el, SourcePathDiagnostics* diag) {
238 manifest_action.Action([&](xml::Element* el) -> bool
    [all...]
  /device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/Xml/
XmlRoutines.py 21 ## Create a element of XML
28 # @revel Element
32 Element = Doc.createElement(Name)
34 Element.appendChild(Doc.createTextNode(String))
43 Element.appendChild(Node)
45 Element.appendChild(Item)
50 Element.setAttribute(Key, Value)
52 return Element
123 ## Get a single XML element using XPath style syntax.
125 # Return a single XML element from the root Dom specified by XPath String.
    [all...]
  /device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/Xml/
XmlRoutines.py 29 ## Create a element of XML
38 Element = Doc.createElement(Name)
40 Element.appendChild(Doc.createTextNode(String))
49 Element.appendChild(Node)
51 Element.appendChild(Item)
56 Element.setAttribute(Key, Value)
58 return Element
127 ## Get a single XML element using XPath style syntax.
129 # Return a single XML element from the root Dom specified by XPath String.
141 ## Get a single XML element using XPath style syntax.
    [all...]
  /external/dagger2/compiler/src/main/java/dagger/internal/codegen/
ModuleProcessingStep.java 31 import javax.lang.model.element.Element;
32 import javax.lang.model.element.ExecutableElement;
33 import javax.lang.model.element.TypeElement;
37 import static javax.lang.model.element.ElementKind.METHOD;
52 private final Set<Element> processedModuleElements = Sets.newLinkedHashSet();
73 public Set<Element> process(
74 SetMultimap<Class<? extends Annotation>, Element> elementsByAnnotation) {
77 for (Element providesElement : elementsByAnnotation.get(Provides.class)) {
91 for (Element moduleElement
    [all...]
ProducerModuleProcessingStep.java 32 import javax.lang.model.element.Element;
33 import javax.lang.model.element.ExecutableElement;
34 import javax.lang.model.element.TypeElement;
38 import static javax.lang.model.element.ElementKind.METHOD;
53 private final Set<Element> processedModuleElements = Sets.newLinkedHashSet();
74 public Set<Element> process(
75 SetMultimap<Class<? extends Annotation>, Element> elementsByAnnotation) {
78 for (Element producesElement : elementsByAnnotation.get(Produces.class)) {
92 for (Element moduleElement
    [all...]
  /external/guice/core/src/com/google/inject/internal/
PrivateElementsImpl.java 32 import com.google.inject.spi.Element;
53 private List<Element> elementsMutable = Lists.newArrayList();
57 private ImmutableList<Element> elements;
71 public List<Element> getElements() {
106 public List<Element> getElementsMutable() {
117 for (Element element : getElements()) {
118 element.applyTo(privateBinder);
  /frameworks/base/tools/aapt2/xml/
XmlDom.cpp 48 * Extracts the namespace and name of an expanded element or attribute name.
132 std::unique_ptr<Element> el = util::make_unique<Element>();
228 static void CopyAttributes(Element* el, android::ResXMLParser* parser, StringPool* out_pool) {
299 std::unique_ptr<Element> node = util::make_unique<Element>();
373 Element* FindRootElement(XmlResource* doc) {
377 Element* FindRootElement(Node* node) {
382 Element* el = nullptr;
383 while ((el = NodeCast<Element>(node)) == nullptr)
    [all...]
  /frameworks/rs/tests/cpp_api/cppbasic/
compute.cpp 18 sp<const Element> e = Element::RGBA_8888(rs);
19 printf("Element %p\n", e.get());
47 sp<const Element> failed_e = Element::BOOLEAN(rs);
77 sp<const Element> e = Element::I32(rs);
  /frameworks/rs/tests/cpp_api/cppbasic-shared/
compute.cpp 18 sp<const Element> e = Element::RGBA_8888(rs);
19 printf("Element %p\n", e.get());
47 sp<const Element> failed_e = Element::BOOLEAN(rs);
77 sp<const Element> e = Element::I32(rs);
  /frameworks/rs/tests/java_api/RSTest_CompatLib/src/com/android/rs/test/
UT_copy_test.java 34 Allocation a1 = Allocation.createSized(rs, Element.F32_2(rs), 1024);
35 Allocation a2 = Allocation.createSized(rs, Element.F32_2(rs), 1024);
58 Allocation a1 = Allocation.createSized(rs, Element.F32_3(rs), 1024);
59 Allocation a2 = Allocation.createSized(rs, Element.F32_3(rs), 1024);
82 Allocation a1 = Allocation.createSized(rs, Element.F32_4(rs), 1024);
83 Allocation a2 = Allocation.createSized(rs, Element.F32_4(rs), 1024);
  /frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
UT_copy_test.java 34 Allocation a1 = Allocation.createSized(rs, Element.F32_2(rs), 1024);
35 Allocation a2 = Allocation.createSized(rs, Element.F32_2(rs), 1024);
58 Allocation a1 = Allocation.createSized(rs, Element.F32_3(rs), 1024);
59 Allocation a2 = Allocation.createSized(rs, Element.F32_3(rs), 1024);
82 Allocation a1 = Allocation.createSized(rs, Element.F32_4(rs), 1024);
83 Allocation a2 = Allocation.createSized(rs, Element.F32_4(rs), 1024);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
RelativeLayoutConversionHelper.java 75 import org.w3c.dom.Element;
107 private final Element mLayout;
110 private List<Element> mDeletedElements;
113 Element layout, boolean flatten, MultiTextEdit rootEdit, CanvasViewInfo rootView) {
142 List<Element> getDeletedElements() {
148 * contain placement information for each element
218 private void deleteRemovedElements(List<Element> delete) {
220 for (Element element : delete) {
221 mRefactoring.removeElementTags(mRootEdit, element, delete
312 Element element = view.getElement(); local
1594 Element element = getElement(info); local
1611 Element element = getElement(child); local
    [all...]
  /cts/tests/camera/src/android/hardware/camera2/cts/rs/
BitmapUtils.java 21 import android.renderscript.Element;
47 ScriptIntrinsicHistogram hist = ScriptIntrinsicHistogram.create(rs, Element.U8_4(rs));
48 Allocation sums = Allocation.createSized(rs, Element.I32_4(rs), COLOR_BIT_DEPTH);
  /external/autotest/frontend/client/src/autotest/tko/
EmbeddedTkoClient.java 13 import com.google.gwt.dom.client.Element;
31 * element.
41 return instance.@autotest.tko.EmbeddedTkoClient::createMetricsPlot(Lcom/google/gwt/dom/client/Element;)(parent);
55 private JavaScriptObject createMetricsPlot(Element parent) {
69 private JavaScriptObject doCreateMetricsPlot(Element parent) {
71 throw new IllegalArgumentException("parent element cannot be null");
  /external/guice/core/src/com/google/inject/util/
Modules.java 36 import com.google.inject.spi.Element;
177 List<Element> baseElements = Elements.getElements(currentStage(), baseModules);
179 // If the sole element was a PrivateElements, we want to override
183 Element element = Iterables.getOnlyElement(baseElements); local
184 if(element instanceof PrivateElements) {
185 PrivateElements privateElements = (PrivateElements)element;
196 final LinkedHashSet<Element> elements = new LinkedHashSet<Element>(baseElements);
198 final List<Element> overrideElements = Elements.getElements(currentStage()
    [all...]

Completed in 1800 milliseconds

<<11121314151617181920>>