Home
last modified time | relevance | path

Searched refs:out_bytes (Results 1 – 3 of 3) sorted by relevance

/reactos/drivers/network/tcpip/lwip/src/apps/snmp/
H A Dsnmpv3_mbedtls.c124 u8_t out_bytes[8]; in snmpv3_crypt() local
154 out_len = LWIP_ARRAYSIZE(out_bytes) ; in snmpv3_crypt()
162 … if (mbedtls_cipher_update(&ctx, in_bytes, LWIP_ARRAYSIZE(in_bytes), out_bytes, &out_len) != 0) { in snmpv3_crypt()
166 if (snmp_pbuf_stream_writebuf(&write_stream, out_bytes, (u16_t)out_len) != ERR_OK) { in snmpv3_crypt()
171 out_len = LWIP_ARRAYSIZE(out_bytes); in snmpv3_crypt()
172 if (mbedtls_cipher_finish(&ctx, out_bytes, &out_len) != 0) { in snmpv3_crypt()
176 if (snmp_pbuf_stream_writebuf(&write_stream, out_bytes, (u16_t)out_len) != ERR_OK) { in snmpv3_crypt()
/reactos/drivers/network/tcpip/lwip/src/apps/http/makefsdata/
H A Dmakefsdata.c607 size_t out_bytes = OUT_BUF_SIZE; in get_file_data() local
622 … status = tdefl_compress(&g_deflator, next_in, &in_bytes, next_out, &out_bytes, TDEFL_FINISH); in get_file_data()
628 status = compress2(next_out, &out_bytes, next_in, in_bytes, deflate_level); in get_file_data()
634 LWIP_ASSERT("out_bytes <= COPY_BUFSIZE", out_bytes <= OUT_BUF_SIZE); in get_file_data()
635 if (out_bytes < fsize) { in get_file_data()
636 ret_buf = (u8_t *)malloc(out_bytes); in get_file_data()
638 memcpy(ret_buf, s_outbuf, out_bytes); in get_file_data()
641 size_t dec_in_bytes = out_bytes; in get_file_data()
663 *file_size = out_bytes; in get_file_data()
664 …te: %d bytes -> %d bytes (%.02f%%)" NEWLINE, (int)fsize, (int)out_bytes, (float)((out_bytes * 100.… in get_file_data()
[all …]
/reactos/modules/rostests/winetests/ntdll/
H A Drtlstr.c2050 static void utf8_expect_(const unsigned char *out_string, ULONG buflen, ULONG out_bytes, in utf8_expect_() argument
2068 ok_(__FILE__, line)(bytes_out == out_bytes, "bytes_out = %u\n", bytes_out); in utf8_expect_()
2081 #define utf8_expect(out_string, buflen, out_bytes, in_string, in_bytes, expect_status) \ argument
2082 utf8_expect_(out_string, buflen, out_bytes, in_string, in_bytes, expect_status, __LINE__)
2155 #define length_expect(in_chars, out_bytes, expect_status) \ in test_RtlUnicodeToUTF8N() argument
2156 utf8_expect_(NULL, 0, out_bytes, \ in test_RtlUnicodeToUTF8N()
2168 #define truncate_expect(buflen, out_bytes, expect_status) \ in test_RtlUnicodeToUTF8N() argument
2169 utf8_expect_(special_expected, buflen, out_bytes, \ in test_RtlUnicodeToUTF8N()