Home
last modified time | relevance | path

Searched refs:ET (Results 1 – 15 of 15) sorted by relevance

/frameworks/compile/slang/
Dslang_rs_reflection_cpp.cpp62 static std::string GetTypeName(const RSExportType *ET, bool Brackets = true) { in GetTypeName() argument
63 switch (ET->getClass()) { in GetTypeName()
66 static_cast<const RSExportPrimitiveType *>(ET); in GetTypeName()
76 static_cast<const RSExportPointerType *>(ET)->getPointeeType(); in GetTypeName()
84 const RSExportVectorType *EVT = static_cast<const RSExportVectorType *>(ET); in GetTypeName()
91 return GetMatrixTypeName(static_cast<const RSExportMatrixType *>(ET)); in GetTypeName()
96 static_cast<const RSExportConstantArrayType *>(ET); in GetTypeName()
105 return ET->getElementName() + "." RS_TYPE_ITEM_CLASS_NAME; in GetTypeName()
504 const RSExportType *ET = EV->getType(); in genExportVariablesGetterAndSetter() local
506 switch (ET->getClass()) { in genExportVariablesGetterAndSetter()
[all …]
Dslang_rs_reflection.cpp86 void genAddElement(const RSExportType *ET, const std::string &VarName,
176 static std::string GetTypeName(const RSExportType *ET, bool Brackets = true) { in GetTypeName() argument
177 switch (ET->getClass()) { in GetTypeName()
180 static_cast<const RSExportPrimitiveType *>(ET))->java_name; in GetTypeName()
184 static_cast<const RSExportPointerType *>(ET)->getPointeeType(); in GetTypeName()
192 const RSExportVectorType *EVT = static_cast<const RSExportVectorType *>(ET); in GetTypeName()
199 return GetMatrixTypeName(static_cast<const RSExportMatrixType *>(ET)); in GetTypeName()
203 static_cast<const RSExportConstantArrayType *>(ET); in GetTypeName()
211 return ET->getElementName() + "." RS_TYPE_ITEM_CLASS_NAME; in GetTypeName()
219 static const char *GetTypeNullValue(const RSExportType *ET) { in GetTypeNullValue() argument
[all …]
Dslang_rs_export_var.cpp31 const RSExportType *ET) in RSExportVar() argument
34 mET(ET), in RSExportVar()
42 switch (ET->getClass()) { in RSExportVar()
69 static_cast<const RSExportConstantArrayType*>(ET); in RSExportVar()
89 << mName << ET->getName(); in RSExportVar()
Dslang_rs_context.cpp75 RSExportType *ET = RSExportType::CreateFromDecl(this, VD); in processExportVar() local
76 if (!ET) in processExportVar()
79 RSExportVar *EV = new RSExportVar(this, VD, ET); in processExportVar()
136 RSExportType *ET = NULL; in processExportType() local
161 ET = RSExportType::Create(this, T); in processExportType()
164 return (ET != NULL); in processExportType()
252 RSExportType *ET) { in insertExportType() argument
256 ET); in insertExportType()
Dslang_rs_reflection_cpp.h101 void genInitExportVariable(const RSExportType *ET, const std::string &VarName,
125 void genPackVarOfType(const RSExportType *ET, const char *VarName,
129 void genTypeCheck(const RSExportType *ET, const char *VarName);
132 void genTypeInstanceFromPointer(const RSExportType *ET);
133 void genTypeInstance(const RSExportType *ET);
Dslang_rs_export_element.cpp77 RSExportType *ET = NULL; in Create() local
99 ET = EPT; in Create()
116 ET = EVT; in Create()
127 return ET; in Create()
Dslang_rs_export_func.cpp107 RSExportType *ET = in Create() local
110 if (ET == NULL) { in Create()
117 slangAssert((ET->getClass() == RSExportType::ExportClassRecord) && in Create()
120 F->mParamPacketType = static_cast<RSExportRecordType *>(ET); in Create()
Dslang_rs_backend.cpp198 const RSExportType *ET = EV->getType(); in dumpExportVarInfo() local
206 switch (ET->getClass()) { in dumpExportVarInfo()
209 static_cast<const RSExportPrimitiveType*>(ET); in dumpExportVarInfo()
221 mLLVMContext, ("*" + static_cast<const RSExportPointerType*>(ET) in dumpExportVarInfo()
237 static_cast<const RSExportMatrixType*>(ET)->getDim() - 2))); in dumpExportVarInfo()
453 const RSExportType *ET = I->getValue(); in dumpExportTypeInfo() local
458 llvm::MDString::get(mLLVMContext, ET->getName().c_str())); in dumpExportTypeInfo()
460 if (ET->getClass() == RSExportType::ExportClassRecord) { in dumpExportTypeInfo()
462 static_cast<const RSExportRecordType*>(ET); in dumpExportTypeInfo()
473 StructInfoMetadataName.append(ET->getName()); in dumpExportTypeInfo()
Dslang_rs_reflection.h179 void genInitExportVariable(const RSExportType *ET, const std::string &VarName,
200 void genTypeCheck(const RSExportType *ET, const char *VarName);
202 void genTypeInstanceFromPointer(const RSExportType *ET);
204 void genTypeInstance(const RSExportType *ET);
206 void genFieldPackerInstance(const RSExportType *ET);
Dslang_rs_export_type.cpp771 RSExportType *ET = NULL; in Create() local
778 ET = RSExportRecordType::Create(Context, in Create()
785 ET = RSExportMatrixType::Create(Context, in Create()
793 ET = RSExportMatrixType::Create(Context, in Create()
801 ET = RSExportMatrixType::Create(Context, in Create()
809 ET = RSExportPrimitiveType::Create(Context, T, TypeName); in Create()
816 ET = RSExportPrimitiveType::Create(Context, T, TypeName); in Create()
820 ET = RSExportPointerType::Create(Context, in Create()
828 ET = RSExportVectorType::Create(Context, in Create()
834 ET = RSExportConstantArrayType::Create( in Create()
[all …]
Dslang_rs_export_var.h50 const RSExportType *ET);
Dslang_rs.cpp105 RSExportType *ET = static_cast<RSExportType *>(RSE); in checkODR() local
106 if (ET->getClass() != RSExportType::ExportClassRecord) in checkODR()
109 RSExportRecordType *ERT = static_cast<RSExportRecordType *>(ET); in checkODR()
Dslang_rs_export_foreach.cpp394 RSExportType *ET = RSExportType::Create(Context, T.getTypePtr()); in Create() local
396 if (ET == NULL) { in Create()
403 slangAssert((ET->getClass() == RSExportType::ExportClassRecord) && in Create()
406 FE->mParamPacketType = static_cast<RSExportRecordType *>(ET); in Create()
/frameworks/webview/chromium/tools/
Dgenerate_local_manifest.py15 import xml.etree.ElementTree as ET namespace
18 manifest_tree = ET.parse(manifest_path)
19 local_manifest_root = ET.Element('manifest')
31 remove_project = ET.SubElement(local_manifest_root, 'remove-project')
34 local_manifest_tree = ET.ElementTree(local_manifest_root)
/frameworks/compile/libbcc/lib/Renderscript/
DRSForEachExpand.cpp141 llvm::Type *ET = PT->getElementType(); in getStepValue() local
142 uint64_t ETSize = DL->getTypeAllocSize(ET); in getStepValue()