Home
last modified time | relevance | path

Searched refs:safe_write (Results 1 – 6 of 6) sorted by relevance

/third_party/alsa-lib/src/pcm/
Dpcm_file.c103 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/
Dsafe_macros_fn.h125 ssize_t safe_write(const char *file, const int lineno,
Dtst_safe_macros.h181 safe_write(__FILE__, __LINE__, NULL, (len_strict), (fildes), (buf), (nbyte))
/third_party/ltp/include/old/
Dsafe_macros.h108 safe_write(__FILE__, __LINE__, cleanup_fn, (len_strict), (fildes), \
/third_party/ltp/testcases/kernel/syscalls/memfd_create/
Dmemfd_create_common.c327 safe_write(filename, lineno, NULL, 1, fd, "\0\0\0\0", 4); in check_mfd_writeable()
/third_party/ltp/lib/
Dsafe_macros.c530 ssize_t safe_write(const char *file, const int lineno, void (cleanup_fn) (void), in safe_write() function