Home
last modified time | relevance | path

Searched refs:remaining_len (Results 1 – 9 of 9) sorted by relevance

/third_party/lwip/src/netif/
Dlowpan6.c371 u16_t frag_len, remaining_len, max_data_len; in lowpan6_frag() local
415 remaining_len = p->tot_len; in lowpan6_frag()
417 if (remaining_len > 0x7FF) { in lowpan6_frag()
426 if (remaining_len > max_data_len) { in lowpan6_frag()
444 remaining_len -= frag_len - lowpan6_header_len; in lowpan6_frag()
461 while ((remaining_len > 0) && (err == ERR_OK)) { in lowpan6_frag()
472 if (frag_len > remaining_len) { in lowpan6_frag()
473 frag_len = remaining_len; in lowpan6_frag()
476 pbuf_copy_partial(p, buffer + ieee_header_len + 5, frag_len, p->tot_len - remaining_len); in lowpan6_frag()
477 remaining_len -= frag_len; in lowpan6_frag()
[all …]
Dlowpan6_ble.c233 u16_t remaining_len; in rfc7668_compress() local
266 remaining_len = p->tot_len; in rfc7668_compress()
269 pbuf_copy_partial(p, buffer + lowpan6_header_len, remaining_len, 0); in rfc7668_compress()
272 p_frag->len = p_frag->tot_len = remaining_len + lowpan6_header_len; in rfc7668_compress()
/third_party/node/deps/uvwasi/src/
Dpath_resolver.c132 int remaining_len; in uvwasi__is_path_sandboxed() local
153 remaining_len = path_len - fd_path_len; in uvwasi__is_path_sandboxed()
154 if (remaining_len < 2) in uvwasi__is_path_sandboxed()
160 remaining_len--; in uvwasi__is_path_sandboxed()
163 if ((remaining_len == 2 && ptr[0] == '.' && ptr[1] == '.') || in uvwasi__is_path_sandboxed()
164 (remaining_len > 2 && ptr[0] == '.' && ptr[1] == '.' && ptr[2] == '/')) { in uvwasi__is_path_sandboxed()
/third_party/ffmpeg/libavformat/
Drmdec.c63 int remaining_len; member
704 if(rm->remaining_len > 0){ in rm_sync()
707 len= rm->remaining_len; in rm_sync()
757 rm->remaining_len = 0; in rm_sync()
792 rm->remaining_len = len; in rm_assemble_video_frame()
798 if(rm->remaining_len < len) { in rm_assemble_video_frame()
802 rm->remaining_len -= len; in rm_assemble_video_frame()
851 rm->remaining_len-= len; in rm_assemble_video_frame()
1113 rm->remaining_len=0; in rm_read_dts()
1358 if (rm->remaining_len) { in ivr_read_packet()
[all …]
/third_party/lwip/src/core/
Dpbuf.c1281 u16_t remaining_len = len; in pbuf_take_at() local
1288 remaining_len = (u16_t)(remaining_len - first_copy_len); in pbuf_take_at()
1290 if (remaining_len > 0) { in pbuf_take_at()
1291 return pbuf_take(q->next, src_ptr, remaining_len); in pbuf_take_at()
/third_party/rust/crates/serde/serde/src/ser/
Dimpls.rs637 let remaining_len = { localVariable
642 let written_len = buffer.len() - remaining_len;
/third_party/mbedtls/library/
Dssl_tls.c3642 size_t remaining_len; in ssl_session_save() local
3673 remaining_len = (buf_len >= used) ? buf_len - used : 0; in ssl_session_save()
3677 used += ssl_tls12_session_save(session, p, remaining_len); in ssl_session_save()
3683 ret = ssl_tls13_session_save(session, p, remaining_len, &out_len); in ssl_session_save()
3728 size_t remaining_len; in ssl_session_load() local
3760 remaining_len = (end - p); in ssl_session_load()
3764 return ssl_tls12_session_load(session, p, remaining_len); in ssl_session_load()
3769 return ssl_tls13_session_load(session, p, remaining_len); in ssl_session_load()
/third_party/node/deps/v8/src/wasm/
Dfunction-body-decoder-impl.h2476 size_t remaining_len = kMaxLen - len_;
2477 base::Vector<char> remaining_msg_space(buffer_ + len_, remaining_len);
2480 len_ += len < 0 ? remaining_len : len;
/third_party/rust/crates/memchr/bench/data/code/
Drust-library.rs47842 let remaining_len = self.len - len; localVariable
47843 let s = ptr::slice_from_raw_parts_mut(self.as_mut_ptr().add(len), remaining_len);