/external/e2fsprogs/tests/f_journal/ |
D | expect.1 | 2 Clearing orphaned inode 37 (uid=0, gid=0, mode=0100600, size=4096) 3 Clearing orphaned inode 90 (uid=0, gid=0, mode=040700, size=1024) 4 Clearing orphaned inode 67 (uid=0, gid=0, mode=0100600, size=4096) 5 Clearing orphaned inode 50 (uid=0, gid=0, mode=0100600, size=4096) 6 Clearing orphaned inode 57 (uid=0, gid=0, mode=040700, size=1024) 7 Clearing orphaned inode 80 (uid=0, gid=0, mode=040700, size=1024) 8 Clearing orphaned inode 45 (uid=0, gid=0, mode=040700, size=1024) 9 Clearing orphaned inode 71 (uid=0, gid=0, mode=0100600, size=4096) 10 Clearing orphaned inode 86 (uid=0, gid=0, mode=040700, size=1024) 11 Clearing orphaned inode 83 (uid=0, gid=0, mode=040700, size=1024) [all …]
|
/external/strace/ |
D | uid.c | 160 uid_t gid; in SYS_FUNC() local 164 const unsigned long size = len * sizeof(gid); in SYS_FUNC() 173 size / sizeof(gid) != len || end < start) { in SYS_FUNC() 178 abbrev_end = start + max_strlen * sizeof(gid); in SYS_FUNC() 185 for (cur = start; cur < end; cur += sizeof(gid)) { in SYS_FUNC() 192 if (umoven(tcp, cur, sizeof(gid), &gid) < 0) { in SYS_FUNC() 197 tprintf("%u", (unsigned int) gid); in SYS_FUNC() 214 uid_t gid; in SYS_FUNC() local 217 const unsigned long size = len * sizeof(gid); in SYS_FUNC() 230 size / sizeof(gid) != len || end < start) { in SYS_FUNC() [all …]
|
/external/dbus/dbus/ |
D | dbus-userdb-util.c | 156 dbus_gid_t *gid) in _dbus_get_group_id() argument 176 *gid = info->gid; in _dbus_get_group_id() 236 dbus_gid_t gid, in _dbus_user_database_lookup_group() argument 245 if (gid == DBUS_UID_UNSET) in _dbus_user_database_lookup_group() 250 gid = n; in _dbus_user_database_lookup_group() 254 if (gid != DBUS_GID_UNSET) in _dbus_user_database_lookup_group() 255 info = _dbus_hash_table_lookup_uintptr (db->groups, gid); in _dbus_user_database_lookup_group() 262 info->gid); in _dbus_user_database_lookup_group() 270 if (gid != DBUS_GID_UNSET) in _dbus_user_database_lookup_group() 272 gid); in _dbus_user_database_lookup_group() [all …]
|
/external/toybox/toys/pending/ |
D | groupadd.c | 30 long gid; in GLOBALS() argument 43 if (TT.gid > INT_MAX) error_exit("gid should be less than '%d' ", INT_MAX); 44 if (getgrgid(TT.gid)) error_exit("group '%ld' is in use", TT.gid); 46 if (toys.optflags & FLAG_S) TT.gid = CFG_TOYBOX_UID_SYS; 47 else TT.gid = CFG_TOYBOX_UID_USR; 49 while (getgrgid(TT.gid)) TT.gid++; 52 entry = xmprintf("%s:%s:%d:", *toys.optargs, "x", TT.gid);
|
D | useradd.c | 39 long gid; 92 if (toys.optflags & FLAG_G) TT.gid = xgetgrnam(TT.u_grp)->gr_gid; 95 if (toys.optflags & FLAG_S) TT.gid = CFG_TOYBOX_UID_SYS; 96 else TT.gid = CFG_TOYBOX_UID_USR; 99 while (getgrgid(TT.gid)) TT.gid++; 101 pwd.pw_gid = TT.gid; 144 xmprintf("%lu:%lu", TT.uid, TT.gid), p, 0});
|
/external/tlsdate/src/ |
D | util-plan9.c | 69 gid_t gid; in drop_privs_to() local 89 gid = pw->pw_gid; in drop_privs_to() 90 if (0 == gid || 0 == gr->gr_gid) in drop_privs_to() 101 if (0 != setresgid (gid, gid, gid)) in drop_privs_to() 104 if (0 != (setgid (gid) | setegid (gid))) in drop_privs_to()
|
D | util.c | 166 gid_t gid; in drop_privs_to() local 179 gid = get_unpriv_gid (group); in drop_privs_to() 180 if (pw->pw_gid != gid) in drop_privs_to() 183 if (0 != initgroups ( (const char *) user, gid)) in drop_privs_to() 187 if (0 != setresgid (gid, gid, gid)) in drop_privs_to() 190 if (0 != (setgid (gid) | setegid (gid))) in drop_privs_to()
|
/external/libbrillo/brillo/ |
D | userdb_utils.cc | 19 bool GetUserInfo(const std::string& user, uid_t* uid, gid_t* gid) { in GetUserInfo() argument 33 if (gid) in GetUserInfo() 34 *gid = pwd->pw_gid; in GetUserInfo() 38 bool GetGroupInfo(const std::string& group, gid_t* gid) { in GetGroupInfo() argument 50 if (gid) in GetGroupInfo() 51 *gid = grp->gr_gid; in GetGroupInfo()
|
D | file_utils.cc | 59 gid_t gid) { in RegularFileOrDelete() argument 71 file_stat.st_gid == gid) { in RegularFileOrDelete() 96 gid_t gid, in TouchFileInternal() argument 98 RegularFileOrDeleteResult result = RegularFileOrDelete(path, uid, gid); in TouchFileInternal() 136 gid_t gid) { in TouchFile() argument 144 if (!TouchFileInternal(path, uid, gid, &scoped_fd)) { in TouchFile()
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | sbixBitmap.py | 19 …Name=None, usReserved1=0, usReserved2=0, imageFormatTag=None, imageData=None, rawdata=None, gid=0): argument 20 self.gid = gid 30 self.glyphName = ttFont.getGlyphName(self.gid) 44 gid, = struct.unpack(">H", self.rawdata[sbixBitmapHeaderFormatSize:]) 45 self.referenceGlyphName = ttFont.getGlyphName(gid) 51 del self.gid 59 self.gid = struct.pack(">H", ttFont.getGlyphID(self.glyphName))
|
D | C_O_L_R_.py | 29 gid, firstLayerIndex, numLayers = struct.unpack(">HHH", data[glyphPos:glyphPos+6]) 31 gids.append(gid) 61 gid = ttFont.getGlyphID(glyphName) 64 ordered.append([gid, glyphName, self.ColorLayers[glyphName]]) 69 for (gid, glyphName, layers) in ordered: 70 glyphMap.append(struct.pack(">HHH", gid, len(layerMap), len(layers))) 87 gid = ttFont.getGlyphID(glyphName) 90 ordered.append([gid, glyphName, self.ColorLayers[glyphName]])
|
D | G_M_A_P_.py | 31 def __init__(self, uv = 0, cid = 0, gid = 0, ggid = 0, name = ""): argument 34 self.gid = gid 45 writer.simpletag("gid", value=self.gid) 47 writer.simpletag("glyphletGid", value=self.gid) 73 …return "GMAPRecord[ UV: " + str(self.UV) + ", cid: " + str(self.cid) + ", gid: " + str(self.gid) +…
|
/external/icu/icu4c/source/layout/ |
D | LETypes.h | 174 #define LE_GET_GLYPH(gid) ((gid & LE_GLYPH_MASK) >> LE_GLYPH_SHIFT) argument 182 #define LE_GET_SUB_FONT(gid) ((gid & LE_SUB_FONT_MASK) >> LE_SUB_FONT_SHIFT) argument 190 #define LE_GET_CLIENT(gid) ((gid & LE_CLIENT_MASK) >> LE_CLIENT_SHIFT) argument 199 #define LE_SET_GLYPH(gid, glyph) ((gid & ~LE_GLYPH_MASK) | ((glyph << LE_GLYPH_SHIFT) & LE_GLYPH_MA… argument 207 #define LE_SET_SUB_FONT(gid, font) ((gid & ~LE_SUB_FONT_MASK) | ((font << LE_SUB_FONT_SHIFT) & LE_S… argument 215 #define LE_SET_CLIENT(gid, client) ((gid & ~LE_CLIENT_MASK) | ((client << LE_CLIENT_SHIFT) & LE_CLI… argument
|
D | StateTableProcessor2.cpp | 89 LEGlyphID gid = glyphStorage[currGlyph]; in process() local 90 TTGlyphID glyphCode = (TTGlyphID) LE_GET_GLYPH(gid); in process() 95 classCode = SWAPW(lookupTable0->valueArray[gid]); in process() 120 LEGlyphID gid = glyphStorage[currGlyph]; in process() local 121 TTGlyphID glyphCode = (TTGlyphID) LE_GET_GLYPH(gid); in process() 127 … lookupTable2->lookupSegment(lookupTable2, lookupTable2->segments, gid, success); in process() 161 LEGlyphID gid = glyphStorage[currGlyph]; in process() local 162 TTGlyphID glyphCode = (TTGlyphID) LE_GET_GLYPH(gid); in process() 167 …kupSingle *segment = lookupTable6->lookupSingle(lookupTable6, lookupTable6->entries, gid, success); in process()
|
/external/e2fsprogs/tests/f_orphan/ |
D | expect.1 | 1 Clearing orphaned inode 15 (uid=0, gid=0, mode=040755, size=1024) 2 Clearing orphaned inode 17 (uid=0, gid=0, mode=0100644, size=0) 3 Clearing orphaned inode 16 (uid=0, gid=0, mode=040755, size=1024) 4 Clearing orphaned inode 14 (uid=0, gid=0, mode=0100644, size=69) 5 Clearing orphaned inode 13 (uid=0, gid=0, mode=040755, size=1024)
|
/external/iproute2/ip/ |
D | iptuntap.c | 48 static int tap_add_ioctl(struct ifreq *ifr, uid_t uid, gid_t gid) in tap_add_ioctl() argument 70 if (gid != -1 && ioctl(fd, TUNSETGROUP, gid)) { in tap_add_ioctl() 107 static int parse_args(int argc, char **argv, struct ifreq *ifr, uid_t *uid, gid_t *gid) in parse_args() argument 149 } else if (gid && matches(*argv, "group") == 0) { in parse_args() 156 *gid = group; in parse_args() 163 *gid = gr->gr_gid; in parse_args() 202 gid_t gid = -1; in do_add() local 204 if (parse_args(argc, argv, &ifr, &uid, &gid) < 0) in do_add() 207 return tap_add_ioctl(&ifr, uid, gid); in do_add()
|
/external/harfbuzz_ng/src/ |
D | hb-ot-cmap-table.hh | 47 hb_codepoint_t gid = codepoint < 256 ? glyphIdArray[codepoint] : 0; in get_glyph() local 48 if (!gid) in get_glyph() 50 *glyph = gid; in get_glyph() 110 hb_codepoint_t gid; in get_glyph_func() 113 gid = codepoint + thiz->idDelta[i]; in get_glyph_func() 120 gid = thiz->glyphIdArray[index]; in get_glyph_func() 121 if (unlikely (!gid)) in get_glyph_func() 123 gid += thiz->idDelta[i]; in get_glyph_func() 126 *glyph = gid & 0xFFFFu; in get_glyph_func() 225 hb_codepoint_t gid = glyphIdArray[codepoint - startCharCode]; in get_glyph() local [all …]
|
/external/libchrome/sandbox/linux/services/ |
D | namespace_utils_unittest.cc | 41 const gid_t gid = getgid(); in SANDBOX_TEST() local 58 RAW_CHECK(getgid() != gid); in SANDBOX_TEST() 59 RAW_CHECK(NamespaceUtils::WriteToIdMapFile("/proc/self/gid_map", gid)); in SANDBOX_TEST() 60 RAW_CHECK(getgid() == gid); in SANDBOX_TEST()
|
/external/selinux/libselinux/src/ |
D | seusers.c | 98 gid_t gid = -1; in get_default_gid() local 107 gid = pwent->pw_gid; in get_default_gid() 110 return gid; in get_default_gid() 113 static int check_group(const char *group, const char *name, const gid_t gid) { in check_group() argument 143 if (getgrouplist(name, gid, NULL, &ng) < 0) { in check_group() 149 if (getgrouplist(name, gid, groups, &ng) < 0) in check_group() 186 gid_t gid = get_default_gid(name); in getseuserbyname() local 210 check_group(&username[1], name, gid)) { in getseuserbyname()
|
/external/opencv3/modules/imgproc/src/opencl/ |
D | integral_sum.cl | 36 int gid = get_group_id(0); 67 …//int buf_index = buf_offset + buf_step * LOCAL_SUM_COLS * gid + sizeof(sumT) * y + sizeof(sumT) *… 68 …int buf_index = mad24(buf_step, LOCAL_SUM_SIZE * gid, mad24((int)sizeof(sumT), y + lid, buf_offset… 70 …int buf_sq_index = mad24(buf_sq_step, LOCAL_SUM_SIZE * gid, mad24((int)sizeof(sumSQT), y + lid, bu… 105 int gid = get_group_id(0); 166 …//int dst_index = dst_offset + dst_step * LOCAL_SUM_COLS * gid + sizeof(sumT) * y + sizeof(sumT) … 167 …int dst_index = mad24(dst_step, LOCAL_SUM_SIZE * gid, mad24((int)sizeof(sumT), y + lid, dst_offset… 169 …int dst_sq_index = mad24(dst_sq_step, LOCAL_SUM_SIZE * gid, mad24((int)sizeof(sumSQT), y + lid, ds… 172 int yin_max = min(rows - 1 - LOCAL_SUM_SIZE * gid, LOCAL_SUM_SIZE);
|
/external/autotest/client/site_tests/security_Minijail0/src/ |
D | common.sh | 21 gid=$(id -rg) 22 [ "$gid" != "$1" ] && die "gid $gid != $1"
|
/external/toybox/toys/posix/ |
D | id.c | 91 gid_t gid = getgid(), egid = getegid(), *groups; in do_id() local 99 gid = egid = pw->pw_gid; in do_id() 107 grp = xgetgrgid(i ? gid : egid); in do_id() 119 if (gid != egid) { in do_id() 131 ngroups = username ? getgrouplist(username, gid, groups, &i) in do_id()
|
/external/squashfs-tools/squashfs-tools/ |
D | pseudo.c | 282 long long uid, gid; in read_pseudo_def() local 418 gid = strtoll(sgid, &ptr, 10); in read_pseudo_def() 420 if(gid < 0 || gid > ((1LL << 32) - 1)) { in read_pseudo_def() 427 gid = grgid->gr_gid; in read_pseudo_def() 456 dev->gid = gid; in read_pseudo_def() 510 entry->dev->gid, entry->dev->major, in dump_pseudo()
|
/external/libcap-ng/libcap-ng-0.7/utils/ |
D | captest.c | 58 gid_t gid, egid, sgid; in report() local 68 getresgid(&gid, &egid, &sgid); in report() 79 getresgid(&gid, &egid, &sgid); in report() 89 printf("Group credentials gid:%d egid:%d sgid:%d\n", gid, egid, sgid); in report() 90 if (uid != euid || gid != egid) in report()
|
/external/libcap/progs/old/ |
D | sucap.c | 57 gid_t gid; in main() local 87 gid = gr->gr_gid; in main() 139 setregid(gid, gid); in main()
|