HomeSort by relevance Sort by last modified time
    Searched defs:handles (Results 1 - 25 of 130) sorted by null

1 2 3 4 5 6

  /external/libchrome/ipc/
message_mojom_traits.cc 20 StructTraits<IPC::mojom::MessageDataView, IPC::MessageView>::handles( function in class:mojo::StructTraits
32 base::Optional<std::vector<mojo::native::SerializedHandlePtr>> handles;
33 if (!data.ReadHandles(&handles))
36 *out = IPC::MessageView(std::move(buffer_view), std::move(handles));
ipc_message_pipe_reader.cc 57 base::Optional<std::vector<mojo::native::SerializedHandlePtr>> handles; local
59 result = ChannelMojo::ReadFromMessageAttachmentSet(message.get(), &handles);
66 sender_->Receive(MessageView(*message, std::move(handles)));
  /external/icu/android_icu4j/src/main/java/android/icu/text/
LanguageBreakEngine.java 23 boolean handles(int c); method in interface:LanguageBreakEngine
UnhandledBreakEngine.java 25 // findBreaks() or handles() is referencing it, the referencing functions must see
41 public boolean handles(int c) { method in class:UnhandledBreakEngine
61 * May be called concurrently with handles() or findBreaks().
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
LanguageBreakEngine.java 22 boolean handles(int c); method in interface:LanguageBreakEngine
UnhandledBreakEngine.java 24 // findBreaks() or handles() is referencing it, the referencing functions must see
40 public boolean handles(int c) { method in class:UnhandledBreakEngine
60 * May be called concurrently with handles() or findBreaks().
  /external/tensorflow/tensorflow/core/common_runtime/
pending_counts_test.cc 80 PendingCounts::Handle handles[2]; local
81 handles[0] = layout.CreateHandle(5, 4);
82 handles[1] = layout.CreateHandle(15, 4);
84 PendingCounts::Handle h = handles[id];
115 std::vector<PendingCounts::Handle> handles(C);
117 handles[id] = layout.CreateHandle(id, id);
121 c.set_initial_count(handles[id], id);
125 PendingCounts::Handle h = handles[id];
140 PendingCounts::Handle handles[2]; local
141 handles[0] = layout.CreateHandle(5, 4)
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
dynload_shlib.c 65 } handles[128]; variable in typeref:struct:__anon5866
92 if (statb.st_dev == handles[i].dev &&
93 statb.st_ino == handles[i].ino) {
94 p = (dl_funcptr) dlsym(handles[i].handle,
100 handles[nhandles].dev = statb.st_dev;
102 handles[nhandles].ino[0] = statb.st_ino[0];
103 handles[nhandles].ino[1] = statb.st_ino[1];
104 handles[nhandles].ino[2] = statb.st_ino[2];
106 handles[nhandles].ino = statb.st_ino;
140 handles[nhandles++].handle = handle;
    [all...]
  /external/curl/tests/libtest/
lib536.c 34 int handles; local
45 res_multi_perform(multi, &handles);
53 if(!handles)
  /external/libchrome/mojo/public/cpp/bindings/lib/
serialization_context.h 54 const std::vector<mojo::ScopedHandle>* handles() { return &handles_; } function
66 // Takes handles from a received Message object and assumes ownership of them.
67 // Individual handles can be extracted using Take* methods below.
84 // Handles owned by this object. Used during serialization to hold onto
85 // handles accumulated during pre-serialization, and used during
86 // deserialization to hold onto handles extracted from a message.
  /external/libchrome/mojo/public/cpp/test_support/lib/
test_utils.cc 35 std::vector<ScopedHandle> handles; local
36 if (ReadMessageRaw(handle, &bytes, &handles, MOJO_READ_MESSAGE_FLAG_NONE) !=
41 assert(handles.empty());
  /external/libdrm/tests/kms/
libkms-test-framebuffer.c 40 uint32_t handles[4], pitches[4], offsets[4]; local
80 handles[0] = fb->handle;
84 err = drmModeAddFB2(device->fd, width, height, format, handles,
  /external/python/cpython2/Python/
dynload_shlib.c 65 } handles[128]; variable in typeref:struct:__anon36876
92 if (statb.st_dev == handles[i].dev &&
93 statb.st_ino == handles[i].ino) {
94 p = (dl_funcptr) dlsym(handles[i].handle,
100 handles[nhandles].dev = statb.st_dev;
102 handles[nhandles].ino[0] = statb.st_ino[0];
103 handles[nhandles].ino[1] = statb.st_ino[1];
104 handles[nhandles].ino[2] = statb.st_ino[2];
106 handles[nhandles].ino = statb.st_ino;
140 handles[nhandles++].handle = handle
    [all...]
  /external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/system/impl/
CoreImplTest.java 80 private void addHandlePairToClose(Pair<? extends Handle, ? extends Handle> handles) {
81 mHandlesToClose.add(handles.first);
82 mHandlesToClose.add(handles.second);
171 Pair<? extends Handle, ? extends Handle> handles = core.createMessagePipe(null); local
172 addHandlePairToClose(handles);
173 Assert.assertEquals(core, handles.first.getCore());
174 Assert.assertEquals(core, handles.second.getCore());
176 handles = core.createDataPipe(null);
177 addHandlePairToClose(handles);
178 Assert.assertEquals(core, handles.first.getCore())
191 Pair<MessagePipeHandle, MessagePipeHandle> handles = core.createMessagePipe(options); local
215 Pair<MessagePipeHandle, MessagePipeHandle> handles = core.createMessagePipe(null); local
234 Pair<MessagePipeHandle, MessagePipeHandle> handles = core.createMessagePipe(null); local
248 Pair<MessagePipeHandle, MessagePipeHandle> handles = core.createMessagePipe(null); local
269 Pair<DataPipe.ProducerHandle, DataPipe.ConsumerHandle> handles = local
300 Pair<DataPipe.ProducerHandle, DataPipe.ConsumerHandle> handles = core.createDataPipe(null); local
314 Pair<DataPipe.ProducerHandle, DataPipe.ConsumerHandle> handles = core.createDataPipe(null); local
344 Pair<DataPipe.ProducerHandle, DataPipe.ConsumerHandle> handles = core.createDataPipe(null); local
431 Pair<MessagePipeHandle, MessagePipeHandle> handles = core.createMessagePipe(null); local
449 Pair<MessagePipeHandle, MessagePipeHandle> handles = core.createMessagePipe(null); local
470 Pair<DataPipe.ProducerHandle, DataPipe.ConsumerHandle> handles = core.createDataPipe(null); local
517 Pair<MessagePipeHandle, MessagePipeHandle> handles = core.createMessagePipe(null); local
    [all...]
WatcherImplTest.java 74 private void addHandlePairToClose(Pair<? extends Handle, ? extends Handle> handles) {
75 mHandlesToClose.add(handles.first);
76 mHandlesToClose.add(handles.second);
120 Pair<MessagePipeHandle, MessagePipeHandle> handles = mCore.createMessagePipe(null); local
121 addHandlePairToClose(handles);
122 final WatcherResult watcherResult = new WatcherResult(handles.first);
125 mWatcher.start(handles.first, Core.HandleSignals.READABLE, watcherResult);
128 handles.second.writeMessage(
141 Pair<MessagePipeHandle, MessagePipeHandle> handles = mCore.createMessagePipe(null); local
142 addHandlePairToClose(handles);
165 Pair<MessagePipeHandle, MessagePipeHandle> handles = mCore.createMessagePipe(null); local
189 Pair<MessagePipeHandle, MessagePipeHandle> handles = mCore.createMessagePipe(null); local
228 Pair<MessagePipeHandle, MessagePipeHandle> handles = mCore.createMessagePipe(null); local
257 Pair<MessagePipeHandle, MessagePipeHandle> handles = mCore.createMessagePipe(null); local
    [all...]
  /art/runtime/
handle_scope_test.cc 33 // Handles are value objects and should be trivially copyable.
101 // Add a bunch of handles and make sure callbacks work.
103 std::vector<Handle<mirror::Object>> handles; local
107 handles.push_back(hs.NewHandle(o));
108 EXPECT_OBJ_PTR_EQ(o, handles.back().Get());
109 EXPECT_TRUE(hs.Contains(handles.back().GetReference()));
110 EXPECT_TRUE(base->Contains(handles.back().GetReference()));
  /external/curl/docs/examples/
multi-app.c 48 CURL *handles[HANDLECOUNT]; local
51 int still_running = 0; /* keep number of running handles */
59 handles[i] = curl_easy_init();
62 curl_easy_setopt(handles[HTTP_HANDLE], CURLOPT_URL, "https://example.com");
64 curl_easy_setopt(handles[FTP_HANDLE], CURLOPT_URL, "ftp://example.com");
65 curl_easy_setopt(handles[FTP_HANDLE], CURLOPT_UPLOAD, 1L);
72 curl_multi_add_handle(multi_handle, handles[i]);
154 found = (msg->easy_handle == handles[idx]);
172 /* Free the CURL handles */
174 curl_easy_cleanup(handles[i])
    [all...]
  /external/libchrome/mojo/core/
broker_posix.cc 46 LOG(ERROR) << "Received unexpected number of handles";
123 std::vector<PlatformHandle> handles; local
126 kNumExpectedHandles, sizeof(BufferResponseData), &handles);
132 if (handles.size() == 1)
133 handles.emplace_back();
137 std::move(handles[0]), std::move(handles[1])),
broker_win.cc 32 DLOG(ERROR) << "Received unexpected number of handles in broker message";
36 std::vector<PlatformHandleInTransit> handles = message->TakeHandles(); local
37 DCHECK_EQ(handles.size(), num_handles);
41 out_handles[i] = handles[i].TakeHandle();
100 // If the message has no handles, we expect it to carry pipe name instead.
  /external/libchrome/mojo/public/cpp/system/tests/
wait_unittest.cc 188 Handle handles[2] = {p.handle0.get(), p.handle1.get()}; local
196 WaitMany(handles, signals, 2, &result_index, c_hss));
202 EXPECT_EQ(MOJO_RESULT_OK, WaitMany(handles, signals, 2, &result_index, hss));
217 // handles[0] is invalid.
219 WaitMany(handles, signals, 2, &result_index, hss));
220 handles[0] = handles[1];
222 WaitMany(handles, signals, 1, &result_index, hss));
232 Handle handles[3] = {q.handle0.get(), q.handle1.get(), p.handle1.get()}; local
247 WaitMany(handles, signals, 3, &result_index))
263 Handle handles[2] = {p.handle0.get(), p.handle1.get()}; local
290 Handle handles[3] = {q.handle0.get(), q.handle1.get(), p.handle1.get()}; local
    [all...]
  /external/python/cpython3/Python/
dynload_shlib.c 51 } handles[128]; variable in typeref:struct:__anon37522
81 if (status.st_dev == handles[i].dev &&
82 status.st_ino == handles[i].ino) {
83 p = (dl_funcptr) dlsym(handles[i].handle,
89 handles[nhandles].dev = status.st_dev;
90 handles[nhandles].ino = status.st_ino;
126 handles[nhandles++].handle = handle;
  /external/tensorflow/tensorflow/compiler/xla/tests/
deconstruct_tuple_test.cc 66 auto handles = result_status.ConsumeValueOrDie(); local
68 TF_ASSERT_OK_AND_ASSIGN(literal, client_->Transfer(*handles[0]));
70 TF_ASSERT_OK_AND_ASSIGN(literal, client_->Transfer(*handles[1]));
115 // tuple does. That is, in the returned vector of handles, handle[0] should be
117 auto handles = result_status.ConsumeValueOrDie(); local
120 TF_ASSERT_OK_AND_ASSIGN(literal, client_->Transfer(*handles[0]));
122 TF_ASSERT_OK_AND_ASSIGN(literal, client_->Transfer(*handles[1]));
124 TF_ASSERT_OK_AND_ASSIGN(literal, client_->Transfer(*handles[2]));
126 TF_ASSERT_OK_AND_ASSIGN(literal, client_->Transfer(*handles[3]));
139 auto handles = result_status.ConsumeValueOrDie() local
182 auto handles = result_status.ConsumeValueOrDie(); local
    [all...]
  /external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/bindings/
BindingsTestUtils.java 96 Pair<MessagePipeHandle, MessagePipeHandle> handles = local
98 P proxy = manager.attachProxy(handles.first, 0);
100 manager.bind(impl, handles.second);
  /external/libdrm/tests/planetest/
bo.c 94 uint32_t handles[4], pitches[4], offsets[4]; local
96 handles[0] = bo->handle;
100 handles[1] = bo->handle;
106 format, handles, pitches, offsets,
  /external/tensorflow/tensorflow/core/distributed_runtime/eager/
eager_service_impl.h 123 const gtl::ArraySlice<tensorflow::TensorHandle*>& handles,
126 for (int i = 0; i < handles.size(); i++) {
129 handles[i]); local

Completed in 1168 milliseconds

1 2 3 4 5 6