Searched defs:Context (Results 1 - 25 of 39) sorted by last modified time

12

/frameworks/wilhelm/tests/listening/
H A DslesTest_playMuteSolo.cpp37 } Context; typedef in typeref:struct:__anon2181
104 Context *context = (Context *) pContext;
290 Context context;
/frameworks/rs/
H A DrsContext.cpp45 pthread_mutex_t Context::gInitMutex = PTHREAD_MUTEX_INITIALIZER;
46 pthread_mutex_t Context::gMessageMutex = PTHREAD_MUTEX_INITIALIZER;
47 pthread_mutex_t Context::gLibMutex = PTHREAD_MUTEX_INITIALIZER;
49 bool Context::initGLThread() {
64 void Context::deinitEGL() {
70 Context::PushState::PushState(Context *con) {
83 Context::PushState::~PushState() {
96 uint32_t Context::runScript(Script *s) {
103 uint32_t Context
427 Context::Context() { function in class:android::renderscript::Context
[all...]
H A DrsContext.h72 class Context { class in namespace:android::renderscript
82 static Context * createContext(Device *, const RsSurfaceConfig *sc,
86 static Context * createContextLite();
87 ~Context();
96 explicit PushState(Context *);
107 Context *mRsc;
333 Context();
381 void LF_ObjDestroy_handcode(const Context *rsc, RsAsyncVoidPtr objPtr);
/frameworks/rs/rsov/compiler/
H A DContext.cpp17 #include "Context.h"
25 Context &Context::getInstance() {
26 static Context c;
30 Context::Context() : mInitialized(false) {} function in class:rs2spirv::Context
32 bool Context::Initialize(std::unique_ptr<bcinfo::MetadataExtractor> ME) {
H A DContext.h53 class Context { class in namespace:rs2spirv
57 static Context &getInstance();
59 Context();
H A Drs2spirv.cpp56 LLVMContext Context; local
65 getStreamedBitcodeModule(InputFile, std::move(DS), Context);
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
H A DBitcodeReader.cpp104 LLVMContext &Context; member in class:__anon1362::BitcodeReaderValueList
106 explicit BitcodeReaderValueList(LLVMContext &C) : Context(C) {}
156 LLVMContext &Context;
159 : NumFwdRefs(0), AnyFwdRefs(false), Context(C) {}
186 LLVMContext &Context;
286 StructType *createIdentifiedStructType(LLVMContext &Context, StringRef Name);
287 StructType *createIdentifiedStructType(LLVMContext &Context);
394 : Context(C), DiagnosticHandler(getDiagHandler(DiagnosticHandler, C)),
551 explicit ConstantPlaceHolder(Type *Ty, LLVMContext& Context) argument
553 Op<0>() = UndefValue::get(Type::getInt32Ty(Context));
791 createIdentifiedStructType(LLVMContext &Context, StringRef Name) argument
798 createIdentifiedStructType(LLVMContext &Context) argument
3498 getLazyBitcodeModuleImpl(std::unique_ptr<MemoryBuffer> &&Buffer, LLVMContext &Context, bool WillMaterializeAll, const DiagnosticHandlerFunction &DiagnosticHandler) argument
3520 getLazyBitcodeModule(std::unique_ptr<MemoryBuffer> &&Buffer, LLVMContext &Context, const DiagnosticHandlerFunction &DiagnosticHandler) argument
3530 parseBitcodeFile(MemoryBufferRef Buffer, LLVMContext &Context, const DiagnosticHandlerFunction &DiagnosticHandler) argument
3548 getBitcodeTargetTriple(MemoryBufferRef Buffer, LLVMContext &Context, DiagnosticHandlerFunction DiagnosticHandler) argument
[all...]
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
H A DBitcodeReader.cpp87 LLVMContext &Context = LPI->getContext(); local
118 PointerType::getUnqual(Type::getInt8Ty(Context)),
148 LLVMContext &Context = M->getContext();
149 Type *ExnTy = PointerType::getUnqual(Type::getInt8Ty(Context));
150 Type *SelTy = Type::getInt32Ty(Context);
207 BasicBlock *NewBB = BasicBlock::Create(Context, "new.lpad",
224 IRBuilder<> Builder(Context);
251 IRBuilder<> Builder(Context);
276 IRBuilder<> Builder(Context);
346 LLVMContext &Context; member in class:__anon1365::BitcodeReaderValueList
826 ConstantPlaceHolder(Type *Ty, LLVMContext& Context) argument
1066 createIdentifiedStructType(LLVMContext &Context, StringRef Name) argument
1073 createIdentifiedStructType(LLVMContext &Context) argument
3840 getLazyBitcodeModuleImpl(std::unique_ptr<MemoryBuffer> &&Buffer, LLVMContext &Context, bool WillMaterializeAll, const DiagnosticHandlerFunction &DiagnosticHandler) argument
3862 getLazyBitcodeModule(std::unique_ptr<MemoryBuffer> &&Buffer, LLVMContext &Context, const DiagnosticHandlerFunction &DiagnosticHandler) argument
3872 parseBitcodeFile(MemoryBufferRef Buffer, LLVMContext &Context, const DiagnosticHandlerFunction &DiagnosticHandler) argument
3890 getBitcodeTargetTriple(MemoryBufferRef Buffer, LLVMContext &Context, DiagnosticHandlerFunction DiagnosticHandler) argument
[all...]
/frameworks/compile/libbcc/lib/
H A DRSCompilerDriver.cpp304 BCCContext& Context, const char* pOutputFilepath, const char* pRuntimePath,
325 llvm::LLVMContext& context = Context.getLLVMContext();
375 if (!fuseKernels(Context, sourcesToFuse, slots, nameOfFused, &module)) {
391 if (!renameInvoke(Context, source, slot, newName, &module)) {
401 Source::CreateFromModule(Context, pOutputFilepath, module,
303 buildScriptGroup( BCCContext& Context, const char* pOutputFilepath, const char* pRuntimePath, const char* pRuntimeRelaxedPath, bool dumpIR, const char* buildChecksum, const std::vector<Source*>& sources, const std::list<std::list<std::pair<int, int>>>& toFuse, const std::list<std::string>& fused, const std::list<std::list<std::pair<int, int>>>& invokes, const std::list<std::string>& invokeBatchNames) argument
H A DRSKernelExpand.cpp125 llvm::LLVMContext *Context; member in class:__anon1380::RSKernelExpandPass
191 llvm::Type *VoidPtrTy = llvm::Type::getInt8PtrTy(*Context);
216 llvm::Type *V2xi64Ty = llvm::VectorType::get(llvm::Type::getInt64Ty(*Context), 2);
217 llvm::Type *Int128Ty = llvm::Type::getIntNTy(*Context, 128);
244 llvm::Type *Int32Ty = llvm::Type::getInt32Ty(*Context);
255 llvm::Type *Int8Ty = llvm::Type::getInt8Ty(*Context);
258 llvm::Type *Int32Ty = llvm::Type::getInt32Ty(*Context);
260 llvm::Type *VoidPtrTy = llvm::Type::getInt8PtrTy(*Context);
326 llvm::Type *VoidTy = llvm::Type::getVoidTy(*Context);
352 llvm::BasicBlock *Begin = llvm::BasicBlock::Create(*Context, "Begi
[all...]
H A DRSScriptGroupFusion.cpp78 // The whitelist of supported signature bits. Context or user data arguments are
133 llvm::FunctionType* getFusedFuncType(bcc::BCCContext& Context, argument
154 llvm::Type* I32Ty = llvm::IntegerType::get(Context.getLLVMContext(), 32);
176 bool fuseKernels(bcc::BCCContext& Context, argument
186 getFusedFuncType(Context, sources, slots, mergedModule, &fusedFunctionSignature);
195 llvm::LLVMContext& ctxt = Context.getLLVMContext();
319 bool renameInvoke(BCCContext& Context, const Source* source, const int slot, argument
336 llvm::BasicBlock* block = llvm::BasicBlock::Create(Context.getLLVMContext(),
H A DRSX86TranslateGEPPass.cpp40 llvm::LLVMContext *Context; member in class:__anon1385::RSX86TranslateGEPPass
86 llvm::Type::getInt32Ty(*Context), EltOffset);
91 llvm::Type::getInt32Ty(*Context),
107 llvm::Type::getInt8PtrTy(*Context),
114 llvm::Type::getInt8Ty(*Context), Int8Ptr, llvm::makeArrayRef(Indices),
138 Context = &F.getParent()->getContext();
/frameworks/compile/libbcc/tools/bcc/
H A DMain.cpp186 bool compileScriptGroup(BCCContext& Context, RSCompilerDriver& RSCD) { argument
190 bcc::Source::CreateFromFile(Context, OptInputFilenames[i]);
211 Context, outputFilepath.c_str(), OptBCLibFilename.c_str(),
/frameworks/compile/libbcc/tools/bcc_strip_attr/
H A Dbcc_strip_attr.cpp98 LLVMContext& Context) {
100 std::unique_ptr<Module> Result = parseIRFile(FN, Err, Context);
115 LLVMContext Context; local
121 std::unique_ptr<Module> M(LoadFile(argv[0], InputFilenames[0], Context));
96 LoadFile(const char *argv0, const std::string &FN, LLVMContext& Context) argument
/frameworks/compile/slang/
H A Dllvm-rs-as.cpp114 LLVMContext Context; local
132 std::unique_ptr<Module> M(parseAssemblyFile(InputFilename, Err, Context));
H A Dslang_backend.cpp244 Backend::Backend(RSContext *Context, clang::DiagnosticsEngine *DiagEngine, argument
256 mBufferOutStream(*mpOS), mContext(Context),
264 mASTChecker(Context, Context->getTargetAPI(), IsFilterscript),
265 mForEachHandler(Context),
H A Dslang_rs_check_ast.h32 slang::RSContext *Context; member in class:slang::RSCheckAST
51 : Context(Con),
H A Dslang_rs_export_element.cpp71 RSExportType *RSExportElement::Create(RSContext *Context, argument
84 if (!RSExportType::NormalizeType(T, TypeName, Context, nullptr,
94 RSExportPrimitiveType::Create(Context,
107 RSExportVectorType::Create(Context,
131 RSExportType *RSExportElement::CreateFromDecl(RSContext *Context, argument
141 return RSExportType::Create(Context, T, NotLegacyKernelArgument);
161 return RSExportType::Create(Context, T, NotLegacyKernelArgument);
163 return RSExportElement::Create(Context, T, EI);
H A Dslang_rs_export_foreach.cpp55 RSContext *Context, const clang::FunctionDecl *FD) {
56 slangAssert(Context && FD);
61 if (Context->getTargetAPI() < SLANG_JB_TARGET_API) {
64 Context->ReportError(FD->getLocation(),
77 valid &= validateAndConstructKernelParams(Context, FD);
79 valid &= validateAndConstructOldStyleParams(Context, FD);
82 valid &= setSignatureMetadata(Context, FD);
87 RSContext *Context, const clang::FunctionDecl *FD) {
88 slangAssert(Context && FD);
95 clang::ASTContext &C = Context
54 validateAndConstructParams( RSContext *Context, const clang::FunctionDecl *FD) argument
86 validateAndConstructOldStyleParams( RSContext *Context, const clang::FunctionDecl *FD) argument
164 validateAndConstructKernelParams( RSContext *Context, const clang::FunctionDecl *FD) argument
253 processSpecialParameters( RSContext *Context, const clang::FunctionDecl *FD, size_t *IndexOfFirstSpecialParameter) argument
268 setSignatureMetadata(RSContext *Context, const clang::FunctionDecl *FD) argument
309 Create(RSContext *Context, const clang::FunctionDecl *FD) argument
422 CreateDummyRoot(RSContext *Context) argument
[all...]
H A Dslang_rs_export_foreach.h71 RSExportForEach(RSContext *Context, const llvm::StringRef &Name) argument
72 : RSExportable(Context, RSExportable::EX_FOREACH),
80 bool validateAndConstructParams(RSContext *Context,
83 bool validateAndConstructOldStyleParams(RSContext *Context,
86 bool validateAndConstructKernelParams(RSContext *Context,
89 bool processSpecialParameters(RSContext *Context,
93 bool setSignatureMetadata(RSContext *Context,
96 static RSExportForEach *Create(RSContext *Context,
99 static RSExportForEach *CreateDummyRoot(RSContext *Context);
H A Dslang_rs_export_func.cpp35 static bool ValidateFuncDecl(slang::RSContext *Context, argument
37 slangAssert(Context && FD);
40 Context->ReportError(
50 RSExportFunc *RSExportFunc::Create(RSContext *Context, argument
57 if (!ValidateFuncDecl(Context, FD)) {
61 F = new RSExportFunc(Context, Name, FD);
67 clang::ASTContext &Ctx = Context->getASTContext();
108 RSExportType::Create(Context, T.getTypePtr(), NotLegacyKernelArgument);
H A Dslang_rs_export_func.h53 RSExportFunc(RSContext *Context, const llvm::StringRef &Name, argument
55 : RSExportable(Context, RSExportable::EX_FUNC),
61 mShouldMangle = Context->getMangleContext().shouldMangleDeclName(FD);
65 Context->getMangleContext().mangleName(FD, BufStm);
71 static RSExportFunc *Create(RSContext *Context,
H A Dslang_rs_export_reduce.cpp52 RSExportReduce *RSExportReduce::Create(RSContext *Context, argument
60 slangAssert(Context);
61 RSExportReduce *RNE = new RSExportReduce(Context,
H A Dslang_rs_export_reduce.h80 RSExportReduce(RSContext *Context, argument
88 : RSExportable(Context, RSExportable::EX_REDUCE),
133 static RSExportReduce *Create(RSContext *Context,

Completed in 356 milliseconds

12