Home
last modified time | relevance | path

Searched refs:orig_len (Results 1 – 17 of 17) sorted by relevance

/third_party/python/Lib/test/
Dtest_context.py642 orig_len = len(h)
652 self.assertEqual(len(h), orig_len - 1)
658 self.assertEqual(len(h), orig_len - 2)
664 self.assertEqual(len(h), orig_len - 3)
687 orig_len = len(h)
702 self.assertEqual(len(h), orig_len)
705 self.assertEqual(len(h), orig_len - 1)
708 self.assertEqual(len(h), orig_len - 2)
711 self.assertEqual(len(h), orig_len - 3)
736 orig_len = len(h)
[all …]
/third_party/openssl/ssl/record/
Dssl3_record.c446 thisrr->orig_len = thisrr->length; in ssl3_get_record()
599 if (thisrr->orig_len < mac_size || in ssl3_get_record()
602 thisrr->orig_len < mac_size + 1)) { in ssl3_get_record()
1242 rec->length + md_size, rec->orig_len, in n_ssl3_mac()
1346 rec->length + md_size, rec->orig_len, in tls1_mac()
1462 rec->orig_len -= block_size; in tls1_cbc_remove_padding()
1553 if (!ossl_assert(rec->orig_len >= md_size in ssl3_cbc_copy_mac()
1562 if (rec->orig_len > md_size + 255 + 1) in ssl3_cbc_copy_mac()
1563 scan_start = rec->orig_len - (md_size + 255 + 1); in ssl3_cbc_copy_mac()
1568 for (i = scan_start, j = 0; i < rec->orig_len; i++) { in ssl3_cbc_copy_mac()
[all …]
Drecord.h47 size_t orig_len; member
/third_party/ltp/utils/sctp/func_tests/
Dtest_timetolive.c115 int orig_len; in main() local
154 error = getsockopt(sk2, SOL_SOCKET, SO_RCVBUF, &orig_len, in main()
248 error = setsockopt(sk2, SOL_SOCKET, SO_RCVBUF, &orig_len, in main()
249 sizeof(orig_len)); in main()
/third_party/python/Python/
Dpystrtod.c385 const char *s, Py_ssize_t orig_len, const char *what, PyObject *obj, void *arg, in _Py_string_to_number_with_underscores() argument
393 assert(s[orig_len] == '\0'); in _Py_string_to_number_with_underscores()
396 return innerfunc(s, orig_len, arg); in _Py_string_to_number_with_underscores()
399 dup = PyMem_Malloc(orig_len + 1); in _Py_string_to_number_with_underscores()
405 last = s + orig_len; in _Py_string_to_number_with_underscores()
/third_party/mbedtls/library/
Dgcm.c519 uint64_t orig_len; in mbedtls_gcm_finish() local
531 orig_len = ctx->len * 8; in mbedtls_gcm_finish()
547 if( orig_len || orig_add_len ) in mbedtls_gcm_finish()
553 MBEDTLS_PUT_UINT32_BE( ( orig_len >> 32 ), work_buf, 8 ); in mbedtls_gcm_finish()
554 MBEDTLS_PUT_UINT32_BE( ( orig_len ), work_buf, 12 ); in mbedtls_gcm_finish()
/third_party/grpc/src/core/ext/transport/chttp2/transport/
Dwriting.cc650 size_t orig_len = t->outbuf.length; in grpc_chttp2_begin_write() local
655 if (t->outbuf.length > orig_len) { in grpc_chttp2_begin_write()
657 s->byte_counter += t->outbuf.length - orig_len; in grpc_chttp2_begin_write()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-buffer.cc1787 unsigned int orig_len = buffer->len; in hb_buffer_append() local
1792 if (!orig_len) in hb_buffer_append()
1797 memcpy (buffer->info + orig_len, source->info + start, (end - start) * sizeof (buffer->info[0])); in hb_buffer_append()
1799 memcpy (buffer->pos + orig_len, source->pos + start, (end - start) * sizeof (buffer->pos[0])); in hb_buffer_append()
1806 if (!orig_len && start + source->context_len[0] > 0) in hb_buffer_append()
Dhb-ot-layout-gsubgpos.hh1374 unsigned int orig_len = buffer->backtrack_len () + buffer->lookahead_len (); in apply_lookup() local
1379 int delta = new_len - orig_len; in apply_lookup()
/third_party/harfbuzz/src/
Dhb-buffer.cc1750 unsigned int orig_len = buffer->len; in hb_buffer_append() local
1755 if (!orig_len) in hb_buffer_append()
1760 memcpy (buffer->info + orig_len, source->info + start, (end - start) * sizeof (buffer->info[0])); in hb_buffer_append()
1762 memcpy (buffer->pos + orig_len, source->pos + start, (end - start) * sizeof (buffer->pos[0])); in hb_buffer_append()
Dhb-ot-layout-gsubgpos.hh1367 unsigned int orig_len = buffer->backtrack_len () + buffer->lookahead_len (); in apply_lookup() local
1372 int delta = new_len - orig_len; in apply_lookup()
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-buffer.cc1775 unsigned int orig_len = buffer->len; in hb_buffer_append() local
1780 memcpy (buffer->info + orig_len, source->info + start, (end - start) * sizeof (buffer->info[0])); in hb_buffer_append()
1782 memcpy (buffer->pos + orig_len, source->pos + start, (end - start) * sizeof (buffer->pos[0])); in hb_buffer_append()
Dhb-ot-layout-gsubgpos.hh1120 unsigned int orig_len = buffer->backtrack_len () + buffer->lookahead_len (); in apply_lookup() local
1125 int delta = new_len - orig_len; in apply_lookup()
/third_party/libwebsockets/lib/roles/ws/
Dops-ws.c1591 size_t orig_len = len; in rops_write_role_protocol_ws() local
1902 return (int)orig_len; in rops_write_role_protocol_ws()
/third_party/curl/src/
Dtool_getparam.c448 size_t orig_len = strlen(url); in replace_url_encoded_space_by_plus() local
452 while(orig_index < orig_len) { in replace_url_encoded_space_by_plus()
/third_party/glib/gio/
Dgwin32appinfo.c1788 gsize orig_len = g_utf16_len (verb); in generate_new_verb_name() local
1789 gsize new_verb_name_len = orig_len + strlen (" ()") + 2 + 1; in generate_new_verb_name()
1795 memcpy (new_verb_name, verb, orig_len * sizeof (gunichar2)); in generate_new_verb_name()
1798 _snwprintf (&new_verb_name[orig_len], new_verb_name_len, L" (%zx)", counter); in generate_new_verb_name()
/third_party/chromium/patch/
D0001-cve.patch37044 + unsigned int orig_len = buffer->backtrack_len () + buffer->lookahead_len ();
37047 + if (unlikely (match_positions[idx] >= orig_len))
37056 - unsigned int orig_len = buffer->backtrack_len () + buffer->lookahead_len ();