/external/skia/tests/ |
LayerDrawLooperTest.cpp | 62 SkDrawLooper::Context* context = looper->makeContext(&canvas, &alloc); local 65 REPORTER_ASSERT(reporter, context->next(&canvas, &paint)); 73 REPORTER_ASSERT(reporter, context->next(&canvas, &paint)); 80 REPORTER_ASSERT(reporter, !context->next(&canvas, &paint)); 101 SkDrawLooper::Context* context = looper->makeContext(&canvas, &alloc); local 104 REPORTER_ASSERT(reporter, context->next(&canvas, &paint)); 112 REPORTER_ASSERT(reporter, context->next(&canvas, &paint)); 119 REPORTER_ASSERT(reporter, !context->next(&canvas, &paint)) 140 SkDrawLooper::Context* context = looper->makeContext(&canvas, &alloc); local [all...] |
MD5Test.cpp | 25 SkMD5 context; local 26 context.write(string, len); 28 context.finish(digest); 35 SkMD5 context; local 39 context.write(data, 1); 42 context.finish(digest);
|
PinnedImageTest.cpp | 39 static void basic_test(skiatest::Reporter* reporter, GrContext* context) { 51 sk_sp<SkSurface> gpuSurface = SkSurface::MakeRenderTarget(context, SkBudgeted::kYes, ii); 67 SkImage_pinAsTexture(img.get(), context); // pin at blue 77 SkImage_unpinAsTexture(img.get(), context); 87 // Deleting the context while there are still pinned images shouldn't result in a crash. 103 GrContext* context = nullptr; local 108 context = info.grContext(); 109 if (!context) { 114 if (!SkImage_pinAsTexture(img.get(), context)) { 120 // "context" isn't technically used in this call but it can't be null [all...] |
/external/skqp/bench/ |
GrMipMapBench.cpp | 35 GrContext* context = canvas->getGrContext(); variable 36 if (nullptr == context) { 42 fSurface = SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info);
|
/external/skqp/gm/ |
bitmaptiled.cpp | 16 GrContext* context = canvas->getGrContext(); local 17 if (!context) { 38 context->getResourceCacheLimits(&oldMaxResources, &oldMaxResourceBytes); 41 context->setResourceCacheLimits(oldMaxResources, newMaxResourceBytes); 64 context->setResourceCacheLimits(oldMaxResources, oldMaxResourceBytes);
|
crosscontextimage.cpp | 16 GrContext* context = canvas->getGrContext(); local 17 if (!context) { 28 context, encodedData, false, canvas->imageInfo().colorSpace()); 37 context, pixmap, false, canvas->imageInfo().colorSpace());
|
/external/skqp/include/atlastext/ |
SkAtlasTextTarget.h | 49 SkAtlasTextContext* context() const { return fContext.get(); } function in class:SkAtlasTextTarget
|
/external/skqp/platform_tools/android/apps/skqp/src/main/java/org/skia/skqp/ |
SkQPActivity.java | 3 import android.content.Context; 29 Context context = getApplicationContext(); local 30 String outputDirPath = "/sdcard/Android/data/" + context.getPackageName(); 31 testRunner.runTests(context, outputDirPath);
|
/external/skqp/tests/ |
DeviceTest.cpp | 76 GrContext* context = ctxInfo.grContext(); local 83 sk_sp<SkBaseDevice> gpuDev(SkGpuDevice::Make(context, SkBudgeted::kNo, ii, 111 image = image->makeTextureImage(context, legacyColorSpace);
|
GrContextFactoryTest.cpp | 21 // Test that if NVPR is requested, the context always has path rendering 22 // or the context creation fails. 27 GrContext* context = testFactory.get(ctxType, local 29 if (!context) { 34 context->caps()->shaderCaps()->pathRenderingSupport()); 39 // Test that if NVPR is explicitly disabled, the context has no path rendering support. 44 GrContext* context = local 46 if (context) { 49 !context->caps()->shaderCaps()->pathRenderingSupport()); 55 // Test that if sRGB support is requested, the context always has that capabilit 62 GrContext* context = local [all...] |
LayerDrawLooperTest.cpp | 62 SkDrawLooper::Context* context = looper->makeContext(&canvas, &alloc); local 65 REPORTER_ASSERT(reporter, context->next(&canvas, &paint)); 73 REPORTER_ASSERT(reporter, context->next(&canvas, &paint)); 80 REPORTER_ASSERT(reporter, !context->next(&canvas, &paint)); 101 SkDrawLooper::Context* context = looper->makeContext(&canvas, &alloc); local 104 REPORTER_ASSERT(reporter, context->next(&canvas, &paint)); 112 REPORTER_ASSERT(reporter, context->next(&canvas, &paint)); 119 REPORTER_ASSERT(reporter, !context->next(&canvas, &paint)) 140 SkDrawLooper::Context* context = looper->makeContext(&canvas, &alloc); local [all...] |
MD5Test.cpp | 25 SkMD5 context; local 26 context.write(string, len); 28 context.finish(digest); 35 SkMD5 context; local 39 context.write(data, 1); 42 context.finish(digest);
|
PinnedImageTest.cpp | 39 static void basic_test(skiatest::Reporter* reporter, GrContext* context) { 51 sk_sp<SkSurface> gpuSurface = SkSurface::MakeRenderTarget(context, SkBudgeted::kYes, ii); 67 SkImage_pinAsTexture(img.get(), context); // pin at blue 77 SkImage_unpinAsTexture(img.get(), context); 87 // Deleting the context while there are still pinned images shouldn't result in a crash. 103 GrContext* context = nullptr; local 108 context = info.grContext(); 109 if (!context) { 114 if (!SkImage_pinAsTexture(img.get(), context)) { 120 // "context" isn't technically used in this call but it can't be null [all...] |
/external/swiftshader/src/OpenGL/libGLESv2/ |
main.cpp | 78 es2::Context *getContext() 80 egl::Context *context = libEGL->clientGetCurrentContext(); local 82 if(context && (context->getClientVersion() == 2 || 83 context->getClientVersion() == 3)) 85 return static_cast<es2::Context*>(context); 93 Context *context = getContext() local 101 es2::Context *context = es2::getContext(); local 137 Context *context = libEGL->clientGetCurrentContext(); local [all...] |
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter3/ |
codegen.ml | 9 let context = global_context () var 10 let the_module = create_module context "my cool jit" 11 let builder = builder context 13 let double_type = double_type context 85 let bb = append_block context "entry" the_function in
|
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter4/ |
codegen.ml | 9 let context = global_context () var 10 let the_module = create_module context "my cool jit" 11 let builder = builder context 13 let double_type = double_type context 85 let bb = append_block context "entry" the_function in
|
/external/swiftshader/third_party/LLVM/test/Bindings/Ocaml/ |
ipo_opts.ml | 14 let context = global_context () var 15 let void_type = Llvm.void_type context 16 let i8_type = Llvm.i8_type context 30 let m = create_module context filename 41 ignore (build_ret (const_int i8_type 4) (builder_at_end context (entry_block fn))); 42 let b = builder_at_end context (entry_block fn2) in
|
/external/tcpdump/ |
signature.c | 53 MD5_CTX context; local 98 MD5_Init(&context); /* init context for 1st pass */ 99 MD5_Update(&context, k_ipad, 64); /* start with inner pad */ 100 MD5_Update(&context, text, text_len); /* then text of datagram */ 101 MD5_Final(digest, &context); /* finish up 1st pass */ 106 MD5_Init(&context); /* init context for 2nd pass */ 107 MD5_Update(&context, k_opad, 64); /* start with outer pad */ 108 MD5_Update(&context, digest, 16); /* then results of 1st hash * [all...] |
/external/tensorflow/tensorflow/core/kernels/hexagon/ |
hexagon_rewriter_transform_test.cc | 36 const GraphDef& input_graph_def, const TransformFuncContext& context, 64 TransformFuncContext context; local 65 context.input_names = {"placeholder"}; 66 context.output_names = {"output"}; 67 context.params.insert(std::pair<string, std::vector<string>>( 69 context.params.insert(std::pair<string, std::vector<string>>( 72 RewriteQuantizedStrippedModelForHexagon(graph_def, context, &result));
|
/external/tensorflow/tensorflow/python/framework/ |
subscribe_test.py | 340 """Side effect ops are added with the same control flow context.""" 354 def context(tensor): function in function:SubscribeTest.test_subscribe_tensors_within_control_flow_context 357 self.assertIs(context(x1), context(x2)) 358 self.assertIsNot(context(x1), context(branch)) 370 self.assertIs(context(tensor), context(subscription)) 372 # Verify that sub(x1) and sub(x2) are in the same context. 373 self.assertIs(context(subscriptions[0]), context(subscriptions[2]) [all...] |
/external/tensorflow/tensorflow/stream_executor/cuda/ |
cuda_timer.cc | 29 CudaContext* context = parent_->cuda_context(); local 30 if (!CUDADriver::CreateEvent(context, &start_event_, 36 if (!CUDADriver::CreateEvent(context, &stop_event_, 39 port::Status status = CUDADriver::DestroyEvent(context, &start_event_); 51 CudaContext* context = parent_->cuda_context(); local 52 port::Status status = CUDADriver::DestroyEvent(context, &start_event_); 57 status = CUDADriver::DestroyEvent(context, &stop_event_);
|
/external/tensorflow/tensorflow/tools/graph_transforms/ |
fake_quantize_training_test.cc | 28 const TransformFuncContext& context, 55 TransformFuncContext context; local 56 TF_ASSERT_OK(FakeQuantizeTraining(graph_def, context, &result));
|
remove_device_test.cc | 33 const TransformFuncContext& context, 80 TransformFuncContext context; local 81 context.input_names = {}; 82 context.output_names = {"mul_node1"}; 83 TF_ASSERT_OK(RemoveDevice(graph_def, context, &result));
|
remove_ema_test.cc | 29 const TransformFuncContext& context, 33 const TransformFuncContext& context, 37 const TransformFuncContext& context, 61 TransformFuncContext context; local 63 FakeQuantizeTraining(graph_def, context, &fake_quantized_graph_def)); 99 TF_ASSERT_OK(RemoveEMA(frozen_graph_def, context, &removed_ema_graph_def)); 109 QuantizeNodes(removed_ema_graph_def, context, &quantized_graph_def));
|
rename_op_test.cc | 33 const TransformFuncContext& context, 78 TransformFuncContext context; local 79 context.input_names = {}; 80 context.output_names = {"mul_node1"}; 81 context.params.insert(std::pair<string, std::vector<string>>( 83 context.params.insert(std::pair<string, std::vector<string>>( 85 TF_ASSERT_OK(RenameOp(graph_def, context, &result));
|