Home
last modified time | relevance | path

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

/third_party/lwip/src/core/
Dtcp_out.c532 u16_t seglen = LWIP_MIN(space, len - pos); in tcp_write() local
540 …if ((concat_p = tcp_pbuf_prealloc(PBUF_RAW, seglen, space, &oversize, pcb, apiflags, 1)) == NULL) { in tcp_write()
543 seglen)); in tcp_write()
549 …TCP_DATA_COPY2(concat_p->payload, (const u8_t *)arg + pos, seglen, &concat_chksum, &concat_chksum_… in tcp_write()
551 concat_chksummed += seglen; in tcp_write()
562 extendlen = seglen; in tcp_write()
564 if ((concat_p = pbuf_alloc(PBUF_RAW, seglen, PBUF_ROM)) == NULL) { in tcp_write()
575 tcp_seg_add_chksum(~inet_chksum((const u8_t *)arg + pos, seglen), seglen, in tcp_write()
577 concat_chksummed += seglen; in tcp_write()
581 pos += seglen; in tcp_write()
[all …]
/third_party/grpc/third_party/upb/upb/pb/
Dencoder.c91 uint32_t seglen; /* Length of the segment. */ member
209 e->segptr->seglen += run_len; in accumulate()
252 e->segptr->seglen = 0; in start_delim()
274 putbuf(e, ptr, s->seglen); in end_delim()
275 ptr += s->seglen; in end_delim()
/third_party/protobuf/ruby/ext/google/protobuf_c/
Dupb.c8071 uint32_t seglen; /* Length of the segment. */ member
8189 e->segptr->seglen += run_len; in accumulate()
8232 e->segptr->seglen = 0; in start_delim()
8254 putbuf(e, ptr, s->seglen); in end_delim()
8255 ptr += s->seglen; in end_delim()