HomeSort by relevance Sort by last modified time
    Searched refs:handles (Results 51 - 75 of 344) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/chromium_org/mojo/embedder/
platform_channel_utils_posix.h 22 // The maximum number of handles that can be sent "at once" using
39 // |PlatformChannelPair()|). All the handles must be valid, and there must be at
40 // least one and at most |kPlatformChannelMaxNumHandles| handles. The return
43 // specified by |iov|). (The handles are not closed, regardless of success or
57 // the file descriptors.) All of the handles must be valid, and there must be at
59 // on success, in which case it closes all the handles.
61 PlatformHandle* handles,
66 // |platform_handles|). (This also handles |EINTR|.)
embedder_unittest.cc 230 MojoHandle handles[10] = {}; local
231 uint32_t num_handles = arraysize(handles);
236 handles,
242 EXPECT_NE(handles[0], MOJO_HANDLE_INVALID);
243 h1 = handles[0];
253 memset(handles, 0, sizeof(handles));
254 num_handles = arraysize(handles);
259 handles,
535 // TODO(vtl): If the scope were to end here (and the two handles closed)
    [all...]
platform_channel_utils_posix.cc 108 PlatformHandle* handles,
110 DCHECK(handles);
127 DCHECK(handles[i].is_valid());
128 reinterpret_cast<int*>(CMSG_DATA(cmsg))[i] = handles[i].fd;
138 handles[i].CloseIfNecessary();
  /external/chromium_org/mojo/public/cpp/bindings/lib/
