Home
last modified time | relevance | path

Searched refs:ptr (Results 1 – 17 of 17) sorted by relevance

/mcuboot-3.7.0/boot/cypress/libs/retarget_io_pdl/
Dcy_retarget_io_pdl.c105 __attribute__((weak)) int _write (int fd, const char *ptr, int len) in _write() argument
109 if (ptr != NULL) in _write()
114 if (*ptr == '\n' && cy_retarget_io_stdout_prev_char != '\r') in _write()
119 cy_retarget_io_stdout_prev_char = *ptr; in _write()
121 cy_retarget_io_putchar((uint32_t)*ptr); in _write()
122 ++ptr; in _write()
158 __attribute__((weak)) int _read (int fd, char *ptr, int len) in _read() argument
162 if (ptr != NULL) in _read()
164 for(/* Empty */;nChars < len;++ptr) in _read()
166 *ptr = (char)cy_retarget_io_getchar(); in _read()
[all …]
/mcuboot-3.7.0/boot/cypress/platforms/retarget_io_pdl/
Dcy_retarget_io_pdl.c105 __attribute__((weak)) int _write (int fd, const char *ptr, int len) in _write() argument
109 if (ptr != NULL) in _write()
114 if (*ptr == '\n' && cy_retarget_io_stdout_prev_char != '\r') in _write()
119 cy_retarget_io_stdout_prev_char = *ptr; in _write()
121 cy_retarget_io_putchar((uint32_t)*ptr); in _write()
122 ++ptr; in _write()
158 __attribute__((weak)) int _read (int fd, char *ptr, int len) in _read() argument
162 if (ptr != NULL) in _read()
164 for(/* Empty */;nChars < len;++ptr) in _read()
166 *ptr = (char)cy_retarget_io_getchar(); in _read()
[all …]
/mcuboot-3.7.0/sim/mcuboot-sys/src/
Dapi.rs16 ptr,
63 pub ptr: *const CAreaDesc, field
77 flash_areas: CAreaDescPtr{ptr: ptr::null()}, in new()
87 flash_areas: CAreaDescPtr{ptr: ptr::null()}, in default()
118 pub ptr: *const CSimContext, field
124 ptr: ptr::null(), in new()
132 ptr: ptr::null(), in default()
190 dev_id, FlashPtr{ptr: dev as *mut dyn Flash}); in set_flash()
206 ctx.borrow().flash_areas.ptr in sim_get_flash_areas()
213 ctx.borrow_mut().flash_areas.ptr = areas; in sim_set_flash_areas()
[all …]
Darea.rs10 use std::ptr;
175 areas: ptr::null(), in default()
Dc.rs88 br_hdr: std::ptr::null(), in boot_go()
/mcuboot-3.7.0/boot/mynewt/boot_uart/src/
Dboot_uart.c39 uint8_t *ptr; member
146 ch = *bs_uart_tx.ptr; in bs_tx_char()
147 bs_uart_tx.ptr++; in bs_tx_char()
158 boot_uart_write(const char *ptr, int cnt) in boot_uart_write() argument
165 boot_uart_write(const char *ptr, int cnt) in boot_uart_write() argument
170 bs_uart_tx.ptr = (uint8_t *)ptr; in boot_uart_write()
/mcuboot-3.7.0/ext/tinycrypt/lib/source/
Decc_platform_specific.c88 char *ptr = (char *)dest; in default_CSPRNG() local
91 ssize_t bytes_read = read(fd, ptr, left); in default_CSPRNG()
97 ptr += bytes_read; in default_CSPRNG()
Decc_dsa.c73 uECC_word_t *ptr; in bits2int() local
86 ptr = native + num_n_words; in bits2int()
87 while (ptr-- > native) { in bits2int()
88 uECC_word_t temp = *ptr; in bits2int()
89 *ptr = (temp >> shift) | carry; in bits2int()
/mcuboot-3.7.0/boot/mbed/include/utils/
DDataShare.cpp35 volatile uint16_t *ptr = PTR_TO_UINT16(MCUBOOT_SHARED_DATA_BASE); in DataShare() local
38 if(*ptr++ == SHARED_DATA_TLV_INFO_MAGIC) { in DataShare()
42 _total_size = *ptr; in DataShare()
/mcuboot-3.7.0/boot/mynewt/boot_uart/include/boot_uart/
Dboot_uart.h26 void boot_uart_write(const char *ptr, int cnt);
/mcuboot-3.7.0/boot/cypress/MCUBootApp/os/
Dos_heap.h31 void *os_realloc(void *ptr, size_t size);
/mcuboot-3.7.0/boot/zephyr/include/os/
Dos_heap.h31 void *os_realloc(void *ptr, size_t size);
/mcuboot-3.7.0/boot/boot_serial/include/boot_serial/
Dboot_serial.h37 void (*write)(const char *ptr, int cnt);
/mcuboot-3.7.0/boot/zcbor/include/
Dzcbor_decode.h222 bool zcbor_search_key_bstr_ptr(zcbor_state_t *state, char const *ptr, size_t len);
223 bool zcbor_search_key_tstr_ptr(zcbor_state_t *state, char const *ptr, size_t len);
370 bool zcbor_bstr_expect_ptr(zcbor_state_t *state, char const *ptr, size_t len);
371 bool zcbor_tstr_expect_ptr(zcbor_state_t *state, char const *ptr, size_t len);
/mcuboot-3.7.0/boot/zcbor/src/
Dzcbor_decode.c615 bool zcbor_bstr_expect_ptr(zcbor_state_t *state, char const *ptr, size_t len) argument
618 struct zcbor_string zs = { .value = (const uint8_t *)ptr, .len = len };
624 bool zcbor_tstr_expect_ptr(zcbor_state_t *state, char const *ptr, size_t len) argument
627 struct zcbor_string zs = { .value = (const uint8_t *)ptr, .len = len };
942 bool zcbor_search_key_bstr_ptr(zcbor_state_t *state, char const *ptr, size_t len) argument
944 struct zcbor_string zs = { .value = (const uint8_t *)ptr, .len = len };
950 bool zcbor_search_key_tstr_ptr(zcbor_state_t *state, char const *ptr, size_t len) argument
952 struct zcbor_string zs = { .value = (const uint8_t *)ptr, .len = len };
/mcuboot-3.7.0/ext/mbedtls-asn1/include/mbedtls/
Dplatform.h136 extern void mbedtls_free( void *ptr );
/mcuboot-3.7.0/sim/simflash/src/
Dlib.rs50 pub ptr: *mut dyn Flash, field