/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
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...] |
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
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...] |
/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 = FindRootElement(doc); 98 error_msg << "unknown element ";
|
/frameworks/compile/slang/tests/P_reduce_general_struct/ |
ScriptC_reduce_general_struct.java.expect | 39 __I32 = Element.I32(rs); 43 private Element __I32; 44 private Element __ScriptField_MyStruct;
|
/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...] |
Allocation.java | 47 * more complex Element types, the {@link #copyFromUnchecked} methods can be 91 private Element.DataType validateObjectIsPrimitiveArray(Object d, boolean checkType) { 106 return Element.DataType.SIGNED_64; 114 return Element.DataType.SIGNED_32; 122 return Element.DataType.SIGNED_16; 130 return Element.DataType.SIGNED_8; 137 return Element.DataType.FLOAT_32; 144 return Element.DataType.FLOAT_64; 268 * Get the {@link android.renderscript.Element} of the {@link 271 * @return Element [all...] |
/cts/tests/tests/renderscriptlegacy/src/android/renderscriptlegacy/cts/ |
LeakTest.java | 21 import android.renderscript.Element; 62 Type t = new Type.Builder(mRS, Element.I32(mRS)).setX(x).create();
|
/external/clang/lib/Tooling/ |
FileMatchTrie.cpp | 69 StringRef Element(llvm::sys::path::filename( 71 Children[Element].Path = Path; 73 StringRef Element(llvm::sys::path::filename( 75 Children[Element].insert(NewPath, ConsumedLength + Element.size() + 1); 108 StringRef Element(llvm::sys::path::filename(FileName.drop_back( 111 Children.find(Element); 115 ConsumedLength + Element.size() + 1);
|
/external/skia/src/core/ |
SkColorSpace_A2B.h | 70 class Element { 72 Element(SkGammaNamed gammaNamed, int channelCount) 81 explicit Element(sk_sp<SkGammas> gammas) 94 explicit Element(sk_sp<SkColorLookUpTable> colorLUT) 102 explicit Element(const SkMatrix44& matrix) 151 const Element& element(int i) const { return fElements[i]; } function in class:SkColorSpace_A2B 166 SkColorSpace_A2B(ICCTypeFlag iccType, std::vector<Element> elements, PCS pcs, 171 std::vector<Element> fElements;
|
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/ |
UT_static_globals.java | 21 import android.renderscript.Element; 35 Type.Builder typeBuilder = new Type.Builder(pRS, Element.I32(pRS));
|
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
documentcreateelementcasesensitive.java | 36 * Each call should create a distinct Element node. The 66 Element newElement1; 67 Element newElement2;
|
elementaddnewattribute.java | 32 * to the Element 67 Element testEmployee; 71 testEmployee = (Element) elementList.item(4);
|
elementchangeattributevalue.java | 32 * to the Element. If the "name" is already present, then 40 * element, then its value should be changed to the new one 70 Element testEmployee; 74 testEmployee = (Element) elementList.item(3);
|
elementgetattributenode.java | 66 Element testEmployee; 71 testEmployee = (Element) elementList.item(0);
|