Home
last modified time | relevance | path

Searched refs:actual_len (Results 1 – 25 of 1150) sorted by relevance

12345678910>>...46

/dports/games/moonlight-embedded/moonlight-embedded-2.4.11/third_party/h264bitstream/
H A Dbs.h333 int actual_len = len; in bs_read_bytes() local
334 if (b->end - b->p < actual_len) { actual_len = b->end - b->p; } in bs_read_bytes()
335 if (actual_len < 0) { actual_len = 0; } in bs_read_bytes()
339 return actual_len; in bs_read_bytes()
344 int actual_len = len; in bs_write_bytes() local
345 if (b->end - b->p < actual_len) { actual_len = b->end - b->p; } in bs_write_bytes()
346 if (actual_len < 0) { actual_len = 0; } in bs_write_bytes()
350 return actual_len; in bs_write_bytes()
356 if (b->end - b->p < actual_len) { actual_len = b->end - b->p; } in bs_skip_bytes()
357 if (actual_len < 0) { actual_len = 0; } in bs_skip_bytes()
[all …]
/dports/mail/crm114/crm114-20100106-BlameMichelson.src/
H A Dcrm_str_funcs.c118 long actual_len; member
400 *actual_len = p->actual_len; in crm_mmap_file()
439 if (actual_len) in crm_mmap_file()
440 *actual_len = 0; in crm_mmap_file()
452 if (actual_len) in crm_mmap_file()
453 *actual_len = 0; in crm_mmap_file()
465 p->actual_len, in crm_mmap_file()
489 *actual_len = 0; in crm_mmap_file()
538 if (actual_len) in crm_mmap_file()
601 if (actual_len) in crm_mmap_file()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/can/usb/etas_es58x/
H A Des58x_core.h443 size_t actual_len, size_t expected_len) in __es58x_check_msg_len() argument
445 if (expected_len != actual_len) { in __es58x_check_msg_len()
469 actual_len, sizeof(msg))
473 size_t actual_len, in __es58x_check_msg_max_len() argument
476 if (actual_len > expected_len) { in __es58x_check_msg_max_len()
501 actual_len, sizeof(msg))
505 size_t actual_len, size_t msg_len, in __es58x_msg_num_element() argument
514 stringified_msg, elem_len, actual_len); in __es58x_msg_num_element()
516 } else if ((actual_len % elem_len) != 0) { in __es58x_msg_num_element()
519 actual_len, stringified_msg, elem_len); in __es58x_msg_num_element()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/can/usb/etas_es58x/
H A Des58x_core.h443 size_t actual_len, size_t expected_len) in __es58x_check_msg_len() argument
445 if (expected_len != actual_len) { in __es58x_check_msg_len()
469 actual_len, sizeof(msg))
473 size_t actual_len, in __es58x_check_msg_max_len() argument
476 if (actual_len > expected_len) { in __es58x_check_msg_max_len()
501 actual_len, sizeof(msg))
505 size_t actual_len, size_t msg_len, in __es58x_msg_num_element() argument
514 stringified_msg, elem_len, actual_len); in __es58x_msg_num_element()
516 } else if ((actual_len % elem_len) != 0) { in __es58x_msg_num_element()
519 actual_len, stringified_msg, elem_len); in __es58x_msg_num_element()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/can/usb/etas_es58x/
H A Des58x_core.h443 size_t actual_len, size_t expected_len) in __es58x_check_msg_len() argument
445 if (expected_len != actual_len) { in __es58x_check_msg_len()
469 actual_len, sizeof(msg))
473 size_t actual_len, in __es58x_check_msg_max_len() argument
476 if (actual_len > expected_len) { in __es58x_check_msg_max_len()
501 actual_len, sizeof(msg))
505 size_t actual_len, size_t msg_len, in __es58x_msg_num_element() argument
514 stringified_msg, elem_len, actual_len); in __es58x_msg_num_element()
516 } else if ((actual_len % elem_len) != 0) { in __es58x_msg_num_element()
519 actual_len, stringified_msg, elem_len); in __es58x_msg_num_element()
[all …]
/dports/net/fort/FORT-validator-1.5.3/src/crypto/
H A Dhash.c30 unsigned char const *actual, unsigned int actual_len) in hash_matches() argument
32 return (expected_len == actual_len) in hash_matches()
127 unsigned int actual_len; in hash_validate_mft_file() local
134 error = hash_file(algorithm, uri, actual, &actual_len); in hash_validate_mft_file()
150 if (!hash_matches(expected->buf, expected->size, actual, actual_len)) { in hash_validate_mft_file()
168 unsigned int actual_len; in hash_validate_file() local
171 error = hash_file(algorithm, uri, actual, &actual_len); in hash_validate_file()
175 if (!hash_matches(expected, expected_len, actual, actual_len)) { in hash_validate_file()
219 unsigned int actual_len; in hash_validate() local
222 error = hash_buffer(algorithm, data, data_len, actual, &actual_len); in hash_validate()
[all …]
/dports/devel/py-xdis/xdis-5.0.13/pytest/
H A Dtest_std.py138 actual_len = len(actual)
139 assert actual_len > 0
152 actual_len = len(actual)
153 assert actual_len > 0
166 actual_len = len(actual)
167 assert actual_len > 0
175 actual_len = len(actual)
176 assert actual_len > 0
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/media/usb/gspca/
H A Dkinect.c125 int res, actual_len; in send_cmd() local
154 actual_len = kinect_read(udev, ibuf, 0x200); in send_cmd()
155 } while (actual_len == 0); in send_cmd()
157 if (actual_len < (int)sizeof(*rhdr)) { in send_cmd()
159 actual_len); in send_cmd()
160 return actual_len < 0 ? actual_len : -EREMOTEIO; in send_cmd()
162 actual_len -= sizeof(*rhdr); in send_cmd()
179 if (le16_to_cpu(rhdr->len) != (actual_len/2)) { in send_cmd()
185 if (actual_len > reply_len) { in send_cmd()
187 reply_len, actual_len); in send_cmd()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/media/usb/gspca/
H A Dkinect.c125 int res, actual_len; in send_cmd() local
154 actual_len = kinect_read(udev, ibuf, 0x200); in send_cmd()
155 } while (actual_len == 0); in send_cmd()
157 if (actual_len < (int)sizeof(*rhdr)) { in send_cmd()
159 actual_len); in send_cmd()
160 return actual_len < 0 ? actual_len : -EREMOTEIO; in send_cmd()
162 actual_len -= sizeof(*rhdr); in send_cmd()
179 if (le16_to_cpu(rhdr->len) != (actual_len/2)) { in send_cmd()
185 if (actual_len > reply_len) { in send_cmd()
187 reply_len, actual_len); in send_cmd()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/media/usb/gspca/
H A Dkinect.c125 int res, actual_len; in send_cmd() local
154 actual_len = kinect_read(udev, ibuf, 0x200); in send_cmd()
155 } while (actual_len == 0); in send_cmd()
157 if (actual_len < (int)sizeof(*rhdr)) { in send_cmd()
159 actual_len); in send_cmd()
160 return actual_len < 0 ? actual_len : -EREMOTEIO; in send_cmd()
162 actual_len -= sizeof(*rhdr); in send_cmd()
179 if (le16_to_cpu(rhdr->len) != (actual_len/2)) { in send_cmd()
185 if (actual_len > reply_len) { in send_cmd()
187 reply_len, actual_len); in send_cmd()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/net/third_party/quiche/src/common/test_tools/
H A Dquiche_test_utils.cc61 const int actual_len, in CompareCharArraysWithHexError() argument
64 EXPECT_EQ(actual_len, expected_len); in CompareCharArraysWithHexError()
65 const int min_len = std::min(actual_len, expected_len); in CompareCharArraysWithHexError()
66 const int max_len = std::max(actual_len, expected_len); in CompareCharArraysWithHexError()
68 bool identical = (actual_len == expected_len); in CompareCharArraysWithHexError()
87 << HexDumpWithMarks(actual, actual_len, marks.get(), max_len); in CompareCharArraysWithHexError()
/dports/www/chromium-legacy/chromium-88.0.4324.182/net/third_party/quiche/src/common/test_tools/
H A Dquiche_test_utils.cc61 const int actual_len, in CompareCharArraysWithHexError() argument
64 EXPECT_EQ(actual_len, expected_len); in CompareCharArraysWithHexError()
65 const int min_len = std::min(actual_len, expected_len); in CompareCharArraysWithHexError()
66 const int max_len = std::max(actual_len, expected_len); in CompareCharArraysWithHexError()
68 bool identical = (actual_len == expected_len); in CompareCharArraysWithHexError()
87 << HexDumpWithMarks(actual, actual_len, marks.get(), max_len); in CompareCharArraysWithHexError()
/dports/net/yaz/yaz-5.31.1/test/
H A Dtest_embed_record.c92 int actual_len; in test_render() local
103 actual_output = yaz_record_render(npr, 0, wrbuf, type_spec, &actual_len); in test_render()
107 if (strlen(expected_output) == actual_len && in test_render()
108 !memcmp(expected_output, actual_output, actual_len)) in test_render()
113 yaz_log(YLOG_LOG, "%.*s", actual_len, actual_output); in test_render()
128 yaz_log(YLOG_LOG, "%.*s", actual_len, actual_output); in test_render()
/dports/net/kea/kea-2.0.1/src/lib/util/unittests/
H A Dwiredata.cc24 const void* actual_data, size_t actual_len) in matchWireData() argument
26 const size_t cmplen = std::min(expected_len, actual_len); in matchWireData()
38 EXPECT_EQ(expected_len, actual_len) in matchWireData()
40 << " Actual: " << actual_len << "\n" in matchWireData()
/dports/www/py-falcon/falcon-2.0.0/tests/
H A Dtest_hello.py177 actual_len = int(result.headers['content-length'])
178 assert actual_len == expected_len
191 actual_len = int(result.headers['content-length'])
192 assert actual_len == expected_len
200 actual_len = int(result.headers['content-length'])
201 assert actual_len == expected_len
216 actual_len = int(result.headers['content-length'])
217 assert actual_len == expected_len
231 actual_len = int(result.headers['content-length'])
232 assert actual_len == expected_len
/dports/net/mpich/mpich-3.4.3/src/pm/hydra2/libhydra/str/
H A Dhydra_str.c106 int actual_len, i; in HYD_str_from_int_pad() local
124 actual_len = len + 1; in HYD_str_from_int_pad()
126 actual_len = maxlen + 1; in HYD_str_from_int_pad()
128 HYD_MALLOC(str, char *, actual_len, status); in HYD_str_from_int_pad()
131 for (i = 0; i < actual_len; i++) in HYD_str_from_int_pad()
134 MPL_snprintf(str + actual_len - len - 1, len + 1, "%d", x); in HYD_str_from_int_pad()
/dports/www/chromium-legacy/chromium-88.0.4324.182/net/third_party/quiche/src/spdy/core/
H A Dspdy_test_utils.cc63 const int actual_len, in CompareCharArraysWithHexError() argument
66 const int min_len = std::min(actual_len, expected_len); in CompareCharArraysWithHexError()
67 const int max_len = std::max(actual_len, expected_len); in CompareCharArraysWithHexError()
69 bool identical = (actual_len == expected_len); in CompareCharArraysWithHexError()
88 << HexDumpWithMarks(actual, actual_len, marks.get(), max_len); in CompareCharArraysWithHexError()
/dports/dns/wdns/wdns-0.10.0/t/
H A Dtest-str_to_rdata.c270 size_t actual_len = 0; in test_str_to_rdata() local
275 res = wdns_str_to_rdata(cur->input, cur->rrtype, cur->rrclass, &actual, &actual_len); in test_str_to_rdata()
288 escape(u, actual, actual_len); in test_str_to_rdata()
291 } else if (actual_len != cur->expected_len || memcmp(actual, cur->expected, actual_len)) { in test_str_to_rdata()
299 if (actual_len != cur->expected_len) { in test_str_to_rdata()
301 actual_len, cur->expected_len); in test_str_to_rdata()
308 escape(u, actual, actual_len); in test_str_to_rdata()
323 escape(u, actual, actual_len); in test_str_to_rdata()
/dports/databases/pecl-mongodb/mongodb-1.9.1/src/libmongocrypt/kms-message/src/
H A Dkms_request_str.c72 size_t actual_len; in kms_request_str_new_from_chars() local
74 actual_len = len < 0 ? strlen (chars) : (size_t) len; in kms_request_str_new_from_chars()
75 s->size = actual_len + 1; in kms_request_str_new_from_chars()
79 memcpy (s->str, chars, actual_len); in kms_request_str_new_from_chars()
80 s->str[actual_len] = '\0'; in kms_request_str_new_from_chars()
81 s->len = actual_len; in kms_request_str_new_from_chars()
175 size_t actual_len = len < 0 ? strlen (chars) : (size_t) len; in kms_request_str_set_chars() local
176 kms_request_str_reserve (str, actual_len); /* adds 1 for nil */ in kms_request_str_set_chars()
177 memcpy (str->str, chars, actual_len + 1); in kms_request_str_set_chars()
178 str->len = actual_len; in kms_request_str_set_chars()
/dports/databases/pecl-mongodb/mongodb-1.9.1/src/libmongoc/src/kms-message/src/
H A Dkms_request_str.c72 size_t actual_len; in kms_request_str_new_from_chars() local
74 actual_len = len < 0 ? strlen (chars) : (size_t) len; in kms_request_str_new_from_chars()
75 s->size = actual_len + 1; in kms_request_str_new_from_chars()
79 memcpy (s->str, chars, actual_len); in kms_request_str_new_from_chars()
80 s->str[actual_len] = '\0'; in kms_request_str_new_from_chars()
81 s->len = actual_len; in kms_request_str_new_from_chars()
175 size_t actual_len = len < 0 ? strlen (chars) : (size_t) len; in kms_request_str_set_chars() local
176 kms_request_str_reserve (str, actual_len); /* adds 1 for nil */ in kms_request_str_set_chars()
177 memcpy (str->str, chars, actual_len + 1); in kms_request_str_set_chars()
178 str->len = actual_len; in kms_request_str_set_chars()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/media/usb/as102/
H A Das102_usb_drv.c139 int ret, actual_len; in as102_send_ep1() local
143 send_buf, send_buf_len, &actual_len, 200); in as102_send_ep1()
150 if (actual_len != send_buf_len) { in as102_send_ep1()
152 actual_len, send_buf_len); in as102_send_ep1()
155 return actual_len; in as102_send_ep1()
161 int ret, actual_len; in as102_read_ep2() local
168 recv_buf, recv_buf_len, &actual_len, 200); in as102_read_ep2()
175 if (actual_len != recv_buf_len) { in as102_read_ep2()
177 actual_len, recv_buf_len); in as102_read_ep2()
180 return actual_len; in as102_read_ep2()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/media/usb/as102/
H A Das102_usb_drv.c139 int ret, actual_len; in as102_send_ep1() local
143 send_buf, send_buf_len, &actual_len, 200); in as102_send_ep1()
150 if (actual_len != send_buf_len) { in as102_send_ep1()
152 actual_len, send_buf_len); in as102_send_ep1()
155 return actual_len; in as102_send_ep1()
161 int ret, actual_len; in as102_read_ep2() local
168 recv_buf, recv_buf_len, &actual_len, 200); in as102_read_ep2()
175 if (actual_len != recv_buf_len) { in as102_read_ep2()
177 actual_len, recv_buf_len); in as102_read_ep2()
180 return actual_len; in as102_read_ep2()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/media/usb/as102/
H A Das102_usb_drv.c139 int ret, actual_len; in as102_send_ep1() local
143 send_buf, send_buf_len, &actual_len, 200); in as102_send_ep1()
150 if (actual_len != send_buf_len) { in as102_send_ep1()
152 actual_len, send_buf_len); in as102_send_ep1()
155 return actual_len; in as102_send_ep1()
161 int ret, actual_len; in as102_read_ep2() local
168 recv_buf, recv_buf_len, &actual_len, 200); in as102_read_ep2()
175 if (actual_len != recv_buf_len) { in as102_read_ep2()
177 actual_len, recv_buf_len); in as102_read_ep2()
180 return actual_len; in as102_read_ep2()
/dports/lang/php73/php-7.3.33/ext/intl/
H A Dintl_convertcpp.cpp76 int32_t actual_len; in intl_charFromString() local
77 u_strToUTF8WithSub(ZSTR_VAL(u8res), capacity, &actual_len, utf16buf, from.length(), in intl_charFromString()
84 ZSTR_VAL(u8res)[actual_len] = '\0'; in intl_charFromString()
85 ZSTR_LEN(u8res) = actual_len; in intl_charFromString()
/dports/www/mod_php81/php-8.1.1/ext/intl/
H A Dintl_convertcpp.cpp74 int32_t actual_len; in intl_charFromString() local
75 u_strToUTF8WithSub(ZSTR_VAL(u8res), capacity, &actual_len, utf16buf, from.length(), in intl_charFromString()
82 ZSTR_VAL(u8res)[actual_len] = '\0'; in intl_charFromString()
83 ZSTR_LEN(u8res) = actual_len; in intl_charFromString()

12345678910>>...46