/external/curl/tests/libtest/ |
D | libntlmconnect.c | 93 int num_handles = 0; in test() local 135 easy_init(easy[num_handles]); in test() 137 if(num_handles % 3 == 2) { in test() 139 easy_setopt(easy[num_handles], CURLOPT_HTTPAUTH, CURLAUTH_NTLM); in test() 143 easy_setopt(easy[num_handles], CURLOPT_HTTPAUTH, CURLAUTH_BASIC); in test() 145 easy_setopt(easy[num_handles], CURLOPT_FRESH_CONNECT, 1L); in test() 146 easy_setopt(easy[num_handles], CURLOPT_URL, full_url); in test() 147 easy_setopt(easy[num_handles], CURLOPT_VERBOSE, 1L); in test() 148 easy_setopt(easy[num_handles], CURLOPT_HTTPGET, 1L); in test() 149 easy_setopt(easy[num_handles], CURLOPT_USERPWD, "testuser:testpass"); in test() [all …]
|
/external/tpm2-tss/src/tss2-fapi/api/ |
D | Fapi_GetPollHandles.c | 49 size_t *num_handles) in Fapi_GetPollHandles() argument 58 check_not_null(num_handles); in Fapi_GetPollHandles() 67 r = ifapi_io_poll_handles(&context->io, handles, num_handles); in Fapi_GetPollHandles() 69 LOG_DEBUG("Returning %zi IO poll handles.", *num_handles); in Fapi_GetPollHandles() 81 r = Esys_GetPollHandles(context->esys, handles, num_handles); in Fapi_GetPollHandles() 87 LOG_DEBUG("Returning %zi ESYS poll handles.", *num_handles); in Fapi_GetPollHandles()
|
/external/libchrome/mojo/core/ |
D | channel.cc | 135 legacy_header()->num_handles = static_cast<uint16_t>(max_handles); in Message() 222 const uint16_t num_handles = in Deserialize() local 223 header ? header->num_handles : legacy_header->num_handles; in Deserialize() 224 if (num_handles > max_handles || max_handles > kMaxAttachedHandles) { in Deserialize() 225 DLOG(ERROR) << "Decoding invalid message: " << num_handles << " > " in Deserialize() 248 message->header()->num_handles = header->num_handles; in Deserialize() 250 message->legacy_header()->num_handles = legacy_header->num_handles; in Deserialize() 254 std::vector<PlatformHandleInTransit> handles(num_handles); in Deserialize() 255 for (size_t i = 0; i < num_handles; i++) { in Deserialize() 338 size_t Channel::Message::num_handles() const { in num_handles() function in mojo::core::Channel::Message [all …]
|
D | user_message_impl.cc | 91 uint32_t num_handles; in CreateOrExtendSerializedEventMessage() member 106 original_num_handles = original_message->num_handles(); in CreateOrExtendSerializedEventMessage() 127 &new_dispatcher_info[i].num_handles); in CreateOrExtendSerializedEventMessage() 130 num_new_handles += new_dispatcher_info[i].num_handles; in CreateOrExtendSerializedEventMessage() 134 size_t num_handles = original_num_handles + num_new_handles; in CreateOrExtendSerializedEventMessage() local 145 total_buffer_size, total_size, &data, num_handles); in CreateOrExtendSerializedEventMessage() 181 handles.resize(num_handles); in CreateOrExtendSerializedEventMessage() 222 dh->num_platform_handles = info.num_handles; in CreateOrExtendSerializedEventMessage() 237 handle_index += info.num_handles; in CreateOrExtendSerializedEventMessage() 318 std::vector<MojoHandle> handles(num_handles()); in ~UserMessageImpl() [all …]
|
D | platform_handle_dispatcher.cc | 37 uint32_t* num_handles) { in StartSerialize() argument 40 *num_handles = 1; in StartSerialize() 79 size_t num_handles) { in Deserialize() argument 80 if (num_bytes || num_ports || num_handles != 1) in Deserialize()
|
D | broker_messages.h | 64 size_t num_handles, 70 Channel::MessagePtr message(new Channel::Message(message_size, num_handles)); 83 size_t num_handles, in CreateBrokerMessage() argument 86 new Channel::Message(sizeof(BrokerMessageHeader), num_handles)); in CreateBrokerMessage()
|
D | message_unittest.cc | 64 virtual void GetSerializedSize(size_t* num_bytes, size_t* num_handles) = 0; 73 size_t num_handles = 0; in SerializeMessageContext() local 74 message->GetSerializedSize(&num_bytes, &num_handles); in SerializeMessageContext() 75 std::vector<MojoHandle> handles(num_handles); in SerializeMessageContext() 76 if (num_handles) in SerializeMessageContext() 86 base::checked_cast<uint32_t>(num_handles), &options, &buffer, in SerializeMessageContext() 111 void GetSerializedSize(size_t* num_bytes, size_t* num_handles) override { in GetSerializedSize() argument 141 void GetSerializedSize(size_t* num_bytes, size_t* num_handles) override { in GetSerializedSize() argument 143 *num_handles = handles_.size(); in GetSerializedSize() 414 uint32_t num_handles = 2; in TEST_F() local [all …]
|
D | channel.h | 65 uint16_t num_handles; member 86 uint16_t num_handles; member 176 size_t num_handles() const; 340 size_t num_handles,
|
D | channel_posix.cc | 190 size_t num_handles, in GetReadPlatformHandles() argument 195 if (num_handles > std::numeric_limits<uint16_t>::max()) in GetReadPlatformHandles() 203 sizeof(MachPortsExtraHeader) + num_handles * sizeof(MachPortsEntry)) { in GetReadPlatformHandles() 209 if (num_mach_ports > num_handles) in GetReadPlatformHandles() 211 if (incoming_fds_.size() + num_mach_ports < num_handles) in GetReadPlatformHandles() 214 std::vector<PlatformHandleInTransit> handles_in_transit(num_handles); in GetReadPlatformHandles() 221 for (size_t i = 0, mach_port_index = 0; i < num_handles; ++i) { in GetReadPlatformHandles() 273 if (incoming_fds_.size() < num_handles) in GetReadPlatformHandles() 276 handles->resize(num_handles); in GetReadPlatformHandles() 277 for (size_t i = 0; i < num_handles; ++i) { in GetReadPlatformHandles()
|
D | platform_handle_dispatcher_unittest.cc | 82 uint32_t num_handles = 0; in TEST() local 84 dispatcher->StartSerialize(&num_bytes, &num_ports, &num_handles); in TEST() 88 EXPECT_EQ(1u, num_handles); in TEST()
|
D | platform_handle_dispatcher.h | 30 uint32_t* num_handles) override; 44 size_t num_handles);
|
/external/libchrome/mojo/public/cpp/system/ |
D | message_pipe.cc | 15 size_t num_handles, in WriteMessageRaw() argument 28 base::checked_cast<uint32_t>(num_handles), in WriteMessageRaw() 59 uint32_t num_handles = 0; in ReadMessageRaw() local 61 nullptr, &num_handles); in ReadMessageRaw() 64 handles->resize(num_handles); in ReadMessageRaw() 67 reinterpret_cast<MojoHandle*>(handles->data()), &num_handles); in ReadMessageRaw() 79 if (handles && !num_handles) in ReadMessageRaw()
|
D | wait.cc | 115 size_t num_handles, in WaitMany() argument 125 std::vector<scoped_refptr<TriggerContext>> contexts(num_handles); in WaitMany() 126 std::vector<base::WaitableEvent*> events(num_handles); in WaitMany() 127 for (size_t i = 0; i < num_handles; ++i) { in WaitMany() 156 size_t index = num_handles; in WaitMany() 164 for (size_t i = 0; i < num_handles; ++i) { in WaitMany() 182 DCHECK_LT(index, num_handles); in WaitMany() 188 for (size_t i = 0; i < num_handles; ++i) { in WaitMany()
|
D | message.h | 72 uint32_t num_handles = 0; in GetMessageData() local 78 num_bytes, nullptr, &num_handles); in GetMessageData() 85 handles->resize(num_handles); in GetMessageData() 88 &num_handles); in GetMessageData()
|
/external/libchrome/mojo/public/cpp/bindings/lib/ |
D | validation_context.cc | 14 size_t num_handles, in ValidationContext() argument 24 handle_end_(static_cast<uint32_t>(num_handles)), in ValidationContext() 36 if (handle_end_ < num_handles) { in ValidationContext()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_texture.c | 439 if (likely(!bound_handles->num_handles)) in st_destroy_bound_texture_handles_per_stage() 442 for (i = 0; i < bound_handles->num_handles; i++) { in st_destroy_bound_texture_handles_per_stage() 450 bound_handles->num_handles = 0; in st_destroy_bound_texture_handles_per_stage() 479 if (likely(!bound_handles->num_handles)) in st_destroy_bound_image_handles_per_stage() 482 for (i = 0; i < bound_handles->num_handles; i++) { in st_destroy_bound_image_handles_per_stage() 490 bound_handles->num_handles = 0; in st_destroy_bound_image_handles_per_stage() 589 (bound_handles->num_handles + 1) * sizeof(uint64_t)); in st_make_bound_samplers_resident() 590 bound_handles->handles[bound_handles->num_handles] = handle; in st_make_bound_samplers_resident() 591 bound_handles->num_handles++; in st_make_bound_samplers_resident() 636 (bound_handles->num_handles + 1) * sizeof(uint64_t)); in st_make_bound_images_resident() [all …]
|
/external/libchrome/mojo/public/java/system/javatests/ |
D | validation_test_util.cc | 28 size_t num_handles; in JNI_ValidationTestUtil_ParseData() local 30 if (!test::ParseValidationTestInput(input, &data, &num_handles, in JNI_ValidationTestUtil_ParseData() 43 return Java_ValidationTestUtil_buildData(env, byte_buffer, num_handles, in JNI_ValidationTestUtil_ParseData()
|
/external/tpm2-tss/test/unit/ |
D | esys-getpollhandles.c | 36 size_t * num_handles); 49 size_t * num_handles) in tcti_fake_getpollhandles() argument 53 *num_handles = 2; in tcti_fake_getpollhandles() 56 assert_int_equal(*num_handles, 2); in tcti_fake_getpollhandles()
|
D | tctildr-tcti.c | 77 size_t *num_handles) in tctildr_mock_get_poll_handles() argument 211 size_t num_handles = sizeof (handles); in tctildr_get_poll_handles_test() local 214 rc = Tss2_Tcti_GetPollHandles (context, handles, &num_handles); in tctildr_get_poll_handles_test() 222 size_t num_handles = sizeof (handles); in tctildr_get_poll_handles_null_test() local 225 rc = tctildr_get_poll_handles (NULL, handles, &num_handles); in tctildr_get_poll_handles_null_test()
|
/external/tpm2-tss/test/integration/ |
D | fapi-get-random.int.c | 39 size_t num_handles; in test_fapi_get_random() local 51 r = Fapi_GetPollHandles(context, &handles, &num_handles); in test_fapi_get_random() 53 poll(handles, num_handles, -1); in test_fapi_get_random()
|
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/ |
D | radv_amdgpu_cs.c | 116 uint32_t num_handles; member 725 unsigned num_handles = 0; in radv_amdgpu_get_bo_list() local 736 assert(num_handles < ws->num_buffers); in radv_amdgpu_get_bo_list() 737 handles[num_handles].bo_handle = bo->bo_handle; in radv_amdgpu_get_bo_list() 738 handles[num_handles].bo_priority = bo->priority; in radv_amdgpu_get_bo_list() 739 num_handles++; in radv_amdgpu_get_bo_list() 753 num_handles = cs->num_buffers; in radv_amdgpu_get_bo_list() 756 num_handles = num_extra_bo; in radv_amdgpu_get_bo_list() 795 if (num_handles == 0 && !cs->num_virtual_buffers) { in radv_amdgpu_get_bo_list() 797 num_handles = cs->num_buffers; in radv_amdgpu_get_bo_list() [all …]
|
/external/libchrome/mojo/public/java/system/ |
D | core_impl.cc | 123 uint32_t num_handles = 0; in JNI_CoreImpl_WriteMessage() local 127 num_handles = env->GetDirectBufferCapacity(handles_buffer) / 4; in JNI_CoreImpl_WriteMessage() 132 buffer_size, handles, num_handles, flags); in JNI_CoreImpl_WriteMessage() 155 uint32_t num_handles = 0; in JNI_CoreImpl_ReadMessage() local 158 nullptr, &num_handles); in JNI_CoreImpl_ReadMessage() 160 handles.resize(num_handles); in JNI_CoreImpl_ReadMessage() 162 handles.data(), &num_handles); in JNI_CoreImpl_ReadMessage() 173 env, reinterpret_cast<jint*>(handles.data()), num_handles)); in JNI_CoreImpl_ReadMessage()
|
/external/libchrome/mojo/public/cpp/bindings/tests/ |
D | validation_unittest.cc | 69 size_t num_handles; in TestInputParser() local 73 ParseValidationTestInput(input, &data, &num_handles, &error_message); in TestInputParser() 76 expected_num_handles == num_handles) { in TestInputParser() 84 EXPECT_EQ(expected_num_handles, num_handles); in TestInputParser() 127 size_t* num_handles) { in ReadAndParseDataFile() argument 133 if (!ParseValidationTestInput(input, data, num_handles, &error_message)) { in ReadAndParseDataFile() 169 size_t num_handles; in ReadTestCase() local 170 if (!ReadAndParseDataFile(GetPath(test, ".data"), &data, &num_handles) || in ReadTestCase() 178 message->mutable_handles()->resize(num_handles); in ReadTestCase()
|
/external/perfetto/src/base/ |
D | subprocess_windows.cc | 240 DWORD num_handles = 0; in Wait() local 258 wait_handles[num_handles++] = *s_->win_proc_handle; in Wait() 272 wait_handles[num_handles++] = s_->stdouterr_done_event.fd(); in Wait() 276 if (num_handles == 0) { in Wait() 293 ::WaitForMultipleObjects(num_handles, wait_handles, false, wait_ms); in Wait()
|
/external/tpm2-tss/src/tss2-tcti/ |
D | tcti-device.c | 367 size_t *num_handles) in tcti_device_get_poll_handles() argument 376 if (num_handles == NULL) { in tcti_device_get_poll_handles() 380 if (handles != NULL && *num_handles < 1) { in tcti_device_get_poll_handles() 384 *num_handles = 1; in tcti_device_get_poll_handles() 393 (void)(num_handles); in tcti_device_get_poll_handles()
|