Home
last modified time | relevance | path

Searched refs:context2 (Results 1 – 25 of 29) sorted by relevance

12

/external/swiftshader/third_party/SPIRV-Tools/test/fuzz/
Dtransformation_add_function_test.cpp627 const auto context2 = BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST() local
715 add_livesafe_function.IsApplicable(context2.get(), fact_manager2)); in TEST()
716 add_livesafe_function.Apply(context2.get(), &fact_manager2); in TEST()
717 ASSERT_TRUE(IsValid(env, context2.get())); in TEST()
723 context2.get(), fact_manager2, 30, 100)); in TEST()
783 ASSERT_TRUE(IsEqual(env, added_as_livesafe_code, context2.get())); in TEST()
842 const auto context2 = BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST() local
891 add_livesafe_function.IsApplicable(context2.get(), fact_manager2)); in TEST()
892 add_livesafe_function.Apply(context2.get(), &fact_manager2); in TEST()
893 ASSERT_TRUE(IsValid(env, context2.get())); in TEST()
[all …]
/external/angle/third_party/spirv-tools/src/test/fuzz/
Dtransformation_add_function_test.cpp643 const auto context2 = BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST() local
732 ASSERT_TRUE(add_livesafe_function.IsApplicable(context2.get(), in TEST()
734 add_livesafe_function.Apply(context2.get(), &transformation_context2); in TEST()
735 ASSERT_TRUE(IsValid(env, context2.get())); in TEST()
741 context2.get(), transformation_context2, 30, 100)); in TEST()
801 ASSERT_TRUE(IsEqual(env, added_as_livesafe_code, context2.get())); in TEST()
865 const auto context2 = BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST() local
915 ASSERT_TRUE(add_livesafe_function.IsApplicable(context2.get(), in TEST()
917 add_livesafe_function.Apply(context2.get(), &transformation_context2); in TEST()
918 ASSERT_TRUE(IsValid(env, context2.get())); in TEST()
[all …]
/external/deqp-deps/SPIRV-Tools/test/fuzz/
Dtransformation_add_function_test.cpp643 const auto context2 = BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST() local
732 ASSERT_TRUE(add_livesafe_function.IsApplicable(context2.get(), in TEST()
734 add_livesafe_function.Apply(context2.get(), &transformation_context2); in TEST()
735 ASSERT_TRUE(IsValid(env, context2.get())); in TEST()
741 context2.get(), transformation_context2, 30, 100)); in TEST()
801 ASSERT_TRUE(IsEqual(env, added_as_livesafe_code, context2.get())); in TEST()
865 const auto context2 = BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST() local
915 ASSERT_TRUE(add_livesafe_function.IsApplicable(context2.get(), in TEST()
917 add_livesafe_function.Apply(context2.get(), &transformation_context2); in TEST()
918 ASSERT_TRUE(IsValid(env, context2.get())); in TEST()
[all …]
/external/selinux/libselinux/src/
Dprocattr.c217 char **prev_context, *context2 = NULL; in setprocattrcon_raw() local
254 context2 = strdup(context); in setprocattrcon_raw()
255 if (!context2) in setprocattrcon_raw()
258 ret = write(fd, context2, strlen(context2) + 1); in setprocattrcon_raw()
270 free(context2); in setprocattrcon_raw()
275 *prev_context = context2; in setprocattrcon_raw()
/external/opencensus-java/contrib/agent/src/integration-test/java/io/opencensus/contrib/agent/instrumentation/
DThreadInstrumentationIT.java115 Context context2 = Context.current().withValue(KEY, "wrong context"); in start_automaticallyWrappedRunnable()
116 Context context3 = context2.attach(); in start_automaticallyWrappedRunnable()
126 context2.detach(context3); in start_automaticallyWrappedRunnable()
/external/OpenCL-CTS/test_conformance/SVM/
Dtest_shared_address_space_coarse_grain.cpp156 int shared_address_space_coarse_grain(cl_device_id deviceID, cl_context context2, cl_command_queue … in shared_address_space_coarse_grain() argument
274 int test_svm_shared_address_space_coarse_grain_old_api(cl_device_id deviceID, cl_context context2, … in test_svm_shared_address_space_coarse_grain_old_api() argument
276 return shared_address_space_coarse_grain(deviceID, context2, queue, num_elements, CL_FALSE); in test_svm_shared_address_space_coarse_grain_old_api()
279 int test_svm_shared_address_space_coarse_grain_new_api(cl_device_id deviceID, cl_context context2, … in test_svm_shared_address_space_coarse_grain_new_api() argument
281 return shared_address_space_coarse_grain(deviceID, context2, queue, num_elements, CL_TRUE); in test_svm_shared_address_space_coarse_grain_new_api()
Dtest_allocate_shared_buffer.cpp44 int test_svm_allocate_shared_buffer(cl_device_id deviceID, cl_context context2, cl_command_queue qu… in test_svm_allocate_shared_buffer() argument
Dtest_shared_address_space_fine_grain.cpp23 int test_svm_shared_address_space_fine_grain(cl_device_id deviceID, cl_context context2, cl_command… in test_svm_shared_address_space_fine_grain() argument
Dtest_pointer_passing.cpp38 int test_svm_pointer_passing(cl_device_id deviceID, cl_context context2, cl_command_queue queue, in… in test_svm_pointer_passing() argument
Dtest_shared_address_space_fine_grain_buffers.cpp64 int test_svm_shared_address_space_fine_grain_buffers(cl_device_id deviceID, cl_context context2, cl… in test_svm_shared_address_space_fine_grain_buffers() argument
Dtest_set_kernel_exec_info_svm_ptrs.cpp45 int test_svm_set_kernel_exec_info_svm_ptrs(cl_device_id deviceID, cl_context context2, cl_command_q… in test_svm_set_kernel_exec_info_svm_ptrs() argument
Dtest_cross_buffer_pointers.cpp131 int test_svm_cross_buffer_pointers_coarse_grain(cl_device_id deviceID, cl_context context2, cl_comm… in test_svm_cross_buffer_pointers_coarse_grain() argument
Dtest_shared_sub_buffers.cpp128 int test_svm_shared_sub_buffers(cl_device_id deviceID, cl_context context2, cl_command_queue queue,… in test_svm_shared_sub_buffers() argument
/external/fonttools/Tests/voltLib/
Dparser_test.py612 context2 = lookup.context[1]
624 self.assertEqual(context2.ex_or_in, "IN_CONTEXT")
625 self.assertEqual(len(context2.left), 2)
626 self.assertEqual(len(context2.left[0]), 1)
627 self.assertEqual(len(context2.left[1]), 1)
628 self.assertEqual(context2.left[0][0].group, "Hebrew")
629 self.assertEqual(context2.left[1][0].glyph, "one.Hebr")
630 self.assertEqual(context2.right, [])
/external/tensorflow/tensorflow/python/compiler/xla/
Dxla_test.py127 context2 = self.create_test_xla_compile_context()
128 context2.Enter()
132 context2.Exit()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DTypeBuilderTest.cpp197 LLVMContext context2; in TEST() local
198 EXPECT_EQ(&context2, in TEST()
199 &(TypeBuilder<types::i<1>, true>::get(context2))->getContext()); in TEST()
/external/llvm/unittests/IR/
DTypeBuilderTest.cpp197 LLVMContext context2; in TEST() local
198 EXPECT_EQ(&context2, in TEST()
199 &(TypeBuilder<types::i<1>, true>::get(context2))->getContext()); in TEST()
/external/grpc-grpc/test/cpp/interop/
Dinterop_client.cc893 ClientContext context2; in DoCacheableUnary() local
895 context2.set_cacheable(true); in DoCacheableUnary()
896 context2.AddMetadata("x-user-ip", "1.2.3.4"); in DoCacheableUnary()
898 serviceStub_.Get()->CacheableUnaryCall(&context2, request, &response2); in DoCacheableUnary()
899 if (!AssertStatusOk(s2, context2.debug_error_string())) { in DoCacheableUnary()
/external/angle/src/tests/gl_tests/
DTransformFeedbackTest.cpp1623 auto context2 = eglCreateContext(display, config, EGL_NO_CONTEXT, contextAttributes); in TEST_P() local
1624 ASSERT_NE(context2, EGL_NO_CONTEXT); in TEST_P()
1626 eglMakeCurrent(display, surface, surface, context2); in TEST_P()
1643 eglMakeCurrent(display, surface, surface, context2); in TEST_P()
1670 eglDestroyContext(display, context2); in TEST_P()
DFramebufferTest.cpp1440 EGLContext context2 = eglCreateContext(display, config, context1, contextAttributes); in TEST_P() local
1441 ASSERT_NE(context2, EGL_NO_CONTEXT); in TEST_P()
1442 eglMakeCurrent(display, surface, surface, context2); in TEST_P()
1486 eglDestroyContext(display, context2); in TEST_P()
/external/wpa_supplicant_8/src/ap/
Dap_config.c298 char *context2; in hostapd_config_read_wpa_psk() local
339 context2 = NULL; in hostapd_config_read_wpa_psk()
340 name = str_token(token, "=", &context2); in hostapd_config_read_wpa_psk()
343 value = str_token(token, "", &context2); in hostapd_config_read_wpa_psk()
/external/google-breakpad/src/processor/
Dminidump_unittest.cc514 Context context2(dump, raw_context2); in TEST() local
515 Thread thread2(dump, 0xdf4b8a71, stack2, context2, in TEST()
518 dump.Add(&context2); in TEST()
/external/kernel-headers/original/uapi/drm/
Dradeon_drm.h430 drm_radeon_context2_regs_t context2; member
/external/libdrm/include/drm/
Dradeon_drm.h430 drm_radeon_context2_regs_t context2; member
/external/igt-gpu-tools/include/drm-uapi/
Dradeon_drm.h430 drm_radeon_context2_regs_t context2; member

12