/third_party/toybox/toys/posix/ |
H A 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() 112 showid(" gid=", grp->gr_gid, grp->gr_name); in do_id() 119 if (gid != egid) { in do_id() 131 ngroups = username ? getgrouplist(username, gid, groups, &i) in do_id()
|
/foundation/resourceschedule/ffrt/src/tm/ |
H A D | cpu_task.cpp | 55 FFRT_LOGD("Execute task[%lu], name[%s]", gid, label.c_str()); in Execute() 65 FFRT_TASKDONE_MARKER(gid); in Execute() 88 FFRT_SUBMIT_MARKER(label, gid); in CPUEUTask() 105 FFRT_LOGD("create task name:%s gid=%lu taskLocal:%d", label.c_str(), gid, taskLocal); in CPUEUTask()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/ |
H A D | virtual_asset_loader.cpp | 19 DBStatus VirtualAssetLoader::Download(const std::string &tableName, const std::string &gid, const Type &prefix, in Download() argument 28 LOGD("Download GID:%s", gid.c_str()); in Download() 49 DBStatus VirtualAssetLoader::RemoveLocalAssets(const std::string &tableName, const std::string &gid, const Type &prefix, in RemoveLocalAssets() argument 61 LOGD("RemoveLocalAssets GID:%s", gid.c_str()); in RemoveLocalAssets()
|
/third_party/musl/src/passwd/ |
H A D | getgr_r.c | 6 static int getgr_r(const char *name, gid_t gid, struct group *gr, char *buf, size_t size, struct group **res) in getgr_r() argument 18 rv = __getgr_a(name, gid, gr, &line, &len, &mem, &nmem, res); in getgr_r() 46 int getgrgid_r(gid_t gid, struct group *gr, char *buf, size_t size, struct group **res) in getgrgid_r() argument 48 return getgr_r(0, gid, gr, buf, size, res); in getgrgid_r()
|
H A D | getgrouplist.c | 12 int getgrouplist(const char *user, gid_t gid, gid_t *groups, int *ngroups) in getgrouplist() argument 27 if (nlim >= 1) *groups++ = gid; in getgrouplist() 54 if (nscdbuf[i] == gr.gr_gid) nscdbuf[i] = gid; in getgrouplist() 67 if (nscdbuf[i] != gid) in getgrouplist()
|
/third_party/skia/third_party/externals/freetype/src/gxvalid/ |
H A D | gxvcommn.c | 498 FT_UShort gid; in gxv_LookupTable_fmt2_validate() local 516 for ( unit = 0, gid = 0; unit < nUnits; unit++ ) in gxv_LookupTable_fmt2_validate() 526 if ( lastGlyph < gid ) in gxv_LookupTable_fmt2_validate() 530 unit, lastGlyph, unit - 1 , gid )); in gxv_LookupTable_fmt2_validate() 545 gid = firstGlyph; in gxv_LookupTable_fmt2_validate() 547 lastGlyph = gid; in gxv_LookupTable_fmt2_validate() 550 for ( gid = firstGlyph; gid <= lastGlyph; gid++ ) in gxv_LookupTable_fmt2_validate() 551 gxvalid->lookupval_func( gid, in gxv_LookupTable_fmt2_validate() 570 FT_UShort gid; gxv_LookupTable_fmt4_validate() local 845 gxv_ctlPoint_validate( FT_UShort gid, FT_UShort ctl_point, GXV_Validator gxvalid ) gxv_ctlPoint_validate() argument [all...] |
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_auth_authsys_create/ |
H A D | tirpc_authsys_create.c | 48 gid_t gid, aup_gids[NGRPS]; in main() local 53 gid = getegid(); in main() 57 authSys = authsys_create(argc[1], uid, gid, len, aup_gids); in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/passwd/ |
H A D | getgrgid.c | 31 gid_t gid = 0; in getgrgid_0100() local 33 struct group *grp = getgrgid(gid); in getgrgid_0100() 43 if (grp->gr_gid != gid) { in getgrgid_0100() 54 * (gid argument is invalid)
|
H A D | getgrgid_r.c | 30 gid_t gid = 0; in getgrgid_r_0100() local 36 int result = getgrgid_r(gid, &grp_storage, buf, sizeof(buf), &grp); in getgrgid_r_0100() 50 if (gid != grp->gr_gid) { in getgrgid_r_0100()
|
/third_party/skia/third_party/externals/freetype/tests/issue-1063/ |
H A D | main.c | 37 FT_UInt gid = FT_Get_Char_Index( face, i ); in main() local 38 FT_Error code = FT_Load_Glyph( face, gid, FT_LOAD_DEFAULT ); in main() 42 printf( "unknown %d for char %lu, gid %u\n", code, i, gid ); in main()
|
/third_party/selinux/libselinux/src/ |
H A 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()
|
/third_party/eudev/src/shared/ |
H A D | dev-setup.c | 34 int dev_setup(const char *prefix, uid_t uid, gid_t gid) { in dev_setup() argument 69 if (uid != UID_INVALID || gid != GID_INVALID) in dev_setup() 70 if (lchown(n, uid, gid) < 0) in dev_setup()
|
H A D | mkdir.c | 32 int mkdir_safe_internal(const char *path, mode_t mode, uid_t uid, gid_t gid, mkdir_func_t _mkdir) { in mkdir_safe_internal() argument 36 if (chmod_and_chown(path, mode, uid, gid) < 0) in mkdir_safe_internal() 46 (gid != GID_INVALID && st.st_gid != gid) || in mkdir_safe_internal()
|
/third_party/ltp/testcases/kernel/containers/userns/ |
H A D | userns02.c | 22 int uid, gid; in child_fn1() local 27 gid = getegid(); in child_fn1() 30 TST_EXP_EQ_LI(gid, 100); in child_fn1()
|
H A D | userns01.c | 35 int uid, gid; in child_fn1() local 41 gid = getegid(); in child_fn1() 46 TST_EXP_EQ_LI(gid, overflowgid); in child_fn1()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_auth_authunix_create/ |
H A D | rpc_authunix_create.c | 62 gid_t gid; in main() local 67 gid = getegid(); in main() 81 authUnx = authunix_create(hostname, uid, gid, num_groups, aup_gids); in main()
|
/third_party/node/src/ |
H A D | node_credentials.cc | 194 static const char* name_by_gid(gid_t gid) { 203 if ((rc = getgrgid_r(gid, &pwd, buf, sizeof(buf), &pp)) == 0 && 270 gid_t gid = gid_by_name(env->isolate(), args[0]); in SetGid() local 272 if (gid == gid_not_found) { in SetGid() 275 } else if (setgid(gid)) { in SetGid() 289 gid_t gid = gid_by_name(env->isolate(), args[0]); in SetEGid() local 291 if (gid == gid_not_found) { in SetEGid() 294 } else if (setegid(gid)) { in SetEGid() 372 gid_t gid = gid_by_name( in SetGroups() local 375 if (gid in SetGroups() [all...] |
/third_party/node/deps/npm/node_modules/write-file-atomic/lib/ |
H A D | index.js | 104 options.chown = { uid: stats.uid, gid: stats.gid } 127 await promisify(fs.chown)(tmpfile, options.chown.uid, options.chown.gid).catch(err => { 203 options.chown = { uid: stats.uid, gid: stats.gid } 234 fs.chownSync(tmpfile, options.chown.uid, options.chown.gid)
|
/third_party/skia/third_party/externals/harfbuzz/test/fuzzing/ |
H A D | hb-draw-fuzzer.cc | 83 /* Other gid specific misc calls */ in misc_calls_for_gid() 150 for (unsigned gid = 0; gid < glyph_count; ++gid) in LLVMFuzzerTestOneInput() 153 hb_font_draw_glyph (font, gid, funcs, &user_data); in LLVMFuzzerTestOneInput() 159 if (hb_font_get_glyph_extents (font, gid, &extents)) in LLVMFuzzerTestOneInput() 165 misc_calls_for_gid (face, font, set, gid); in LLVMFuzzerTestOneInput()
|
/third_party/eudev/src/udev/ |
H A D | udev-rules.c | 47 gid_t gid; member 75 /* during rule parsing, uid/gid lookup results are cached */ 211 gid_t gid; member 409 log_debug("%s %s %u", token_str(type), operation_str(op), token->key.gid); in dump_token() 522 gid_t gid = 0; in add_gid() local 530 gid = rules->gids[i].gid; in add_gid() 531 return gid; in add_gid() 534 r = get_group_creds(&group, &gid); in add_gid() 554 return gid; in add_gid() 1490 gid_t gid; add_rule() local 2630 gid_t gid = 0; udev_rules_apply_static_dev_perms() local [all...] |
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
H A D | fd6_query.c | 463 uint8_t gid; /* group-id */ member 488 const struct fd_perfcntr_group *g = &screen->perfcntr_groups[entry->gid]; 489 unsigned counter_idx = counters_per_group[entry->gid]++; 502 const struct fd_perfcntr_group *g = &screen->perfcntr_groups[entry->gid]; 503 unsigned counter_idx = counters_per_group[entry->gid]++; 530 const struct fd_perfcntr_group *g = &screen->perfcntr_groups[entry->gid]; 531 unsigned counter_idx = counters_per_group[entry->gid]++; 608 entry->gid = pq->group_id; in fd6_create_batch_query() 620 if (pq->group_id == entry->gid) in fd6_create_batch_query() 624 if (counters_per_group[entry->gid] > in fd6_create_batch_query() [all...] |
/third_party/ltp/testcases/kernel/crypto/ |
H A D | af_alg07.c | 48 static int uid, gid; variable 54 gid = getgid(); in setup() 79 TEST(fchownat(sock, "", uid, gid, AT_EMPTY_PATH)); in run()
|
/third_party/skia/third_party/externals/harfbuzz/test/api/ |
H A D | test-ot-glyphname.c | 31 test_one_glyph (hb_font_t *font, hb_codepoint_t gid, const char *name) in test_one_glyph() argument 36 g_assert(hb_font_get_glyph_name (font, gid, buf, sizeof (buf))); in test_one_glyph() 39 g_assert_cmpint(glyph, ==, gid); in test_one_glyph()
|
/foundation/resourceschedule/ffrt/src/eu/ |
H A D | co_routine.cpp | 212 FFRT_LOGD("tsd deconstruct done, task[%lu], name[%s]", task->gid, task->label.c_str()); in TaskTsdDeconstruct() 252 FFRT_LOGE("CoStart unsupport task[%lu], type=%d, name[%s]", task->gid, task->type, task->label.c_str()); in CoStartEntry() 394 FFRT_FAKE_TRACE_MARKER(task->gid); 403 FFRT_FAKE_TRACE_MARKER(task->gid); 435 FFRT_TASK_BEGIN(task->label, task->gid); 469 FFRT_WAKE_TRACER(task->gid); // fast path wk 485 FFRT_BLOCK_MARKER(co->task->gid); 516 FFRT_LOGD("Cowake task[%lu], name[%s], timeOut[%d]", task->gid, task->label.c_str(), timeOut); 518 FFRT_WAKE_TRACER(task->gid); 531 FFRT_LOGE("CoWake unsupport task[%lu], type=%d, name[%s]", task->gid, tas [all...] |
/foundation/resourceschedule/ffrt/src/queue/ |
H A D | queue_strategy.h | 50 FFRT_LOGD("dequeue [gid=%llu -> gid=%llu], %u other tasks in [queueId=%u] ",
in DequeBatch() 51 head->gid, node->gid, whenMap.size(), queueId);
in DequeBatch() 73 FFRT_LOGD("dequeue [gid=%llu], %u other tasks in [queueId=%u] ", head->gid, whenMap.size(), queueId);
in DequeSingleByPriority() 106 FFRT_LOGD("dequeue [gid=%llu], %u other tasks in [queueId=%u] ", head->gid, whenMap.size(), queueId);
in DequeSingleAgainstStarvation()
|