Home
last modified time | relevance | path

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

/external/syslinux/core/lwip/src/core/
Dtcp_out.c463 u16_t seglen = space < len - pos ? space : len - pos; in tcp_write() local
471 …if ((concat_p = tcp_pbuf_prealloc(PBUF_RAW, seglen, space, &oversize, pcb, apiflags, 1)) == NULL) { in tcp_write()
474 seglen)); in tcp_write()
480 …TCP_DATA_COPY2(concat_p->payload, (u8_t*)arg + pos, seglen, &concat_chksum, &concat_chksum_swapped… in tcp_write()
482 concat_chksummed += seglen; in tcp_write()
486 if ((concat_p = pbuf_alloc(PBUF_RAW, seglen, PBUF_ROM)) == NULL) { in tcp_write()
493 tcp_seg_add_chksum(~inet_chksum((u8_t*)arg + pos, seglen), seglen, in tcp_write()
495 concat_chksummed += seglen; in tcp_write()
501 pos += seglen; in tcp_write()
521 u16_t seglen = left > max_len ? max_len : left; in tcp_write() local
[all …]
/external/protobuf/php/ext/google/protobuf/
Dupb.c8591 uint32_t seglen; /* Length of the segment. */ member
8709 e->segptr->seglen += run_len; in accumulate()
8752 e->segptr->seglen = 0; in start_delim()
8774 putbuf(e, ptr, s->seglen); in end_delim()
8775 ptr += s->seglen; in end_delim()
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.c9302 uint32_t seglen; /* Length of the segment. */ member
9420 e->segptr->seglen += run_len; in accumulate()
9463 e->segptr->seglen = 0; in start_delim()
9485 putbuf(e, ptr, s->seglen); in end_delim()
9486 ptr += s->seglen; in end_delim()