Home
last modified time | relevance | path

Searched refs:len_strict (Results 1 – 7 of 7) sorted by relevance

/third_party/ltp/include/
Dtst_safe_prw.h9 char len_strict, int fildes, void *buf, size_t nbyte, in safe_pread() argument
16 if (rval == -1 || (len_strict && (size_t)rval != nbyte)) { in safe_pread()
28 #define SAFE_PREAD(len_strict, fildes, buf, nbyte, offset) \ argument
29 safe_pread(__FILE__, __LINE__, (len_strict), (fildes), \
33 char len_strict, int fildes, const void *buf, size_t nbyte, in safe_pwrite() argument
39 if (rval == -1 || (len_strict && (size_t)rval != nbyte)) { in safe_pwrite()
51 #define SAFE_PWRITE(len_strict, fildes, buf, nbyte, offset) \ argument
52 safe_pwrite(__FILE__, __LINE__, (len_strict), (fildes), \
Dsafe_net_fn.h40 ssize_t safe_send(const char *file, const int lineno, char len_strict,
43 ssize_t safe_sendto(const char *file, const int lineno, char len_strict,
Dsafe_macros_fn.h71 void (*cleanup_fn)(void), char len_strict, int fildes,
114 void (cleanup_fn)(void), char len_strict, int fildes,
Dtst_safe_macros.h96 #define SAFE_READ(len_strict, fildes, buf, nbyte) \ argument
97 safe_read(__FILE__, __LINE__, NULL, (len_strict), (fildes), (buf), (nbyte))
175 #define SAFE_WRITE(len_strict, fildes, buf, nbyte) \ argument
176 safe_write(__FILE__, __LINE__, NULL, (len_strict), (fildes), (buf), (nbyte))
/third_party/ltp/include/old/
Dsafe_macros.h69 #define SAFE_READ(cleanup_fn, len_strict, fildes, buf, nbyte) \ argument
70 safe_read(__FILE__, __LINE__, cleanup_fn, (len_strict), (fildes), \
107 #define SAFE_WRITE(cleanup_fn, len_strict, fildes, buf, nbyte) \ argument
108 safe_write(__FILE__, __LINE__, cleanup_fn, (len_strict), (fildes), \
/third_party/ltp/lib/
Dsafe_net.c207 ssize_t safe_send(const char *file, const int lineno, char len_strict, in safe_send() argument
214 if (rval == -1 || (len_strict && (size_t)rval != len)) { in safe_send()
227 ssize_t safe_sendto(const char *file, const int lineno, char len_strict, in safe_sendto() argument
236 if (rval == -1 || (len_strict && (size_t)rval != len)) { in safe_sendto()
Dsafe_macros.c286 char len_strict, int fildes, void *buf, size_t nbyte) in safe_read() argument
292 if (rval == -1 || (len_strict && (size_t)rval != nbyte)) { in safe_read()
527 char len_strict, int fildes, const void *buf, size_t nbyte) in safe_write() argument
533 if (rval == -1 || (len_strict && (size_t)rval != nbyte)) { in safe_write()