array_internal.h 175 std::vector<Handle>* handles) {
180 std::vector<Handle>* handles) {
202 std::vector<Handle>* handles);
206 std::vector<Handle>* handles);
222 "invalid handle in array expecting valid handles",
241 std::vector<Handle>* handles) {
243 header, elements, handles);
248 std::vector<Handle>* handles) {
250 header, elements, handles);
269 std::vector<Handle>* handles) {
    [all...]
  /external/chromium_org/mojo/system/
core.h 65 MojoResult WaitMany(UserPointer<const MojoHandle> handles,
78 UserPointer<const MojoHandle> handles,
84 UserPointer<MojoHandle> handles,
133 MojoResult WaitManyInternal(const MojoHandle* handles,
  /external/chromium_org/sync/engine/
apply_control_data_updates.cc 30 std::vector<int64> handles; local
32 &trans, ToFullModelTypeSet(ControlTypes()), &handles);
63 for (std::vector<int64>::const_iterator iter = handles.begin();
64 iter != handles.end(); ++iter) {
84 // handles the case where two clients both set a different passphrase. The
directory_update_handler.cc 113 std::vector<int64> handles; local
117 &handles);
121 applicator.AttemptApplications(&trans, handles);
148 handles.clear();
152 &handles);
155 conflict_applicator.AttemptApplications(&trans, handles);
apply_control_data_updates_unittest.cc 122 Syncer::UnsyncedMetaHandles handles; local
123 GetUnsyncedEntries(&trans, &handles);
124 EXPECT_TRUE(handles.empty());
165 Syncer::UnsyncedMetaHandles handles; local
166 GetUnsyncedEntries(&trans, &handles);
167 EXPECT_EQ(2*batch_s+1, handles.size());
183 Syncer::UnsyncedMetaHandles handles; local
184 GetUnsyncedEntries(&trans, &handles);
185 EXPECT_EQ(2*batch_s+1, handles.size());
209 Syncer::UnsyncedMetaHandles handles; local
234 Syncer::UnsyncedMetaHandles handles; local
279 Syncer::UnsyncedMetaHandles handles; local
299 Syncer::UnsyncedMetaHandles handles; local
    [all...]
  /external/chromium_org/sync/internal_api/
sync_rollback_manager.cc 89 ModelType type, std::vector<int64> handles) {
95 for (size_t i = 0; i < handles.size(); ++i) {
97 syncable::GET_BY_HANDLE, handles[i]);
103 del.id = handles[i];
  /external/chromium_org/sync/syncable/
syncable_util.h 42 std::vector<int64> *handles);
nigori_util.cc 36 std::vector<int64> handles; local
37 GetUnsyncedEntries(trans, &handles);
38 for (size_t i = 0; i < handles.size(); ++i) {
39 MutableEntry entry(trans, GET_BY_HANDLE, handles[i]);
54 std::vector<int64> handles; local
55 GetUnsyncedEntries(trans, &handles);
56 for (size_t i = 0; i < handles.size(); ++i) {
57 Entry entry(trans, GET_BY_HANDLE, handles[i]);
  /external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
ScheduledAction.h 59 void createLocalHandlesForArgs(Vector<v8::Handle<v8::Value> >* handles);
  /external/chromium_org/v8/test/cctest/compiler/
test-pipeline.cc 10 #include "src/handles.h"
19 InitializedHandleScope handles; local
  /external/valgrind/main/exp-bbv/tests/amd64-linux/
rep_prefix.S 16 # handles things properly.
  /external/wpa_supplicant_8/src/utils/
eloop_win.c 68 HANDLE *handles; member in struct:eloop_data
80 eloop.handles = os_malloc(eloop.num_handles *
81 sizeof(eloop.handles[0]));
82 if (eloop.handles == NULL)
89 os_free(eloop.handles);
103 n = os_realloc_array(eloop.handles, eloop.num_handles * 2,
104 sizeof(eloop.handles[0]));
107 eloop.handles = n;
554 eloop.handles[count++] = eloop.events[i].event;
557 eloop.handles[count++] = eloop.readers[i].event
    [all...]
  /frameworks/base/core/java/android/bluetooth/
BluetoothGattService.java 183 * Force the number of handles to reserve for this service.
187 public void setHandles(int handles) {
188 mHandles = handles;
  /external/chromium_org/mojo/android/system/src/org/chromium/mojo/system/impl/
CoreImpl.java 81 public WaitManyResult waitMany(List<Pair<Handle, HandleSignals>> handles, long deadline) {
83 // contain all mojo handles, followed by all flags values.
84 ByteBuffer buffer = allocateDirectBuffer(handles.size() * 8);
86 for (Pair<Handle, HandleSignals> handle : handles) {
88 buffer.putInt(HANDLE_SIZE * handles.size() + FLAG_SIZE * index,
213 List<? extends Handle> handles, MessagePipeHandle.WriteFlags flags) {
215 if (handles != null && !handles.isEmpty()) {
216 handlesBuffer = allocateDirectBuffer(handles.size() * HANDLE_SIZE);
217 for (Handle handle : handles) {
262 List<UntypedHandle> handles = new ArrayList<UntypedHandle>( local
    [all...]
  /external/chromium_org/v8/test/cctest/
test-unique.cc 33 #include "src/global-handles.h"
43 Handle<String> handles[] = { \
55 Unique<String> A(handles[0]); \
56 Unique<String> B(handles[1]); \
57 Unique<String> C(handles[2])
60 Unique<String> A(handles[0]); \
61 Unique<String> B(handles[1]); \
62 Unique<String> C(handles[2]); \
63 Unique<String> D(handles[3]); \
64 Unique<String> E(handles[4]);
    [all...]
  /art/runtime/
monitor_test.cc 61 std::vector<Handle<mirror::Object>>* handles)
89 handles->push_back(h);
97 handles->push_back(h);
310 std::vector<Handle<mirror::Object>> handles; local
316 FillHeap(self, class_linker, &hsp, &handles);
319 auto it = handles.begin();
320 auto end = handles.end();
  /external/chromium_org/mojo/public/js/bindings/
core.js 16 * MojoHandle: An opaque handles to a Mojo object (e.g. a message pipe).
134 * Waits on |handles[0]|, ..., |handles[handles.length-1]| for at least one of
136 * |flags[handles.length-1]|, respectively, or until |deadline| has passed.
139 * @param {Array.MojoHandle} handles Handles to wait on.
141 * for each corresponding handle. Must be the same length as |handles|.
145 function waitMany(handles, signals, deadline) { [native code] }
167 * @param {Array.MojoHandle} handlesArray Any handles to attach. Handles ar
    [all...]
  /external/chromium_org/mojo/android/javatests/src/org/chromium/mojo/bindings/
ValidationTest.java 101 List<Handle> handles = new ArrayList<Handle>(); local
103 handles.add(new HandleMock());
105 Message message = new Message(test.inputData.getData(), handles);
InterfacesTest.java 220 Pair<MessagePipeHandle, MessagePipeHandle> handles = local
222 P proxy = manager.attachProxy(handles.first);
224 manager.bind(impl, handles.second);
231 Pair<MessagePipeHandle, MessagePipeHandle> handles = local
233 P proxy = manager.attachProxy(handles.first, client);
235 manager.bind(impl, handles.second);
  /external/chromium_org/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
Interface.java 221 Pair<MessagePipeHandle, MessagePipeHandle> handles = core.createMessagePipe(null); local
222 P proxy = attachProxy(handles.first);
223 return Pair.create(proxy, new InterfaceRequest<I>(handles.second));
  /external/chromium_org/mojo/python/tests/
messaging_unittest.py 34 handles = system.MessagePipe()
35 self.connector = messaging.Connector(handles.handle1)
41 self.handle = handles.handle0
149 handles = system.MessagePipe()
150 self.router = messaging.Router(handles.handle1)
156 self.handle = handles.handle0
  /external/chromium_org/mojo/public/python/mojo/bindings/
reflection.py 110 def Deserialize(cls, data, handles):
113 serialization_object.Deserialize(fields, data, handles)

Completed in 2048 milliseconds

1 23 4 5 6 7 8 91011>>