/hal_espressif-3.6.0/examples/storage/semihost_vfs/main/ |
D | semihost_vfs_example_main.c | 71 ssize_t read_bytes; in app_main() local 74 read_bytes = read(fd, s_buf, sizeof(s_buf)); in app_main() 75 if(read_bytes == -1) { in app_main() 77 } else if(read_bytes > 0) { in app_main() 78 fwrite(s_buf, 1, read_bytes, stdout); in app_main() 79 count += read_bytes; in app_main() 81 } while(read_bytes > 0); in app_main()
|
/hal_espressif-3.6.0/components/vfs/test/ |
D | test_vfs_select.c | 182 int read_bytes = read(uart_fd, recv_message, sizeof(message)); 183 TEST_ASSERT_EQUAL(read_bytes, sizeof(message)); 199 read_bytes = read(uart_fd, recv_message, sizeof(message)); 200 TEST_ASSERT_EQUAL(read_bytes, sizeof(message)); 242 int read_bytes = read(uart_fd, recv_message, sizeof(message)); 243 TEST_ASSERT_EQUAL(read_bytes, sizeof(message)); 260 read_bytes = read(uart_fd, recv_message, sizeof(message)); 261 TEST_ASSERT_EQUAL(read_bytes, sizeof(message)); 303 int read_bytes = read(socket_fd, recv_message, sizeof(message)); 304 TEST_ASSERT_EQUAL(read_bytes, sizeof(message)); [all …]
|
/hal_espressif-3.6.0/examples/protocols/http_server/restful_server/main/ |
D | rest_server.c | 81 ssize_t read_bytes; in rest_common_get_handler() local 84 read_bytes = read(fd, chunk, SCRATCH_BUFSIZE); in rest_common_get_handler() 85 if (read_bytes == -1) { in rest_common_get_handler() 87 } else if (read_bytes > 0) { in rest_common_get_handler() 89 if (httpd_resp_send_chunk(req, chunk, read_bytes) != ESP_OK) { in rest_common_get_handler() 99 } while (read_bytes > 0); in rest_common_get_handler()
|
/hal_espressif-3.6.0/examples/system/select/main/ |
D | select_example.c | 160 int read_bytes; in check_and_print() local 163 if ((read_bytes = read(fd, buf, sizeof(buf)-1)) > 0) { in check_and_print() 164 buf[read_bytes] = '\0'; in check_and_print() 165 ESP_LOGI(TAG, "%d bytes were received through %s: %s", read_bytes, src_msg, buf); in check_and_print()
|
/hal_espressif-3.6.0/components/esp_rom/include/esp32s3/rom/usb/ |
D | usb_dc.h | 310 const uint32_t max_data_len, uint32_t *const read_bytes); 346 uint32_t *read_bytes);
|
D | usb_device.h | 311 uint32_t *read_bytes);
|
/hal_espressif-3.6.0/components/esp_rom/include/esp32s2/rom/usb/ |
D | usb_dc.h | 310 const uint32_t max_data_len, uint32_t *const read_bytes); 346 uint32_t *read_bytes);
|
D | usb_device.h | 311 uint32_t *read_bytes);
|
/hal_espressif-3.6.0/components/esptool_py/esptool/esptool/ |
D | loader.py | 529 read_bytes = self._port.read(waiting) 531 b"boot:(0x[0-9a-fA-F]+)(.*waiting for download)?", read_bytes, re.DOTALL 1506 read_bytes = port.read(1 if waiting == 0 else waiting) 1507 if read_bytes == b"": 1520 trace_function("Read %d bytes: %s", len(read_bytes), HexFormatter(read_bytes)) 1521 for b in read_bytes: 1527 trace_function("Read invalid data: %s", HexFormatter(read_bytes)) 1533 detect_panic_handler(read_bytes + remaining_data) 1545 trace_function("Read invalid data: %s", HexFormatter(read_bytes)) 1551 detect_panic_handler(read_bytes + remaining_data)
|
/hal_espressif-3.6.0/components/tinyusb/additions/src/ |
D | tusb_cdc_acm.c | 230 …rx_unread_to_buffer(esp_tusb_cdcacm_t *acm, uint8_t *out_buf, size_t req_bytes, size_t *read_bytes) in read_from_rx_unread_to_buffer() argument 232 uint8_t *buf = xRingbufferReceiveUpTo(acm->rx_unread_buf, read_bytes, 0, req_bytes); in read_from_rx_unread_to_buffer() 234 memcpy(out_buf, buf, *read_bytes); in read_from_rx_unread_to_buffer()
|
/hal_espressif-3.6.0/examples/protocols/smtp_client/main/ |
D | smtp_client_example_main.c | 460 int read_bytes = MIN(((sizeof (base64_buffer) - 1) / 4) * 3, esp_logo_png_end - offset - 1); in smtp_client_task() local 462 &base64_len, (unsigned char *) offset, read_bytes); in smtp_client_task() 467 offset += read_bytes; in smtp_client_task()
|
/hal_espressif-3.6.0/components/console/linenoise/ |
D | linenoise.c | 1050 size_t read_bytes = 0; in linenoiseProbe() local 1051 while (timeout_ms > 0 && read_bytes < 4) { // response is ESC[0n or ESC[3n in linenoiseProbe() 1059 read_bytes += cb; in linenoiseProbe() 1067 if (read_bytes < 4) { in linenoiseProbe()
|