Searched defs:Context (Results 1 - 25 of 36) sorted by path

12

/frameworks/base/core/java/android/content/
H A DContext.java80 public abstract class Context { class
410 * Context whose lifecycle is separate from the current context, that is
424 * <li> <p>If used from the Context returned here, the receiver is being
432 public abstract Context getApplicationContext();
436 * Context, which will be called at the same times as the ComponentCallbacks
547 * before any views are instantiated in the Context (for example before
562 * Return the Theme object associated with this Context.
568 * Retrieve styled attribute information in this Context's theme. See
579 * Retrieve styled attribute information in this Context's theme. See
591 * Retrieve styled attribute information in this Context'
[all...]
/frameworks/base/packages/Osu/src/com/android/hotspot2/asn1/
H A DAsn1Class.java4 Universal, Application, Context, Private enum constant in enum:Asn1Class
/frameworks/base/tools/aapt2/
H A DStringPool.h45 struct Context { struct in class:aapt::StringPool
63 const Context& getContext() const;
86 const Context& getContext() const;
99 Context context;
146 Ref makeRef(const StringPiece16& str, const Context& context);
158 StyleRef makeRef(const StyleString& str, const Context& context);
198 Ref makeRefImpl(const StringPiece16& str, const Context& context, bool unique);
/frameworks/base/tools/aapt2/test/
H A DContext.h33 class Context : public IAaptContext { class in namespace:aapt::test
64 Context() : mNameMangler({}) { function in class:aapt::test::Context
76 std::unique_ptr<Context> mContext = std::unique_ptr<Context>(new Context());
99 std::unique_ptr<Context> build() {
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
H A DBitcodeReader.cpp104 LLVMContext &Context; member in class:__anon1164::BitcodeReaderValueList
106 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)),
542 explicit ConstantPlaceHolder(Type *Ty, LLVMContext& Context) argument
544 Op<0>() = UndefValue::get(Type::getInt32Ty(Context));
782 createIdentifiedStructType(LLVMContext &Context, StringRef Name) argument
789 createIdentifiedStructType(LLVMContext &Context) argument
3486 getLazyBitcodeModuleImpl(std::unique_ptr<MemoryBuffer> &&Buffer, LLVMContext &Context, bool WillMaterializeAll, DiagnosticHandlerFunction DiagnosticHandler) argument
3508 getLazyBitcodeModule(std::unique_ptr<MemoryBuffer> &&Buffer, LLVMContext &Context, DiagnosticHandlerFunction DiagnosticHandler) argument
3518 parseBitcodeFile(MemoryBufferRef Buffer, LLVMContext &Context, DiagnosticHandlerFunction DiagnosticHandler) argument
3536 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:__anon1167::BitcodeReaderValueList
817 ConstantPlaceHolder(Type *Ty, LLVMContext& Context) argument
1057 createIdentifiedStructType(LLVMContext &Context, StringRef Name) argument
1064 createIdentifiedStructType(LLVMContext &Context) argument
3823 getLazyBitcodeModuleImpl(std::unique_ptr<MemoryBuffer> &&Buffer, LLVMContext &Context, bool WillMaterializeAll, DiagnosticHandlerFunction DiagnosticHandler) argument
3845 getLazyBitcodeModule(std::unique_ptr<MemoryBuffer> &&Buffer, LLVMContext &Context, DiagnosticHandlerFunction DiagnosticHandler) argument
3855 parseBitcodeFile(MemoryBufferRef Buffer, LLVMContext &Context, DiagnosticHandlerFunction DiagnosticHandler) argument
3873 getBitcodeTargetTriple(MemoryBufferRef Buffer, LLVMContext &Context, DiagnosticHandlerFunction DiagnosticHandler) argument
[all...]
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSCompilerDriver.cpp310 BCCContext& Context, const char* pOutputFilepath, const char* pRuntimePath,
331 llvm::LLVMContext& context = Context.getLLVMContext();
360 if (!fuseKernels(Context, sourcesToFuse, slots, nameOfFused, &module)) {
376 if (!renameInvoke(Context, source, slot, newName, &module)) {
386 Source::CreateFromModule(Context, pOutputFilepath, module, true));
309 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.cpp104 llvm::LLVMContext *Context; member in class:__anon1187::RSKernelExpandPass
168 llvm::Type *VoidPtrTy = llvm::Type::getInt8PtrTy(*Context);
193 llvm::Type *V2xi64Ty = llvm::VectorType::get(llvm::Type::getInt64Ty(*Context), 2);
194 llvm::Type *Int128Ty = llvm::Type::getIntNTy(*Context, 128);
221 llvm::Type *Int32Ty = llvm::Type::getInt32Ty(*Context);
232 llvm::Type *Int8Ty = llvm::Type::getInt8Ty(*Context);
235 llvm::Type *Int32Ty = llvm::Type::getInt32Ty(*Context);
237 llvm::Type *VoidPtrTy = llvm::Type::getInt8PtrTy(*Context);
303 llvm::Type *VoidTy = llvm::Type::getVoidTy(*Context);
329 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:__anon1191::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.cpp189 bool compileScriptGroup(BCCContext& Context, RSCompilerDriver& RSCD) { argument
193 bcc::Source::CreateFromFile(Context, OptInputFilenames[i]);
214 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 = getGlobalContext(); 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.cpp108 LLVMContext &Context = getGlobalContext(); local
126 std::unique_ptr<Module> M(parseAssemblyFile(InputFilename, Err, Context));
H A Dslang_backend.cpp207 Backend::Backend(RSContext *Context, clang::DiagnosticsEngine *DiagEngine, argument
219 mBufferOutStream(*mpOS), mContext(Context),
227 mASTChecker(Context, Context->getTargetAPI(), IsFilterscript),
228 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,
H A Dslang_rs_export_type.cpp183 slang::RSContext *Context,
189 static void ReportTypeError(slang::RSContext *Context, argument
198 Context->ReportError(TopLevelRecord->getLocation(), Message)
201 Context->ReportError(ND->getLocation(), Message) << ND->getName()
211 slang::RSContext *Context,
218 ReportTypeError(Context, VD, TopLevelRecord,
228 ReportTypeError(Context, VD, TopLevelRecord,
234 ReportTypeError(Context, VD, TopLevelRecord,
240 if (TypeExportableHelper(ElementType, SPS, Context, VD,
260 slang::RSContext *Context,
208 ConstantArrayTypeExportableHelper( const clang::ConstantArrayType *CAT, llvm::SmallPtrSet<const clang::Type*, 8>& SPS, slang::RSContext *Context, const clang::VarDecl *VD, const clang::RecordDecl *TopLevelRecord, ExportKind EK) argument
257 TypeExportableHelper( clang::Type const *T, llvm::SmallPtrSet<clang::Type const *, 8> &SPS, slang::RSContext *Context, clang::VarDecl const *VD, clang::RecordDecl const *TopLevelRecord, ExportKind EK) argument
430 TypeExportable(const clang::Type *T, slang::RSContext *Context, const clang::VarDecl *VD, ExportKind EK) argument
440 ValidateRSObjectInVarDecl(slang::RSContext *Context, const clang::VarDecl *VD, bool InCompositeType, unsigned int TargetAPI) argument
481 ValidateTypeHelper( slang::RSContext *Context, clang::ASTContext &C, const clang::Type *&T, const clang::NamedDecl *ND, clang::SourceLocation Loc, llvm::SmallPtrSet<const clang::Type*, 8>& SPS, bool InCompositeType, clang::RecordDecl *UnionDecl, unsigned int TargetAPI, bool IsFilterscript, bool IsExtern) argument
678 NormalizeType(const clang::Type *&T, llvm::StringRef &TypeName, RSContext *Context, const clang::VarDecl *VD, ExportKind EK) argument
701 ValidateType(slang::RSContext *Context, clang::ASTContext &C, clang::QualType QT, const clang::NamedDecl *ND, clang::SourceLocation Loc, unsigned int TargetAPI, bool IsFilterscript, bool IsExtern) argument
723 ValidateVarDecl(slang::RSContext *Context, clang::VarDecl *VD, unsigned int TargetAPI, bool IsFilterscript) argument
825 Create(RSContext *Context, const clang::Type *T, const llvm::StringRef &TypeName, ExportKind EK) argument
917 Create(RSContext *Context, const clang::Type *T, ExportKind EK, const clang::VarDecl *VD) argument
927 CreateFromDecl(RSContext *Context, const clang::VarDecl *VD) argument
941 RSExportType(RSContext *Context, ExportClass Class, const llvm::StringRef &Name) argument
1101 GetDataType(RSContext *Context, const clang::Type *T) argument
1134 Create(RSContext *Context, const clang::Type *T, const llvm::StringRef &TypeName, bool Normalized) argument
1147 Create(RSContext *Context, const clang::Type *T) argument
1247 Create(RSContext *Context, const clang::PointerType *PT, const llvm::StringRef &TypeName) argument
1317 Create(RSContext *Context, const clang::ExtVectorType *EVT, const llvm::StringRef &TypeName, bool Normalized) argument
1348 Create(RSContext *Context, const clang::RecordType *RT, const llvm::StringRef &TypeName, unsigned Dim) argument
1433 Create(RSContext *Context, const clang::ConstantArrayType *CAT) argument
1475 Create(RSContext *Context, const clang::RecordType *RT, const llvm::StringRef &TypeName, bool mIsArtificial) argument
[all...]
H A Dslang_rs_export_type.h217 RSExportType(RSContext *Context,
230 static RSExportType *Create(RSContext *Context,
259 RSContext *Context,
266 static bool ValidateType(slang::RSContext *Context, clang::ASTContext &C,
274 static bool ValidateVarDecl(slang::RSContext *Context, clang::VarDecl *VD,
278 static RSExportType *Create(RSContext *Context, const clang::Type *T,
282 static RSExportType *CreateFromDecl(RSContext *Context,
328 static RSExportPrimitiveType *Create(RSContext *Context,
334 RSExportPrimitiveType(RSContext *Context, argument
340 : RSExportType(Context, Clas
404 RSExportPointerType(RSContext *Context, const llvm::StringRef &Name, const RSExportType *PointeeType) argument
434 RSExportVectorType(RSContext *Context, const llvm::StringRef &Name, DataType DT, bool Normalized, unsigned NumElement) argument
482 RSExportMatrixType(RSContext *Context, const llvm::StringRef &Name, unsigned Dim) argument
510 RSExportConstantArrayType(RSContext *Context, const RSExportType *ElementType, unsigned NumElement) argument
585 RSExportRecordType(RSContext *Context, const llvm::StringRef &Name, bool IsPacked, bool IsArtificial, size_t StoreSize, size_t AllocSize) argument
[all...]
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...]

Completed in 3264 milliseconds

12