Home
last modified time | relevance | path

Searched refs:gid (Results 1 – 25 of 232) sorted by relevance

12345678910

/external/e2fsprogs/tests/f_journal/
Dexpect.12 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/
Duid.c142 uid_t gid; in SYS_FUNC() local
156 size = len * sizeof(gid); in SYS_FUNC()
158 if (!verbose(tcp) || size / sizeof(gid) != len || end < start) { in SYS_FUNC()
163 abbrev_end = start + max_strlen * sizeof(gid); in SYS_FUNC()
170 for (cur = start; cur < end; cur += sizeof(gid)) { in SYS_FUNC()
177 if (umoven(tcp, cur, sizeof(gid), &gid) < 0) { in SYS_FUNC()
182 tprintf("%u", (unsigned int) gid); in SYS_FUNC()
200 uid_t gid; in SYS_FUNC() local
213 size = len * sizeof(gid); in SYS_FUNC()
216 size / sizeof(gid) != len || end < start) { in SYS_FUNC()
[all …]
/external/openssh/openbsd-compat/
Dpwcache.c83 group_from_gid(gid_t gid, int nogroup) in group_from_gid() argument
86 gid_t gid; in group_from_gid() member
94 cp = c_gid + (gid & MASK); in group_from_gid()
95 if (cp->gid != gid || cp->name == NULL) { in group_from_gid()
102 if ((gr = getgrgid(gid)) == NULL) { in group_from_gid()
105 (void)snprintf(nbuf, sizeof(nbuf), "%u", gid); in group_from_gid()
107 cp->gid = gid; in group_from_gid()
Dbsd-getpeereid.c28 getpeereid(int s, uid_t *euid, gid_t *gid) in getpeereid() argument
36 *gid = cred.gid; in getpeereid()
47 getpeereid(int s, uid_t *euid, gid_t *gid) in getpeereid() argument
55 if ((*gid = ucred_getrgid(ucred)) == -1) in getpeereid()
64 getpeereid(int s, uid_t *euid, gid_t *gid) in getpeereid() argument
67 *gid = getgid(); in getpeereid()
/external/toybox/toys/pending/
Dgroupadd.c30 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);
Duseradd.c39 long gid;
95 if (toys.optflags & FLAG_G) TT.gid = xgetgrnam(TT.u_grp)->gr_gid;
98 if (toys.optflags & FLAG_S) TT.gid = CFG_TOYBOX_UID_SYS;
99 else TT.gid = CFG_TOYBOX_UID_USR;
102 while (getgrgid(TT.gid)) TT.gid++;
104 pwd.pw_gid = TT.gid;
146 xmprintf("%u:%u", TT.uid, TT.gid), p, 0});
/external/fonttools/Lib/fontTools/ttLib/tables/
DsbixBitmap.py19 …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))
DC_O_L_R_.py29 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]])
DG_M_A_P_.py31 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) +…
D_c_m_a_p.py239 for gid in subHeader.glyphIndexArray:
240 if (gid != 0) and (gid < minGI):
241 minGI = gid
259 gid = subHeader.glyphIndexArray[i]
260 if gid > 0:
261 subHeader.glyphIndexArray[i] = gid - idDelta
403 gid = nameMap[name]
407 gid = eval(name[3:])
409 gid = ttFont.getGlyphID(name)
413 gids.append(gid)
[all …]
/external/icu/icu4c/source/layout/
DLETypes.h174 #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
DStateTableProcessor2.cpp89 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()
DContextualGlyphSubstProc2.cpp76 TTGlyphID ContextualGlyphSubstitutionProcessor2::lookup(le_uint32 offset, LEGlyphID gid, LEErrorCod… in lookup() argument
91 TTGlyphID glyphCode = (TTGlyphID) LE_GET_GLYPH(gid); in lookup()
100 const LookupSegment *segment = lookupTable2->lookupSegment(lookupTable2->segments, gid); in lookup()
116 …const LEReferenceTo<LookupSingle> segment = lookupTable6->lookupSingle(lookupTable6->entries, gid); in lookup()
129 TTGlyphID glyphCode = (TTGlyphID) LE_GET_GLYPH(gid); in lookup()
/external/e2fsprogs/tests/f_orphan/
Dexpect.11 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/
Diptuntap.c48 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()
195 gid_t gid = -1; in do_add() local
197 if (parse_args(argc, argv, &ifr, &uid, &gid) < 0) in do_add()
204 return tap_add_ioctl(&ifr, uid, gid); in do_add()
/external/harfbuzz_ng/src/
Dhb-ot-cmap-table.hh47 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()
108 hb_codepoint_t gid; in get_glyph()
111 gid = codepoint + idDelta[i]; in get_glyph()
118 gid = glyphIdArray[index]; in get_glyph()
119 if (unlikely (!gid)) in get_glyph()
121 gid += idDelta[i]; in get_glyph()
124 *glyph = gid & 0xFFFFu; in get_glyph()
206 hb_codepoint_t gid = glyphIdArray[codepoint - startCharCode]; in get_glyph() local
[all …]
/external/selinux/libselinux/src/
Dseusers.c98 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/openssh/
Dsshpty.c198 gid_t gid; in pty_setowner() local
204 gid = (grp != NULL) ? grp->gr_gid : pw->pw_gid; in pty_setowner()
220 if (st.st_uid != pw->pw_uid || st.st_gid != gid) { in pty_setowner()
221 if (chown(tty, pw->pw_uid, gid) < 0) { in pty_setowner()
225 tty, (u_int)pw->pw_uid, (u_int)gid, in pty_setowner()
229 tty, (u_int)pw->pw_uid, (u_int)gid, in pty_setowner()
/external/squashfs-tools/squashfs-tools/
Dpseudo.c281 long long uid, gid; in read_pseudo_def() local
417 gid = strtoll(sgid, &ptr, 10); in read_pseudo_def()
419 if(gid < 0 || gid > ((1LL << 32) - 1)) { in read_pseudo_def()
426 gid = grgid->gr_gid; in read_pseudo_def()
455 dev->gid = gid; in read_pseudo_def()
509 entry->dev->gid, entry->dev->major, in dump_pseudo()
/external/libcap-ng/libcap-ng-0.7/utils/
Dcaptest.c58 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/toybox/toys/posix/
Did.c90 gid_t gid = getgid(), egid = getegid(), *groups; in do_id() local
98 gid = egid = pw->pw_gid; in do_id()
106 grp = xgetgrgid(i ? gid : egid); in do_id()
118 if (gid != egid) { in do_id()
130 ngroups = username ? getgrouplist(username, gid, groups, &i) in do_id()
/external/sfntly/cpp/src/sample/chromium/
Dsubsetter_impl.cc330 for (IntegerSet::const_iterator gid = glyph_ids.begin(), in InitializeBitmapBuilder() local
332 gid != gid_end; gid++) { in InitializeBitmapBuilder()
333 if (*gid < first_glyph_id) { in InitializeBitmapBuilder()
336 if (*gid > last_glyph_id) { in InitializeBitmapBuilder()
340 info.Attach((*index_builders)[j]->GlyphInfo(*gid)); in InitializeBitmapBuilder()
342 info_map[*gid] = info; in InitializeBitmapBuilder()
409 int32_t gid = i->first; in ConstructIndexFormat4() local
410 if (gid > upper_bound) { in ConstructIndexFormat4()
414 IndexSubTableFormat4::CodeOffsetPairBuilder(gid, offset)); in ConstructIndexFormat4()
416 last_gid = gid; in ConstructIndexFormat4()
[all …]
/external/selinux/policycoreutils/audit2allow/
Dtest.log4 …288 a1=1 a2=154d50 a3=92c5120 items=1 ppid=13935 pid=13944 auid=3267 uid=0 gid=0 euid=0 suid=0 fsu…
6 …bf96a830 a2=b5b1e8 a3=9e58ac0 items=0 ppid=21133 pid=21134 auid=3267 uid=0 gid=0 euid=0 suid=0 fsu…
8 …bf96a830 a2=b5b1e8 a3=9e58ac0 items=0 ppid=21133 pid=21134 auid=3267 uid=0 gid=0 euid=0 suid=0 fsu…
10 … a1=cc3 a2=3282ec a3=bf992a04 items=0 ppid=24423 pid=24427 auid=3267 uid=0 gid=0 euid=3267 suid=32…
12 …bf96a830 a2=b5b1e8 a3=9e58ac0 items=0 ppid=21133 pid=21134 auid=3267 uid=0 gid=0 euid=0 suid=0 fsu…
15 …f88b01c a2=31fff4 a3=2008171 items=0 ppid=23762 pid=23768 auid=3267 uid=48 gid=48 euid=48 suid=48 …
17 …bf96a830 a2=b5b1e8 a3=9e58ac0 items=0 ppid=21133 pid=21134 auid=3267 uid=0 gid=0 euid=0 suid=0 fsu…
19 …bf96a830 a2=b5b1e8 a3=9e58ac0 items=0 ppid=21133 pid=21134 auid=3267 uid=0 gid=0 euid=0 suid=0 fsu…
22 …f88b11c a2=31fff4 a3=2008171 items=0 ppid=23762 pid=23770 auid=3267 uid=48 gid=48 euid=48 suid=48 …
24 …68 a1=18800 a2=0 a3=bf973110 items=0 ppid=23765 pid=12387 auid=3267 uid=48 gid=48 euid=48 suid=48 …
[all …]
/external/selinux/sepolgen/tests/test_data/
Daudit.log2 …1=5401 a2=bfb6479c a3=bfb647dc items=0 ppid=6311 pid=6314 auid=500 uid=500 gid=500 euid=0 suid=0 f…
5 …2fde a1=4 a2=4db18a64 a3=bfdb2fde items=0 ppid=1 pid=6306 auid=500 uid=500 gid=500 euid=500 suid=5…
7 …24 a0=11833c a1=0 a2=1 a3=8aeffb8 items=0 ppid=1 pid=6306 auid=500 uid=500 gid=500 euid=500 suid=5…
9 …0=9c0e840 a1=42 a2=1c0 a3=9c0e840 items=0 ppid=1 pid=6336 auid=500 uid=500 gid=500 euid=500 suid=5…
11 …a0=d a1=7 a2=bf991e3c a3=bf991e3c items=0 ppid=1 pid=6336 auid=500 uid=500 gid=500 euid=500 suid=5…
16 …cd98 a1=8000 a2=1b6 a3=8e1f9a8 items=0 ppid=6356 pid=6377 auid=500 uid=500 gid=500 euid=0 suid=0 f…
18 …bfa1f935 a1=2 a2=bfa1e1e0 a3=0 items=0 ppid=6377 pid=6378 auid=500 uid=500 gid=500 euid=500 suid=5…
20 …fa1f935 a1=0 a2=1b6 a3=85b5008 items=0 ppid=6377 pid=6378 auid=500 uid=500 gid=500 euid=500 suid=5…
22 …=bfa1df2c a2=ce8ff4 a3=85b5008 items=0 ppid=6377 pid=6378 auid=500 uid=500 gid=500 euid=500 suid=5…
27 …8e1facb a1=80c2 a2=180 a3=80c2 items=0 ppid=6356 pid=6377 auid=500 uid=500 gid=500 euid=0 suid=0 f…
[all …]
/external/lldb/include/lldb/Target/
DPlatform.h276 GetGroupName (uint32_t gid);
617 GetCachedGroupName (uint32_t gid) in GetCachedGroupName() argument
620 IDToNameMap::iterator pos = m_gid_map.find (gid); in GetCachedGroupName()
633 SetCachedGroupName (uint32_t gid, const char *name, size_t name_len) in SetCachedGroupName() argument
637 m_gid_map[gid] = const_name; in SetCachedGroupName()
645 SetGroupNameNotFound (uint32_t gid) in SetGroupNameNotFound() argument
648 m_gid_map[gid] = ConstString(); in SetGroupNameNotFound()

12345678910