Searched refs:safe_write (Results 1 – 6 of 6) sorted by relevance
/third_party/alsa-lib/src/pcm/ |
D | pcm_file.c | 103 static ssize_t safe_write(int fd, const void *buf, size_t len) in safe_write() function 357 res = safe_write(file->fd, header, sizeof(header)); in write_wav_header() 361 res = safe_write(file->fd, &file->wav_header, sizeof(file->wav_header)); in write_wav_header() 365 res = safe_write(file->fd, header2, sizeof(header2)); in write_wav_header() 399 ret = safe_write(file->fd, &len, 4); in fixup_wav_header() 408 ret = safe_write(file->fd, &len, 4); in fixup_wav_header() 439 err = safe_write(file->fd, file->wbuf + file->file_ptr_bytes, n); in snd_pcm_file_write_bytes()
|
/third_party/ltp/include/ |
D | safe_macros_fn.h | 125 ssize_t safe_write(const char *file, const int lineno,
|
D | tst_safe_macros.h | 181 safe_write(__FILE__, __LINE__, NULL, (len_strict), (fildes), (buf), (nbyte))
|
/third_party/ltp/include/old/ |
D | safe_macros.h | 108 safe_write(__FILE__, __LINE__, cleanup_fn, (len_strict), (fildes), \
|
/third_party/ltp/testcases/kernel/syscalls/memfd_create/ |
D | memfd_create_common.c | 327 safe_write(filename, lineno, NULL, 1, fd, "\0\0\0\0", 4); in check_mfd_writeable()
|
/third_party/ltp/lib/ |
D | safe_macros.c | 530 ssize_t safe_write(const char *file, const int lineno, void (cleanup_fn) (void), in safe_write() function
|