Searched refs:safe_write (Results 1 - 7 of 7) sorted by relevance
/third_party/backends/backend/ |
H A D | canon_pp-dev.c | 145 static int safe_write(int fd, const char *p, unsigned long len); 222 * safe_write(): a small wrapper which ensures all the data is written in calls 225 static int safe_write(int fd, const char *p, unsigned long len) { in safe_write() function 1142 if (safe_write(outfile, header, strlen(header) + 1) < 0) in sanei_canon_pp_calibrate() 1144 if (safe_write(outfile, (const char *)&fileversion, sizeof(int)) < 0) in sanei_canon_pp_calibrate() 1148 if (safe_write(outfile, (char *)&(sp->scanheadwidth), in sanei_canon_pp_calibrate() 1151 if (safe_write(outfile, (char *)(sp->blackweight), in sanei_canon_pp_calibrate() 1154 if (safe_write(outfile, (char *)(sp->redweight), in sanei_canon_pp_calibrate() 1157 if (safe_write(outfile, (char *)(sp->greenweight), in sanei_canon_pp_calibrate() 1160 if (safe_write(outfil in sanei_canon_pp_calibrate() [all...] |
/third_party/alsa-lib/src/pcm/ |
H A 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/ |
H A D | safe_macros_fn.h | 27 /* supported values for safe_write() len_strict parameter */ 125 ssize_t safe_write(const char *file, const int lineno,
|
H A D | tst_safe_macros.h | 181 safe_write(__FILE__, __LINE__, NULL, (len_strict), (fildes), (buf), (nbyte))
|
/third_party/ltp/include/old/ |
H A D | safe_macros.h | 108 safe_write(__FILE__, __LINE__, cleanup_fn, (len_strict), (fildes), \
|
/third_party/ltp/testcases/kernel/syscalls/memfd_create/ |
H A 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/ |
H A D | safe_macros.c | 530 ssize_t safe_write(const char *file, const int lineno, void (cleanup_fn) (void), in safe_write() function
|
Completed in 8 milliseconds