Home
last modified time | relevance | path

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

123

/external/u-boot/lib/efi_selftest/
Defi_selftest_manageprotocols.c34 static efi_handle_t handle1; variable
84 ret = boottime->install_protocol_interface(&handle1, &guid3, in setup()
91 if (!handle1) { in setup()
95 handle = handle1; in setup()
96 ret = boottime->install_protocol_interface(&handle1, &guid1, in setup()
103 if (handle != handle1) { in setup()
113 if (!handle2 || handle1 == handle2) { in setup()
147 ret = boottime->handle_protocol(handle1, &guid3, (void **)&interface); in execute()
156 ret = boottime->handle_protocol(handle1, &guid2, (void **)&interface); in execute()
172 ret = find_in_buffer(handle1, count, buffer); in execute()
[all …]
Defi_selftest_devicepath.c15 static efi_handle_t handle1; variable
139 ret = boottime->install_protocol_interface(&handle1, in setup()
147 ret = boottime->install_protocol_interface(&handle1, in setup()
194 ret = boottime->uninstall_protocol_interface(handle1, in teardown()
201 ret = boottime->uninstall_protocol_interface(handle1, in teardown()
/external/libchrome/mojo/public/cpp/system/tests/
Dwait_set_unittest.cc63 wait_set.AddHandle(p.handle1.get(), MOJO_HANDLE_SIGNAL_READABLE); in TEST_F()
73 EXPECT_EQ(p.handle1.get(), ready_handles[0]); in TEST_F()
77 wait_set.RemoveHandle(p.handle1.get()); in TEST_F()
82 WriteMessage(p.handle1, kTestMessage1); in TEST_F()
95 wait_set.AddHandle(p.handle1.get(), MOJO_HANDLE_SIGNAL_READABLE); in TEST_F()
103 ready_handles[1] == p.handle1.get()) || in TEST_F()
104 (ready_handles[0] == p.handle1.get() && in TEST_F()
117 ready_handles[0] == p.handle1.get()); in TEST_F()
128 ready_handles[0] == p.handle1.get()); in TEST_F()
144 wait_set.AddHandle(q.handle1.get(), MOJO_HANDLE_SIGNAL_READABLE); in TEST_F()
[all …]
Dwait_unittest.cc64 Handle valid_handles[2] = {p.handle0.get(), p.handle1.get()}; in TEST_F()
83 EXPECT_EQ(MOJO_RESULT_OK, Wait(p.handle1.get(), MOJO_HANDLE_SIGNAL_READABLE)); in TEST_F()
90 Wait(p.handle1.get(), MOJO_HANDLE_SIGNAL_READABLE, &c_hss)); in TEST_F()
96 Wait(p.handle1.get(), MOJO_HANDLE_SIGNAL_READABLE, &hss)); in TEST_F()
105 Wait(p.handle1.get(), MOJO_HANDLE_SIGNAL_PEER_CLOSED, &hss)); in TEST_F()
115 EXPECT_EQ(kTestMessage1, ReadMessage(p.handle1)); in TEST_F()
117 Wait(p.handle1.get(), MOJO_HANDLE_SIGNAL_READABLE, &hss)); in TEST_F()
139 Wait(p.handle1.get(), MOJO_HANDLE_SIGNAL_READABLE, &hss)); in TEST_F()
159 Wait(p.handle1.get(), MOJO_HANDLE_SIGNAL_READABLE, &hss)); in TEST_F()
188 Handle handles[2] = {p.handle0.get(), p.handle1.get()}; in TEST_F()
[all …]
Dhandle_signal_tracker_unittest.cc48 WriteMessageRaw(pipe.handle1.get(), "hi", 2, nullptr, 0, in TEST_F()
65 WriteMessageRaw(pipe.handle1.get(), "hi", 2, nullptr, 0, in TEST_F()
86 WriteMessageRaw(pipe.handle1.get(), "hi", 2, nullptr, 0, in TEST_F()
96 pipe.handle1.reset(); in TEST_F()
Dscope_to_message_pipe_unittest.cc47 pipe.handle1.reset(); in TEST_F()
55 watcher.Watch(pipe.handle1.get(), MOJO_HANDLE_SIGNAL_READABLE, in TEST_F()
64 pipe.handle1.reset(); in TEST_F()
Dcore_unittest.cc243 handles[0] = mp.handle1.release().value(); in TEST()
245 EXPECT_FALSE(mp.handle1.get().is_valid()); in TEST()
267 mp.handle1.reset(MessagePipeHandle(read_handles[0]->value())); in TEST()
272 Wait(mp.handle1.get(), MOJO_HANDLE_SIGNAL_READABLE, &state)); in TEST()
278 ReadMessageRaw(mp.handle1.get(), &bytes, &read_handles, in TEST()
/external/libchrome/mojo/public/cpp/system/
Dmessage_pipe.h53 MessagePipeHandle handle1; in CreateMessagePipe() local
55 options, handle0.mutable_value(), handle1.mutable_value()); in CreateMessagePipe()
59 message_pipe1->reset(handle1); in CreateMessagePipe()
135 ScopedMessagePipeHandle handle1; variable
139 MojoResult result = CreateMessagePipe(nullptr, &handle0, &handle1); in MessagePipe()
142 DCHECK(handle1.is_valid()); in MessagePipe()
146 MojoResult result = CreateMessagePipe(&options, &handle0, &handle1); in MessagePipe()
149 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.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-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-large.cc56 void *handle1 = dlopen(argv[1], RTLD_LAZY); // %dynamiclib
57 assert(handle1);
58 void (*so_entry)() = (void (*)())dlsym(handle1, "so_entry");
/external/libchrome/mojo/public/c/system/tests/
Dcore_unittest_pure_c.c44 MojoHandle handle0, handle1; in MinimalCTest() local
55 handle1 = MOJO_HANDLE_INVALID; in MinimalCTest()
56 EXPECT_EQ(MOJO_RESULT_OK, MojoCreateMessagePipe(NULL, &handle0, &handle1)); in MinimalCTest()
63 EXPECT_EQ(MOJO_RESULT_OK, MojoReadMessage(handle1, NULL, &message)); in MinimalCTest()
73 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(handle1)); in MinimalCTest()
/external/libchrome/mojo/public/js/lib/
Dinterface_endpoint_handle.js134 var handle1 = new InterfaceEndpointHandle();
135 handle0.state_.initPendingState(handle1.state_);
136 handle1.state_.initPendingState(handle0.state_);
137 return {handle0: handle0, handle1: handle1};
/external/libchrome/mojo/public/cpp/bindings/tests/
Dtest_helpers_unittest.cc112 ScopedMessagePipeHandle handle0, handle1; in TEST_F() local
116 wait_for_trampoline.BounceTwo(std::move(handle0), std::move(pipe.handle1), in TEST_F()
117 &handle0, &handle1); in TEST_F()
120 Wait(handle1.get(), MOJO_HANDLE_SIGNAL_READABLE); in TEST_F()
122 ReadMessageRaw(handle1.get(), &payload, nullptr, MOJO_READ_MESSAGE_FLAG_NONE); in TEST_F()
/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/libchrome/ipc/
Dipc_sync_channel_unittest.cc332 workers.push_back(new SimpleClient(std::move(pipe.handle1))); in Simple()
412 new TwoStepClient(create_client_pipe_now, std::move(pipe.handle1))); in TwoStep()
446 workers.push_back(new DelayClient(std::move(pipe.handle1))); in DelayReply()
511 new NoHangClient(&got_first_reply, std::move(pipe.handle1))); in NoHang()
582 workers.push_back(new UnblockClient(client_pump, std::move(pipe.handle1))); in Unblock()
678 new RecursiveClient(client_pump, false, std::move(pipe.handle1))); in Recursive()
703 new RecursiveClient(client_pump, true, std::move(pipe.handle1))); in RecursiveNoHang()
816 client_pump, std::move(pipe2.handle1)); in Multiple()
824 std::move(pipe1.handle1)); in Multiple()
923 new QueuedReplyClient(&client_worker_thread, std::move(pipe1.handle1), in QueuedReply()
[all …]
/external/libchrome/mojo/public/cpp/bindings/
Dassociated_interface_ptr.h208 ScopedInterfaceEndpointHandle handle1; in MakeRequest() local
210 &handle1); in MakeRequest()
215 return AssociatedInterfaceRequest<Interface>(std::move(handle1)); in MakeRequest()
239 std::move(pipe.handle1), internal::MultiplexRouter::MULTI_INTERFACE, in MakeRequestAssociatedWithDedicatedPipe()
Dinterface_request.h141 return InterfaceRequest<Interface>(std::move(pipe.handle1));
151 return InterfaceRequest<Interface>(std::move(pipe.handle1)); in MakeRequest()
/external/libchrome/mojo/public/java/system/
Dcore_impl.cc41 MojoHandle handle1; in JNI_CoreImpl_CreateMessagePipe() local
43 MojoResult result = MojoCreateMessagePipe(options, &handle1, &handle2); in JNI_CoreImpl_CreateMessagePipe()
44 return Java_CoreImpl_newNativeCreationResult(env, result, handle1, handle2); in JNI_CoreImpl_CreateMessagePipe()
61 MojoHandle handle1; in JNI_CoreImpl_CreateDataPipe() local
63 MojoResult result = MojoCreateDataPipe(options, &handle1, &handle2); in JNI_CoreImpl_CreateDataPipe()
64 return Java_CoreImpl_newNativeCreationResult(env, result, handle1, handle2); in JNI_CoreImpl_CreateDataPipe()
/external/perfetto/src/protozero/
Dmessage_unittest.cc318 MessageHandle<FakeRootMessage> handle1(msg1); in TEST_F() local
319 handle1->AppendBytes(1 /* field_id */, kTestBytes, 1 /* size */); in TEST_F()
399 MessageHandle<FakeRootMessage> handle1(msg); in TEST_F() local
401 handle1->AppendBytes(1 /* field_id */, kTestBytes, 1 /* size */); in TEST_F()
402 handle2 = std::move(handle1); in TEST_F()
/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/libchrome/base/synchronization/
Dlock_unittest.cc240 PlatformThreadHandle handle1; in TEST() local
244 ASSERT_TRUE(PlatformThread::Create(0, &thread1, &handle1)); in TEST()
250 PlatformThread::Join(handle1); in TEST()
/external/libchrome/mojo/public/js/
Dbindings.js14 var {handle0, handle1} = internal.createPairPendingAssociation();
18 return new mojo.AssociatedInterfaceRequest(handle1);
26 return new mojo.InterfaceRequest(pipe.handle1);
31 return new mojo.InterfaceRequest(pipe.handle1);
/external/libchrome/mojo/core/
Dmessage_unittest.cc285 MojoTestBase::ReadMessage(pipe.handle1.get().value())); in TEST_F()
311 MojoTestBase::ReadMessage(pipes[0].handle1.get().value())); in TEST_F()
313 MojoTestBase::ReadMessage(pipes[1].handle1.get().value())); in TEST_F()
315 MojoTestBase::ReadMessage(pipes[2].handle1.get().value())); in TEST_F()
317 MojoTestBase::ReadMessage(pipes[3].handle1.get().value())); in TEST_F()
381 EXPECT_EQ(MOJO_RESULT_OK, WaitForSignals(pipe.handle1.get().value(), in TEST_F()
508 EXPECT_EQ(MOJO_RESULT_OK, WaitForSignals(pipe1.handle1.get().value(), in TEST_F()
540 MojoTestBase::WriteMessage(pipe2.handle1.get().value(), kTestMessage); in TEST_F()
569 WaitForSignals(pipe.handle1->value(), MOJO_HANDLE_SIGNAL_READABLE)); in TEST_F()
571 MojoReadMessage(pipe.handle1->value(), nullptr, &message_handle)); in TEST_F()

123