Searched refs:Context (Results 1 - 25 of 1262) 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
225 RewriterTestContext Context; member in class:clang::tooling::FlushRewrittenFilesTest
255 HandleTranslationUnit(clang::ASTContext &Context) argument
[all...]
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
H A Dcontext.h43 #define PTW32_PROGCTR(Context) ((Context).Eip)
47 #define PTW32_PROGCTR(Context) ((Context).StIIP)
51 #define PTW32_PROGCTR(Context) ((Context).Fir)
55 #define PTW32_PROGCTR(Context) ((Context).Fir)
59 #define PTW32_PROGCTR(Context) ((Context)
[all...]
/external/chromium_org/base/android/java/src/org/chromium/base/
H A DWeakContext.java7 import android.content.Context;
12 // Holds a WeakReference to Context to allow it to be GC'd.
14 // other thread (may return null, if the Context has been nullified).
16 private static WeakReference<Context> sWeakContext;
18 public static void initializeWeakContext(final Context context) {
19 sWeakContext = new WeakReference<Context>(context);
22 public static Context getContext() {
31 final Context context = sWeakContext.get();
H A DContextTypes.java7 import android.content.Context;
13 * Maintains the {@link Context}-to-"context type" mapping. The context type
26 private final Map<Context, Integer> mContextMap;
29 mContextMap = new ConcurrentHashMap<Context, Integer>();
41 * Adds the mapping for the given {@link Context}.
43 * @param context {@link Context} in interest
47 public void put(Context context, int type) throws IllegalArgumentException {
57 * @param context {@link Context} in interest
59 public void remove(Context context) {
66 * @param context {@link Context} i
[all...]
/external/replicaisland/src/com/replica/replicaisland/
H A DTouchFilter.java19 import android.content.Context;
26 public boolean supportsMultitouch(Context context) {
/external/robolectric/src/main/java/com/foo/
H A DReceiver.java4 import android.content.Context;
10 public void onReceive(Context context, Intent intent) {
/external/robolectric/src/main/java/com/xtremelabs/
H A DConfigTestReceiver.java4 import android.content.Context;
10 public void onReceive(Context context, Intent intent) {
/external/robolectric/src/test/java/com/xtremelabs/robolectric/
H A DDotConfigTestReceiver.java4 import android.content.Context;
10 public void onReceive(Context context, Intent intent) {
/external/chromium_org/content/public/android/java/src/org/chromium/content/app/
H A DContentMain.java7 import android.content.Context;
26 public static void initApplicationContext(Context context) {
37 private static native void nativeInitApplicationContext(Context context);
/external/chromium_org/third_party/WebKit/Source/core/testing/v8/
H A DWebCoreTestSupport.h30 class Context;
41 void injectInternalsObject(v8::Local<v8::Context>);
42 void resetInternalsObject(v8::Local<v8::Context>);
/external/robolectric/src/test/java/com/xtremelabs/robolectric/util/
H A DTestBroadcastReceiver.java4 import android.content.Context;
8 public Context context;
12 public void onReceive(Context context, Intent intent) {
/external/chromium_org/content/public/android/java/src/org/chromium/content/common/
H A DDeviceTelephonyInfo.java7 import android.content.Context;
20 private DeviceTelephonyInfo(Context context) {
21 Context appContext = context.getApplicationContext();
22 mTelManager = (TelephonyManager) appContext.getSystemService(Context.TELEPHONY_SERVICE);
34 * Creates DeviceTelephonyInfo for a given Context.
36 * @return DeviceTelephonyInfo associated with a given Context.
39 public static DeviceTelephonyInfo create(Context context) {
/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/chromium_org/third_party/angle_dx11/src/libGLESv2/
H A Dmain.h23 class Context;
27 Context *context;
31 void makeCurrent(Context *context, egl::Display *display, egl::Surface *surface);
33 Context *getContext();
34 Context *getNonLostContext();
57 gl::Context *glCreateContext(const gl::Context *shareContext, rx::Renderer *renderer, bool notifyResets, bool robustAccess);
58 void glDestroyContext(gl::Context *context);
59 void glMakeCurrent(gl::Context *context, egl::Display *display, egl::Surface *surface);
60 gl::Context *glGetCurrentContex
[all...]
/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
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
H A DVibrationMessageFilter.java7 import android.content.Context;
22 private static VibrationMessageFilter create(Context context) {
36 private VibrationMessageFilter(Context context) {
37 mVibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE);
/external/clang/include/clang/Sema/
H A DSemaInternal.h25 return PartialDiagnostic(DiagID, Context.getDiagAllocator());
/external/clang/lib/AST/
H A DMangleNumberingContext.cpp1 //===--- MangleNumberingContext.cpp - Context for mangling numbers --------===//
25 ASTContext &Context = CallOperator->getASTContext(); local
27 QualType Key = Context.getFunctionType(Context.VoidTy, Proto->getArgTypes(),
29 Key = Context.getCanonicalType(Key);
/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/include/llvm/IRReader/
H A DIRReader.h32 LLVMContext &Context);
39 LLVMContext &Context);
45 Module *ParseIR(MemoryBuffer *Buffer, SMDiagnostic &Err, LLVMContext &Context);
51 LLVMContext &Context);
/external/llvm/include/llvm/IR/
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...]
/external/llvm/unittests/IR/
H A DMetadataTest.cpp25 LLVMContext Context; member in class:__anon21832::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/llvm/lib/IR/
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);
175 Type *EVT::getTypeForEVT(LLVMContext &Context) const {
180 case MVT::isVoid: return Type::getVoidTy(Context);
181 case MVT::i1: return Type::getInt1Ty(Context);
[all...]

Completed in 674 milliseconds

1234567891011>>