Home
last modified time | relevance | path

Searched refs:handle1 (Results 1 – 25 of 43) sorted by relevance

12

/external/libmojo/mojo/public/cpp/system/
Dmessage_pipe.h50 MessagePipeHandle handle1; in CreateMessagePipe() local
52 options, handle0.mutable_value(), handle1.mutable_value()); in CreateMessagePipe()
56 message_pipe1->reset(handle1); in CreateMessagePipe()
136 ScopedMessagePipeHandle handle1; variable
140 MojoResult result = CreateMessagePipe(nullptr, &handle0, &handle1); in MessagePipe()
143 DCHECK(handle1.is_valid()); in MessagePipe()
147 MojoResult result = CreateMessagePipe(&options, &handle0, &handle1); in MessagePipe()
150 DCHECK(handle1.is_valid()); in MessagePipe()
/external/compiler-rt/test/asan/TestCases/Posix/
Dcoverage-module-unloaded.cc28 void *handle1 = dlopen(argv[1], RTLD_LAZY); // %dynamiclib1 in main() local
29 assert(handle1); in main()
30 void (*bar1)() = (void (*)())dlsym(handle1, "bar"); in main()
42 dlclose(bar1 < bar2 ? handle1 : handle2); in main()
44 dlclose(bar1 < bar2 ? handle2 : handle1); in main()
Dcoverage-direct-activation.cc51 void *handle1 = dlopen(argv[1], RTLD_LAZY); // %dynamiclib in main() local
52 assert(handle1); in main()
53 void (*bar1)() = (void (*)())dlsym(handle1, "bar"); in main()
Dcoverage-direct.cc75 void *handle1 = dlopen(argv[1], RTLD_LAZY); in main() local
76 assert(handle1); in main()
77 void (*bar1)() = (void (*)())dlsym(handle1, "bar"); in main()
Dcoverage-direct-large.cc56 void *handle1 = dlopen(argv[1], RTLD_LAZY); // %dynamiclib
57 assert(handle1);
58 void (*so_entry)() = (void (*)())dlsym(handle1, "so_entry");
/external/libmojo/mojo/public/c/system/tests/
Dcore_unittest_pure_c.c44 MojoHandle handle0, handle1; in MinimalCTest() local
60 handle1 = MOJO_HANDLE_INVALID; in MinimalCTest()
61 EXPECT_EQ(MOJO_RESULT_OK, MojoCreateMessagePipe(NULL, &handle0, &handle1)); in MinimalCTest()
82 EXPECT_EQ(MOJO_RESULT_OK, MojoWait(handle1, MOJO_HANDLE_SIGNAL_READABLE, in MinimalCTest()
92 EXPECT_EQ(MOJO_RESULT_OK, MojoReadMessage(handle1, buffer, &num_bytes, NULL, in MinimalCTest()
98 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(handle1)); in MinimalCTest()
/external/compiler-rt/test/asan/TestCases/Android/
Dcoverage-android.cc126 void *handle1 = in main() local
128 assert(handle1); in main()
133 void (*bar1)() = (void (*)())dlsym(handle1, "bar"); in main()
/external/libmojo/mojo/public/cpp/bindings/
Dassociated_interface_ptr.h223 ScopedInterfaceEndpointHandle handle1; in MakeRequest() local
225 &handle1); in MakeRequest()
231 request.Bind(std::move(handle1)); in MakeRequest()
256 new internal::MultiplexRouter(std::move(pipe.handle1), in GetIsolatedProxy()
Dscoped_interface_endpoint_handle.h34 ScopedInterfaceEndpointHandle* handle1);
/external/libmojo/mojo/android/system/
Dcore_impl.cc78 MojoHandle handle1; in CreateMessagePipe() local
80 MojoResult result = MojoCreateMessagePipe(options, &handle1, &handle2); in CreateMessagePipe()
81 return Java_CoreImpl_newNativeCreationResult(env, result, handle1, handle2); in CreateMessagePipe()
98 MojoHandle handle1; in CreateDataPipe() local
100 MojoResult result = MojoCreateDataPipe(options, &handle1, &handle2); in CreateDataPipe()
101 return Java_CoreImpl_newNativeCreationResult(env, result, handle1, handle2); in CreateDataPipe()
/external/perfetto/src/protozero/
Dmessage_unittest.cc296 MessageHandle<FakeRootMessage> handle1(msg1); in TEST_F() local
297 handle1->AppendBytes(1 /* field_id */, kTestBytes, 1 /* size */); in TEST_F()
377 MessageHandle<FakeRootMessage> handle1(msg); in TEST_F() local
379 handle1->AppendBytes(1 /* field_id */, kTestBytes, 1 /* size */); in TEST_F()
380 handle2 = std::move(handle1); in TEST_F()
/external/libmojo/mojo/edk/js/tests/
Djs_to_cpp_tests.js64 arg.message_handle = messagePipe1.handle1;
73 specialArg.message_handle = messagePipe2.handle1;
118 arg.message_handle = messagePipe.handle1;
158 arg.message_handle = messagePipe.handle1;
/external/libchrome/base/synchronization/
Dlock_unittest.cc198 PlatformThreadHandle handle1; in TEST() local
202 ASSERT_TRUE(PlatformThread::Create(0, &thread1, &handle1)); in TEST()
208 PlatformThread::Join(handle1); in TEST()
/external/sfntly/cpp/src/test/
Dlock_test.cc213 PlatformThreadHandle handle1 = kNullThreadHandle; in MutexFourThreads() local
217 EXPECT_TRUE(PlatformThread::Create(&thread1, &handle1)); in MutexFourThreads()
223 PlatformThread::Join(handle1); in MutexFourThreads()
/external/libmojo/mojo/public/cpp/system/tests/
Dcore_unittest.cc286 handles[0] = mp.handle1.release().value(); in TEST()
288 EXPECT_FALSE(mp.handle1.get().is_valid()); in TEST()
324 mp.handle1.reset(MessagePipeHandle(handles[0])); in TEST()
329 Wait(mp.handle1.get(), MOJO_HANDLE_SIGNAL_READABLE, in TEST()
340 ReadMessageRaw(mp.handle1.get(), in TEST()
/external/libmojo/mojo/public/cpp/bindings/tests/
Dhandle_passing_unittest.cc206 EXPECT_TRUE(WriteTextMessage(pipe0.handle1.get(), kText1)); in TEST_F()
209 EXPECT_TRUE(WriteTextMessage(pipe1.handle1.get(), kText2)); in TEST_F()
304 MojoHandle handle1_value = extra_pipe.handle1.get().value(); in TEST_F()
309 pipes[1] = std::move(extra_pipe.handle1); in TEST_F()
Dserialization_warning_unittest.cc35 nested_array[j] = ScopedHandle::From(std::move(pipe.handle1)); in CreateTestNestedHandleArray()
102 test_struct->hdl = ScopedHandle::From(std::move(pipe.handle1)); in TEST_F()
Dassociated_interface_unittest.cc169 false, std::move(pipe.handle1), base::ThreadTaskRunnerHandle::Get())); in TEST_F()
364 false, std::move(pipe.handle1), base::ThreadTaskRunnerHandle::Get())); in TEST_F()
453 false, std::move(pipe.handle1), base::ThreadTaskRunnerHandle::Get())); in TEST_F()
/external/libmojo/mojo/edk/js/
Dcore.cc102 MojoHandle handle1 = MOJO_HANDLE_INVALID; in CreateMessagePipe() local
108 result = MojoCreateMessagePipe(NULL, &handle0, &handle1); in CreateMessagePipe()
121 result = MojoCreateMessagePipe(&options, &handle0, &handle1); in CreateMessagePipe()
130 dictionary.Set("handle1", mojo::Handle(handle1)); in CreateMessagePipe()
/external/swiftshader/third_party/LLVM/test/Transforms/LICM/
Dscalar_promote.ll77 %handle1 = alloca i8*
79 store i8* %x, i8** %handle1
106 %offsetx1 = load i8** %handle1
/external/llvm/test/Transforms/LICM/
Dscalar_promote.ll80 %handle1 = alloca i8*
82 store i8* %x, i8** %handle1
109 %offsetx1 = load i8*, i8** %handle1
/external/libmojo/mojo/edk/embedder/
Dentrypoints.cc143 MojoResult MojoFuseMessagePipesImpl(MojoHandle handle0, MojoHandle handle1) { in MojoFuseMessagePipesImpl() argument
144 return g_core->FuseMessagePipes(handle0, handle1); in MojoFuseMessagePipesImpl()
/external/libmojo/mojo/public/cpp/bindings/lib/
Dscoped_interface_endpoint_handle.cc287 ScopedInterfaceEndpointHandle* handle1) { in CreatePairPendingAssociation() argument
294 *handle1 = std::move(result1); in CreatePairPendingAssociation()
/external/libmojo/mojo/public/c/system/
Dthunks.cc201 MojoResult MojoFuseMessagePipes(MojoHandle handle0, MojoHandle handle1) { in MojoFuseMessagePipes() argument
203 return g_thunks.FuseMessagePipes(handle0, handle1); in MojoFuseMessagePipes()
/external/tensorflow/tensorflow/python/kernel_tests/
Dsparse_tensors_map_ops_test.py83 handle1 = add_sparse_to_tensors_map(sp_input1, shared_name="a")
85 handles_concat = array_ops.stack([handle0, handle1])

12