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

12

/frameworks/compile/slang/
H A Dslang_rs_export_var.cpp31 static clang::DiagnosticBuilder ReportVarError(RSContext *Context, argument
34 clang::DiagnosticsEngine *DiagEngine = Context->getDiagnostics();
35 const clang::SourceManager *SM = Context->getSourceManager();
42 RSExportVar::RSExportVar(RSContext *Context, argument
45 : RSExportable(Context, RSExportable::EX_VAR),
58 Initializer->EvaluateAsRValue(mInit, Context->getASTContext());
62 if (Initializer->isNullPointerConstant(Context->getASTContext(),
66 if (!Initializer->EvaluateAsRValue(mInit, Context->getASTContext())) {
67 ReportVarError(Context, Initializer->getExprLoc(),
77 ReportVarError(Context, V
[all...]
H A Dslang_rs_pragma_handler.h38 RSPragmaHandler(llvm::StringRef Name, RSContext *Context) argument
40 mContext(Context) {
68 static RSPragmaHandler *CreatePragmaExportTypeHandler(RSContext *Context);
70 RSContext *Context);
71 static RSPragmaHandler *CreatePragmaReflectLicenseHandler(RSContext *Context);
72 static RSPragmaHandler *CreatePragmaVersionHandler(RSContext *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);
73 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.cpp59 RSExportType *RSExportElement::Create(RSContext *Context, argument
72 if (!RSExportType::NormalizeType(T, TypeName, Context->getDiagnostics(),
82 RSExportPrimitiveType::Create(Context,
95 RSExportVectorType::Create(Context,
119 RSExportType *RSExportElement::CreateFromDecl(RSContext *Context, argument
129 return RSExportType::Create(Context, T);
149 return RSExportType::Create(Context, T);
151 return RSExportElement::Create(Context, T, EI);
H A Dslang_rs_export_foreach.cpp57 RSContext *Context, const clang::FunctionDecl *FD) {
58 slangAssert(Context && FD);
60 clang::ASTContext &C = Context->getASTContext();
61 clang::DiagnosticsEngine *DiagEngine = Context->getDiagnostics();
65 if (Context->getTargetAPI() < SLANG_JB_TARGET_API) {
84 return validateAndConstructKernelParams(Context, FD);
207 if (Context->getTargetAPI() < SLANG_ICS_TARGET_API) {
231 bool RSExportForEach::validateAndConstructKernelParams(RSContext *Context, argument
233 slangAssert(Context && FD);
235 clang::ASTContext &C = Context
56 validateAndConstructParams( RSContext *Context, const clang::FunctionDecl *FD) argument
390 Create(RSContext *Context, const clang::FunctionDecl *FD) argument
484 CreateDummyRoot(RSContext *Context) argument
[all...]
H A Dslang_rs_export_func.cpp52 RSExportFunc *RSExportFunc::Create(RSContext *Context, argument
59 if (!ValidateFuncDecl(Context->getDiagnostics(), FD)) {
63 F = new RSExportFunc(Context, Name, FD);
69 clang::ASTContext &Ctx = Context->getASTContext();
111 RSExportType::Create(Context, T.getTypePtr());
H A Dllvm-rs-link.cpp119 LLVMContext& Context) {
121 Module *M = ParseBitcodeFile(MB, Context, &Err);
132 LLVMContext& Context) {
137 Module *M = ParseBitcodeFromMemoryBuffer(MB, Context);
192 LLVMContext &Context) {
194 std::auto_ptr<Module> Composite(LoadBitcodeFile(InputFile, Context));
203 Module *Lib = ParseBitcodeFromMemoryBuffer(*I, Context);
262 LLVMContext &Context = llvm::getGlobalContext();
268 PerformLinking(InputFilenames[i], LibBitcode, Context));
118 ParseBitcodeFromMemoryBuffer(MemoryBuffer *MB, LLVMContext& Context) argument
131 LoadBitcodeFile(const std::string &F, LLVMContext& Context) argument
190 PerformLinking(const std::string &InputFile, const std::list<MemoryBuffer *> &LibBitcode, LLVMContext &Context) argument
H A Dslang_rs_pragma_handler.cpp43 RSExportTypePragmaHandler(llvm::StringRef Name, RSContext *Context) argument
44 : RSPragmaHandler(Name, Context) { return; }
55 RSJavaPackageNamePragmaHandler(llvm::StringRef Name, RSContext *Context) argument
56 : RSPragmaHandler(Name, Context) { return; }
131 RSReflectLicensePragmaHandler(llvm::StringRef Name, RSContext *Context) argument
132 : RSPragmaHandler(Name, Context) { return; }
161 RSVersionPragmaHandler(llvm::StringRef Name, RSContext *Context) argument
162 : RSPragmaHandler(Name, Context) { return; }
174 RSPragmaHandler::CreatePragmaExportTypeHandler(RSContext *Context) { argument
175 return new RSExportTypePragmaHandler("export_type", Context);
179 CreatePragmaJavaPackageNameHandler(RSContext *Context) argument
184 CreatePragmaReflectLicenseHandler(RSContext *Context) argument
189 CreatePragmaVersionHandler(RSContext *Context) argument
[all...]
H A Dslang_rs_backend.cpp49 RSBackend::RSBackend(RSContext *Context, argument
60 mContext(Context),
H A Dslang_rs_export_foreach.h63 RSExportForEach(RSContext *Context, const llvm::StringRef &Name) argument
64 : RSExportable(Context, RSExportable::EX_FOREACH),
73 bool validateAndConstructParams(RSContext *Context,
76 bool validateAndConstructKernelParams(RSContext *Context,
80 static RSExportForEach *Create(RSContext *Context,
83 static RSExportForEach *CreateDummyRoot(RSContext *Context);
H A Dslang_rs_reflection.h48 class Context { class in class:slang::RSReflection
118 Context(const std::string &OutputPathBase, function in class:slang::RSReflection::Context
230 bool genScriptClass(Context &C,
233 void genScriptClassConstructor(Context &C);
235 static void genInitBoolExportVariable(Context &C,
238 static void genInitPrimitiveExportVariable(Context &C,
241 static void genInitExportVariable(Context &C,
245 static void genInitValue(Context &C, const clang::APValue &Val);
246 void genExportVariable(Context &C, const RSExportVar *EV);
247 void genPrimitiveTypeExportVariable(Context
328 RSReflection(const RSContext *Context, std::vector<std::string> *GeneratedFileNames) argument
[all...]
H A Dslang_rs_export_type.cpp693 RSExportType *RSExportType::Create(RSContext *Context, argument
699 RSContext::export_type_iterator ETI = Context->findExportType(TypeName);
701 if (ETI != Context->export_types_end())
712 ET = RSExportRecordType::Create(Context,
719 ET = RSExportMatrixType::Create(Context,
727 ET = RSExportMatrixType::Create(Context,
735 ET = RSExportMatrixType::Create(Context,
743 ET = RSExportPrimitiveType::Create(Context, T, TypeName);
750 ET = RSExportPrimitiveType::Create(Context, T, TypeName);
754 ET = RSExportPointerType::Create(Context,
784 Create(RSContext *Context, const clang::Type *T) argument
793 CreateFromDecl(RSContext *Context, const clang::VarDecl *VD) argument
811 RSExportType(RSContext *Context, ExportClass Class, const llvm::StringRef &Name) argument
967 GetDataType(RSContext *Context, const clang::Type *T) argument
1013 Create(RSContext *Context, const clang::Type *T, const llvm::StringRef &TypeName, bool Normalized) argument
1026 Create(RSContext *Context, const clang::Type *T) argument
1126 Create(RSContext *Context, const clang::PointerType *PT, const llvm::StringRef &TypeName) argument
1208 Create(RSContext *Context, const clang::ExtVectorType *EVT, const llvm::StringRef &TypeName, bool Normalized) argument
1250 Create(RSContext *Context, const clang::RecordType *RT, const llvm::StringRef &TypeName, unsigned Dim) argument
1359 Create(RSContext *Context, const clang::ConstantArrayType *CAT) argument
1414 Create(RSContext *Context, const clang::RecordType *RT, const llvm::StringRef &TypeName, bool mIsArtificial) argument
[all...]
H A Dslang_rs_export_type.h113 RSExportType(RSContext *Context,
124 static RSExportType *Create(RSContext *Context,
174 static RSExportType *Create(RSContext *Context, const clang::Type *T);
175 static RSExportType *CreateFromDecl(RSContext *Context,
262 static RSExportPrimitiveType *Create(RSContext *Context,
268 RSExportPrimitiveType(RSContext *Context, argument
274 : RSExportType(Context, Class, Name),
283 static DataType GetDataType(RSContext *Context, const clang::Type *T);
291 static RSExportPrimitiveType *Create(RSContext *Context,
336 RSExportPointerType(RSContext *Context, argument
368 RSExportVectorType(RSContext *Context, const llvm::StringRef &Name, DataType DT, bool Normalized, unsigned NumElement) argument
418 RSExportMatrixType(RSContext *Context, const llvm::StringRef &Name, unsigned Dim) argument
448 RSExportConstantArrayType(RSContext *Context, const RSExportType *ElementType, unsigned Size) argument
527 RSExportRecordType(RSContext *Context, const llvm::StringRef &Name, bool IsPacked, bool IsArtificial, 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;
190 : Context(C), TheModule(0), Buffer(buffer), BufferOwned(false),
/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;
184 : Context(C), TheModule(0), Buffer(buffer), BufferOwned(false),
/frameworks/compile/mclinker/lib/CodeGen/
H A DLLVMTargetMachine.cpp163 MCContext *Context = &MMI->getContext(); // Return the MCContext by-ref. local
182 return Context;
195 llvm::MCContext* Context = local
198 if (!Context)
207 assert(Context != 0 && "Failed to get MCContext");
210 Context->setAllowTemporaryLabels(false);
215 Context))
222 assert(Context != 0 && "Failed to get MCContext");
225 Context->setAllowTemporaryLabels(false);
229 Context))
263 addCompilerPasses(PassManagerBase &pPM, formatted_raw_ostream &Out, const std::string& pOutputFilename, llvm::MCContext *&Context) argument
308 addAssemblerPasses(PassManagerBase &pPM, formatted_raw_ostream &Out, const std::string& pOutputFilename, llvm::MCContext *&Context) argument
345 addLinkerPasses(PassManagerBase &pPM, SectLinkerOption *pLinkerOpt, const std::string &pOutputFilename, MCLDFile::Type pOutputLinkType, llvm::MCContext *&Context) argument
[all...]
/frameworks/support/renderscript/v8/rs_support/
H A DrsContext.cpp34 pthread_mutex_t Context::gInitMutex = PTHREAD_MUTEX_INITIALIZER;
35 pthread_mutex_t Context::gLibMutex = PTHREAD_MUTEX_INITIALIZER;
37 bool Context::initGLThread() {
50 void Context::deinitEGL() {
54 Context::PushState::PushState(Context *con) {
58 Context::PushState::~PushState() {
62 uint32_t Context::runScript(Script *s) {
69 uint32_t Context::runRootScript() {
78 uint64_t Context
228 Context::Context() { function in class:Context
[all...]
H A DrsContext.h54 class Context { class in namespace:android::renderscript
63 static Context * createContext(Device *, const RsSurfaceConfig *sc);
64 static Context * createContextLite();
65 ~Context();
73 PushState(Context *);
77 Context *mRsc;
174 Context();
/frameworks/wilhelm/tests/listening/
H A DslesTest_playMuteSolo.cpp37 } Context; typedef in typeref:struct:__anon1694
104 Context *context = (Context *) pContext;
290 Context context;
/frameworks/rs/
H A DrsContext.cpp38 pthread_mutex_t Context::gInitMutex = PTHREAD_MUTEX_INITIALIZER;
39 pthread_mutex_t Context::gLibMutex = PTHREAD_MUTEX_INITIALIZER;
41 bool Context::initGLThread() {
54 void Context::deinitEGL() {
58 Context::PushState::PushState(Context *con) {
69 Context::PushState::~PushState() {
80 uint32_t Context::runScript(Script *s) {
87 uint32_t Context::runRootScript() {
97 uint64_t Context
416 Context::Context() { function in class:Context
[all...]
H A DrsContext.h61 class Context { class in namespace:android::renderscript
70 static Context * createContext(Device *, const RsSurfaceConfig *sc);
71 static Context * createContextLite();
72 ~Context();
80 PushState(Context *);
89 Context *mRsc;
244 Context();
/frameworks/av/libvideoeditor/vss/src/
H A DM4AMRR_CoreReader.c79 M4OSA_UInt32 m_contextId ; /* Fixed Id. to check for valid Context*/
177 M4OSA_DEBUG_IF2((M4OSA_NULL == pContext),M4ERR_PARAMETER,"Context M4OSA_NULL");
289 M4OSA_ERR M4AMRR_getNextStream(M4OSA_Context Context, M4SYS_StreamDescription* pStreamDesc ) argument
292 M4_AMRR_Context* pStreamContext=(M4_AMRR_Context*)Context;
297 M4OSA_DEBUG_IF2((M4OSA_NULL == Context),M4ERR_PARAMETER,"Context M4OSA_NULL");
300 "Bad Context");
359 /* Copy the Stream Desc. into the Context */
418 M4OSA_ERR M4AMRR_startReading(M4OSA_Context Context, M4SYS_StreamID* pStreamIDs ) argument
421 M4_AMRR_Context* pStreamContext=(M4_AMRR_Context*)Context;
461 M4AMRR_nextAU(M4OSA_Context Context, M4SYS_StreamID StreamID, M4SYS_AccessUnit* pAu) argument
556 M4AMRR_freeAU(M4OSA_Context Context, M4SYS_StreamID StreamID, M4SYS_AccessUnit* pAu) argument
579 M4AMRR_seek(M4OSA_Context Context, M4SYS_StreamID* pStreamID, M4OSA_Time time, M4SYS_SeekAccessMode seekMode, M4OSA_Time* pObtainCTS) argument
822 M4AMRR_closeRead(M4OSA_Context Context) argument
858 M4AMRR_getState(M4OSA_Context Context, M4AMRR_State* pState, M4SYS_StreamID streamId) argument
893 M4AMRR_getmaxAUsize(M4OSA_Context Context, M4OSA_UInt32 *pMaxAuSize) argument
[all...]
/frameworks/compile/mclinker/tools/llvm-mcld/
H A Dllvm-mcld.cpp895 LLVMContext &Context = getGlobalContext(); local
944 M.reset(ParseIRFile(ArgBitcodeFilename.native(), Err, Context));
956 M.reset(new Module("Empty Module", Context));
/frameworks/base/core/java/android/content/
H A DContext.java57 public abstract class Context { class
264 * Context whose lifecycle is separate from the current context, that is
278 * <li> <p>If used from the Context returned here, the receiver is being
286 public abstract Context getApplicationContext();
290 * Context, which will be called at the same times as the ComponentCallbacks
345 * before any views are instantiated in the Context (for example before
360 * Return the Theme object associated with this Context.
365 * Retrieve styled attribute information in this Context's theme. See
377 * Retrieve styled attribute information in this Context's theme. See
389 * Retrieve styled attribute information in this Context'
[all...]

Completed in 221 milliseconds

12