Searched defs:new_len (Results 1 - 11 of 11) sorted by relevance

/vbox/src/VBox/Devices/PC/ipxe/src/core/
H A Dlinebuf.c78 size_t new_len; local
93 new_len = ( linebuf->len + consume );
94 new_data = realloc ( linebuf->data, ( new_len + 1 ) );
98 new_data[new_len] = '\0';
100 linebuf->len = new_len;
H A Dsettings.c1769 int new_len; local
1815 new_len = asprintf ( &expstr, "%s%s%s",
1818 if ( new_len < 0 )
/vbox/src/VBox/Devices/PC/ipxe/src/hci/
H A Deditstring.c51 size_t old_len, max_delete_len, insert_len, max_insert_len, new_len; local
63 new_len = ( old_len - delete_len + insert_len );
67 string->mod_end = ( ( new_len > old_len ) ? new_len : old_len );
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/
H A Ddt_buf.c101 size_t new_len = bp->dbu_len * 2; local
105 while (bp->dbu_ptr + adj + len > bp->dbu_buf + new_len) {
106 new_len *= 2;
110 if ((new_buf = dt_zalloc(dtp, new_len)) == NULL) {
120 bp->dbu_len = new_len;
/vbox/src/VBox/Devices/Network/slirp/libalias/
H A Dalias_irc.c447 u_short new_len; local
449 new_len = htons(hlen + iCopy + copyat);
451 &new_len,
454 pip->ip_len = new_len;
H A Dalias_ftp.c749 u_short new_len; local
751 new_len = htons(hlen + slen);
753 &new_len,
756 pip->ip_len = new_len;
H A Dalias_smedia.c243 u_short p[2], new_len; local
410 new_len = htons(hlen + new_dlen);
412 &new_len,
415 pip->ip_len = new_len;
/vbox/src/VBox/Devices/PC/ipxe/src/net/
H A Ddhcpopts.c190 * @v new_len New length (including header)
195 size_t old_len, size_t new_len ) {
198 ssize_t delta = ( new_len - old_len );
208 if ( new_len > DHCP_MAX_LEN ) {
246 dest = ( ( ( void * ) option ) + new_len );
288 size_t new_len = ( len ? ( len + DHCP_OPTION_HEADER_LEN ) : 0 ); local
304 options, dhcp_tag_name ( tag ), old_len, new_len );
307 options, dhcp_tag_name ( tag ), new_len );
329 old_len, new_len ) ) != 0 )
/vbox/src/VBox/Devices/Network/lwip/src/core/
H A Dpbuf.c377 * @param new_len desired new length of pbuf chain
389 pbuf_realloc(struct pbuf *p, u16_t new_len) argument
401 if (new_len >= p->tot_len) {
406 /* the pbuf chain grows by (new_len - p->tot_len) bytes
408 grow = new_len - p->tot_len;
411 rem_len = new_len;
/vbox/src/VBox/Devices/Network/lwip-new/src/core/
H A Dpbuf.c418 * @param new_len desired new length of pbuf chain
430 pbuf_realloc(struct pbuf *p, u16_t new_len) argument
443 if (new_len >= p->tot_len) {
448 /* the pbuf chain grows by (new_len - p->tot_len) bytes
450 grow = new_len - p->tot_len;
453 rem_len = new_len;
/vbox/src/VBox/Devices/PC/ipxe/src/crypto/
H A Dasn1.c742 size_t new_len; local
750 new_len = ( builder->len + extra );
751 new = realloc ( builder->data, new_len );
761 builder->len = new_len;

Completed in 80 milliseconds