Home
last modified time | relevance | path

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

12

/third_party/curl/lib/vtls/
Dschannel_verify.c346 DWORD actual_length = 0; in cert_get_name_string() local
365 actual_length = CertGetNameString(cert_context, in cert_get_name_string()
371 return actual_length; in cert_get_name_string()
378 actual_length = 1; in cert_get_name_string()
385 return actual_length; in cert_get_name_string()
391 return actual_length; in cert_get_name_string()
399 return actual_length; in cert_get_name_string()
417 return actual_length; in cert_get_name_string()
437 actual_length += (DWORD)current_length; in cert_get_name_string()
441 if((actual_length + current_length) > length) { in cert_get_name_string()
[all …]
/third_party/ffmpeg/libavcodec/tests/
Drangecoder.c60 int i, p, actual_length, version; in main() local
78 actual_length = ff_rac_terminate(&c, version); in main()
80 ff_init_range_decoder(&c, b, version ? SIZE : actual_length); in main()
94 if (c.bytestream - c.bytestream_start - actual_length != version) { in main()
Dmjpegenc_huffman.c39 int actual_length = 0, i, j, k, prob, length; in check_lengths() local
61 actual_length += prob * length; in check_lengths()
70 if (actual_length != expected_length) ret = 1; in check_lengths()
77 cantor_measure, actual_length, expected_length); in check_lengths()
/third_party/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()
Ddpfp.c309 transfer->length, transfer->actual_length); in cb_mode_changed()
/third_party/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);
/third_party/skia/third_party/externals/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()
/third_party/flutter/skia/third_party/externals/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()
/third_party/flutter/skia/third_party/externals/libwebp/imageio/
Dpngdec.c72 size_t actual_length = 0; in HexStringToBytes() local
78 for (dst = raw_data; actual_length < expected_length && *src != '\0'; ++src) { in HexStringToBytes()
87 ++actual_length; in HexStringToBytes()
90 if (actual_length != expected_length) { in HexStringToBytes()
/third_party/skia/third_party/externals/libwebp/imageio/
Dpngdec.c72 size_t actual_length = 0; in HexStringToBytes() local
78 for (dst = raw_data; actual_length < expected_length && *src != '\0'; ++src) { in HexStringToBytes()
87 ++actual_length; in HexStringToBytes()
90 if (actual_length != expected_length) { in HexStringToBytes()
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/
Dlinux_usb.c517 urb->actual_length = 0; in usb_unlink_urb_sub()
520 urb->iso_frame_desc[x].actual_length = 0; in usb_unlink_urb_sub()
631 *p_actlen = urb->actual_length; in usb_start_wait_urb()
1485 usb_dma_cache_invalid(urb->transfer_buffer,urb->actual_length); in usb_linux_complete()
1535 uipd->actual_length = xfer->frlengths[x]; in usb_linux_isoc_callback()
1539 uipd->offset), uipd->actual_length); in usb_linux_isoc_callback()
1546 uipd->actual_length = xfer->frlengths[x]; in usb_linux_isoc_callback()
1551 urb->actual_length = xfer->actlen; in usb_linux_isoc_callback()
1642 urb->actual_length = 0; in usb_linux_isoc_callback()
1646 urb->iso_frame_desc[x].actual_length = 0; in usb_linux_isoc_callback()
[all …]
/third_party/skia/third_party/externals/harfbuzz/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()
/third_party/flutter/skia/third_party/externals/harfbuzz/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()
/third_party/harfbuzz/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()
/third_party/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()
Dwindows_winusb.h647 USHORT actual_length; //changed from libusbk_shared.h "Length" for clarity member
Dwindows_usbdk.c696 lib_desc->actual_length = (unsigned int)transfer_priv->IsochronousResultsArray[i].ActualLength; in usbdk_copy_transfer_data()
Dwindows_winusb.c3146 transfer->iso_packet_desc[i].actual_length = iso_context->IsoPackets[i].actual_length; in winusbx_copy_transfer_data()
3157 unsigned int actual_length = usbd_iso_packet_desc[i].Length; in winusbx_copy_transfer_data() local
3161 transfer->iso_packet_desc[i].actual_length = actual_length; in winusbx_copy_transfer_data()
/third_party/mbedtls/tests/suites/
Dtest_suite_asn1parse.function125 size_t actual_length )
160 if( buffer_size >= input->len + actual_length )
164 TEST_EQUAL( parsed_length, actual_length );
293 size_t actual_length = actual_length_arg;
297 * followed by `actual_length` bytes of payload. To save a bit of
304 if( ! get_len_step( input, buffer_size, actual_length ) )
307 if( ! get_len_step( input, input->len + actual_length - 1, actual_length ) )
309 if( ! get_len_step( input, input->len + actual_length, actual_length ) )
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/
Dusb.h226 uint16_t actual_length; member
250 usb_size_t actual_length; /* (return) actual transfer length */ member
/third_party/libphonenumber/cpp/src/phonenumbers/
Dphonenumberutil.cc458 int actual_length = static_cast<int>(number.length()); in TestNumberLength() local
461 if (std::find(local_lengths.begin(), local_lengths.end(), actual_length) != in TestNumberLength()
466 if (minimum_length == actual_length) { in TestNumberLength()
468 } else if (minimum_length > actual_length) { in TestNumberLength()
470 } else if (*(possible_lengths.end() - 1) < actual_length) { in TestNumberLength()
475 actual_length) != possible_lengths.end() in TestNumberLength()
2506 int actual_length = static_cast<int>(national_number.length()); in IsNumberMatchingDesc() local
2510 actual_length) == number_desc.possible_length().end()) { in IsNumberMatchingDesc()

12