Home
last modified time | relevance | path

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

/third_party/node/test/js-native-api/test_string/
Dtest_string.c10 enum length_type { actual_length, auto_length }; enumerator
103 const size_t actual_length = in create_external_latin1() local
105 const size_t length_bytes = (actual_length + 1) * sizeof(*string_copy); in create_external_latin1()
108 string_copy[actual_length] = 0; in create_external_latin1()
143 const size_t actual_length = in create_external_utf16() local
145 const size_t length_bytes = (actual_length + 1) * sizeof(*string_copy); in create_external_utf16()
148 string_copy[actual_length] = 0; in create_external_utf16()
165 actual_length); in TestLatin1()
173 actual_length); in TestUtf8()
181 actual_length); in TestUtf16()
[all …]
/third_party/curl/lib/vtls/
Dschannel_verify.c348 DWORD actual_length = 0; in cert_get_name_string() local
367 actual_length = CertGetNameString(cert_context, in cert_get_name_string()
373 return actual_length; in cert_get_name_string()
380 actual_length = 1; in cert_get_name_string()
387 return actual_length; in cert_get_name_string()
393 return actual_length; in cert_get_name_string()
401 return actual_length; in cert_get_name_string()
419 return actual_length; in cert_get_name_string()
439 actual_length += (DWORD)current_length; in cert_get_name_string()
443 if((actual_length + current_length) > length) { in cert_get_name_string()
[all …]
/third_party/ffmpeg/libavcodec/tests/
Drangecoder.c61 int i, p, actual_length, version; in main() local
79 actual_length = ff_rac_terminate(&c, version); in main()
81 ff_init_range_decoder(&c, b, version ? SIZE : actual_length); in main()
95 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/node/deps/v8/src/profiler/
Dstrings-storage.cc100 int actual_length = 0; in GetName() local
102 DISALLOW_NULLS, ROBUST_STRING_TRAVERSAL, 0, length, &actual_length); in GetName()
103 return AddOrDisposeString(data.release(), actual_length); in GetName()
118 int actual_length = 0; in GetConsName() local
120 DISALLOW_NULLS, ROBUST_STRING_TRAVERSAL, 0, length, &actual_length); in GetConsName()
122 int cons_length = actual_length + static_cast<int>(strlen(prefix)) + 1; in GetConsName()
/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/FreeBSD/sys/compat/linuxkpi/common/src/
Dlinux_usb.c514 urb->actual_length = 0; in usb_unlink_urb_sub()
517 urb->iso_frame_desc[x].actual_length = 0; in usb_unlink_urb_sub()
627 *p_actlen = urb->actual_length; in usb_start_wait_urb()
1479 usb_dma_cache_invalid(urb->transfer_buffer,urb->actual_length); in usb_linux_complete()
1528 uipd->actual_length = xfer->frlengths[x]; in usb_linux_isoc_callback()
1532 uipd->offset), uipd->actual_length); in usb_linux_isoc_callback()
1539 uipd->actual_length = xfer->frlengths[x]; in usb_linux_isoc_callback()
1544 urb->actual_length = xfer->actlen; in usb_linux_isoc_callback()
1634 urb->actual_length = 0; in usb_linux_isoc_callback()
1638 urb->iso_frame_desc[x].actual_length = 0; in usb_linux_isoc_callback()
[all …]
/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/mbedtls/tests/suites/
Dtest_suite_asn1parse.function126 size_t actual_length)
155 if (buffer_size >= input->len + actual_length) {
158 TEST_EQUAL(parsed_length, actual_length);
283 size_t actual_length = actual_length_arg;
287 * followed by `actual_length` bytes of payload. To save a bit of
293 if (!get_len_step(input, buffer_size, actual_length)) {
297 if (!get_len_step(input, input->len + actual_length - 1, actual_length)) {
300 if (!get_len_step(input, input->len + actual_length, actual_length)) {
/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/FreeBSD/sys/compat/linuxkpi/common/include/linux/
Dusb.h225 uint16_t actual_length; member
249 usb_size_t actual_length; /* (return) actual transfer length */ member
/third_party/libphonenumber/cpp/src/phonenumbers/
Dphonenumberutil.cc460 int actual_length = static_cast<int>(number.length()); in TestNumberLength() local
463 if (std::find(local_lengths.begin(), local_lengths.end(), actual_length) != in TestNumberLength()
468 if (minimum_length == actual_length) { in TestNumberLength()
470 } else if (minimum_length > actual_length) { in TestNumberLength()
472 } else if (*(possible_lengths.end() - 1) < actual_length) { in TestNumberLength()
477 actual_length) != possible_lengths.end() in TestNumberLength()
2537 int actual_length = static_cast<int>(national_number.length()); in IsNumberMatchingDesc() local
2541 actual_length) == number_desc.possible_length().end()) { in IsNumberMatchingDesc()
/third_party/node/deps/v8/src/bigint/
Dtostring.cc235 size_t actual_length = out_end_ - out_; in Finish() local
237 std::memmove(out_start_, out_, actual_length); in Finish()
/third_party/libinput/test/
Dtest-pointer.c48 double actual_length; in test_relative_event() local
83 actual_length = sqrt(ev_dx*ev_dx + ev_dy*ev_dy); in test_relative_event()
87 litest_assert_double_ge(fabs(expected_length), actual_length); in test_relative_event()
/third_party/libabigail/tests/data/test-diff-filter/
Dtest-PR27569-v0.abi61351 …<var-decl name="actual_length" type-id="19c2251e" visibility="default" filepath="include/linux/usb…
61756 …<var-decl name="actual_length" type-id="f0981eeb" visibility="default" filepath="include/linux/usb…
66328 …<var-decl name="actual_length" type-id="19c2251e" visibility="default" filepath="include/linux/usb…
66396 …<var-decl name="actual_length" type-id="f0981eeb" visibility="default" filepath="include/linux/usb…
Dtest-PR27569-v1.abi61365 …<var-decl name="actual_length" type-id="19c2251e" visibility="default" filepath="include/linux/usb…
61770 …<var-decl name="actual_length" type-id="f0981eeb" visibility="default" filepath="include/linux/usb…
66342 …<var-decl name="actual_length" type-id="19c2251e" visibility="default" filepath="include/linux/usb…
66410 …<var-decl name="actual_length" type-id="f0981eeb" visibility="default" filepath="include/linux/usb…