/external/libmojo/mojo/public/cpp/bindings/tests/ |
validation_context_unittest.cc | 40 size_t num_handles = local 42 internal::ValidationContext context(ToPtr(0), 0, num_handles); 150 // Test the case that |num_handles| is the same value as
|
validation_unittest.cc | 48 size_t num_handles; local 52 ParseValidationTestInput(input, &data, &num_handles, &error_message); 55 expected_num_handles == num_handles) { 63 EXPECT_EQ(expected_num_handles, num_handles); 106 size_t* num_handles) { 112 if (!ParseValidationTestInput(input, data, num_handles, &error_message)) { 148 size_t num_handles; local 149 if (!ReadAndParseDataFile(GetPath(test, ".data"), &data, &num_handles) || 158 message->mutable_handles()->resize(num_handles);
|
/external/libmojo/mojo/android/javatests/ |
validation_test_util.cc | 34 size_t num_handles; local 37 input, &data, &num_handles, &error_message)) { 49 return Java_ValidationTestUtil_buildData(env, byte_buffer, num_handles,
|
/external/libmojo/mojo/edk/system/ |
platform_handle_dispatcher_unittest.cc | 82 uint32_t num_handles = 0; local 84 dispatcher->StartSerialize(&num_bytes, &num_ports, &num_handles); 88 EXPECT_EQ(1u, num_handles);
|
ports_message.h | 25 size_t num_handles); 29 size_t num_handles() const { return channel_message_->num_handles(); } function in class:mojo::edk::PortsMessage 51 PortsMessage(size_t num_payload_bytes, size_t num_ports, size_t num_handles);
|
message_for_transit.cc | 36 uint32_t num_handles; member in struct:mojo::edk::DispatcherInfo 44 size_t num_handles = 0; local 51 &dispatcher_info[i].num_handles); 54 num_handles += dispatcher_info[i].num_handles; 59 header_size + num_bytes, num_ports, num_handles); 86 new PlatformHandleVector(num_handles)); 99 dh->num_platform_handles = info.num_handles; 112 handle_index += info.num_handles;
|
message_for_transit.h | 90 size_t num_handles() const { return header()->num_dispatchers; } function in class:mojo::edk::MessageForTransit
|
channel.h | 62 uint16_t num_handles; member in struct:mojo::edk::Channel::Message::LegacyHeader 83 uint16_t num_handles; member in struct:mojo::edk::Channel::Message::Header 143 size_t num_handles() const; 277 size_t num_handles,
|
message_pipe_unittest.cc | 422 // Non-zero num_handles with null handles array. 460 uint32_t num_handles = 0; local 462 MojoReadMessageNew(b, &message, &num_bytes, nullptr, &num_handles, 466 EXPECT_EQ(0u, num_handles);
|
channel.cc | 113 legacy_header()->num_handles = static_cast<uint16_t>(max_handles); 196 const uint16_t num_handles = local 197 header ? header->num_handles : legacy_header->num_handles; 198 if (num_handles > max_handles || max_handles > kMaxAttachedHandles) { 199 DLOG(ERROR) << "Decoding invalid message: " << num_handles << " > " 222 message->header()->num_handles = header->num_handles; 224 message->legacy_header()->num_handles = legacy_header->num_handles; 271 size_t Channel::Message::num_handles() const { function in class:mojo::edk::Channel::Message 635 const uint16_t num_handles = local [all...] |
core_unittest.cc | 225 // If |num_handles| is invalid, it should leave |result_index| and 308 // |num_handles|. 418 // |num_handles|. 486 // |num_handles|. 686 uint32_t num_handles; local 706 num_handles = arraysize(handles); 709 h_passing[1], buffer, &num_bytes, handles, &num_handles, 713 ASSERT_EQ(0u, num_handles); 747 num_handles = arraysize(handles); 750 h_passed[1], buffer, &num_bytes, handles, &num_handles, 1036 uint32_t num_handles; local [all...] |
data_pipe_unittest.cc | 1599 uint32_t num_handles = 1; local 1676 uint32_t num_handles = 1; local 1820 uint32_t num_handles = arraysize(handles); local 1850 uint32_t num_handles = arraysize(handles); local [all...] |
multiprocess_message_pipe_unittest.cc | 393 int num_handles = 0; local 394 sscanf(read_buffer.c_str(), "%s %d", hello, &num_handles); 396 CHECK_GT(num_handles, 0); 398 for (int i = 0; i < num_handles; ++i) { [all...] |
node_channel.cc | 135 size_t num_handles, 138 new Channel::Message(sizeof(Header) + payload_size, num_handles)); 178 size_t num_handles) { 179 return CreateMessage(MessageType::PORTS_MESSAGE, payload_size, num_handles, 446 MessageType::PORTS_MESSAGE_FROM_RELAY, num_bytes, message->num_handles(), 615 size_t num_handles = handles ? handles->size() : 0; local 617 new Channel::Message(payload_size, num_handles)); 737 size_t num_handles = handles ? handles->size() : 0; local 739 new Channel::Message(num_bytes, num_handles));
|
/external/libmojo/mojo/public/cpp/test_support/lib/ |
test_utils.cc | 31 uint32_t num_bytes = 0, num_handles = 0; local 37 &num_handles, 50 assert(!num_handles); 60 &num_handles,
|
/external/curl/tests/libtest/ |
lib1900.c | 37 static int num_handles; variable 57 num_handles = 0; 67 urltime[num_handles] = filetime; 68 urlstring[num_handles] = strdup(buf); 69 num_handles++; 85 return num_handles; 91 for(i = 0; i < num_handles; i++) { 106 for(i = 0; i < num_handles; i++) { 129 for(i = 0; i < num_handles; i++) { 177 if(handlenum < num_handles) { [all...] |
libntlmconnect.c | 93 int num_handles = 0; local 135 easy_init(easy[num_handles]); 137 if(num_handles % 3 == 2) { 139 easy_setopt(easy[num_handles], CURLOPT_HTTPAUTH, CURLAUTH_NTLM); 143 easy_setopt(easy[num_handles], CURLOPT_HTTPAUTH, CURLAUTH_BASIC); 145 easy_setopt(easy[num_handles], CURLOPT_FRESH_CONNECT, 1L); 146 easy_setopt(easy[num_handles], CURLOPT_URL, full_url); 147 easy_setopt(easy[num_handles], CURLOPT_VERBOSE, 1L); 148 easy_setopt(easy[num_handles], CURLOPT_HTTPGET, 1L); 149 easy_setopt(easy[num_handles], CURLOPT_USERPWD, "testuser:testpass") [all...] |
/external/libmojo/mojo/edk/js/ |
core.cc | 159 uint32_t num_handles = 0; local 161 handle.value(), NULL, &num_bytes, NULL, &num_handles, flags); 170 std::vector<mojo::Handle> handles(num_handles); 181 &num_handles, 185 CHECK(handles.size() == num_handles);
|
/external/libmojo/mojo/edk/test/ |
mojo_test_base.cc | 116 uint32_t num_handles) { 119 handles, num_handles, MOJO_WRITE_MESSAGE_FLAG_NONE), 138 uint32_t num_handles = 0; local 139 CHECK_EQ(MojoReadMessage(mp, nullptr, &message_size, nullptr, &num_handles, 142 CHECK_EQ(expected_num_handles, num_handles); 146 &num_handles, MOJO_READ_MESSAGE_FLAG_NONE), 149 CHECK_EQ(num_handles, expected_num_handles); 162 uint32_t num_handles = 0; local 163 CHECK_EQ(MojoReadMessage(mp, nullptr, &message_size, nullptr, &num_handles, 166 CHECK(num_handles == 0 || num_handles == 1) 199 uint32_t num_handles = 0; local [all...] |
/external/libmojo/mojo/android/system/ |
core_impl.cc | 163 uint32_t num_handles = 0; local 167 num_handles = env->GetDirectBufferCapacity(handles_buffer) / 4; 171 mojo_handle, buffer_start, buffer_size, handles, num_handles, flags); 189 uint32_t num_handles = 0; local 193 num_handles = env->GetDirectBufferCapacity(handles_buffer) / 4; 196 mojo_handle, buffer_start, &buffer_size, handles, &num_handles, flags); 199 num_handles);
|
/external/libmojo/mojo/public/cpp/bindings/lib/ |
message.cc | 255 uint32_t num_bytes = 0, num_handles = 0; local 260 &num_handles, 263 DCHECK_GT(num_handles, 0u); 264 handles.resize(num_handles); 269 &num_handles,
|
/system/bt/stack/l2cap/ |
l2c_link.cc | 1209 uint8_t num_handles, xx; local [all...] |
/external/libdrm/freedreno/kgsl/ |
kgsl_drm.h | 171 uint32_t num_handles; member in struct:drm_kgsl_gem_lock_handles
|
/external/wpa_supplicant_8/src/utils/ |
eloop_win.c | 69 size_t num_handles; member in struct:eloop_data 79 eloop.num_handles = 1; 80 eloop.handles = os_malloc(eloop.num_handles * 101 if (eloop.num_handles > eloop.reader_count + eloop.event_count + 8) 103 n = os_realloc_array(eloop.handles, eloop.num_handles * 2, 108 eloop.num_handles *= 2;
|
/system/bt/stack/gatt/ |
gatt_api.cc | 168 uint16_t num_handles = compute_service_size(service, count); local 186 if (num_handles > (0xFFFF - s_hdl + 1)) { 189 num_handles); 197 list.asgn_range.e_handle = s_hdl + num_handles - 1; 205 gatts_init_service_db(list.svc_db, svc_uuid, is_pri, s_hdl, num_handles); 209 num_handles, list.asgn_range.s_handle, list.asgn_range.e_handle, [all...] |