Home
last modified time | relevance | path

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

12345678910>>...16

/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/syslinux/gpxe/src/net/infiniband/
Dib_mcast.c44 static void ib_mcast_mad ( struct ib_device *ibdev, struct ib_gid *gid, in ib_mcast_mad() argument
59 memcpy ( &sa->sa_data.mc_member_record.mgid, gid, in ib_mcast_mad()
61 memcpy ( &sa->sa_data.mc_member_record.port_gid, &ibdev->gid, in ib_mcast_mad()
82 struct ib_gid *gid = &membership->gid; in ib_mcast_complete() local
102 ntohl ( gid->u.dwords[0] ), ntohl ( gid->u.dwords[1] ), in ib_mcast_complete()
103 ntohl ( gid->u.dwords[2] ), ntohl ( gid->u.dwords[3] ), in ib_mcast_complete()
139 struct ib_mc_membership *membership, struct ib_gid *gid, in ib_mcast_join() argument
148 ibdev, qp->qpn, ntohl ( gid->u.dwords[0] ), in ib_mcast_join()
149 ntohl ( gid->u.dwords[1] ), ntohl ( gid->u.dwords[2] ), in ib_mcast_join()
150 ntohl ( gid->u.dwords[3] ) ); in ib_mcast_join()
[all …]
Dib_pathrec.c52 struct ib_gid *dgid = &path->av.gid; in ib_path_complete()
122 memcpy ( &sa->sa_data.path_record.dgid, &path->av.gid, in ib_create_path()
124 memcpy ( &sa->sa_data.path_record.sgid, &ibdev->gid, in ib_create_path()
192 if ( memcmp ( &cached->path->av.gid, dgid, in ib_find_path_cache_entry()
193 sizeof ( cached->path->av.gid ) ) != 0 ) in ib_find_path_cache_entry()
243 struct ib_gid *gid = &av->gid; in ib_resolve_path() local
255 cached = ib_find_path_cache_entry ( ibdev, gid ); in ib_resolve_path()
262 ibdev, htonl ( gid->u.dwords[0] ), in ib_resolve_path()
263 htonl ( gid->u.dwords[1] ), htonl ( gid->u.dwords[2] ), in ib_resolve_path()
264 htonl ( gid->u.dwords[3] ) ); in ib_resolve_path()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_perfmon.c49 int gid, cid; in init_perf_monitor() local
54 for (gid = 0; gid < ctx->PerfMonitor.NumGroups; gid++) { in init_perf_monitor()
55 const struct gl_perf_monitor_group *g = &ctx->PerfMonitor.Groups[gid]; in init_perf_monitor()
56 const struct st_perf_monitor_group *stg = &st->perfmon[gid]; in init_perf_monitor()
58 if (m->ActiveGroups[gid] > g->MaxActiveCounters) { in init_perf_monitor()
67 num_active_counters += m->ActiveGroups[gid]; in init_perf_monitor()
69 max_batch_counters += m->ActiveGroups[gid]; in init_perf_monitor()
87 for (gid = 0; gid < ctx->PerfMonitor.NumGroups; gid++) { in init_perf_monitor()
88 const struct gl_perf_monitor_group *g = &ctx->PerfMonitor.Groups[gid]; in init_perf_monitor()
89 const struct st_perf_monitor_group *stg = &st->perfmon[gid]; in init_perf_monitor()
[all …]
/external/strace/tests-mx32/
Dxchownx.c96 #define PAIR(val) { val, gid }, { uid, val }
105 unsigned int gid = GETEGID; in main() local
106 CHECK_OVERFLOWUID(gid); in main()
109 const long uid, gid; in main() member
111 { uid, gid }, in main()
112 { (unsigned long) 0xffffffff00000000ULL | uid, gid }, in main()
113 { uid, (unsigned long) 0xffffffff00000000ULL | gid }, in main()
116 { 0xffff0000U | uid, gid }, in main()
117 { uid, 0xffff0000U | gid }, in main()
135 const unsigned int gnum = ugid2int(tests[i].gid); in main()
[all …]
/external/strace/tests-m32/
Dxchownx.c96 #define PAIR(val) { val, gid }, { uid, val }
105 unsigned int gid = GETEGID; in main() local
106 CHECK_OVERFLOWUID(gid); in main()
109 const long uid, gid; in main() member
111 { uid, gid }, in main()
112 { (unsigned long) 0xffffffff00000000ULL | uid, gid }, in main()
113 { uid, (unsigned long) 0xffffffff00000000ULL | gid }, in main()
116 { 0xffff0000U | uid, gid }, in main()
117 { uid, 0xffff0000U | gid }, in main()
135 const unsigned int gnum = ugid2int(tests[i].gid); in main()
[all …]
/external/strace/tests/
Dxchownx.c96 #define PAIR(val) { val, gid }, { uid, val }
105 unsigned int gid = GETEGID; in main() local
106 CHECK_OVERFLOWUID(gid); in main()
109 const long uid, gid; in main() member
111 { uid, gid }, in main()
112 { (unsigned long) 0xffffffff00000000ULL | uid, gid }, in main()
113 { uid, (unsigned long) 0xffffffff00000000ULL | gid }, in main()
116 { 0xffff0000U | uid, gid }, in main()
117 { uid, 0xffff0000U | gid }, in main()
135 const unsigned int gnum = ugid2int(tests[i].gid); in main()
[all …]
/external/ltp/testcases/kernel/syscalls/setfsgid/
Dsetfsgid02.c46 gid_t gid; in main() local
55 gid = 1; in main()
56 while (getgrgid(gid)) in main()
57 gid++; in main()
59 GID16_CHECK(gid, setfsgid, cleanup); in main()
61 TEST(SETFSGID(cleanup, gid)); in main()
69 if (TEST_RETURN == gid) { in main()
71 TEST_RETURN, gid); in main()
Dsetfsgid03.c49 gid_t gid; in main() local
58 gid = 1; in main()
59 while (!getgrgid(gid)) in main()
60 gid++; in main()
62 GID16_CHECK(gid, setfsgid, cleanup); in main()
64 TEST(SETFSGID(cleanup, gid)); in main()
72 if (TEST_RETURN == gid) { in main()
75 TEST_RETURN, gid); in main()
Dsetfsgid01.c43 gid_t gid; in main() local
52 gid = getegid(); in main()
53 GID16_CHECK(gid, setfsgid, cleanup); in main()
55 TEST(SETFSGID(cleanup, gid)); in main()
63 if (TEST_RETURN != gid) { in main()
65 TEST_RETURN, gid); in main()
/external/skia/src/pdf/
DSkPDFFont.h59 bool hasGlyph(SkGlyphID gid) { in hasGlyph() argument
60 return (gid >= fFirstGlyphID && gid <= fLastGlyphID) || gid == 0; in hasGlyph()
64 SkGlyphID glyphToPDFFontEncoding(SkGlyphID gid) const { in glyphToPDFFontEncoding() argument
65 if (this->multiByteGlyphs() || gid == 0) { in glyphToPDFFontEncoding()
66 return gid; in glyphToPDFFontEncoding()
68 SkASSERT(gid >= fFirstGlyphID && gid <= fLastGlyphID); in glyphToPDFFontEncoding()
70 return gid - fFirstGlyphID + 1; in glyphToPDFFontEncoding()
/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;
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/python/cpython2/Lib/bsddb/test/
Dtest_distributed_transactions.py68 gid = "%%%dd" %db.DB_GID_SIZE
69 gid = adapt(gid %i)
70 self.db.put(i, gid, txn=txn, flags=db.DB_APPEND)
71 txns.add(gid)
72 txn.prepare(gid)
81 for gid,txn in recovered_txns :
82 self.assertTrue(gid in txns)
95 for gid,txn in recovered_txns :
97 committed_txns.add(gid)
103 discard_txns.add(gid)
[all …]
/external/ltp/testcases/kernel/syscalls/setgid/
Dsetgid01.c50 static gid_t gid; variable
63 TEST(SETGID(cleanup, gid)); in main()
66 tst_resm(TFAIL, "setgid(%d) Failed, errno=%d : %s", gid, in main()
69 tst_resm(TPASS, "setgid(%d) returned %ld", gid, in main()
85 gid = getgid(); in setup()
86 GID16_CHECK(gid, setgid, cleanup); in setup()
/external/ltp/testcases/kernel/syscalls/setregid/
Dsetregid01.c53 static gid_t gid, egid; /* current real and effective group id */ variable
71 gid = getgid(); in main()
72 GID16_CHECK(gid, setregid, NULL); in main()
111 TEST(SETREGID(NULL, gid, -1)); in main()
128 TEST(SETREGID(NULL, -1, gid)); in main()
145 TEST(SETREGID(NULL, gid, gid)); in main()
/external/iptables/extensions/
Dlibxt_owner.t5 -m owner --gid-owner root;-m owner --gid-owner 0;OK
6 -m owner --gid-owner 0-10;=;OK
7 -m owner --uid-owner root --gid-owner root;-m owner --uid-owner 0 --gid-owner 0;OK
8 -m owner --uid-owner 0-10 --gid-owner 0-10;=;OK
/external/libbrillo/brillo/
Duserdb_utils.cc19 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()
/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))
/external/syslinux/gpxe/src/drivers/net/
Dipoib.c75 .gid.u.bytes = { 0xff, 0x12, 0x40, 0x1b, 0x00, 0x00, 0x00, 0x00,
271 memcpy ( &mac->gid.u.half[1], guid, sizeof ( mac->gid.u.half[1] ) ); in ipoib_init_addr()
285 htonl ( mac->flags__qpn ), htonl ( mac->gid.u.dwords[0] ), in ipoib_ntoa()
286 htonl ( mac->gid.u.dwords[1] ), in ipoib_ntoa()
287 htonl ( mac->gid.u.dwords[2] ), in ipoib_ntoa()
288 htonl ( mac->gid.u.dwords[3] ) ); in ipoib_ntoa()
348 const struct ib_gid_half *guid = &ipoib_addr->gid.u.half[1]; in ipoib_eth_addr()
442 memcpy ( &av.gid, &dest->mac.gid, sizeof ( av.gid ) ); in ipoib_transmit()
504 memcpy ( &ll_src.gid, &av->gid, sizeof ( ll_src.gid ) ); in ipoib_complete_recv()
573 &ipoib->broadcast.gid, in ipoib_join_broadcast_group()
[all …]
/external/ltp/testcases/kernel/syscalls/utils/
Dcompat_16.h67 #define GID16_CHECK(gid, sys_name, cleanup) \ argument
68 if (!GID_SIZE_CHECK(gid)) { \
71 "of %s()", gid, #gid, #sys_name); \
95 int SETGID(void (cleanup)(void), GID_T gid) in SETGID() argument
97 LTP_CREATE_SYSCALL(setgid, cleanup, gid); in SETGID()
120 int SETFSGID(void (cleanup)(void), GID_T gid) in SETFSGID() argument
122 LTP_CREATE_SYSCALL(setfsgid, cleanup, gid); in SETFSGID()
/external/ltp/testcases/kernel/syscalls/chown/
Dchown01.c125 int uid, gid; variable
142 TEST(CHOWN(cleanup, fname, uid, gid)); in main()
146 fname, uid, gid); in main()
149 fname, uid, gid, TEST_RETURN); in main()
168 GID16_CHECK((gid = getegid()), "chown", cleanup) in setup()
/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)

12345678910>>...16