/Zephyr-Core-2.7.6/tests/kernel/pipe/pipe/src/ |
D | test_pipe.c | 174 size_t read; in pipe_get_single() local 189 single_elements[index].size, &read, in pipe_get_single() 199 zassert_true((read == single_elements[index].sent_bytes), in pipe_get_single() 201 read, single_elements[index].sent_bytes, index); in pipe_get_single() 203 zassert_true(rx_buffer_check(rx_buffer, read) == read, in pipe_get_single() 205 index, read, rx_buffer_check(rx_buffer, read)); in pipe_get_single() 252 size_t read; in pipe_get_multiple() local 267 multiple_elements[index].size, &read, in pipe_get_multiple() 277 zassert_true((read == multiple_elements[index].sent_bytes), in pipe_get_multiple() 279 read, multiple_elements[index].sent_bytes, index); in pipe_get_multiple() [all …]
|
/Zephyr-Core-2.7.6/samples/boards/intel_s1000_crb/audio/src/ |
D | audio_core.c | 42 int32_t *read; in audio_core_process_mic_source() local 44 read = buffer; in audio_core_process_mic_source() 49 mic_input[channel][sample] = read[channel]; in audio_core_process_mic_source() 51 read += channels; in audio_core_process_mic_source() 61 int32_t *read; in audio_core_process_host_source() local 63 read = buffer; in audio_core_process_host_source() 68 host_input[channel][sample] = read[channel]; in audio_core_process_host_source() 70 read += channels; in audio_core_process_host_source()
|
/Zephyr-Core-2.7.6/samples/sensor/grove_light/src/ |
D | main.c | 24 int read; in main() local 27 read = sensor_sample_fetch(dev); in main() 28 if (read) { in main() 29 printf("sample fetch error %d\n", read); in main()
|
/Zephyr-Core-2.7.6/samples/bluetooth/hci_uart/src/ |
D | main.c | 117 int read; in rx_isr() local 123 read = h4_read(hci_uart_dev, &type, sizeof(type)); in rx_isr() 127 if (read) { in rx_isr() 140 read = h4_read(hci_uart_dev, in rx_isr() 143 remaining -= read; in rx_isr() 172 read = h4_read(hci_uart_dev, net_buf_tail(buf), in rx_isr() 174 buf->len += read; in rx_isr() 175 remaining -= read; in rx_isr() 188 read = h4_read(hci_uart_dev, discard, to_read); in rx_isr() 189 remaining -= read; in rx_isr() [all …]
|
/Zephyr-Core-2.7.6/drivers/usb/device/ |
D | usb_dc_native_posix_adapt.c | 191 int read; in handle_usbip_submit() local 195 read = recv(connfd, req, sizeof(*req), 0); in handle_usbip_submit() 196 if (read != sizeof(*req)) { in handle_usbip_submit() 212 int read; in handle_usbip_unlink() local 217 read = recv(connfd, &hdr->u, sizeof(hdr->u), 0); in handle_usbip_unlink() 218 if (read != sizeof(hdr->u)) { in handle_usbip_unlink() 330 int read; in usbip_start() local 335 read = recv(connfd, &req, sizeof(req), 0); in usbip_start() 336 if (read < 0) { in usbip_start() 346 if (read != sizeof(req)) { in usbip_start() [all …]
|
/Zephyr-Core-2.7.6/scripts/coredump/coredump_parser/ |
D | log_parser.py | 75 hdr = self.fd.read(LOG_ARCH_HDR_SIZE) 78 arch_data = self.fd.read(num_bytes) 85 hdr = self.fd.read(LOG_MEM_HDR_SIZE) 101 data = self.fd.read(struct.calcsize(ptr_fmt)) 106 data = self.fd.read(size) 120 hdr = self.fd.read(LOG_HDR_SIZE) 148 section_id = self.fd.read(1)
|
/Zephyr-Core-2.7.6/samples/subsys/usb/cdc_acm_composite/src/ |
D | main.c | 53 size_t read, wrote; in interrupt_handler() local 56 read = uart_fifo_read(dev, buf, sizeof(buf)); in interrupt_handler() 57 if (read) { in interrupt_handler() 58 wrote = ring_buf_put(rb, buf, read); in interrupt_handler() 59 if (wrote < read) { in interrupt_handler() 60 LOG_ERR("Drop %zu bytes", read - wrote); in interrupt_handler()
|
/Zephyr-Core-2.7.6/tests/net/socket/socketpair/src/ |
D | test_socketpair_closed_ends.c | 18 #undef read 19 #define read(fd, buf, len) zsock_recv(fd, buf, len, 0) macro 69 res = read(sv[(!i) & 1], xx, sizeof(xx)); in test_socketpair_close_one_end_and_read_from_the_other() 74 res = read(sv[(!i) & 1], xx, sizeof(xx)); in test_socketpair_close_one_end_and_read_from_the_other()
|
D | test_socketpair_nonblock.c | 20 #undef read 21 #define read(fd, buf, len) zsock_recv(fd, buf, len, 0) macro 78 res = read(sv[i], &c, 1); in test_socketpair_read_nonblock()
|
D | test_socketpair_block.c | 21 #undef read 22 #define read(fd, buf, len) zsock_recv(fd, buf, len, 0) macro 64 res = read(ctx.fd, &c, 1); in work_handler() 151 res = read(sv[i], &x, 1); in test_socketpair_read_block()
|
D | test_socketpair_fcntl.c | 20 #undef read 21 #define read(fd, buf, len) zsock_recv(fd, buf, len, 0) macro
|
D | test_socketpair_happy_path.c | 19 #undef read 20 #define read(fd, buf, len) zsock_recv(fd, buf, len, 0) macro 70 res = read(sv[(!i) & 1], actual_msg, sizeof(actual_msg)); in happy_path() 147 res = read(sv[(!i) & 1], actual_msg, sizeof(actual_msg)); in happy_path()
|
D | test_socketpair_expected_failures.c | 20 #undef read 21 #define read(fd, buf, len) zsock_recv(fd, buf, len, 0) macro
|
D | test_socketpair_unsupported_calls.c | 20 #undef read 21 #define read(fd, buf, len) zsock_recv(fd, buf, len, 0) macro
|
/Zephyr-Core-2.7.6/subsys/fs/ |
D | shell.c | 301 ssize_t read; in cmd_read() local 305 read = fs_read(&file, buf, MIN(count, sizeof(buf))); in cmd_read() 306 if (read <= 0) { in cmd_read() 312 for (i = 0; i < read; i++) { in cmd_read() 321 for (i = 0; i < read; i++) { in cmd_read() 328 offset += read; in cmd_read() 329 count -= read; in cmd_read() 344 ssize_t read; in cmd_cat() local 370 read = fs_read(&file, buf, sizeof(buf)); in cmd_cat() 371 if (read <= 0) { in cmd_cat() [all …]
|
/Zephyr-Core-2.7.6/drivers/spi/ |
D | Kconfig.nrfx | 57 hex "SPI Port 0 over-read character" 62 Over-read character. Character clocked out after an over-read 91 hex "SPI Port 1 over-read character" 96 Over-read character. Character clocked out after an over-read 125 hex "SPI Port 2 over-read character" 130 Over-read character. Character clocked out after an over-read 149 hex "SPI Port 3 over-read character" 154 Over-read character. Character clocked out after an over-read 174 hex "SPI Port 4 over-read character" 179 Over-read character. Character clocked out after an over-read
|
/Zephyr-Core-2.7.6/samples/sensor/grove_temperature/src/ |
D | main.c | 26 int read; in main() local 49 read = sensor_sample_fetch(dev); in main() 50 if (read) { in main()
|
/Zephyr-Core-2.7.6/scripts/ |
D | file2hex.py | 59 gz_obj.write(fg.read()) 62 for chunk in iter(lambda: content.read(8), b''): 66 for chunk in iter(lambda: fp.read(8), b''):
|
/Zephyr-Core-2.7.6/samples/net/sockets/socketpair/ |
D | README.rst | 47 fd: 8: read 21 bytes 52 fd: 3: read 15 bytes 57 fd: 5: read 15 bytes 84 fd: 3: read 15 bytes 88 fd: 5: read 15 bytes 94 fd: 7: read 21 bytes
|
/Zephyr-Core-2.7.6/tests/posix/fs/src/ |
D | test_fs_open_flags.c | 62 ret = read(fd, &data, sizeof(data)); in test_file_open_flags() 91 ret = read(fd, &data, sizeof(data)); in test_file_open_flags() 120 ret = read(fd, &data, sizeof(data)); in test_file_open_flags() 149 ret = read(fd, &data, sizeof(data)); in test_file_open_flags() 177 ret = read(fd, &data, sizeof(data)); in test_file_open_flags() 207 ret = read(fd, &data, sizeof(data)); in test_file_open_flags()
|
/Zephyr-Core-2.7.6/tests/bluetooth/bsim_bt/edtt_ble_test_app/common/ |
D | edtt_driver_bsim.c | 100 int read = 0; in edtt_read() local 111 read += received_bytes; in edtt_read() 126 return read; in edtt_read() 245 int received_bytes = read(fifo[TO_DEVICE], bufptr, size); in fifo_low_level_read()
|
/Zephyr-Core-2.7.6/subsys/shell/ |
D | shell_dummy.c | 79 static int read(const struct shell_transport *transport, in read() function 98 .read = read
|
D | shell_rtt.c | 94 static int read(const struct shell_transport *transport, in read() function 107 .read = read
|
/Zephyr-Core-2.7.6/include/drivers/ |
D | bbram.h | 65 bbram_api_read read; member 178 if (!api->read) { in z_impl_bbram_read() 182 return api->read(dev, offset, size, data); in z_impl_bbram_read()
|
D | eeprom.h | 43 eeprom_api_read read; member 67 return api->read(dev, offset, data, len); in z_impl_eeprom_read()
|