Home
last modified time | relevance | path

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

12345678910>>...26

/third_party/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 …]
/third_party/node/deps/npm/node_modules/chownr/
Dchownr.js15 const lchownSync = (path, uid, gid) => { argument
17 return fs[LCHOWNSYNC](path, uid, gid)
25 const chownSync = (path, uid, gid) => { argument
27 return fs.chownSync(path, uid, gid)
36 needEISDIRHandled ? (path, uid, gid, cb) => er => {
43 fs.chown(path, uid, gid, cb)
49 needEISDIRHandled ? (path, uid, gid) => {
51 return lchownSync(path, uid, gid)
55 chownSync(path, uid, gid)
58 : (path, uid, gid) => lchownSync(path, uid, gid)
[all …]
/third_party/node/deps/npm/node_modules/uid-number/
Duid-number.js15 function uidNumber (uid, gid, cb) { argument
17 if (typeof cb !== "function") cb = gid, gid = null
19 if (gid == null) gid = process.getgid()
21 if (!isNaN(gid)) gid = gidCache[gid] = +gid
25 if (gidCache.hasOwnProperty(gid)) gid = gidCache[gid]
27 if (typeof gid === "number" && typeof uid === "number") {
28 return process.nextTick(cb.bind(null, null, uid, gid))
34 , [getter, uid, gid]
54 if (isNaN(out.uid) || isNaN(out.gid)) return cb(new Error(
57 cb(null, uidCache[uid] = +out.uid, gidCache[gid] = +out.gid)
/third_party/node/deps/npm/node_modules/cacache/lib/util/
Dfix-owner.js12 const self = { uid: null, gid: null } property
23 if (typeof self.gid !== 'number') {
24 self.gid = process.getgid()
26 process.setgid = (gid) => { argument
27 self.gid = null
29 return process.setgid(gid)
48 const { uid, gid } = owner
51 if (self.uid === uid && self.gid === gid) {
60 typeof gid === 'number' ? gid : self.gid
72 const { uid, gid } = inferOwner.sync(cache)
[all …]
/third_party/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 …]
/third_party/pulseaudio/src/daemon/
Dcaps.c50 gid_t gid; in pa_drop_root() local
54 gid = getgid(); in pa_drop_root()
58 pa_assert_se(setresgid(gid, gid, gid) >= 0); in pa_drop_root()
61 pa_assert_se(setregid(gid, gid) >= 0); in pa_drop_root()
65 pa_assert_se(setgid(gid) >= 0); in pa_drop_root()
66 pa_assert_se(setegid(gid) >= 0); in pa_drop_root()
71 pa_assert_se(getgid() == gid); in pa_drop_root()
72 pa_assert_se(getegid() == gid); in pa_drop_root()
/third_party/flutter/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.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.h62 bool hasGlyph(SkGlyphID gid) { in hasGlyph() argument
63 return (gid >= this->firstGlyphID() && gid <= this->lastGlyphID()) || gid == 0; in hasGlyph()
67 SkGlyphID glyphToPDFFontEncoding(SkGlyphID gid) const { in glyphToPDFFontEncoding() argument
68 if (this->multiByteGlyphs() || gid == 0) { in glyphToPDFFontEncoding()
69 return gid; in glyphToPDFFontEncoding()
71 SkASSERT(gid >= this->firstGlyphID() && gid <= this->lastGlyphID()); in glyphToPDFFontEncoding()
73 return gid - this->firstGlyphID() + 1; in glyphToPDFFontEncoding()
/third_party/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.h60 bool hasGlyph(SkGlyphID gid) { in hasGlyph() argument
61 return (gid >= this->firstGlyphID() && gid <= this->lastGlyphID()) || gid == 0; in hasGlyph()
65 SkGlyphID glyphToPDFFontEncoding(SkGlyphID gid) const { in glyphToPDFFontEncoding() argument
66 if (this->multiByteGlyphs() || gid == 0) { in glyphToPDFFontEncoding()
67 return gid; in glyphToPDFFontEncoding()
69 SkASSERT(gid >= this->firstGlyphID() && gid <= this->lastGlyphID()); in glyphToPDFFontEncoding()
71 return gid - this->firstGlyphID() + 1; in glyphToPDFFontEncoding()
/third_party/harfbuzz/src/
Dtest-ot-glyphname.cc52 for (hb_codepoint_t gid = 0; gid < num_glyphs; gid++) in main() local
56 if (hb_font_get_glyph_name (font, gid, buf, buf_size)) in main()
61 if (gid == gid_inv) in main()
63 printf ("%u <-> %s\n", gid, buf); in main()
67 printf ("%u -> %s -> %u\n", gid, buf, gid_inv); in main()
73 printf ("%u -> %s -> ?\n", gid, buf); in main()
79 printf ("%u -> ?\n", gid); in main()
Dhb-ot-var-hvar-table.hh146 …hb_codepoint_t gid = (hb_codepoint_t) hb_min (index_map.get_map_count (), plan->num_output_glyphs … in init() local
153 for (; gid > 0; gid--) in init()
156 if (!plan->old_gid_for_new_gid (gid - 1, &old_gid)) in init()
168 last_gid = gid; in init()
173 last_gid = gid; in init()
178 for (gid = 0; gid < map_count; gid++) in init()
181 if (plan->old_gid_for_new_gid (gid, &old_gid)) in init()
215 for (hb_codepoint_t gid = 0; gid < output_map.length; gid++) in remap() local
218 if (plan->old_gid_for_new_gid (gid, &old_gid)) in remap()
222 output_map[gid] = (outer_map[outer] << 16) | (inner_maps[outer][v & 0xFFFF]); in remap()
[all …]
/third_party/skia/third_party/externals/harfbuzz/src/
Dtest-ot-glyphname.cc53 for (hb_codepoint_t gid = 0; gid < num_glyphs; gid++) in main() local
57 if (hb_font_get_glyph_name (font, gid, buf, buf_size)) in main()
62 if (gid == gid_inv) in main()
64 printf ("%u <-> %s\n", gid, buf); in main()
68 printf ("%u -> %s -> %u\n", gid, buf, gid_inv); in main()
74 printf ("%u -> %s -> ?\n", gid, buf); in main()
80 printf ("%u -> ?\n", gid); in main()
Dhb-ot-var-hvar-table.hh60 …hb_codepoint_t gid = (hb_codepoint_t) hb_min (index_map.get_map_count (), plan->num_output_glyphs … in init() local
67 for (; gid > 0; gid--) in init()
70 if (!plan->old_gid_for_new_gid (gid - 1, &old_gid)) in init()
82 last_gid = gid; in init()
87 last_gid = gid; in init()
92 for (gid = 0; gid < map_count; gid++) in init()
95 if (plan->old_gid_for_new_gid (gid, &old_gid)) in init()
129 for (hb_codepoint_t gid = 0; gid < output_map.length; gid++) in remap() local
132 if (plan->old_gid_for_new_gid (gid, &old_gid)) in remap()
136 output_map[gid] = (outer_map[outer] << 16) | (inner_maps[outer][v & 0xFFFF]); in remap()
[all …]
Dhb-subset-plan.hh146 inline bool is_empty_glyph (hb_codepoint_t gid) const in is_empty_glyph()
148 return !_glyphset->has (gid); in is_empty_glyph()
164 hb_codepoint_t gid = glyph_map->get (old_gid); in new_gid_for_old_gid() local
165 if (gid == HB_MAP_VALUE_INVALID) in new_gid_for_old_gid()
168 *new_gid = gid; in new_gid_for_old_gid()
175 hb_codepoint_t gid = reverse_glyph_map->get (new_gid); in old_gid_for_new_gid() local
176 if (gid == HB_MAP_VALUE_INVALID) in old_gid_for_new_gid()
179 *old_gid = gid; in old_gid_for_new_gid()
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-subset-plan.cc39 hb_codepoint_t gid, in _add_gid_and_children() argument
42 if (hb_set_has (gids_to_retain, gid)) in _add_gid_and_children()
46 hb_set_add (gids_to_retain, gid); in _add_gid_and_children()
49 if (glyf.get_composite (gid, &composite)) in _add_gid_and_children()
61 hb_codepoint_t gid, in _add_cff_seac_components() argument
65 if (cff.get_seac_components (gid, &base_gid, &accent_gid)) in _add_cff_seac_components()
94 hb_codepoint_t gid = HB_SET_VALUE_INVALID; in _remove_invalid_gids() local
95 while (glyphs->next (&gid)) in _remove_invalid_gids()
97 if (gid >= num_glyphs) in _remove_invalid_gids()
98 glyphs->del (gid); in _remove_invalid_gids()
[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()
/third_party/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
/third_party/ltp/testcases/kernel/syscalls/setfsgid/
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()
Dsetfsgid02.c23 static gid_t gid; variable
32 GID16_CHECK(gid, setfsgid); in run()
45 TEST(SETFSGID(gid)); in run()
52 pre_gid = gid; in run()
53 gid++; in run()
65 gid = 1; in setup()
/third_party/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()
/third_party/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);
/third_party/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()
/third_party/node/deps/npm/node_modules/gentle-fs/lib/
Dchown.js10 gid: process.getgid && process.getgid() property
13 module.exports = (path, uid, gid, cb) => { argument
15 uid === undefined || gid === undefined ||
16 (selfOwner.uid === uid && selfOwner.gid === gid)) {
21 chownr(path, uid, gid, cb)
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_query.c64 uint8_t gid; /* group-id */ member
89 const struct fd_perfcntr_group *g = &screen->perfcntr_groups[entry->gid]; in perfcntr_resume()
90 unsigned counter_idx = counters_per_group[entry->gid]++; in perfcntr_resume()
103 const struct fd_perfcntr_group *g = &screen->perfcntr_groups[entry->gid]; in perfcntr_resume()
104 unsigned counter_idx = counters_per_group[entry->gid]++; in perfcntr_resume()
130 const struct fd_perfcntr_group *g = &screen->perfcntr_groups[entry->gid]; in perfcntr_pause()
131 unsigned counter_idx = counters_per_group[entry->gid]++; in perfcntr_pause()
195 entry->gid = pq->group_id; in fd2_create_batch_query()
207 if (pq->group_id == entry->gid) in fd2_create_batch_query()
211 if (counters_per_group[entry->gid] >= in fd2_create_batch_query()
[all …]

12345678910>>...26