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.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.h103 #define SAFE_READ(len_strict, fildes, buf, nbyte) \ argument
104 safe_read(__FILE__, __LINE__, NULL, (len_strict), (fildes), (buf), (nbyte))
162 #define SAFE_WRITE(len_strict, fildes, buf, nbyte) \ argument
163 safe_write(__FILE__, __LINE__, NULL, (len_strict), (fildes), (buf), (nbyte))
/external/ltp/lib/
Dsafe_net.c192 ssize_t safe_send(const char *file, const int lineno, char len_strict, in safe_send() argument
199 if (rval == -1 || (len_strict && (size_t)rval != len)) { in safe_send()
208 ssize_t safe_sendto(const char *file, const int lineno, char len_strict, in safe_sendto() argument
217 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), \