Searched refs:Context (Results 1 - 25 of 683) sorted by relevance

1234567891011>>

/external/clang/unittests/Tooling/
H A DRewriterTest.cpp16 RewriterTestContext Context; local
17 FileID ID = Context.createOnDiskFile("t.cpp", "line1\nline2\nline3\nline4");
18 Context.Rewrite.ReplaceText(Context.getLocation(ID, 2, 1), 5, "replaced");
19 EXPECT_FALSE(Context.Rewrite.overwriteChangedFiles());
21 Context.getFileContentFromDisk("t.cpp"));
25 RewriterTestContext Context; local
26 FileID FailingID = Context.createInMemoryFile("invalid/failing.cpp", "test");
27 Context.Rewrite.ReplaceText(Context
[all...]
H A DRefactoringTest.cpp38 return Replacement(Context.Sources, Start, Length, ReplacementText);
41 RewriterTestContext Context; member in class:clang::tooling::ReplacementTest
45 FileID ID = Context.createInMemoryFile("input.cpp", "text");
46 SourceLocation Location = Context.getLocation(ID, 1, 1);
48 EXPECT_TRUE(Replace.apply(Context.Rewrite));
49 EXPECT_EQ("", Context.getRewrittenText(ID));
53 FileID ID = Context.createInMemoryFile("input.cpp", "line1\nline2\nline3");
54 SourceLocation Location = Context.getLocation(ID, 1, 1);
56 EXPECT_TRUE(Replace.apply(Context.Rewrite));
57 EXPECT_EQ("", Context
194 RewriterTestContext Context; member in class:clang::tooling::FlushRewrittenFilesTest
224 HandleTranslationUnit(clang::ASTContext &Context) argument
[all...]
/external/replicaisland/src/com/replica/replicaisland/
H A DTouchFilter.java19 import android.content.Context;
26 public boolean supportsMultitouch(Context context) {
H A DContextParameters.java19 import android.content.Context;
25 public Context context;
/external/clang/lib/AST/
H A DLambdaMangleContext.cpp1 //===--- LambdaMangleContext.cpp - Context for mangling lambdas -*- C++ -*-===//
24 ASTContext &Context = CallOperator->getASTContext(); local
26 QualType Key = Context.getFunctionType(Context.VoidTy,
30 Key = Context.getCanonicalType(Key);
H A DMicrosoftCXXABI.cpp26 ASTContext &Context; member in class:__anon3512::MicrosoftCXXABI
28 MicrosoftCXXABI(ASTContext &Ctx) : Context(Ctx) { }
33 if (!isVariadic && Context.getTargetInfo().getTriple().getArch() == llvm::Triple::x86)
44 const ASTRecordLayout &Layout = Context.getASTRecordLayout(RD);
48 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0));
H A DItaniumCXXABI.cpp32 ASTContext &Context; member in class:__anon3508::ItaniumCXXABI
34 ItaniumCXXABI(ASTContext &Ctx) : Context(Ctx) { }
54 const ASTRecordLayout &Layout = Context.getASTRecordLayout(RD);
56 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0));
/external/llvm/examples/ModuleMaker/
H A DModuleMaker.cpp26 LLVMContext Context; local
30 Module *M = new Module("test", Context);
34 FunctionType::get(Type::getInt32Ty(Context), /*not vararg*/false);
42 BasicBlock *BB = BasicBlock::Create(Context, "EntryBlock", F);
45 Value *Two = ConstantInt::get(Type::getInt32Ty(Context), 2);
46 Value *Three = ConstantInt::get(Type::getInt32Ty(Context), 3);
56 BB->getInstList().push_back(ReturnInst::Create(Context, Add));
/external/clang/tools/libclang/
H A DCXSourceLocation.h41 static inline CXSourceLocation translateSourceLocation(ASTContext &Context, argument
43 return translateSourceLocation(Context.getSourceManager(),
44 Context.getLangOpts(),
59 static inline CXSourceRange translateSourceRange(ASTContext &Context, argument
61 return translateSourceRange(Context.getSourceManager(),
62 Context.getLangOpts(),
/external/llvm/include/llvm/Assembly/
H A DParser.h35 LLVMContext &Context ///< Context in which to allocate globals info.
48 LLVMContext &Context
59 LLVMContext &Context
H A DWriter.h33 const Module *Context = 0);
/external/clang/include/clang/Sema/
H A DSemaInternal.h25 return PartialDiagnostic(DiagID, Context.getDiagAllocator());
/external/linux-tools-perf/scripts/perl/Perf-Trace-Util/
H A DContext.xs2 * Context.xs. XS interfaces for perf script.
28 MODULE = Perf::Trace::Context PACKAGE = Perf::Trace::Context
/external/llvm/lib/VMCore/
H A DValueTypes.cpp23 LLVMContext &Context = LLVMTy->getContext(); local
24 EVT IntTy = getIntegerVT(Context, getVectorElementType().getSizeInBits());
25 return getVectorVT(Context, IntTy, getVectorNumElements());
28 EVT EVT::getExtendedIntegerVT(LLVMContext &Context, unsigned BitWidth) { argument
30 VT.LLVMTy = IntegerType::get(Context, BitWidth);
35 EVT EVT::getExtendedVectorVT(LLVMContext &Context, EVT VT, argument
38 ResultVT.LLVMTy = VectorType::get(VT.getTypeForEVT(Context), NumElements);
155 Type *EVT::getTypeForEVT(LLVMContext &Context) const {
160 case MVT::isVoid: return Type::getVoidTy(Context);
161 case MVT::i1: return Type::getInt1Ty(Context);
[all...]
/external/llvm/include/llvm/
H A DTypeBuilder.h53 /// static StructType *get(LLVMContext &Context) {
57 /// TypeBuilder<types::i<32>, xcompile>::get(Context),
58 /// TypeBuilder<types::i<32>*, xcompile>::get(Context),
59 /// TypeBuilder<types::i<8>*[], xcompile>::get(Context),
106 static PointerType *get(LLVMContext &Context) { argument
107 return PointerType::getUnqual(TypeBuilder<T,cross>::get(Context));
117 static ArrayType *get(LLVMContext &Context) { argument
118 return ArrayType::get(TypeBuilder<T, cross>::get(Context), N);
124 static ArrayType *get(LLVMContext &Context) { argument
125 return ArrayType::get(TypeBuilder<T, cross>::get(Context),
249 get(LLVMContext &Context) argument
255 get(LLVMContext &Context) argument
266 get(LLVMContext &Context) argument
278 get(LLVMContext &Context) argument
293 get(LLVMContext &Context) argument
309 get(LLVMContext &Context) argument
324 get(LLVMContext &Context) argument
331 get(LLVMContext &Context) argument
341 get(LLVMContext &Context) argument
353 get(LLVMContext &Context) argument
368 get(LLVMContext &Context) argument
384 get(LLVMContext &Context) argument
[all...]
H A DMDBuilder.h27 LLVMContext &Context; member in class:llvm::MDBuilder
30 MDBuilder(LLVMContext &context) : Context(context) {}
34 return MDString::get(Context, Str);
48 Value *Op = ConstantFP::get(Type::getFloatTy(Context), Accuracy);
49 return MDNode::get(Context, Op);
69 Type *Int32Ty = Type::getInt32Ty(Context);
73 return MDNode::get(Context, Vals);
88 Type *Ty = IntegerType::get(Context, Lo.getBitWidth());
90 return MDNode::get(Context, Range);
103 MDNode *Dummy = MDNode::getTemporary(Context, ArrayRe
[all...]
/external/llvm/unittests/VMCore/
H A DMetadataTest.cpp25 LLVMContext Context; member in class:__anon9880::MetadataTest
33 MDString *s1 = MDString::get(Context, StringRef(&x[0], 3));
35 MDString *s2 = MDString::get(Context, StringRef(&x[0], 3));
45 MDString *s1 = MDString::get(Context, StringRef(&x[0], 3));
46 MDString *s2 = MDString::get(Context, StringRef(&y[0], 3));
54 MDString *s = MDString::get(Context, StringRef(str, 13));
67 MDString *s = MDString::get(Context, StringRef(str+0, 5));
81 MDString *s1 = MDString::get(Context, StringRef(&x[0], 3));
82 MDString *s2 = MDString::get(Context, StringRef(&y[0], 3));
90 MDNode *n1 = MDNode::get(Context,
131 LLVMContext Context; local
[all...]
/external/webkit/Source/WebCore/bindings/v8/
H A DScriptControllerQt.cpp39 v8::Handle<v8::Context> v8Context = V8Proxy::mainWorldContext(m_frame);
40 v8::Context::Scope scope(v8Context);
/external/llvm/include/llvm/Support/
H A DIRReader.h37 LLVMContext &Context) {
41 Module *M = getLazyBitcodeModule(Buffer, Context, &ErrMsg);
52 return ParseAssembly(Buffer, 0, Err, Context);
61 LLVMContext &Context) {
69 return getLazyIRModule(File.take(), Err, Context);
78 LLVMContext &Context) {
82 Module *M = ParseBitcodeFile(Buffer, Context, &ErrMsg);
91 return ParseAssembly(Buffer, 0, Err, Context);
99 LLVMContext &Context) {
107 return ParseIR(File.take(), Err, Context);
35 getLazyIRModule(MemoryBuffer *Buffer, SMDiagnostic &Err, LLVMContext &Context) argument
59 getLazyIRFileModule(const std::string &Filename, SMDiagnostic &Err, LLVMContext &Context) argument
76 ParseIR(MemoryBuffer *Buffer, SMDiagnostic &Err, LLVMContext &Context) argument
97 ParseIRFile(const std::string &Filename, SMDiagnostic &Err, LLVMContext &Context) argument
[all...]
/external/llvm/examples/Fibonacci/
H A Dfibonacci.cpp39 static Function *CreateFibFunction(Module *M, LLVMContext &Context) { argument
43 cast<Function>(M->getOrInsertFunction("fib", Type::getInt32Ty(Context),
44 Type::getInt32Ty(Context),
48 BasicBlock *BB = BasicBlock::Create(Context, "EntryBlock", FibF);
51 Value *One = ConstantInt::get(Type::getInt32Ty(Context), 1);
52 Value *Two = ConstantInt::get(Type::getInt32Ty(Context), 2);
59 BasicBlock *RetBB = BasicBlock::Create(Context, "return", FibF);
61 BasicBlock* RecurseBB = BasicBlock::Create(Context, "recurse", FibF);
68 ReturnInst::Create(Context, One, RetBB);
86 ReturnInst::Create(Context, Su
96 LLVMContext Context; local
[all...]
/external/llvm/examples/HowToUseJIT/
H A DHowToUseJIT.cpp56 LLVMContext Context; local
59 Module *M = new Module("test", Context);
65 cast<Function>(M->getOrInsertFunction("add1", Type::getInt32Ty(Context),
66 Type::getInt32Ty(Context),
71 BasicBlock *BB = BasicBlock::Create(Context, "EntryBlock", Add1F);
97 cast<Function>(M->getOrInsertFunction("foo", Type::getInt32Ty(Context),
101 BB = BasicBlock::Create(Context, "EntryBlock", FooF);
/external/skia/include/gpu/gl/
H A DSkMesaGLContext.h17 typedef intptr_t Context; typedef in class:SkMesaGLContext
32 Context fOldContext;
44 Context fContext;
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/
H A Dmain.h19 #include "libGLESv2/Context.h"
25 Context *context;
29 void makeCurrent(Context *context, egl::Display *display, egl::Surface *surface);
31 Context *getContext();
/external/chromium/webkit/glue/
H A Dwebsocketstreamhandle_impl.cc23 // WebSocketStreamHandleImpl::Context -----------------------------------------
25 class WebSocketStreamHandleImpl::Context class in class:webkit_glue::WebSocketStreamHandleImpl
26 : public base::RefCounted<Context>,
29 explicit Context(WebSocketStreamHandleImpl* handle);
52 friend class base::RefCounted<Context>;
53 ~Context() {
61 // |bridge_| is alive from Connect to DidClose, so Context must be alive
65 DISALLOW_COPY_AND_ASSIGN(Context);
68 WebSocketStreamHandleImpl::Context::Context(WebSocketStreamHandleImp function in class:webkit_glue::WebSocketStreamHandleImpl::Context
[all...]
/external/clang/lib/Serialization/
H A DASTCommon.h34 TypeID MakeTypeID(ASTContext &Context, QualType T, IdxForTypeTy IdxForType) { argument
49 if (T == Context.AutoDeductTy)
51 if (T == Context.AutoRRefDeductTy)
53 if (T == Context.VaListTagTy)

Completed in 480 milliseconds

1234567891011>>