Home
last modified time | relevance | path

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

/external/ltp/include/
Dtst_safe_prw.h22 char len_strict, int fildes, void *buf, size_t nbyte, in safe_pread() argument
29 if (rval == -1 || (len_strict && (size_t)rval != nbyte)) { in safe_pread()
37 #define SAFE_PREAD(len_strict, fildes, buf, nbyte, offset) \ argument
38 safe_pread(__FILE__, __LINE__, (len_strict), (fildes), \
42 char len_strict, int fildes, const void *buf, size_t nbyte, in safe_pwrite() argument
48 if (rval == -1 || (len_strict && (size_t)rval != nbyte)) { in safe_pwrite()
56 #define SAFE_PWRITE(len_strict, fildes, buf, nbyte, offset) \ argument
57 safe_pwrite(__FILE__, __LINE__, (len_strict), (fildes), \
Dsafe_net_fn.h42 ssize_t safe_send(const char *file, const int lineno, char len_strict,
45 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.h102 #define SAFE_READ(len_strict, fildes, buf, nbyte) \ argument
103 safe_read(__FILE__, __LINE__, NULL, (len_strict), (fildes), (buf), (nbyte))
161 #define SAFE_WRITE(len_strict, fildes, buf, nbyte) \ argument
162 safe_write(__FILE__, __LINE__, NULL, (len_strict), (fildes), (buf), (nbyte))
/external/ltp/lib/
Dsafe_net.c166 ssize_t safe_send(const char *file, const int lineno, char len_strict, in safe_send() argument
173 if (rval == -1 || (len_strict && (size_t)rval != len)) { in safe_send()
182 ssize_t safe_sendto(const char *file, const int lineno, char len_strict, in safe_sendto() argument
191 if (rval == -1 || (len_strict && (size_t)rval != len)) { in safe_sendto()
Dsafe_macros.c247 char len_strict, int fildes, void *buf, size_t nbyte) in safe_read() argument
252 if (rval == -1 || (len_strict && (size_t)rval != nbyte)) { in safe_read()
444 char len_strict, int fildes, const void *buf, size_t nbyte) in safe_write() argument
449 if (rval == -1 || (len_strict && (size_t)rval != nbyte)) { in safe_write()
/external/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), \