Home
last modified time | relevance | path

Searched refs:fd (Results 1 – 5 of 5) sorted by relevance

/mcuboot-2.7.6/ext/tinycrypt/lib/source/
Decc_platform_specific.c80 int fd = open("/dev/urandom", O_RDONLY | O_CLOEXEC); in default_CSPRNG() local
81 if (fd == -1) { in default_CSPRNG()
82 fd = open("/dev/random", O_RDONLY | O_CLOEXEC); in default_CSPRNG()
83 if (fd == -1) { in default_CSPRNG()
91 ssize_t bytes_read = read(fd, ptr, left); in default_CSPRNG()
93 close(fd); in default_CSPRNG()
100 close(fd); in default_CSPRNG()
/mcuboot-2.7.6/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
108 (void)fd; in _write()
158 __attribute__((weak)) int _read (int fd, char *ptr, int len) in _read() argument
161 (void)fd; in _read()
/mcuboot-2.7.6/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
108 (void)fd; in _write()
158 __attribute__((weak)) int _read (int fd, char *ptr, int len) in _read() argument
161 (void)fd; in _read()
/mcuboot-2.7.6/ptest/src/
Dmain.rs123 let (mut fd, logname) = loop { in done()
140 fd.write_all(&output.output).unwrap(); in done()
/mcuboot-2.7.6/sim/simflash/src/
Dlib.rs126 let mut fd = File::create(path)?; in write_file() localVariable
127 fd.write_all(&self.data)?; in write_file()