Searched defs:Context (Results 1 - 25 of 27) sorted by relevance

12

/frameworks/compile/slang/
H A Dslang_rs_export_var.cpp29 RSExportVar::RSExportVar(RSContext *Context, argument
32 : RSExportable(Context, RSExportable::EX_VAR),
45 Initializer->EvaluateAsRValue(mInit, Context->getASTContext());
49 if (Initializer->isNullPointerConstant(Context->getASTContext(),
53 if (!Initializer->EvaluateAsRValue(mInit, Context->getASTContext())) {
54 Context->ReportError(Initializer->getExprLoc(),
64 Context->ReportError(VD->getLocation(),
75 Context->getASTContext())) {
76 Context->ReportError(IList->getInit(i)->getExprLoc(),
85 Context
[all...]
H A Dllvm-rs-as.cpp124 LLVMContext &Context = getGlobalContext(); local
130 std::unique_ptr<Module> M(ParseAssemblyFile(InputFilename, Err, Context));
H A Dslang_rs_check_ast.h32 slang::RSContext *Context; member in class:slang::RSCheckAST
51 : Context(Con),
H A Dslang_rs_pragma_handler.h38 RSPragmaHandler(llvm::StringRef Name, RSContext *Context) argument
40 mContext(Context) {
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_exportable.h39 RSExportable(RSContext *Context, RSExportable::Kind K) argument
40 : mContext(Context),
42 Context->newExportable(this);
H A Dslang_rs_export_element.cpp71 RSExportType *RSExportElement::Create(RSContext *Context, argument
84 if (!RSExportType::NormalizeType(T, TypeName, Context, NULL))
93 RSExportPrimitiveType::Create(Context,
106 RSExportVectorType::Create(Context,
130 RSExportType *RSExportElement::CreateFromDecl(RSContext *Context, argument
140 return RSExportType::Create(Context, T);
160 return RSExportType::Create(Context, T);
162 return RSExportElement::Create(Context, T, EI);
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());
H A Dslang_rs_export_foreach.cpp38 RSContext *Context, const clang::FunctionDecl *FD) {
39 slangAssert(Context && FD);
44 if (Context->getTargetAPI() < SLANG_JB_TARGET_API) {
47 Context->ReportError(FD->getLocation(),
60 valid |= validateAndConstructKernelParams(Context, FD);
62 valid |= validateAndConstructOldStyleParams(Context, FD);
65 valid |= setSignatureMetadata(Context, FD);
70 RSContext *Context, const clang::FunctionDecl *FD) {
71 slangAssert(Context && FD);
78 clang::ASTContext &C = Context
37 validateAndConstructParams( RSContext *Context, const clang::FunctionDecl *FD) argument
69 validateAndConstructOldStyleParams( RSContext *Context, const clang::FunctionDecl *FD) argument
147 validateAndConstructKernelParams( RSContext *Context, const clang::FunctionDecl *FD) argument
227 validateIterationParameters( RSContext *Context, const clang::FunctionDecl *FD, size_t *IndexOfFirstIterator) argument
296 setSignatureMetadata(RSContext *Context, const clang::FunctionDecl *FD) argument
337 Create(RSContext *Context, const clang::FunctionDecl *FD) argument
436 CreateDummyRoot(RSContext *Context) argument
470 isRSForEachFunc(unsigned int targetAPI, slang::RSContext* Context, const clang::FunctionDecl *FD) argument
520 validateSpecialFuncDecl(unsigned int targetAPI, slang::RSContext *Context, clang::FunctionDecl const *FD) argument
[all...]
H A Dslang_rs_pragma_handler.cpp43 RSExportTypePragmaHandler(llvm::StringRef Name, RSContext *Context) argument
44 : RSPragmaHandler(Name, Context) { }
55 RSJavaPackageNamePragmaHandler(llvm::StringRef Name, RSContext *Context) argument
56 : RSPragmaHandler(Name, Context) { }
130 RSReflectLicensePragmaHandler(llvm::StringRef Name, RSContext *Context) argument
131 : RSPragmaHandler(Name, Context) { }
160 RSVersionPragmaHandler(llvm::StringRef Name, RSContext *Context) argument
161 : RSPragmaHandler(Name, Context) { }
175 RSPrecisionPragmaHandler(llvm::StringRef Name, RSContext *Context) argument
176 : RSPragmaHandler(Name, Context) {}
[all...]
H A Dslang_rs_backend.cpp49 RSBackend::RSBackend(RSContext *Context, argument
60 mContext(Context),
71 mASTChecker(Context, Context->getTargetAPI(), IsFilterscript) {
H A Dslang_rs_export_foreach.h70 RSExportForEach(RSContext *Context, const llvm::StringRef &Name) argument
71 : RSExportable(Context, RSExportable::EX_FOREACH),
79 bool validateAndConstructParams(RSContext *Context,
82 bool validateAndConstructOldStyleParams(RSContext *Context,
85 bool validateAndConstructKernelParams(RSContext *Context,
88 bool validateIterationParameters(RSContext *Context,
92 bool setSignatureMetadata(RSContext *Context,
95 static RSExportForEach *Create(RSContext *Context,
98 static RSExportForEach *CreateDummyRoot(RSContext *Context);
192 static bool isRSForEachFunc(unsigned int targetAPI, slang::RSContext *Context,
[all...]
H A Dslang_rs_export_type.cpp169 slang::RSContext *Context,
174 static void ReportTypeError(slang::RSContext *Context, argument
183 Context->ReportError(TopLevelRecord->getLocation(), Message)
186 Context->ReportError(ND->getLocation(), Message) << ND->getName()
196 slang::RSContext *Context,
202 ReportTypeError(Context, VD, TopLevelRecord,
212 ReportTypeError(Context, VD, TopLevelRecord,
218 ReportTypeError(Context, VD, TopLevelRecord,
224 if (TypeExportableHelper(ElementType, SPS, Context, VD,
244 slang::RSContext *Context,
193 ConstantArrayTypeExportableHelper( const clang::ConstantArrayType *CAT, llvm::SmallPtrSet<const clang::Type*, 8>& SPS, slang::RSContext *Context, const clang::VarDecl *VD, const clang::RecordDecl *TopLevelRecord) argument
241 TypeExportableHelper( clang::Type const *T, llvm::SmallPtrSet<clang::Type const *, 8> &SPS, slang::RSContext *Context, clang::VarDecl const *VD, clang::RecordDecl const *TopLevelRecord) argument
396 TypeExportable(const clang::Type *T, slang::RSContext *Context, const clang::VarDecl *VD) argument
405 ValidateRSObjectInVarDecl(slang::RSContext *Context, clang::VarDecl *VD, bool InCompositeType, unsigned int TargetAPI) argument
444 ValidateTypeHelper( slang::RSContext *Context, clang::ASTContext &C, const clang::Type *&T, clang::NamedDecl *ND, clang::SourceLocation Loc, llvm::SmallPtrSet<const clang::Type*, 8>& SPS, bool InCompositeType, clang::RecordDecl *UnionDecl, unsigned int TargetAPI, bool IsFilterscript) argument
623 NormalizeType(const clang::Type *&T, llvm::StringRef &TypeName, RSContext *Context, const clang::VarDecl *VD) argument
645 ValidateType(slang::RSContext *Context, clang::ASTContext &C, clang::QualType QT, clang::NamedDecl *ND, clang::SourceLocation Loc, unsigned int TargetAPI, bool IsFilterscript) argument
658 ValidateVarDecl(slang::RSContext *Context, clang::VarDecl *VD, unsigned int TargetAPI, bool IsFilterscript) argument
758 Create(RSContext *Context, const clang::Type *T, const llvm::StringRef &TypeName) argument
849 Create(RSContext *Context, const clang::Type *T) argument
858 CreateFromDecl(RSContext *Context, const clang::VarDecl *VD) argument
871 RSExportType(RSContext *Context, ExportClass Class, const llvm::StringRef &Name) argument
1031 GetDataType(RSContext *Context, const clang::Type *T) argument
1064 Create(RSContext *Context, const clang::Type *T, const llvm::StringRef &TypeName, bool Normalized) argument
1077 Create(RSContext *Context, const clang::Type *T) argument
1172 Create(RSContext *Context, const clang::PointerType *PT, const llvm::StringRef &TypeName) argument
1241 Create(RSContext *Context, const clang::ExtVectorType *EVT, const llvm::StringRef &TypeName, bool Normalized) argument
1272 Create(RSContext *Context, const clang::RecordType *RT, const llvm::StringRef &TypeName, unsigned Dim) argument
1357 Create(RSContext *Context, const clang::ConstantArrayType *CAT) argument
1398 Create(RSContext *Context, const clang::RecordType *RT, const llvm::StringRef &TypeName, bool mIsArtificial) argument
[all...]
H A Dslang_rs_reflection_cpp.cpp113 RSReflectionCpp::RSReflectionCpp(const RSContext *Context, argument
117 : mRSContext(Context), mRSSourceFilePath(RSSourceFileName),
H A Dslang_rs_export_type.h192 RSExportType(RSContext *Context,
203 static RSExportType *Create(RSContext *Context,
231 RSContext *Context,
237 static bool ValidateType(slang::RSContext *Context, clang::ASTContext &C,
245 static bool ValidateVarDecl(slang::RSContext *Context, clang::VarDecl *VD,
249 static RSExportType *Create(RSContext *Context, const clang::Type *T);
250 static RSExportType *CreateFromDecl(RSContext *Context,
298 static RSExportPrimitiveType *Create(RSContext *Context,
304 RSExportPrimitiveType(RSContext *Context, argument
310 : RSExportType(Context, Clas
370 RSExportPointerType(RSContext *Context, const llvm::StringRef &Name, const RSExportType *PointeeType) argument
400 RSExportVectorType(RSContext *Context, const llvm::StringRef &Name, DataType DT, bool Normalized, unsigned NumElement) argument
448 RSExportMatrixType(RSContext *Context, const llvm::StringRef &Name, unsigned Dim) argument
476 RSExportConstantArrayType(RSContext *Context, const RSExportType *ElementType, unsigned Size) argument
551 RSExportRecordType(RSContext *Context, const llvm::StringRef &Name, bool IsPacked, bool IsArtificial, size_t StoreSize, size_t AllocSize) argument
[all...]
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
H A DBitcodeReader.h52 LLVMContext &Context; member in class:llvm_2_7::BitcodeReaderValueList
54 BitcodeReaderValueList(LLVMContext &C) : Context(C) {}
102 LLVMContext &Context;
104 BitcodeReaderMDValueList(LLVMContext& C) : Context(C) {}
130 LLVMContext &Context;
223 : Context(C), TheModule(0), Buffer(buffer), BufferOwned(false),
H A DBitcodeReader.cpp212 explicit ConstantPlaceHolder(Type *Ty, LLVMContext& Context) argument
214 Op<0>() = UndefValue::get(Type::getInt32Ty(Context));
278 Constant *C = new ConstantPlaceHolder(Ty, Context);
418 Value *V = MDNode::getTemporary(Context, ArrayRef<Value*>());
433 return TypeList[ID] = StructType::create(Context);
507 Attrs.push_back(AttributeSet::get(Context, Record[i], B));
510 MAttributes.push_back(AttributeSet::get(Context, Attrs));
518 MAttributes.push_back(AttributeSet::get(Context, Attrs));
574 ResultTy = Type::getVoidTy(Context);
577 ResultTy = Type::getHalfTy(Context);
3133 getLazyBitcodeModule(MemoryBuffer *Buffer, LLVMContext& Context, std::string *ErrMsg) argument
3153 ParseBitcodeFile(MemoryBuffer *Buffer, LLVMContext& Context, std::string *ErrMsg) argument
3172 getBitcodeTargetTriple(MemoryBuffer *Buffer, LLVMContext& Context, std::string *ErrMsg) argument
[all...]
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
H A DBitcodeReader.h52 LLVMContext &Context; member in class:llvm_3_0::BitcodeReaderValueList
54 BitcodeReaderValueList(LLVMContext &C) : Context(C) {}
102 LLVMContext &Context;
104 BitcodeReaderMDValueList(LLVMContext& C) : Context(C) {}
130 LLVMContext &Context;
218 : Context(C), TheModule(0), Buffer(buffer), BufferOwned(false),
/frameworks/compile/libbcc/tools/bcc_strip_attr/
H A Dbcc_strip_attr.cpp94 LLVMContext& Context) {
96 Module* Result = ParseIRFile(FN, Err, Context);
111 LLVMContext &Context = getGlobalContext(); local
117 std::unique_ptr<Module> M(LoadFile(argv[0], InputFilenames[0], Context));
92 LoadFile(const char *argv0, const std::string &FN, LLVMContext& Context) argument
/frameworks/compile/mclinker/lib/CodeGen/
H A DMCLDTargetMachine.cpp167 MCContext *Context = &MMI->getContext(); // Return the MCContext by-ref. local
186 return Context;
200 llvm::MCContext* Context = local
203 if (!Context)
212 assert(Context != 0 && "Failed to get MCContext");
215 Context->setAllowTemporaryLabels(false);
219 Context))
224 assert(Context != 0 && "Failed to get MCContext");
227 Context->setAllowTemporaryLabels(false);
230 Context))
279 addCompilerPasses(llvm::legacy::PassManagerBase &pPM, llvm::formatted_raw_ostream &pOutput, llvm::MCContext *&Context) argument
322 addAssemblerPasses(llvm::legacy::PassManagerBase &pPM, llvm::raw_ostream &pOutput, llvm::MCContext *&Context) argument
356 addLinkerPasses(llvm::legacy::PassManagerBase &pPM, LinkerConfig& pConfig, mcld::Module& pModule, mcld::FileHandle& pFileHandle, llvm::MCContext *&Context) argument
[all...]
/frameworks/wilhelm/tests/listening/
H A DslesTest_playMuteSolo.cpp37 } Context; typedef in typeref:struct:__anon1667
104 Context *context = (Context *) pContext;
290 Context context;
/frameworks/rs/
H A DrsContext.cpp58 pthread_mutex_t Context::gInitMutex = PTHREAD_MUTEX_INITIALIZER;
59 pthread_mutex_t Context::gMessageMutex = PTHREAD_MUTEX_INITIALIZER;
60 pthread_mutex_t Context::gLibMutex = PTHREAD_MUTEX_INITIALIZER;
62 bool Context::initGLThread() {
75 void Context::deinitEGL() {
81 Context::PushState::PushState(Context *con) {
94 Context::PushState::~PushState() {
107 uint32_t Context::runScript(Script *s) {
114 uint32_t Context
514 Context::Context() { function in class:Context
[all...]
H A DrsContext.h77 class Context { class in namespace:android::renderscript
87 static Context * createContext(Device *, const RsSurfaceConfig *sc,
90 static Context * createContextLite();
91 ~Context();
100 PushState(Context *);
111 Context *mRsc;
284 Context();
293 static bool loadRuntime(const char* filename, Context* rsc);
315 void LF_ObjDestroy_handcode(const Context *rsc, RsAsyncVoidPtr objPtr);
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSForEachExpand.cpp61 llvm::LLVMContext *Context; member in class:__anon1062::RSForEachExpandPass
126 llvm::Type *VoidPtrTy = llvm::Type::getInt8PtrTy(*Context);
151 llvm::Type *V2xi64Ty = llvm::VectorType::get(llvm::Type::getInt64Ty(*Context), 2);
152 llvm::Type *Int128Ty = llvm::Type::getIntNTy(*Context, 128);
179 llvm::Type *Int32Ty = llvm::Type::getInt32Ty(*Context);
190 llvm::Type *VoidPtrTy = llvm::Type::getInt8PtrTy(*Context);
191 llvm::Type *Int32Ty = llvm::Type::getInt32Ty(*Context);
238 ExpandedFunctionType = llvm::FunctionType::get(llvm::Type::getVoidTy(*Context),
266 llvm::BasicBlock *Begin = llvm::BasicBlock::Create(*Context, "Begin",
303 HeaderBB = llvm::BasicBlock::Create(*Context, "Loo
[all...]
/frameworks/base/core/java/android/content/
H A DContext.java69 public abstract class Context { class
314 * Context whose lifecycle is separate from the current context, that is
328 * <li> <p>If used from the Context returned here, the receiver is being
336 public abstract Context getApplicationContext();
340 * Context, which will be called at the same times as the ComponentCallbacks
408 * before any views are instantiated in the Context (for example before
423 * Return the Theme object associated with this Context.
429 * Retrieve styled attribute information in this Context's theme. See
441 * Retrieve styled attribute information in this Context's theme. See
453 * Retrieve styled attribute information in this Context'
[all...]

Completed in 315 milliseconds

12