Home
last modified time | relevance | path

Searched refs:handle0 (Results 1 – 25 of 31) sorted by relevance

12

/external/libmojo/mojo/public/c/system/tests/
Dcore_unittest_pure_c.c44 MojoHandle handle0, handle1; in MinimalCTest() local
53 handle0 = MOJO_HANDLE_INVALID; in MinimalCTest()
54 EXPECT_NE(MOJO_RESULT_OK, MojoClose(handle0)); in MinimalCTest()
57 MojoWait(handle0, ~MOJO_HANDLE_SIGNAL_NONE, in MinimalCTest()
61 EXPECT_EQ(MOJO_RESULT_OK, MojoCreateMessagePipe(NULL, &handle0, &handle1)); in MinimalCTest()
67 MojoWaitMany(&handle0, &signals, 1, 1, &result_index, states)); in MinimalCTest()
78 MojoWriteMessage(handle0, kHello, (uint32_t)sizeof(kHello), NULL, in MinimalCTest()
97 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(handle0)); in MinimalCTest()
/external/libmojo/mojo/public/cpp/system/
Dmessage_pipe.h49 MessagePipeHandle handle0; in CreateMessagePipe() local
52 options, handle0.mutable_value(), handle1.mutable_value()); in CreateMessagePipe()
55 message_pipe0->reset(handle0); in CreateMessagePipe()
135 ScopedMessagePipeHandle handle0; variable
140 MojoResult result = CreateMessagePipe(nullptr, &handle0, &handle1); in MessagePipe()
142 DCHECK(handle0.is_valid()); in MessagePipe()
147 MojoResult result = CreateMessagePipe(&options, &handle0, &handle1); in MessagePipe()
149 DCHECK(handle0.is_valid()); in MessagePipe()
/external/libmojo/mojo/edk/js/tests/
Djs_to_cpp_tests.js84 core.close(messagePipe1.handle0);
85 core.close(messagePipe2.handle0);
123 core.close(messagePipe.handle0);
163 core.close(messagePipe.handle0);
188 var result = core.writeMessage(pipe.handle0, arrayBuffer, [], 0);
/external/libmojo/mojo/public/cpp/bindings/
Dassociated_interface_ptr.h222 ScopedInterfaceEndpointHandle handle0; in MakeRequest() local
224 ScopedInterfaceEndpointHandle::CreatePairPendingAssociation(&handle0, in MakeRequest()
227 ptr_info->set_handle(std::move(handle0)); in MakeRequest()
252 new internal::MultiplexRouter(std::move(pipe.handle0), in GetIsolatedProxy()
Dscoped_interface_endpoint_handle.h33 ScopedInterfaceEndpointHandle* handle0,
Dinterface_request.h44 ptr->Bind(InterfacePtrInfo<Interface>(std::move(pipe.handle0), 0u),
Dbinding.h146 ptr->Bind(InterfacePtrInfo<Interface>(std::move(pipe.handle0),
/external/libmojo/mojo/edk/js/
Dhandle_unittest.cc66 TestHandleWrapper wrapper(pipe.handle0.release().value()); in TEST_F()
83 TestHandleWrapper wrapper(pipe.handle0.release().value()); in TEST_F()
Dcore.cc101 MojoHandle handle0 = MOJO_HANDLE_INVALID; in CreateMessagePipe() local
108 result = MojoCreateMessagePipe(NULL, &handle0, &handle1); in CreateMessagePipe()
121 result = MojoCreateMessagePipe(&options, &handle0, &handle1); in CreateMessagePipe()
129 dictionary.Set("handle0", mojo::Handle(handle0)); in CreateMessagePipe()
/external/libmojo/mojo/public/cpp/bindings/tests/
Darray_common_test.h65 handles[0] = std::move(pipe.handle0); in Handle()
68 EXPECT_FALSE(pipe.handle0.is_valid()); in Handle()
83 MojoHandle pipe0_value = pipe.handle0.get().value(); in HandlesAreClosed()
84 MojoHandle pipe1_value = pipe.handle0.get().value(); in HandlesAreClosed()
88 handles[0] = std::move(pipe.handle0); in HandlesAreClosed()
89 handles[1].reset(pipe.handle0.release()); in HandlesAreClosed()
Dhandle_passing_unittest.cc218 request->pipe = std::move(pipe1.handle0); in TEST_F()
223 factory->DoStuff(std::move(request), std::move(pipe0.handle0), in TEST_F()
303 MojoHandle handle0_value = extra_pipe.handle0.get().value(); in TEST_F()
308 pipes[0] = std::move(extra_pipe.handle0); in TEST_F()
Dinterface_ptr_unittest.cc287 Handle handle = pipe.handle0.get(); in TEST_F()
290 InterfacePtrInfo<math::Calculator>(std::move(pipe.handle0), 0u)); in TEST_F()
524 new StrongMathCalculatorImpl(std::move(pipe.handle0), &error_received, in TEST()
597 WeakMathCalculatorImpl impl(std::move(pipe.handle0), &error_received, in TEST()
Dassociated_interface_unittest.cc167 true, std::move(pipe.handle0), base::ThreadTaskRunnerHandle::Get())); in TEST_F()
362 true, std::move(pipe.handle0), base::ThreadTaskRunnerHandle::Get())); in TEST_F()
451 true, std::move(pipe.handle0), base::ThreadTaskRunnerHandle::Get())); in TEST_F()
Drequest_response_unittest.cc137 ReadTextMessage(pipe2.handle0.get(), &value); in TEST_F()
Dstruct_unittest.cc45 output->f_message_pipe = std::move(pipe.handle0); in MakeMultiVersionStruct()
318 input->f_message_pipe = std::move(pipe.handle0); in TEST_F()
/external/tensorflow/tensorflow/python/kernel_tests/
Dsparse_tensors_map_ops_test.py82 handle0 = add_sparse_to_tensors_map(sp_input0, shared_name="a")
84 self.assertEqual(handle0.get_shape(), ())
85 handles_concat = array_ops.stack([handle0, handle1])
88 sparse_map_op=handle0.op, sparse_handles=handles_concat)
/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.cc286 ScopedInterfaceEndpointHandle* handle0, in CreatePairPendingAssociation() argument
293 *handle0 = std::move(result0); in CreatePairPendingAssociation()
Dconnector.cc321 message_pipe_ = std::move(dummy_pipe.handle0); in HandleError()
/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()
Dmessage_pipe.h257 MojoFuseMessagePipes(MojoHandle handle0, MojoHandle handle1);
Dthunks.h123 MojoResult (*FuseMessagePipes)(MojoHandle handle0, MojoHandle handle1);
/external/tensorflow/tensorflow/core/lib/monitoring/
Dcollection_registry_test.cc56 std::unique_ptr<CollectionRegistry::RegistrationHandle> handle0 = in TEST() local
61 handle0.reset(); in TEST()
64 handle0 = in TEST()
/external/libmojo/mojo/public/js/
Dbindings.js16 interfacePtr.ptr.bind(new types.InterfacePtrInfo(pipe.handle0, 0));
/external/libmojo/mojo/edk/system/
Dcore.h203 MojoResult FuseMessagePipes(MojoHandle handle0, MojoHandle handle1);

12