Searched refs:actual_length (Results 1 - 25 of 35) sorted by relevance

12

/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
H A Dasyncstuntcpsocket.cc122 size_t actual_length = expected_pkt_len + pad_bytes;
124 if (*len < actual_length) {
131 *len -= actual_length;
133 memmove(data, data + actual_length, *len);
/external/chromium_org/device/bluetooth/
H A Dbluetooth_low_energy_win.cc154 bool CheckExpectedLength(size_t actual_length, argument
158 if (actual_length != expected_length) {
186 DWORD actual_length = required_length; local
192 actual_length,
198 actual_length, required_length, kDeviceInfoError, error)) {
203 new DevicePropertyValue(prop_type, prop_value.Pass(), actual_length));
225 ULONG actual_length = required_length; local
232 actual_length,
237 actual_length, required_length, kDeviceInfoError, error)) {
242 property_type, property_value.Pass(), actual_length)
258 ULONG actual_length = required_length; local
389 USHORT actual_length = required_length; local
440 ULONG actual_length = required_length; local
[all...]
/external/libusb/libusb/os/
H A Dlinux_usbfs.h77 unsigned int actual_length; member in struct:usbfs_iso_packet_desc
92 int actual_length; member in struct:usbfs_urb
H A Dlinux_usbfs.c1820 if (urb->actual_length > 0) {
1824 usbi_dbg("received %d bytes of surplus data", urb->actual_length);
1829 memmove(target, urb->buffer, urb->actual_length);
1831 itransfer->transferred += urb->actual_length;
1851 (urb->status == -EOVERFLOW && urb->actual_length > 0))
1852 itransfer->transferred += urb->actual_length;
1866 usbi_dbg("overflow, actual_length=%d", urb->actual_length);
1886 } else if (urb->actual_length < urb->buffer_length) {
1893 usbi_dbg("short transfer %d/%d --> complete!", urb->actual_length,
[all...]
/external/libusb/libusb/
H A Dsync.c40 usbi_dbg("actual_length=%d", transfer->actual_length);
120 transfer->actual_length);
124 r = transfer->actual_length;
149 usbi_dbg("actual_length=%d", transfer->actual_length);
188 *transferred = transfer->actual_length;
H A Dlibusb.h691 unsigned int actual_length; member in struct:libusb_iso_packet_descriptor
748 int actual_length; member in struct:libusb_transfer
1127 int *actual_length, unsigned int timeout);
1131 int *actual_length, unsigned int timeout);
/external/chromium_org/third_party/webrtc/test/testsupport/
H A Dpacket_reader_unittest.cc30 int actual_length,
33 EXPECT_EQ(expected_length, actual_length);
36 actual_length));
29 VerifyPacketData(int expected_length, int actual_length, uint8_t* original_data_pointer, uint8_t* new_data_pointer) argument
/external/chromium_org/ui/base/l10n/
H A Dl10n_util_android.cc58 int32_t actual_length = uloc_func(locale.c_str(), local
63 DCHECK(actual_length < max_capacity);
64 result.resize(actual_length);
/external/webrtc/src/modules/audio_processing/test/testsupport/
H A Dpacket_reader_unittest.cc30 int actual_length,
33 EXPECT_EQ(expected_length, actual_length);
36 actual_length));
29 VerifyPacketData(int expected_length, int actual_length, WebRtc_UWord8* original_data_pointer, WebRtc_UWord8* new_data_pointer) argument
/external/webrtc/test/testsupport/
H A Dpacket_reader_unittest.cc30 int actual_length,
33 EXPECT_EQ(expected_length, actual_length);
36 actual_length));
29 VerifyPacketData(int expected_length, int actual_length, WebRtc_UWord8* original_data_pointer, WebRtc_UWord8* new_data_pointer) argument
/external/chromium_org/device/usb/
H A Dusb_device_handle_impl.cc584 DCHECK_GE(handle->actual_length, 0) << "Negative actual length received";
585 size_t actual_length = local
586 static_cast<size_t>(std::max(handle->actual_length, 0));
588 DCHECK(transfer.length >= actual_length)
596 if (actual_length > 0) {
600 if (transfer.length >= (LIBUSB_CONTROL_SETUP_SIZE + actual_length)) {
605 std::max(actual_length, static_cast<size_t>(1))));
608 actual_length);
619 if (actual_length == 0) {
623 if (packet->actual_length >
[all...]
/external/chromium_org/third_party/libusb/src/libusb/
H A Dsync.c40 usbi_dbg("actual_length=%d", transfer->actual_length);
126 transfer->actual_length);
130 r = transfer->actual_length;
181 *transferred = transfer->actual_length;
H A Dlibusb.h1185 unsigned int actual_length; member in struct:libusb_iso_packet_descriptor
1242 int actual_length; member in struct:libusb_transfer
1712 int *actual_length, unsigned int timeout);
1716 int *actual_length, unsigned int timeout);
/external/chromium_org/third_party/libusb/src/libusb/os/
H A Dlinux_usbfs.h80 unsigned int actual_length; member in struct:usbfs_iso_packet_desc
95 int actual_length; member in struct:usbfs_urb
H A Dlinux_usbfs.c2163 if (urb->actual_length > 0) {
2165 usbi_dbg("received %d bytes of surplus data", urb->actual_length);
2170 memmove(target, urb->buffer, urb->actual_length);
2172 itransfer->transferred += urb->actual_length;
2185 itransfer->transferred += urb->actual_length;
2210 usbi_dbg("overflow, actual_length=%d", urb->actual_length);
2234 } else if (urb->actual_length < urb->buffer_length) {
2236 urb->actual_length, urb->buffer_length);
2334 lib_desc->actual_length
[all...]
/external/kernel-headers/original/uapi/linux/
H A Dusbdevice_fs.h92 unsigned int actual_length; member in struct:usbdevfs_iso_packet_desc
103 int actual_length; member in struct:usbdevfs_urb
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/data/
H A Dbyte_array.cc54 int32_t actual_length = std::min<int32_t>(length, filled_length_ - index); local
55 return InternalGet(index, b, offset, actual_length);
89 int32_t actual_length = std::min<int32_t>(length, Size() - index); local
90 int32_t bytes_written = InternalPut(index, b, offset, actual_length);
/external/sfntly/cpp/src/sfntly/data/
H A Dbyte_array.cc54 int32_t actual_length = std::min<int32_t>(length, filled_length_ - index); local
55 return InternalGet(index, b, offset, actual_length);
89 int32_t actual_length = std::min<int32_t>(length, Size() - index); local
90 int32_t bytes_written = InternalPut(index, b, offset, actual_length);
/external/chromium_org/third_party/webrtc/base/
H A Dtestutils.h473 size_t actual_length)
475 if ((expected_length == actual_length)
484 size_t buffer_size = actual_length * 2 + 1;
487 reinterpret_cast<const char*>(actual), actual_length);
488 msg << "\n Actual: " << buffer << " [" << actual_length << "]"; local
523 #define EXPECT_MEMEQ(expected, expected_length, actual, actual_length) \
525 actual, actual_length)
527 #define ASSERT_MEMEQ(expected, expected_length, actual, actual_length) \
529 actual, actual_length)
466 CmpHelperMemEq(const char* expected_expression, const char* expected_length_expression, const char* actual_expression, const char* actual_length_expression, const void* expected, size_t expected_length, const void* actual, size_t actual_length) argument
/external/chromium_org/base/i18n/
H A Dicu_string_conversions.cc281 int actual_length = unorm_normalize( local
286 normalized_utf16.assign(buffer.get(), actual_length);
/external/libusb-compat/libusb/
H A Dcore.c749 int actual_length; local
753 &actual_length, timeout);
757 if (r == 0 || (r == LIBUSB_ERROR_TIMEOUT && actual_length > 0))
758 return actual_length;
794 int actual_length; local
798 &actual_length, timeout);
802 if (r == 0 || (r == LIBUSB_ERROR_TIMEOUT && actual_length > 0))
803 return actual_length;
/external/chromium_org/chrome/browser/
H A Dbrowser_keyevents_browsertest.cc185 int actual_length; local
186 ASSERT_NO_FATAL_FAILURE(GetResultLength(tab_index, &actual_length));
187 ASSERT_GE(actual_length, length);
188 for (int i = 0; i < actual_length; ++i) {
/external/chromium_org/v8/src/
H A Dprofile-generator.cc92 int actual_length = 0; local
95 &actual_length);
96 return AddOrDisposeString(data.Detach(), actual_length);
/external/libusb/examples/
H A Ddpfp.c159 printf("async cb_mode_changed length=%d actual_length=%d\n",
160 transfer->length, transfer->actual_length);
H A Ddpfp_threaded.c188 printf("async cb_mode_changed length=%d actual_length=%d\n",
189 transfer->length, transfer->actual_length);

Completed in 467 milliseconds

12