Searched refs:out_bytes (Results 1 – 2 of 2) sorted by relevance
| /lib/lwip/lwip/src/apps/snmp/ |
| A D | snmpv3_mbedtls.c | 124 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()
|
| /lib/lwip/lwip/src/apps/http/makefsdata/ |
| A D | makefsdata.c | 607 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 …]
|
Completed in 31 milliseconds