Lines Matching refs:mode_t
31 typedef unsigned short mode_t; typedef
251 static mode_t
255 mode_t mode; in _PyLong_AsMode_t()
259 return (mode_t)-1; in _PyLong_AsMode_t()
261 mode = (mode_t)value; in _PyLong_AsMode_t()
264 return (mode_t)-1; in _PyLong_AsMode_t()
274 mode_t mode = _PyLong_AsMode_t(omode); \
275 if ((mode == (mode_t)-1) && PyErr_Occurred()) \
328 mode_t mode = _PyLong_AsMode_t(omode); in stat_S_IMODE()
329 if ((mode == (mode_t)-1) && PyErr_Occurred()) in stat_S_IMODE()
341 mode_t mode = _PyLong_AsMode_t(omode); in stat_S_IFMT()
342 if ((mode == (mode_t)-1) && PyErr_Occurred()) in stat_S_IFMT()
351 filetype(mode_t mode) in filetype()
371 fileperm(mode_t mode, char *buf) in fileperm()
403 mode_t mode; in stat_filemode()
406 if ((mode == (mode_t)-1) && PyErr_Occurred()) in stat_filemode()