/external/skqp/tools/gpu/gl/mac/ |
CreatePlatformGLTestContext_mac.cpp | 19 auto context = CGLGetCurrentContext(); local 20 return [context] { CGLSetCurrentContext(context); }; 73 SkDebugf("Context could not create GL interface.\n"); 78 SkDebugf("Context could not validate GL interface.\n"); 98 // This will ensure that the context is immediately deleted.
|
/external/smali/util/src/main/java/org/jf/util/ |
ExceptionWithContext.java | 31 * Exception which carries around structured context. 35 /** non-null; human-oriented context of the exception */ 36 private StringBuffer context; field in class:ExceptionWithContext 39 * Augments the given exception with the given context, and return the 45 * @param str non-null; context to add 91 String ctx = ((ExceptionWithContext) cause).context.toString(); 92 context = new StringBuffer(ctx.length() + 200); 93 context.append(ctx); 95 context = new StringBuffer(200); 110 out.println(context); [all...] |
/external/swiftshader/src/OpenGL/libGLES_CM/ |
Device.hpp | 42 explicit Device(sw::Context *context); 65 sw::Context *const context; member in class:es1::Device::sw
|
/external/swiftshader/third_party/LLVM/test/Bindings/Ocaml/ |
executionengine.ml | 13 let context = global_context () var 14 let i8_type = Llvm.i8_type context 15 let i32_type = Llvm.i32_type context 16 let i64_type = Llvm.i64_type context 17 let double_type = Llvm.double_type context
|
/external/swiftshader/third_party/LLVM/tools/llvm-diff/ |
DifferenceEngine.h | 37 /// A RAII object for recording the current context. 38 struct Context { 39 Context(DifferenceEngine &Engine, Value *L, Value *R) : Engine(Engine) { 43 ~Context() { 60 DifferenceEngine(LLVMContext &context, Consumer &consumer) 61 : context(context), consumer(consumer), globalValueOracle(0) {} 85 LLVMContext &context; member in class:llvm::DifferenceEngine
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
xla_context.cc | 41 // Looks up the context associated with the current step. It is stored 44 // When an Op kernel wants to use an XLA JIT context, the 45 // per-step context is looked up in the resource manager. The 47 XlaContext* context; local 49 ctx->step_container()->name(), kXlaContextResourceName, &context)); 50 // The resource manager handed us a fresh reference to 'context', but retains 51 // a reference itself so the context won't be freed. The resource manager will 53 context->Unref(); 54 return *context; 76 string XlaContext::DebugString() { return "TLA JIT context"; } [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
dense_update_ops.cc | 38 void Copy(OpKernelContext* context, Tensor* lhs, const Tensor& rhs) override { 40 copy(context->eigen_device<Device>(), lhs->flat<T>(), rhs.flat<T>()); 48 explicit DenseUpdateOp(OpKernelConstruction* context) : OpKernel(context) { 49 OP_REQUIRES_OK(context, 50 context->GetAttr("use_locking", &use_exclusive_lock_)); 52 OP_REQUIRES_OK(context, context->MatchSignature({MakeRefType(dt), dt}, 56 void Compute(OpKernelContext* context) override { 58 context->forward_ref_input_to_ref_output(0, 0) 62 DoUpdate(context); variable 64 DoUpdate(context); variable [all...] |
/external/tensorflow/tensorflow/stream_executor/cuda/ |
cuda_driver.h | 67 // Returns the device associated with the given context. 70 static port::StatusOr<CUdevice> DeviceFromContext(CudaContext* context); 72 // Creates a new CUDA stream associated with the given context via 76 static bool CreateStream(CudaContext* context, CUstream *stream); 78 // Destroys a CUDA stream associated with the given context. 82 static void DestroyStream(CudaContext* context, CUstream *stream); 89 // Creates a new event associated with the given context. 92 static port::Status CreateEvent(CudaContext* context, CUevent *result, 98 static port::Status DestroyEvent(CudaContext* context, CUevent *event); 101 // context via cuMemAlloc 486 CUcontext context() const { return context_; } function in class:perftools::gputools::cuda::CudaContext [all...] |
/external/tensorflow/tensorflow/tools/graph_transforms/ |
remove_attribute_test.cc | 33 const TransformFuncContext& context, 83 TransformFuncContext context; local 84 context.input_names = {}; 85 context.output_names = {"mul_node1"}; 86 context.params.insert( 88 context.params.insert(std::pair<string, std::vector<string>>( 90 TF_ASSERT_OK(RemoveAttribute(graph_def, context, &wildcard_result));
|
rename_attribute_test.cc | 33 const TransformFuncContext& context, 83 TransformFuncContext context; local 84 context.input_names = {}; 85 context.output_names = {"mul_node1"}; 86 context.params.insert( 88 context.params.insert(std::pair<string, std::vector<string>>( 90 context.params.insert(std::pair<string, std::vector<string>>( 92 TF_ASSERT_OK(RenameAttribute(graph_def, context, &wildcard_result));
|
/external/toybox/toys/posix/ |
id.c | 35 -Z Show only security context 152 char *context = lsm_context(); local 154 printf(" context=%s"+!!(toys.optflags&FLAG_Z), context); 155 if (CFG_TOYBOX_FREE) free(context);
|
/external/v8/src/builtins/ |
builtins-generator.cc | 31 Node* context = Parameter(4); local 53 Node* result = CallStub(CodeFactory::ResumeGenerator(isolate()), context, 60 CallRuntime(Runtime::kThrowIncompatibleMethodReceiver, context, 76 result = CallStub(create_iter_result_object, context, 81 CallStub(create_iter_result_object, context, value, TrueConstant()); 84 result = CallRuntime(Runtime::kThrow, context, value); 92 CallRuntime(Runtime::kThrowGeneratorRunning, context);
|
builtins-global.cc | 113 Node* context = assembler.Parameter(4); local 148 var_num.Bind(assembler.CallStub(callable, context, num)); 167 Node* context = assembler.Parameter(4); local 201 var_num.Bind(assembler.CallStub(callable, context, num));
|
builtins-symbol.cc | 77 Node* context = assembler.Parameter(4); local 80 assembler.ToThisValue(context, receiver, PrimitiveType::kSymbol, 92 Node* context = assembler.Parameter(3); local 94 Node* value = assembler.ToThisValue(context, receiver, PrimitiveType::kSymbol, 97 assembler.CallRuntime(Runtime::kSymbolDescriptiveString, context, value); 108 Node* context = assembler.Parameter(3); local 111 context, receiver, PrimitiveType::kSymbol, "Symbol.prototype.valueOf");
|
/external/v8/src/crankshaft/ |
hydrogen-osr.cc | 77 HContext* context = builder_->Add<HContext>(); local 78 environment->BindContext(context);
|
/external/v8/src/inspector/ |
injected-script-native.cc | 31 v8::Local<v8::Context> context = isolate->GetCurrentContext(); local 37 injectedScriptObject->GetPrivate(context, privateKey).ToLocalChecked();
|
java-script-call-frame.cc | 38 JavaScriptCallFrame::JavaScriptCallFrame(v8::Local<v8::Context> debuggerContext, 50 v8::Local<v8::Context> context = local 51 v8::Local<v8::Context>::New(m_isolate, m_debuggerContext); 55 callFrame->Get(context, toV8StringInternalized(m_isolate, name)) 58 if (!func->Call(context, callFrame, 0, nullptr).ToLocal(&result) || 70 v8::Local<v8::Context> context = local 71 v8::Local<v8::Context>::New(m_isolate, m_debuggerContext); 75 if (!callFrame->Get(context, toV8StringInternalized(m_isolate, "isAtReturn") 85 v8::Local<v8::Context> context = local 104 v8::Local<v8::Context> context = local 119 v8::Local<v8::Context> context = local 139 v8::Local<v8::Context> context = local [all...] |
/external/v8/src/snapshot/ |
partial-serializer.cc | 28 Context* context = Context::cast(*o); local 29 reference_map()->AddAttachedReference(context->global_proxy()); 30 // The bootstrap snapshot has a code-stub context. When serializing the 31 // partial snapshot, it is chained into the weak context list on the isolate 32 // and it's next context pointer may point to the code-stub context. Clear 33 // it before serializing, it will get re-added to the context list 35 if (context->IsNativeContext()) [all...] |
/external/webrtc/webrtc/modules/utility/include/ |
jvm_android.h | 119 // jobject context = ::base::android::GetApplicationContext(); 120 // webrtc::JVM::Initialize(jvm, context); 146 // Stores global handles to the Java VM interface and the application context. 148 static void Initialize(JavaVM* jvm, jobject context); 169 jobject context() const { return context_; } function in class:webrtc::JVM 172 JVM(JavaVM* jvm, jobject context);
|
/external/wpa_supplicant_8/src/pae/ |
ieee802_1x_key.c | 34 static int aes_kdf_128(const u8 *kdk, const char *label, const u8 *context, 59 os_memcpy(buf + lab_len + 2, context, ctx_len); 85 u8 context[2 * ETH_ALEN]; local 87 joint_two_mac(mac1, mac2, context); 89 context, sizeof(context) * 8, 128, cak); 104 u8 *context; local 107 context = os_zalloc(ctx_len); 108 if (!context) { 112 os_memcpy(context, sid, sid_bytes) 131 u8 context[16]; local 151 u8 context[16]; local [all...] |
/frameworks/av/media/libeffects/downmix/ |
EffectDownmix.h | 51 downmix_object_t context; member in struct:downmix_module_s
|
/frameworks/base/core/java/android/provider/ |
ContactsInternal.java | 21 import android.content.Context; 57 public static void startQuickContactWithErrorToast(Context context, Intent intent) { 64 if (maybeStartManagedQuickContact(context, intent)) { 71 startQuickContactWithErrorToastForUser(context, intent, context.getUser()); 74 public static void startQuickContactWithErrorToastForUser(Context context, Intent intent, 77 context.startActivityAsUser(intent, user); 79 Toast.makeText(context, com.android.internal.R.string.quick_contacts_not_available [all...] |
SearchIndexableData.java | 20 import android.content.Context; 35 * The context for the data. Will usually allow retrieving some resources. 37 * @see Context 39 public Context context; field in class:SearchIndexableData 65 * The UserID for the data (in a multi user context). This is application specific and -1 is the 133 * Constructor with a {@link Context}. 135 * @param ctx the Context 137 public SearchIndexableData(Context ctx) { 139 context = ctx [all...] |
/frameworks/base/core/java/android/text/style/ |
URLSpan.java | 21 import android.content.Context; 103 Context context = widget.getContext(); local 105 intent.putExtra(Browser.EXTRA_APPLICATION_ID, context.getPackageName()); 107 context.startActivity(intent);
|
/frameworks/base/core/java/android/view/accessibility/ |
AccessibilityRequestPreparer.java | 21 import android.content.Context; 113 Context context = v.getContext(); local 114 if (context != null) { 115 context.getSystemService(AccessibilityManager.class)
|