Home
last modified time | relevance | path

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

12345678910>>...30

/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/mesa3d/src/mesa/state_tracker/
Dst_cb_perfmon.c50 int gid, cid; in init_perf_monitor() local
55 for (gid = 0; gid < ctx->PerfMonitor.NumGroups; gid++) { in init_perf_monitor()
56 const struct gl_perf_monitor_group *g = &ctx->PerfMonitor.Groups[gid]; in init_perf_monitor()
57 const struct st_perf_monitor_group *stg = &st->perfmon[gid]; in init_perf_monitor()
59 if (m->ActiveGroups[gid] > g->MaxActiveCounters) { in init_perf_monitor()
68 num_active_counters += m->ActiveGroups[gid]; in init_perf_monitor()
70 max_batch_counters += m->ActiveGroups[gid]; in init_perf_monitor()
88 for (gid = 0; gid < ctx->PerfMonitor.NumGroups; gid++) { in init_perf_monitor()
89 const struct gl_perf_monitor_group *g = &ctx->PerfMonitor.Groups[gid]; in init_perf_monitor()
90 const struct st_perf_monitor_group *stg = &st->perfmon[gid]; in init_perf_monitor()
[all …]
/external/deqp-deps/amber/tests/cases/
Dglsl_read_and_write_image3d_rgba32i.amber20 uvec3 gid = gl_GlobalInvocationID;
21 ivec3 coord = ivec3(gid.x, gid.y, gid.z);
22 ivec4 data = ivec4(gid.x + 1, gid.y + 1, gid.z + 1, 0);
35 uvec3 gid = gl_GlobalInvocationID;
36 ivec3 coord = ivec3(gid.x, gid.y, gid.z);
37 uint linear = 4 * gid.z + 2 * gid.y + gid.x;
/external/strace/tests-mx32/
Dxchownx.c97 #define PAIR(val) { val, gid }, { uid, val }
106 unsigned int gid = GETEGID; in main() local
107 CHECK_OVERFLOWUID(gid); in main()
110 const long uid, gid; in main() member
112 { uid, gid }, in main()
113 { (unsigned long) 0xffffffff00000000ULL | uid, gid }, in main()
114 { uid, (unsigned long) 0xffffffff00000000ULL | gid }, in main()
117 { 0xffff0000U | uid, gid }, in main()
118 { uid, 0xffff0000U | gid }, in main()
136 const unsigned int gnum = ugid2int(tests[i].gid); in main()
[all …]
/external/strace/tests-m32/
Dxchownx.c97 #define PAIR(val) { val, gid }, { uid, val }
106 unsigned int gid = GETEGID; in main() local
107 CHECK_OVERFLOWUID(gid); in main()
110 const long uid, gid; in main() member
112 { uid, gid }, in main()
113 { (unsigned long) 0xffffffff00000000ULL | uid, gid }, in main()
114 { uid, (unsigned long) 0xffffffff00000000ULL | gid }, in main()
117 { 0xffff0000U | uid, gid }, in main()
118 { uid, 0xffff0000U | gid }, in main()
136 const unsigned int gnum = ugid2int(tests[i].gid); in main()
[all …]
/external/strace/tests/
Dxchownx.c97 #define PAIR(val) { val, gid }, { uid, val }
106 unsigned int gid = GETEGID; in main() local
107 CHECK_OVERFLOWUID(gid); in main()
110 const long uid, gid; in main() member
112 { uid, gid }, in main()
113 { (unsigned long) 0xffffffff00000000ULL | uid, gid }, in main()
114 { uid, (unsigned long) 0xffffffff00000000ULL | gid }, in main()
117 { 0xffff0000U | uid, gid }, in main()
118 { uid, 0xffff0000U | gid }, in main()
136 const unsigned int gnum = ugid2int(tests[i].gid); in main()
[all …]
/external/skia/src/pdf/
DSkPDFGlyphUse.h22 void set(SkGlyphID gid) { fBitSet.set(this->toCode(gid)); } in set() argument
23 bool has(SkGlyphID gid) const { return fBitSet.test(this->toCode(gid)); } in has() argument
39 uint16_t toCode(SkGlyphID gid) const { in toCode() argument
40 if (gid == 0 || fFirstNonZero == 1) { in toCode()
41 return gid; in toCode()
43 SkASSERT(gid >= fFirstNonZero && gid <= fLastGlyph); in toCode()
44 return gid - fFirstNonZero + 1; in toCode()
DSkPDFFont.h61 bool hasGlyph(SkGlyphID gid) { in hasGlyph() argument
62 return (gid >= this->firstGlyphID() && gid <= this->lastGlyphID()) || gid == 0; in hasGlyph()
66 SkGlyphID glyphToPDFFontEncoding(SkGlyphID gid) const { in glyphToPDFFontEncoding() argument
67 if (this->multiByteGlyphs() || gid == 0) { in glyphToPDFFontEncoding()
68 return gid; in glyphToPDFFontEncoding()
70 SkASSERT(gid >= this->firstGlyphID() && gid <= this->lastGlyphID()); in glyphToPDFFontEncoding()
72 return gid - this->firstGlyphID() + 1; in glyphToPDFFontEncoding()
/external/skqp/src/pdf/
DSkPDFGlyphUse.h22 void set(SkGlyphID gid) { fBitSet.set(this->toCode(gid)); } in set() argument
23 bool has(SkGlyphID gid) const { return fBitSet.has(this->toCode(gid)); } in has() argument
39 uint16_t toCode(SkGlyphID gid) const { in toCode() argument
40 if (gid == 0 || fFirstNonZero == 1) { in toCode()
41 return gid; in toCode()
43 SkASSERT(gid >= fFirstNonZero && gid <= fLastGlyph); in toCode()
44 return gid - fFirstNonZero + 1; in toCode()
DSkPDFFont.h57 bool hasGlyph(SkGlyphID gid) { in hasGlyph() argument
58 return (gid >= this->firstGlyphID() && gid <= this->lastGlyphID()) || gid == 0; in hasGlyph()
62 SkGlyphID glyphToPDFFontEncoding(SkGlyphID gid) const { in glyphToPDFFontEncoding() argument
63 if (this->multiByteGlyphs() || gid == 0) { in glyphToPDFFontEncoding()
64 return gid; in glyphToPDFFontEncoding()
66 SkASSERT(gid >= this->firstGlyphID() && gid <= this->lastGlyphID()); in glyphToPDFFontEncoding()
68 return gid - this->firstGlyphID() + 1; in glyphToPDFFontEncoding()
/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()
/external/rust/crates/tokio/src/net/unix/
Ducred.rs11 gid: gid_t, field
21 pub fn gid(&self) -> gid_t { in gid() method
22 self.gid in gid()
69 gid: 0, in get_peer_cred()
90 gid: ucred.gid, in get_peer_cred()
119 let mut gid = MaybeUninit::uninit(); in get_peer_cred() localVariable
121 let ret = getpeereid(raw_fd, uid.as_mut_ptr(), gid.as_mut_ptr()); in get_peer_cred()
126 gid: gid.assume_init(), in get_peer_cred()
151 let mut gid = MaybeUninit::uninit(); in get_peer_cred() localVariable
168 let ret = getpeereid(raw_fd, uid.as_mut_ptr(), gid.as_mut_ptr()); in get_peer_cred()
[all …]
/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
11 -m owner --gid-owner 0-10 --suppl-groups;=;OK
12 -m owner --suppl-groups --gid-owner 0-10;;FAIL
13 -m owner --gid-owner 0-10 ! --suppl-groups;;FAIL
/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), "%lu", (u_long)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/ltp/testcases/kernel/syscalls/setregid/
Dsetregid01.c25 static gid_t gid, egid; /* current real and effective group id */ variable
35 {&gid, &neg_one, "Change real to real gid" },
36 {&neg_one, &gid, "Change effective to real gid" },
37 {&gid, &gid, "Try to change real to current real" }
54 gid = getgid(); in setup()
55 GID16_CHECK(gid, setregid); in setup()
/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 (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:%ld:", *toys.optargs, "x", TT.gid);
/external/ltp/testcases/kernel/syscalls/ipc/msgctl/
Dmsgctl01.c22 static gid_t gid; variable
91 if (buf.msg_perm.gid == gid) { in verify_msgctl()
92 tst_res(TPASS, "msg_perm.gid = %u", (unsigned)gid); in verify_msgctl()
95 (unsigned)buf.msg_perm.gid, (unsigned)gid); in verify_msgctl()
105 if (buf.msg_perm.cgid == gid) { in verify_msgctl()
106 tst_res(TPASS, "msg_perm.cgid = %u", (unsigned)gid); in verify_msgctl()
109 (unsigned)buf.msg_perm.cgid, (unsigned)gid); in verify_msgctl()
128 gid = getegid(); in setup()
/external/harfbuzz_ng/src/
Dhb-subset-plan.cc40 hb_codepoint_t gid, in _add_cff_seac_components() argument
44 if (cff.get_seac_components (gid, &base_gid, &accent_gid)) in _add_cff_seac_components()
84 hb_codepoint_t gid = HB_SET_VALUE_INVALID; in _remove_invalid_gids() local
85 while (glyphs->next (&gid)) in _remove_invalid_gids()
87 if (gid >= num_glyphs) in _remove_invalid_gids()
88 glyphs->del (gid); in _remove_invalid_gids()
111 hb_codepoint_t gid; in _populate_gids_to_retain() local
112 if (!cmap.get_nominal_glyph (cp, &gid)) in _populate_gids_to_retain()
118 plan->codepoint_to_glyph->set (cp, gid); in _populate_gids_to_retain()
119 plan->_glyphset_gsub->add (gid); in _populate_gids_to_retain()
[all …]
Dhb-subset-plan.hh105 inline bool is_empty_glyph (hb_codepoint_t gid) const in is_empty_glyph()
107 return !_glyphset->has (gid); in is_empty_glyph()
123 hb_codepoint_t gid = glyph_map->get (old_gid); in new_gid_for_old_gid() local
124 if (gid == HB_MAP_VALUE_INVALID) in new_gid_for_old_gid()
127 *new_gid = gid; in new_gid_for_old_gid()
134 hb_codepoint_t gid = reverse_glyph_map->get (new_gid); in old_gid_for_new_gid() local
135 if (gid == HB_MAP_VALUE_INVALID) in old_gid_for_new_gid()
138 *old_gid = gid; in old_gid_for_new_gid()
Dhb-ot-glyf-table.hh399 bool get_extents (hb_font_t *font, hb_codepoint_t gid, hb_glyph_extents_t *extents) const in get_extents()
403 extents->x_bearing = font->em_scale_x (font->face->table.hmtx->get_side_bearing (gid)); in get_extents()
731 bool get_extents (hb_font_t *font, hb_codepoint_t gid, hb_glyph_extents_t *extents) const in get_extents()
734 return header->get_extents (font, gid, extents); in get_extents()
793 …void init_phantom_points (hb_codepoint_t gid, hb_array_t<contour_point_t> &phantoms /* IN/OUT */) … in init_phantom_points()
795 const Glyph &glyph = glyph_for_gid (gid); in init_phantom_points()
796 int h_delta = (int) glyph.get_header ().xMin - face->table.hmtx->get_side_bearing (gid); in init_phantom_points()
797 int v_orig = (int) glyph.get_header ().yMax + face->table.vmtx->get_side_bearing (gid); in init_phantom_points()
798 unsigned int h_adv = face->table.hmtx->get_advance (gid); in init_phantom_points()
799 unsigned int v_adv = face->table.vmtx->get_advance (gid); in init_phantom_points()
[all …]
/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.assertIn(gid, txns)
95 for gid,txn in recovered_txns :
97 committed_txns.add(gid)
103 discard_txns.add(gid)
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_query.c65 uint8_t gid; /* group-id */ member
90 const struct fd_perfcntr_group *g = &screen->perfcntr_groups[entry->gid]; in perfcntr_resume()
91 unsigned counter_idx = counters_per_group[entry->gid]++; in perfcntr_resume()
104 const struct fd_perfcntr_group *g = &screen->perfcntr_groups[entry->gid]; in perfcntr_resume()
105 unsigned counter_idx = counters_per_group[entry->gid]++; in perfcntr_resume()
131 const struct fd_perfcntr_group *g = &screen->perfcntr_groups[entry->gid]; in perfcntr_pause()
132 unsigned counter_idx = counters_per_group[entry->gid]++; in perfcntr_pause()
196 entry->gid = pq->group_id; in fd2_create_batch_query()
208 if (pq->group_id == entry->gid) in fd2_create_batch_query()
212 if (counters_per_group[entry->gid] >= in fd2_create_batch_query()
[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()

12345678910>>...30