Home
last modified time | relevance | path

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

/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/lwip/src/netif/
Dlowpan6.c346 u16_t frag_len, remaining_len, max_data_len; in lowpan6_frag() local
390 remaining_len = p->tot_len; in lowpan6_frag()
392 if (remaining_len > 0x7FF) { in lowpan6_frag()
401 if (remaining_len > max_data_len) { in lowpan6_frag()
419 remaining_len -= frag_len - lowpan6_header_len; in lowpan6_frag()
436 while ((remaining_len > 0) && (err == ERR_OK)) { in lowpan6_frag()
447 if (frag_len > remaining_len) { in lowpan6_frag()
448 frag_len = remaining_len; in lowpan6_frag()
451 pbuf_copy_partial(p, buffer + ieee_header_len + 5, frag_len, p->tot_len - remaining_len); in lowpan6_frag()
452 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/uboot/u-boot-2020.01/drivers/spi/
Dspi-sifive.c197 u32 remaining_len; in sifive_spi_xfer() local
210 remaining_len = bitlen / 8; in sifive_spi_xfer()
212 while (remaining_len) { in sifive_spi_xfer()
215 n_words = min(remaining_len, spi->fifo_depth); in sifive_spi_xfer()
235 remaining_len -= n_words; in sifive_spi_xfer()
/third_party/ffmpeg/libavformat/
Drmdec.c63 int remaining_len; member
693 if(rm->remaining_len > 0){ in rm_sync()
696 len= rm->remaining_len; in rm_sync()
746 rm->remaining_len = 0; in rm_sync()
781 rm->remaining_len = len; in rm_assemble_video_frame()
787 if(rm->remaining_len < len) { in rm_assemble_video_frame()
791 rm->remaining_len -= len; in rm_assemble_video_frame()
841 rm->remaining_len-= len; in rm_assemble_video_frame()
1101 rm->remaining_len=0; in rm_read_dts()
1342 if (rm->remaining_len) { in ivr_read_packet()
[all …]
/third_party/lwip/src/core/
Dpbuf.c1324 u16_t remaining_len = len; in pbuf_take_at() local
1331 remaining_len = (u16_t)(remaining_len - first_copy_len); in pbuf_take_at()
1333 if (remaining_len > 0) { in pbuf_take_at()
1334 return pbuf_take(q->next, src_ptr, remaining_len); in pbuf_take_at()