Searched refs:newbuf (Results 1 - 25 of 32) sorted by relevance

12

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openvpn-2.3.1/src/openvpn/
H A Dmss.c67 struct buffer newbuf = *buf; local
68 if (buf_advance (&newbuf, hlen))
70 struct openvpn_tcphdr *tc = (struct openvpn_tcphdr *) BPTR (&newbuf);
72 mss_fixup_dowork (&newbuf, (uint16_t) maxmss);
86 struct buffer newbuf; local
113 newbuf = *buf;
114 if ( buf_advance( &newbuf, 40 ) )
116 struct openvpn_tcphdr *tc = (struct openvpn_tcphdr *) BPTR (&newbuf);
118 mss_fixup_dowork (&newbuf, (uint16_t) maxmss-20);
H A Dssl.c3246 struct buffer newbuf = clone_buf (buf); local
3258 status = read_control_auth (&newbuf, &co, from);
3259 free_buf (&newbuf);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/src/share/utf8/
H A Diconvert.c62 char *utfbuf = 0, *outbuf, *newbuf; local
126 newbuf = (char *)realloc(utfbuf, utflen);
127 if (!newbuf)
129 ob = (ob - utfbuf) + newbuf;
130 obl = utflen - (ob - newbuf);
131 utfbuf = newbuf;
151 newbuf = (char *)safe_realloc_add_2op_(utfbuf, (ob - utfbuf), /*+*/1);
152 if (!newbuf)
154 ob = (ob - utfbuf) + newbuf;
156 *to = newbuf;
[all...]
H A Dcharset.c488 char *tobuf, *p, *newbuf; local
523 newbuf = realloc(tobuf, p - tobuf);
524 *to = newbuf ? newbuf : tobuf;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/ia64/sn/kernel/
H A Dmca.c99 u8 *newbuf = vmalloc(*sn_oemdata_size); local
100 if (!newbuf) {
107 *sn_oemdata = newbuf;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/curl/curl-7.36.0/tests/server/
H A Dfake_ntlm.c53 char *newbuf; local
87 newbuf = realloc(outbuf, newsize);
88 if(!newbuf) {
92 outbuf = newbuf;
/netgear-R7000-V1.0.7.12_1.2.5/src/router/iputils/libipsec/
H A Dipsec_dump_policy.c78 char *newbuf; local
158 newbuf = (char *)realloc(buf, buflen);
159 if (newbuf == NULL) {
164 buf = newbuf;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavutil/
H A Dbuffer.c140 AVBufferRef *newbuf, *buf = *pbuf; local
145 newbuf = av_buffer_alloc(buf->size);
146 if (!newbuf)
149 memcpy(newbuf->data, buf->data, buf->size);
151 *pbuf = newbuf;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/curl/curl-7.36.0/src/
H A Dtool_paramhlp.c89 char *newbuf; local
105 if((newbuf = realloc(buffer, alloc+1)) == NULL) {
109 buffer = newbuf;
118 if((newbuf = realloc(buffer, nused+1)) == NULL) {
122 buffer = newbuf;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavfilter/
H A Dvsrc_life.c295 uint8_t *newbuf = life->buf[!life->buf_idx]; local
334 if (alive) *newbuf = ALIVE_CELL; // new cell is alive
335 else if (cell) *newbuf = cell - 1; // new cell is dead and in the process of mold
336 else *newbuf = 0; // new cell is definitely dead
337 av_dlog(ctx, "i:%d j:%d live_neighbors:%d cell:%d -> cell:%d\n", i, j, n, cell, *newbuf);
338 newbuf++;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/dhcp6/
H A Dnetlink.c288 void *newbuf = realloc(buf, newsize); local
289 if (newbuf == NULL) {
293 buf = newbuf;
/netgear-R7000-V1.0.7.12_1.2.5/src/router/dhcp6/
H A Dnetlink.c288 void *newbuf = realloc(buf, newsize); local
289 if (newbuf == NULL) {
293 buf = newbuf;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libevent-1.4.14b-stable/
H A Dbuffer.c366 void *newbuf; local
376 if ((newbuf = realloc(buf->buffer, length)) == NULL)
379 buf->orig_buffer = buf->buffer = newbuf;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/aMule-2.3.1/unittests/tests/
H A DCTagTest.cpp417 CMemFile newbuf; local
418 newbuf.WriteTag(*tag);
420 CONTEXT(wxT("Serialized : ") + toString(newbuf));
422 newbuf.Seek(0, wxFromStart);
426 ASSERT_EQUALS(packet[i], newbuf.ReadUInt8());
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/alsa-lib-1.0.26/src/seq/
H A Dseq.c1231 char *newbuf; local
1232 newbuf = calloc(1, size);
1233 if (newbuf == NULL)
1236 seq->obuf = newbuf;
1259 snd_seq_event_t *newbuf; local
1260 newbuf = calloc(sizeof(snd_seq_event_t), size);
1261 if (newbuf == NULL)
1264 seq->ibuf = newbuf;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/core/
H A Drawmidi.c631 char *newbuf; local
644 newbuf = kmalloc(params->buffer_size, GFP_KERNEL);
645 if (!newbuf)
648 runtime->buffer = newbuf;
660 char *newbuf; local
671 newbuf = kmalloc(params->buffer_size, GFP_KERNEL);
672 if (!newbuf)
675 runtime->buffer = newbuf;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/tiff/
H A Dtif_jpeg.c417 void* newbuf; local
420 newbuf = _TIFFrealloc((tdata_t) sp->jpegtables,
422 if (newbuf == NULL)
424 sp->dest.next_output_byte = (JOCTET*) newbuf + sp->jpegtables_length;
426 sp->jpegtables = newbuf;
H A Dtif_ojpeg.c413 { void *newbuf; local
417 if (!( newbuf = _TIFFrealloc( (tdata_t)sp->jpegtables
422 sp->dest.next_output_byte = (JOCTET *)newbuf + sp->jpegtables_length;
424 sp->jpegtables = newbuf;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/tokenring/
H A Dtms380tr.c565 dma_addr_t dmabuf, newbuf; local
594 newbuf = ((char *)buf - (char *)tp) + tp->dmabuffer;
598 newbuf = dmabuf;
612 tpl->FragList[0].DataAddr = htonl(newbuf);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/
H A Dpipe.c541 int newbuf = (pipe->curbuf + bufs) & (pipe->buffers-1); local
542 struct pipe_buffer *buf = pipe->bufs + newbuf;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/libxml2-2.7.2/source/
H A DSAX2.c2459 xmlChar *newbuf; local
2464 newbuf = (xmlChar *) xmlRealloc(lastChild->content,size);
2465 if (newbuf == NULL) {
2470 lastChild->content = newbuf;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gnulib-local/lib/libxml/
H A DSAX2.c2441 xmlChar *newbuf; local
2446 newbuf = (xmlChar *) xmlRealloc(lastChild->content,size);
2447 if (newbuf == NULL) {
2452 lastChild->content = newbuf;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/libxml2-2.7.2/
H A DSAX2.c2459 xmlChar *newbuf; local
2464 newbuf = (xmlChar *) xmlRealloc(lastChild->content,size);
2465 if (newbuf == NULL) {
2470 lastChild->content = newbuf;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/libxml/
H A DSAX2.c2441 xmlChar *newbuf; local
2446 newbuf = (xmlChar *) xmlRealloc(lastChild->content,size);
2447 if (newbuf == NULL) {
2452 lastChild->content = newbuf;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ntfs-3g-2009.3.8/libfuse-lite/
H A Dfuse.c306 char *newbuf; local
315 newbuf = realloc(*buf, newbufsize);
316 if (newbuf == NULL)
319 *buf = newbuf;
320 s = newbuf + newbufsize - pathlen;
321 memmove(s, newbuf + *bufsize - pathlen, pathlen);

Completed in 513 milliseconds

12