Home
last modified time | relevance | path

Searched refs:st_file_attributes (Results 1 - 5 of 5) sorted by relevance

/third_party/python/Include/internal/
H A Dpycore_fileutils.h78 unsigned long st_file_attributes; member
/third_party/python/Lib/
H A Dshutil.py566 if hasattr(os.stat_result, 'st_file_attributes'):
574 (st.st_file_attributes & stat.FILE_ATTRIBUTE_REPARSE_POINT
583 (st.st_file_attributes & stat.FILE_ATTRIBUTE_REPARSE_POINT
/third_party/python/Lib/test/
H A Dtest_os.py698 self.assertTrue(hasattr(result, 'st_file_attributes'))
699 self.assertTrue(isinstance(result.st_file_attributes, int))
700 self.assertTrue(0 <= result.st_file_attributes <= 0xFFFFFFFF)
703 "st_file_attributes is Win32 specific")
705 # test file st_file_attributes (FILE_ATTRIBUTE_DIRECTORY not set)
709 result.st_file_attributes & stat.FILE_ATTRIBUTE_DIRECTORY,
712 # test directory st_file_attributes (FILE_ATTRIBUTE_DIRECTORY set)
720 result.st_file_attributes & stat.FILE_ATTRIBUTE_DIRECTORY,
/third_party/python/Python/
H A Dfileutils.c1096 detect/handle these, check st_file_attributes and st_reparse_tag. */ in _Py_attribute_data_to_stat()
1105 result->st_file_attributes = info->dwFileAttributes; in _Py_attribute_data_to_stat()
/third_party/python/Modules/
H A Dposixmodule.c2164 {"st_file_attributes", "Windows file attribute bits"},
2498 PyLong_FromUnsignedLong(st->st_file_attributes)); in _pystat_fromstructstat()
13842 dir_bits = self->win32_lstat.st_file_attributes & FILE_ATTRIBUTE_DIRECTORY; in DirEntry_test_mode()

Completed in 28 milliseconds