Home
last modified time | relevance | path

Searched refs:modestr (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_stat.py91 modestr = self.statmod.filemode(st_mode)
92 return st_mode, modestr
116 st_mode, modestr = self.get_mode()
117 self.assertEqual(modestr, '-rwx------')
123 st_mode, modestr = self.get_mode()
124 self.assertEqual(modestr, '----rwx---')
130 st_mode, modestr = self.get_mode()
131 self.assertEqual(modestr, '-------rwx')
137 st_mode, modestr = self.get_mode()
139 self.assertEqual(modestr, '-r--r--r--')
[all …]
/external/toybox/lib/
Dlib.c891 mode_t string_to_mode(char *modestr, mode_t mode) in string_to_mode() argument
894 *s, *str = modestr; in string_to_mode()
973 error_exit("bad mode '%s'", modestr); in string_to_mode()
/external/squashfs-tools/squashfs-tools/
Dunsquashfs.c504 char *modestr(char *str, int mode) in modestr() function
562 printf("%s %s/%s ", modestr(str, inode->mode), userstr, groupstr); in print_filename()