/lk-master/external/platform/pico/rp2_common/pico_printf/ |
A D | printf.c | 139 ((char *) buffer)[idx] = character; in _out_buffer() 146 (void) buffer; in _out_null() 153 (void) buffer; in _out_char() 168 ((out_fct_wrap_type *) buffer)->fct(character, ((out_fct_wrap_type *) buffer)->arg); in _out_fct() 207 out(' ', buffer, idx++, maxlen); in _out_rev() 213 out(buf[--len], buffer, idx++, maxlen); in _out_rev() 219 out(' ', buffer, idx++, maxlen); in _out_rev() 583 if (!buffer) { in _vsnprintf() 592 out(*format, buffer, idx++, maxlen); in _vsnprintf() 870 out('%', buffer, idx++, maxlen); in _vsnprintf() [all …]
|
/lk-master/lib/fs/fat32/ |
A D | fat_fs.h | 52 #define fat_read32(buffer,off) \ argument 53 (((uint8_t *)buffer)[(off)] + (((uint8_t *)buffer)[(off)+1] << 8) + \ 54 (((uint8_t *)buffer)[(off)+2] << 16) + (((uint8_t *)buffer)[(off)+3] << 24)) 56 #define fat_read16(buffer,off) \ argument 57 (((uint8_t *)buffer)[(off)] + (((uint8_t *)buffer)[(off)+1] << 8))
|
/lk-master/external/platform/pico/rp2_common/pico_stdio/ |
A D | stdio.c | 144 int _read(int handle, char *buffer, int length) { in _read() argument 151 int _write(int handle, char *buffer, int length) { in _write() argument 153 stdio_put_string(buffer, length, false); in _write() 189 if (buffer->used) { in stdio_stack_buffer_flush() 193 stdio_out_chars_crlf(d, buffer->buf, buffer->used); in stdio_stack_buffer_flush() 195 buffer->used = 0; in stdio_stack_buffer_flush() 201 if (buffer->used == PICO_STDIO_STACK_BUFFER_SIZE) { in stdio_buffered_printer() 202 stdio_stack_buffer_flush(buffer); in stdio_buffered_printer() 204 buffer->buf[buffer->used++] = c; in stdio_buffered_printer() 216 struct stdio_stack_buffer buffer = {.used = 0}; in WRAPPER_FUNC() local [all …]
|
/lk-master/lib/console/ |
A D | console.c | 364 buffer[pos] = 0; in read_debug_line() 368 add_history(con, buffer); in read_debug_line() 372 *outbuffer = buffer; in read_debug_line() 545 buffer[outpos] = 0; in tokenize_command() 575 const char *buffer; in command_loop() local 719 char *buffer; member 742 lineread->buffer[bufpos] = 0; in fetch_next_line() 744 *buffer = lineread->buffer; in fetch_next_line() 759 free(lineread.buffer); in console_run_script_etc() 842 buffer[pos++] = c; in read_line_panic() [all …]
|
/lk-master/external/platform/lpc15xx/lpcopen/lpc_chip_15xx/inc/usbd/ |
A D | usbd_cdcuser.h | 212 ErrorCode_t (*SendEncpsCmd) (USBD_HANDLE_T hCDC, uint8_t* buffer, uint16_t len); 231 ErrorCode_t (*GetEncpsResp) (USBD_HANDLE_T hCDC, uint8_t** buffer, uint16_t* len); 249 …ErrorCode_t (*SetCommFeature) (USBD_HANDLE_T hCDC, uint16_t feature, uint8_t* buffer, uint16_t len… 472 ErrorCode_t (*SendEncpsCmd) (USBD_HANDLE_T hCDC, uint8_t* buffer, uint16_t len); 473 ErrorCode_t (*GetEncpsResp) (USBD_HANDLE_T hCDC, uint8_t** buffer, uint16_t* len); 474 …ErrorCode_t (*SetCommFeature) (USBD_HANDLE_T hCDC, uint16_t feature, uint8_t* buffer, uint16_t len… 500 ErrorCode_t (*SendEncpsCmd)(USBD_HANDLE_T hCDC, uint8_t *buffer, uint16_t len); 501 ErrorCode_t (*GetEncpsResp)(USBD_HANDLE_T hCDC, uint8_t * *buffer, uint16_t *len); 502 ErrorCode_t (*SetCommFeature)(USBD_HANDLE_T hCDC, uint16_t feature, uint8_t *buffer, uint16_t len);
|
/lk-master/lib/klog/ |
A D | klog.c | 244 if (buffer >= klog_buf->log_count) in klog_set_current_buffer() 248 klog = find_nth_log(buffer); in klog_set_current_buffer() 398 if (buffer >= 0 && (uint)buffer >= klog_buf->log_count) in klog_get_buffer() 402 if (buffer < 0) in klog_get_buffer() 405 k = find_nth_log(buffer); in klog_get_buffer() 429 void klog_dump(int buffer) { in klog_dump() argument 543 int buffer = -1; in cmd_klog() local 546 buffer = argv[2].u; in cmd_klog() 548 klog_dump(buffer); in cmd_klog() 550 int buffer = -1; in cmd_klog() local [all …]
|
/lk-master/app/moot/ |
A D | usbboot.c | 120 static uint8_t buffer[4096]; in handle_usb_cmd() local 172 ssize_t xfer = (image_length > (ssize_t)sizeof(buffer)) ? in handle_usb_cmd() 173 (ssize_t)sizeof(buffer) : image_length; in handle_usb_cmd() 176 st = usb_recv(buffer, xfer, USB_READ_TIMEOUT, &bytes_received); in handle_usb_cmd() 187 ssize_t written = bio_write(dev, buffer, addr, bytes_received); in handle_usb_cmd() 219 size_t buflen = sizeof(buffer); in handle_usb_cmd() 220 snprintf((char *)buffer, buflen, "%s\n%s\n%s\n%s\n%s", in handle_usb_cmd() 225 resp->arg = strnlen((char *)buffer, buflen); in handle_usb_cmd() 227 usb_xmit((void *)buffer, resp->arg); in handle_usb_cmd()
|
/lk-master/lib/klog/include/lib/ |
A D | klog.h | 28 status_t klog_set_current_buffer(uint buffer); 31 void klog_dump(int buffer); 38 int klog_get_buffer(int buffer, iovec_t *vec);
|
/lk-master/lib/minip/include/lib/ |
A D | pktbuf.h | 37 u8 *buffer; member 55 return p->phys_base + (p->data - p->buffer); in pktbuf_data_phys() 60 return p->data - p->buffer; in pktbuf_avail_head() 65 return p->blen - (p->data - p->buffer) - p->dlen; in pktbuf_avail_tail()
|
/lk-master/lib/minip/ |
A D | pktbuf.c | 81 p->buffer = buf; in pktbuf_add_buffer() 83 p->data = p->buffer + header_sz; in pktbuf_add_buffer() 131 p->cb(p->buffer, p->cb_args); in pktbuf_free() 193 p->data, p->buffer, p->dlen, (uintptr_t) p->data - (uintptr_t) p->buffer, in pktbuf_dump()
|
/lk-master/external/platform/lpc15xx/lpcopen/lpc_board_nxp_lpcxpresso_1549/src/ |
A D | retarget.h | 166 size_t __write(int handle, const unsigned char *buffer, size_t size) in __write() argument 171 if (buffer == 0) { in __write() 187 Board_UARTPutChar(*buffer++); in __write()
|
/lk-master/lib/norfs/test/ |
A D | norfs_test.c | 460 unsigned char buffer[16]; in test_garbage_collection_interruption() local 476 EXPECT_EQ(NO_ERROR, norfs_read_obj(0, buffer, sizeof(buffer), &obj_len, 0), in test_garbage_collection_interruption() 478 EXPECT_EQ(ERR_NOT_FOUND, norfs_read_obj(2, buffer, sizeof(buffer), &obj_len, 0), in test_garbage_collection_interruption() 632 unsigned char buffer[4]; in test_wrapping() local 647 EXPECT_EQ(NO_ERROR, norfs_read_obj(2, buffer, sizeof(buffer), &bytes_read, 0), in test_wrapping() 650 EXPECT_EQ(*(buffer + i), *(good_object_v127 + NORFS_OBJ_OFFSET + i), in test_wrapping() 669 EXPECT_EQ(NO_ERROR, norfs_read_obj(2, buffer, sizeof(buffer), &bytes_read, in test_wrapping() 673 EXPECT_EQ(*(buffer + i), *(good_object + NORFS_OBJ_OFFSET + i), in test_wrapping()
|
/lk-master/app/mdebug/ |
A D | mdebug.c | 72 txreq->buffer = data; in usb_xmit() 83 txreq->buffer = data; in usb_xmit() 94 rxreq->buffer = data; in usb_recv()
|
/lk-master/app/udctest/ |
A D | udctest.c | 74 rxreq->buffer = rxbuf; in udctest_init() 77 txreq->buffer = rxbuf; in udctest_init()
|
/lk-master/external/platform/lpc15xx/lpcopen/periph_eeprom/example/src/ |
A D | eeprom.c | 57 uint32_t buffer[IAP_NUM_BYTES_TO_READ_WRITE / sizeof(uint32_t)]; variable 157 uint8_t *ptr = (uint8_t *) buffer; in main()
|
/lk-master/platform/stm32f7xx/ |
A D | eth.c | 221 uint8_t *buffer = (uint8_t *)(DmaTxDesc->Buffer1Addr); in eth_send() local 222 memcpy(buffer, buf, len); in eth_send() 276 (void *)eth.EthHandle.RxFrameInfos.buffer, 283 … pktbuf_add_buffer(p, (void *)eth.EthHandle.RxFrameInfos.buffer, eth.EthHandle.RxFrameInfos.length,
|
/lk-master/external/platform/lpc15xx/lpcopen/periph_dma_uart/example/ |
A D | readme.dox | 43 * DMA interrupt per UART buffer sent. This example doesn't used linked 46 * UART receive operations have a fixed list of descriptors and buffer sizes. 48 * a full buffer of data has been received. Once this buffer is received, it
|
/lk-master/external/platform/lpc15xx/lpcopen/periph_uart_rom_polling/example/src/ |
A D | uart_rom_polling.c | 131 param.buffer = (uint8_t *) send_data; in putLineUART() 150 param.buffer = (uint8_t *) receive_buffer; in getLineUART()
|
/lk-master/external/platform/lpc15xx/lpcopen/periph_dma_rom_uart/example/ |
A D | readme.dox | 43 * DMA interrupt per UART buffer sent. This example doesn't used linked 46 * UART receive operations have a fixed list of descriptors and buffer sizes 49 * a full buffer of data has been received. Once this buffer is received, it
|
/lk-master/external/platform/nrfx/drivers/src/ |
A D | nrfx_pdm.c | 291 nrfx_err_t nrfx_pdm_buffer_set(int16_t * buffer, uint16_t buffer_length) in nrfx_pdm_buffer_set() argument 301 if ((buffer == NULL) || (buffer_length > NRFX_PDM_MAX_BUFFER_SIZE)) in nrfx_pdm_buffer_set() 324 m_cb.buff_address[next_buffer] = buffer; in nrfx_pdm_buffer_set() 326 nrf_pdm_buffer_set(NRF_PDM0, (uint32_t *)buffer, buffer_length); in nrfx_pdm_buffer_set()
|
/lk-master/platform/pc/include/platform/ |
A D | keyboard.h | 12 void platform_init_keyboard(cbuf_t *buffer);
|
/lk-master/external/platform/lpc15xx/lpcopen/periph_uart_rom_int/example/src/ |
A D | uart_rom_int.c | 150 param.buffer = (uint8_t *) send_data; in putLineUART() 180 param.buffer = (uint8_t *) receive_buffer; in getLineUART()
|
/lk-master/external/platform/lpc15xx/lpcopen/lpc_chip_15xx/src/ |
A D | ring_buffer.c | 55 int RingBuffer_Init(RINGBUFF_T *RingBuff, void *buffer, int itemSize, int count) in RingBuffer_Init() argument 57 RingBuff->data = buffer; in RingBuffer_Init()
|
/lk-master/platform/pc/ |
A D | keyboard.c | 291 void platform_init_keyboard(cbuf_t *buffer) { in platform_init_keyboard() argument 294 key_buf = buffer; in platform_init_keyboard()
|
/lk-master/lib/norfs/include/lib/ |
A D | norfs.h | 56 status_t norfs_read_obj(uint32_t key, unsigned char *buffer, uint16_t buffer_len,
|