Searched refs:gid (Results 1 - 4 of 4) sorted by relevance

/build/tools/fs_get_stats/
H A Dfs_get_stats.c43 unsigned gid = (unsigned)-1; local
61 fs_config(argv[3], is_dir, &uid, &gid, &perms, &capabilities);
62 fprintf(stdout, "%d %d 0%o\n", uid, gid, perms);
/build/tools/fs_config/
H A Dfs_config.c33 // filename along with its desired uid, gid, and mode (in octal).
116 unsigned uid = 0, gid = 0, mode = 0; local
118 fs_config(buffer, is_dir, &uid, &gid, &mode, &capabilities);
119 printf("%s %d %d %o", buffer, uid, gid, mode);
/build/tools/releasetools/
H A Dedify_generator.py220 def SetPermissions(self, fn, uid, gid, mode, selabel, capabilities):
223 self.script.append('set_perm(%d, %d, 0%o, "%s");' % (uid, gid, mode, fn))
226 cmd = 'set_metadata("%s", "uid", %d, "gid", %d, "mode", 0%o, ' \
227 '"capabilities", %s' % (fn, uid, gid, mode, capabilities)
233 def SetPermissionsRecursive(self, fn, uid, gid, dmode, fmode, selabel, capabilities):
237 % (uid, gid, dmode, fmode, fn))
240 cmd = 'set_metadata_recursive("%s", "uid", %d, "gid", %d, ' \
242 % (fn, uid, gid, dmode, fmode, capabilities)
H A Dota_from_target_files118 self.gid = None
134 print "%s%s %d %d %o" % (" "*indent, self.name, self.uid, self.gid, self.mode)
136 print "%s%s %s %s %s" % (" "*indent, self.name, self.uid, self.gid, self.mode)
153 # gid, and mode are supposed to be.
159 name, uid, gid, mode = columns[:4]
175 i.gid = int(gid)
184 if i: i.uid, i.gid, i.mode, i.selabel, i.capabilities = 0, 0, 0644, None, None
186 if i: i.uid, i.gid, i.mode, i.selabel, i.capabilities = 0, 0, 0544, None, None
189 """Count up the (uid, gid, mod
[all...]

Completed in 93 milliseconds