Home
last modified time | relevance | path

Searched refs:actual_length (Results 1 – 25 of 34) sorted by relevance

12

/external/crosvm/devices/src/usb/host_backend/
Dusb_endpoint.rs162 let actual_length = t.actual_length(); in do_handle_transfer() localVariable
165 .on_transfer_complete(&status, actual_length as u32) in do_handle_transfer()
211 let actual_length = t.actual_length() as usize; in do_handle_transfer() localVariable
215 let actual_length = cmp::min(actual_length, copied_length); in do_handle_transfer() localVariable
218 .on_transfer_complete(&status, actual_length as u32) in do_handle_transfer()
Dhost_device.rs185 let actual_length = t.actual_length(); in execute_control_transfer() localVariable
198 usb_debug!("transfer completed with actual length {}", actual_length); in execute_control_transfer()
200 .on_transfer_complete(&status, actual_length as u32) in execute_control_transfer()
/external/curl/lib/vtls/
Dschannel_verify.c308 DWORD actual_length = 0; in cert_get_name_string() local
327 actual_length = CertGetNameString(cert_context, in cert_get_name_string()
333 return actual_length; in cert_get_name_string()
340 actual_length = 1; in cert_get_name_string()
347 return actual_length; in cert_get_name_string()
353 return actual_length; in cert_get_name_string()
361 return actual_length; in cert_get_name_string()
379 return actual_length; in cert_get_name_string()
399 actual_length += (DWORD)current_length; in cert_get_name_string()
403 if((actual_length + current_length) > length) { in cert_get_name_string()
[all …]
/external/webrtc/p2p/base/
Dasync_stun_tcp_socket.cc113 size_t actual_length = expected_pkt_len + pad_bytes; in ProcessInput() local
115 if (*len < actual_length) { in ProcessInput()
122 *len -= actual_length; in ProcessInput()
124 memmove(data, data + actual_length, *len); in ProcessInput()
/external/libusb/examples/
Dsam3u_benchmark.c92 printf("pack%d length:%u, actual_length:%u\n", i, pack->length, pack->actual_length); in cb_xfr()
96 printf("length:%u, actual_length:%u\n", xfr->length, xfr->actual_length); in cb_xfr()
97 for (i = 0; i < xfr->actual_length; i++) { in cb_xfr()
106 num_bytes += xfr->actual_length; in cb_xfr()
/external/libusb/libusb/
Dsync.c39 usbi_dbg("actual_length=%d", transfer->actual_length); in sync_transfer_cb()
137 transfer->actual_length); in libusb_control_transfer()
141 r = transfer->actual_length; in libusb_control_transfer()
197 *transferred = transfer->actual_length; in do_sync_bulk_transfer()
Dlibusb.h1197 unsigned int actual_length; member
1254 int actual_length; member
1801 int *actual_length, unsigned int timeout);
1805 int *actual_length, unsigned int timeout);
/external/sfntly/cpp/src/sfntly/data/
Dbyte_array.cc56 int32_t actual_length = std::min<int32_t>(length, filled_length_ - index); in Get() local
57 return InternalGet(index, b, offset, actual_length); in Get()
91 int32_t actual_length = std::min<int32_t>(length, Size() - index); in Put() local
92 int32_t bytes_written = InternalPut(index, b, offset, actual_length); in Put()
/external/webrtc/test/logging/
Dlog_writer.h35 const int actual_length = in LogWriteFormat() local
37 RTC_DCHECK_GE(actual_length, 0); in LogWriteFormat()
/external/webrtc/rtc_base/strings/
Dstring_builder.cc133 const int actual_length = in AppendFormat() local
135 RTC_DCHECK_GE(actual_length, 0); in AppendFormat()
/external/harfbuzz_ng/test/api/
Dhb-test.h172 unsigned int expected_length, actual_length; in hb_test_assert_blobs_equal() local
174 const char *raw_actual = hb_blob_get_data (actual_blob, &actual_length); in hb_test_assert_blobs_equal()
175 g_assert_cmpint(expected_length, ==, actual_length); in hb_test_assert_blobs_equal()
/external/kernel-headers/original/uapi/linux/
Dusbdevice_fs.h113 unsigned int actual_length; member
124 int actual_length; member
/external/libusb/libusb/os/
Dlinux_usbfs.h69 unsigned int actual_length; member
85 int actual_length; member
Dlinux_usbfs.c2346 if (urb->actual_length > 0) { in handle_bulk_completion()
2349 usbi_dbg("received %d bytes of surplus data", urb->actual_length); in handle_bulk_completion()
2354 memmove(target, urb->buffer, urb->actual_length); in handle_bulk_completion()
2356 itransfer->transferred += urb->actual_length; in handle_bulk_completion()
2369 itransfer->transferred += urb->actual_length; in handle_bulk_completion()
2394 usbi_dbg("overflow, actual_length=%d", urb->actual_length); in handle_bulk_completion()
2417 } else if (urb->actual_length < urb->buffer_length) { in handle_bulk_completion()
2419 urb->actual_length, urb->buffer_length); in handle_bulk_completion()
2519 lib_desc->actual_length = urb_desc->actual_length; in handle_iso_completion()
2579 itransfer->transferred += urb->actual_length; in handle_control_completion()
[all …]
Dhaiku_usb_backend.cpp149 (fLibusbTransfer->iso_packet_desc[i]).actual_length = packetDescriptors[i].actual_length; in Do()
Dsunos_usb.c1174 xfer->actual_length = in sunos_async_callback()
1179 usb_dump_data(xfer->buffer, xfer->actual_length); in sunos_async_callback()
1182 xfer->actual_length); in sunos_async_callback()
/external/rust/crates/plotters/src/coord/ranged1d/types/
Dnumeric.rs84 let actual_length = limit.1 - limit.0; localVariable
86 if actual_length == 0 {
90 return limit.0 + (actual_length as f64 * logic_length + 1e-3).floor() as i32;
/external/crosvm/usb_sys/src/
Dlib.rs114 pub actual_length: c_uint, field
127 pub actual_length: c_int, field
/external/libusb/include/libusb/
Dlibusb.h1197 unsigned int actual_length; member
1254 int actual_length; member
1801 int *actual_length, unsigned int timeout);
1805 int *actual_length, unsigned int timeout);
/external/libchrome/base/metrics/
Dpersistent_memory_allocator_unittest.cc39 int64_t actual_length; in SetFileLength() local
40 DCHECK(GetFileSize(path, &actual_length)); in SetFileLength()
41 DCHECK_EQ(length, static_cast<size_t>(actual_length)); in SetFileLength()
993 int64_t actual_length; in TEST_F() local
994 ASSERT_TRUE(GetFileSize(file_path, &actual_length)); in TEST_F()
995 EXPECT_EQ(file_length, static_cast<size_t>(actual_length)); in TEST_F()
/external/python/cffi/cffi/
Drecompiler.py827 actual_length = tp_field.length
828 if actual_length == '...':
830 actual_length = '_cffi_array_len(((%s)0)->%s)' % (
834 tp_field = model.ArrayType(tp_item, actual_length)
1156 actual_length = tp.length
1157 if actual_length == '...':
1158 actual_length = '_cffi_array_len(%s)' % (global_name,)
1160 tp = model.ArrayType(tp_item, actual_length)
/external/llvm-project/lldb/tools/lldb-vscode/
DVSCode.cpp233 int actual_length = vsnprintf(buffer, sizeof(buffer), format, args); in SendFormattedOutput() local
236 o, llvm::StringRef(buffer, std::min<int>(actual_length, sizeof(buffer)))); in SendFormattedOutput()
/external/crosvm/usb_util/src/
Ddevice.rs414 pub fn actual_length(&self) -> usize { in actual_length() method
415 self.urb().actual_length as usize in actual_length()
/external/autotest/server/cros/bluetooth/
Dbluetooth_adapter_audio_tests.py1031 actual_length = int(received_media_info.get('length'))
1033 actual_length = 0
1046 result_length = bool(expected_length // 1000 == actual_length // 1000)
/external/vulkan-validation-layers/layers/
Ddescriptor_sets.h603 …const IndexRange GetGlobalIndexRangeFromBinding(const uint32_t binding, bool actual_length = false…
604 …if (actual_length && binding == p_layout_->GetMaxBinding() && IsVariableDescriptorCount(binding)) {

12