Home
last modified time | relevance | path

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

/AliOS-Things-master/components/csi/csi1/src/
A Ddev_ringbuf.c86 uint32_t writelen = 0, tmplen = 0; in dev_ringbuf_in() local
92 writelen = tmplen > len ? len : tmplen; in dev_ringbuf_in()
95 memcpy((void*)&fifo->buffer[fifo->write], (void*)datptr, writelen); in dev_ringbuf_in()
98 if(writelen <= tmplen) { in dev_ringbuf_in()
99 memcpy((void*)&fifo->buffer[fifo->write], (void*)datptr, writelen); in dev_ringbuf_in()
102 memcpy((void*)fifo->buffer, (uint8_t*)datptr + tmplen, writelen - tmplen); in dev_ringbuf_in()
107 fifo->write = (fifo->write + writelen) % fifo->size; in dev_ringbuf_in()
108 fifo->data_len += writelen; in dev_ringbuf_in()
111 return writelen; in dev_ringbuf_in()
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/sendfile/
A Dsendfile.c24 int writelen; in sendfile() local
56 writelen = write(out_fd, data + *offset - curlen, curlen - *offset); in sendfile()
57 if (((writelen < 0)&&(EAGAIN != errno) && (EINTR != errno) && (EINPROGRESS != errno)) in sendfile()
58 || (writelen != readlen)) { in sendfile()
65 writelen = write(out_fd, data, readlen); in sendfile()
66 if (((writelen < 0)&&(EAGAIN != errno) && (EINTR != errno) && (EINPROGRESS != errno)) in sendfile()
67 || (writelen != readlen)) { in sendfile()
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/misc/
A Drtl8721d_ota.c1231 buf = Recvbuf + writelen;
1233 if (writelen < 32) {
1234 TempLen = 32 - writelen;
1493 int writelen = 0;
1565 writelen = idx - rsp_result.header_len;
1569 memset(alloc+writelen, 0, rsp_result.header_len);
1697 buf = Recvbuf + writelen;
1699 if (writelen < 32) {
1700 TempLen = 32 - writelen;
1951 int writelen = 0;
[all …]
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/
A Drtl8721d_ota.h166 u32 recv_ota_file_hdr_http(u8 * Recvbuf, u32 writelen, u32 * len, update_ota_target_hdr * pOtaTgtHd…
180 u32 recv_ota_file_hdr_https(u8 * Recvbuf, u32 writelen, u32 * len, update_ota_target_hdr * pOtaTgtH…
/AliOS-Things-master/components/drivers/peripheral/flash/src/
A Dmtdnand.c295 uint16_t writelen = desc->datlen; in nand_do_write_desc() local
305 if (!writelen) in nand_do_write_desc()
332 uint16_t bytes = min(chip->page_size, writelen); in nand_do_write_desc()
357 writelen -= bytes; in nand_do_write_desc()
358 if (!writelen) in nand_do_write_desc()
365 desc->datretlen = desc->datlen - writelen; in nand_do_write_desc()
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/mdns/
A Dmdns.c739 u8_t writelen = 0; in mdns_compress_domain() local
750 while (writelen < domain->length) { in mdns_compress_domain()
751 u8_t domainlen = (u8_t)(domain->length - writelen); in mdns_compress_domain()
763 return writelen; in mdns_compress_domain()
768 writelen += 1 + labellen; in mdns_compress_domain()
787 u16_t writelen = domain->length; in mdns_write_domain() local
796 if (len < writelen) { in mdns_write_domain()
797 writelen = len; in mdns_write_domain()
804 if (writelen) { in mdns_write_domain()
806 res = pbuf_take_at(outpkt->pbuf, domain->name, writelen, outpkt->write_offset); in mdns_write_domain()
[all …]

Completed in 15 milliseconds