Lines Matching defs:path
23 #define SAFE_BASENAME(cleanup_fn, path) \
24 safe_basename(__FILE__, __LINE__, (cleanup_fn), (path))
26 #define SAFE_CHDIR(cleanup_fn, path) \
27 safe_chdir(__FILE__, __LINE__, (cleanup_fn), (path))
38 #define SAFE_DIRNAME(cleanup_fn, path) \
39 safe_dirname(__FILE__, __LINE__, (cleanup_fn), (path))
101 #define SAFE_READLINK(cleanup_fn, path, buf, bufsize) \
102 safe_readlink(__FILE__, __LINE__, cleanup_fn, (path), (buf), (bufsize))
120 #define SAFE_CHMOD(cleanup_fn, path, mode) \
121 safe_chmod(__FILE__, __LINE__, (cleanup_fn), (path), (mode))
126 #define SAFE_CHOWN(cleanup_fn, path, owner, group) \
127 safe_chown(__FILE__, __LINE__, (cleanup_fn), (path), (owner), (group))
201 void (cleanup_fn) (void), const char *path, off_t length)
205 rval = truncate(path, length);
209 file, lineno, path, (long)length);
214 #define SAFE_TRUNCATE(cleanup_fn, path, length) \
215 safe_truncate(__FILE__, __LINE__, cleanup_fn, (path), (length))
218 void (cleanup_fn)(void), const char *path, struct stat *buf)
222 rval = stat(path, buf);
226 "%s:%d: stat(%s,%p) failed", file, lineno, path, buf);
231 #define SAFE_STAT(cleanup_fn, path, buf) \
232 safe_stat(__FILE__, __LINE__, (cleanup_fn), (path), (buf))
252 void (cleanup_fn)(void), const char *path, struct stat *buf)
256 rval = lstat(path, buf);
260 "%s:%d: lstat(%s,%p) failed", file, lineno, path, buf);
265 #define SAFE_LSTAT(cleanup_fn, path, buf) \
266 safe_lstat(__FILE__, __LINE__, (cleanup_fn), (path), (buf))