/foundation/ability/ability_runtime/services/appmgr/src/ |
H A D | app_spawn_msg_wrapper.cpp | 34 constexpr const char* DATAGROUPINFOLIST_GID = "gid"; 62 dataGroupInfoListJson[DATAGROUPINFOLIST_GID].emplace_back(std::to_string(dataGroupInfo.gid)); in DumpToJson() 99 msg_->gid = startMsg.gid; in AssembleMsg() 113 msg_->gidTable[i] = startMsg.dataGroupInfoList[i - startMsg.gids.size()].gid; in AssembleMsg() 191 if (startMsg.gid < 0) { in VerifyMsg() 192 TAG_LOGE(AAFwkTag::APPMGR, "invalid gid! [%{public}d]", startMsg.gid); in VerifyMsg() 231 TAG_LOGD(AAFwkTag::APPMGR, "uid: %{public}d, gid: %{public}d, procName: %{public}s, accessTokenIdEx :%{public}s", in DumpMsg() 232 msg_->uid, msg_->gid, msg in DumpMsg() [all...] |
/third_party/f2fs-tools/fsck/ |
H A D | sload.c | 30 unsigned *uid, unsigned *gid, 110 unsigned int uid = 0, gid = 0, imode = 0; in set_perms_and_caps() local 130 c.target_out_dir, &uid, &gid, &imode, in set_perms_and_caps() 133 de->gid = gid & 0xffff; in set_perms_and_caps() 137 MSG(2, "%s -> mode = 0x%x, uid = 0x%x, gid = 0x%x, " in set_perms_and_caps() 139 mnt_path, de->mode, de->uid, de->gid, de->capabilities); in set_perms_and_caps() 197 de->gid = stat.st_gid; in set_inode_metadata()
|
/foundation/filemanagement/app_file_service/frameworks/native/backup_ext/src/ |
H A D | tar_file.cpp | 162 static bool CopyData(TarHeader &hdr, const string &mode, const string &uid, const string &gid, const string &size) in CopyData() argument 174 ret = memcpy_s(hdr.gid, sizeof(hdr.gid), gid.c_str(), min(sizeof(hdr.gid) - 1, gid.length())); in CopyData() 197 string gid = I2Ocs(sizeof(hdr.gid), st.st_gid); in I2OcsConvert() local 199 if (!CopyData(hdr, mode, uid, gid, size)) { in I2OcsConvert() 491 HILOGE("Fill gid faile in FillOwnerName() [all...] |
/third_party/musl/src/unistd/ |
H A D | setgid.c | 5 int setgid(gid_t gid) in setgid() argument 7 return __setxid(SYS_setgid, gid, 0, 0); in setgid()
|
H A D | fchownat.c | 4 int fchownat(int fd, const char *path, uid_t uid, gid_t gid, int flag) in fchownat() argument 6 return syscall(SYS_fchownat, fd, path, uid, gid, flag); in fchownat()
|
/third_party/musl/src/linux/ |
H A D | setfsgid.c | 4 int setfsgid(gid_t gid) in setfsgid() argument 6 return syscall(SYS_setfsgid, gid); in setfsgid()
|
/third_party/skia/third_party/externals/sfntly/cpp/src/sample/chromium/ |
H A D | subsetter_impl.cc | 339 for (IntegerSet::const_iterator gid = glyph_ids.begin(), in InitializeBitmapBuilder() 341 gid != gid_end; gid++) { in InitializeBitmapBuilder() 342 if (*gid < first_glyph_id) { in InitializeBitmapBuilder() 345 if (*gid > last_glyph_id) { in InitializeBitmapBuilder() 349 info.Attach((*index_builders)[j]->GlyphInfo(*gid)); in InitializeBitmapBuilder() 350 if (info && info->length()) { // Do not include gid without bitmap in InitializeBitmapBuilder() 351 info_map[*gid] = info; in InitializeBitmapBuilder() 418 int32_t gid = i->first; in ConstructIndexFormat4() local 419 if (gid > upper_boun in ConstructIndexFormat4() 472 int32_t gid = i->first; ConstructIndexFormat5() local [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
H A D | getgid.c | 28 gid_t gid = getgid(); in getgid_0100() local 29 EXPECT_EQ("getgid_0100", gid, ret); in getgid_0100()
|
/third_party/cups-filters/fontembed/ |
H A D | sfnt_int.h | 62 static inline int get_width_fast(OTF_FILE *otf,int gid) // {{{ in get_width_fast() argument 64 if (gid>=otf->numberOfHMetrics) { in get_width_fast() 67 return get_USHORT(otf->hmtx+gid*4); in get_width_fast()
|
/third_party/NuttX/fs/tmpfs/ |
H A D | fs_tmpfs.h | 104 uint gid; member 124 uint gid; member 159 uint gid; member
|
/third_party/ltp/testcases/kernel/containers/userns/ |
H A D | userns06.c | 47 int uid, gid, ret; in child_fn2() local 53 gid = getegid(); in child_fn2() 56 TST_EXP_EQ_LI(gid, CHILD2GID); in child_fn2()
|
/third_party/ltp/testcases/kernel/syscalls/chown/ |
H A D | chown04.c | 72 gid_t gid; in run() local 75 GID16_CHECK((gid = getegid()), "chown"); in run() 77 TST_EXP_FAIL(CHOWN(tc[i].pathname, uid, gid), tc[i].exp_errno, in run()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-ot-color-colrv1-closure.hh | 53 c->add_glyph (gid); in closurev1() 60 const BaseGlyphPaintRecord* baseglyph_paintrecord = colr_table->get_base_glyph_paintrecord (gid); in closurev1() 62 c->add_glyph (gid); in closurev1()
|
/third_party/python/Tools/c-analyzer/c_common/ |
H A D | fsutil.py | 391 username = uid = gid = groups = None 396 gid = os.getgid() 409 gid = entry.pw_gid 410 os.getgrouplist(username, gid) 411 return username, uid, gid, groups 416 _, uid, gid, groups = _get_user_info(user) 424 if st.st_uid == gid or st.st_uid in groups: 437 if st.st_uid == gid or st.st_uid in groups: 450 if st.st_uid == gid or st.st_uid in groups:
|
/third_party/toybox/toys/pending/ |
H A D | ipcs.c | 64 TT.id, ipcperm.uid, ipcperm.gid, ipcperm.cuid, ipcperm.cgid,ipcperm.mode); in show_msg_id() 90 "uid=%d\t gid=%d\t cuid=%d\t cgid=%d\n" in show_sem_id() 95 ipcperm.uid, ipcperm.gid, ipcperm.cuid, ipcperm.cgid, in show_sem_id() 135 ipcperm.uid, ipcperm.gid, ipcperm.cuid, ipcperm.cgid, in show_shm_id() 200 "shmid", "perms", "cuid", "cgid", "uid", "gid"); in shm_array() 233 if ((gr = getgrgid(buf.shm_perm.gid))) printf(" %-10s\n", gr->gr_name); in shm_array() 234 else printf(" %-10d\n", buf.shm_perm.gid); in shm_array() 295 "semid", "perms", "cuid", "cgid", "uid", "gid"); in sem_array() 325 if ((gr = getgrgid(buf.sem_perm.gid))) printf(" %-10s\n", gr->gr_name); in sem_array() 326 else printf(" %-10d\n", buf.sem_perm.gid); in sem_array() [all...] |
/third_party/libuv/test/ |
H A D | test-platform-output.c | 154 err = uv_os_get_group(&grp, pwd.gid); in TEST_IMPL() 158 ASSERT_EQ(pwd.gid, (unsigned long) -1); in TEST_IMPL() 163 ASSERT_EQ(pwd.gid, grp.gid); in TEST_IMPL() 168 printf(" gid: %ld (%s)\n", pwd.gid, grp.groupname); in TEST_IMPL()
|
/third_party/skia/tools/fonts/ |
H A D | TestTypeface.cpp | 115 for (unsigned gid = 0; gid < glyphCount; ++gid) { in getGlyphToUnicodeMap() 116 glyphToUnicode[gid] = SkTo<SkUnichar>(fTestFont->fCharCodes[gid]); in getGlyphToUnicodeMap()
|
/third_party/python/Modules/ |
H A D | grpmodule.c | 116 gid_t gid; in grp_getgrgid_impl() local 119 if (!_Py_Gid_Converter(id, &gid)) { in grp_getgrgid_impl() 142 status = getgrgid_r(gid, &grp, buf, bufsize, &p); in grp_getgrgid_impl() 158 p = getgrgid(gid); in grp_getgrgid_impl() 165 PyObject *gid_obj = _PyLong_FromGid(gid); in grp_getgrgid_impl() 168 PyErr_Format(PyExc_KeyError, "getgrgid(): gid not found: %S", gid_obj); in grp_getgrgid_impl() 308 The gid is an integer, name and password are strings. (Note that most\n\
|
H A D | _posixsubprocess.c | 561 int call_setgid, gid_t gid, in child_exec() 666 POSIX_CALL(setregid(gid, gid)); in child_exec() 765 int call_setgid, gid_t gid, in do_fork_exec() 818 call_setgid, gid, call_setgroups, groups_size, groups, in do_fork_exec() 843 gid_t gid, *groups = NULL; in subprocess_fork_exec() local 951 gid_t gid; in subprocess_fork_exec() local 985 if (!_Py_Gid_Converter(elem, &gid)) { in subprocess_fork_exec() 990 groups[i] = gid; in subprocess_fork_exec() 1004 if (!_Py_Gid_Converter(gid_object, &gid)) in subprocess_fork_exec() 551 child_exec(char *const exec_array[], char *const argv[], char *const envp[], const char *cwd, int p2cread, int p2cwrite, int c2pread, int c2pwrite, int errread, int errwrite, int errpipe_read, int errpipe_write, int close_fds, int restore_signals, int call_setsid, pid_t pgid_to_set, int call_setgid, gid_t gid, int call_setgroups, size_t groups_size, const gid_t *groups, int call_setuid, uid_t uid, int child_umask, const void *child_sigmask, int *fds_to_keep, Py_ssize_t fds_to_keep_len, PyObject *preexec_fn, PyObject *preexec_fn_args_tuple) child_exec() argument 755 do_fork_exec(char *const exec_array[], char *const argv[], char *const envp[], const char *cwd, int p2cread, int p2cwrite, int c2pread, int c2pwrite, int errread, int errwrite, int errpipe_read, int errpipe_write, int close_fds, int restore_signals, int call_setsid, pid_t pgid_to_set, int call_setgid, gid_t gid, int call_setgroups, size_t groups_size, const gid_t *groups, int call_setuid, uid_t uid, int child_umask, const void *child_sigmask, int *fds_to_keep, Py_ssize_t fds_to_keep_len, PyObject *preexec_fn, PyObject *preexec_fn_args_tuple) do_fork_exec() argument [all...] |
/third_party/musl/src/misc/ |
H A D | initgroups.c | 5 int initgroups(const char *user, gid_t gid) in initgroups() argument 9 if (getgrouplist(user, gid, groups, &count) < 0) return -1; in initgroups()
|
/third_party/python/Lib/distutils/ |
H A D | archive_util.py | 32 """Returns a gid, given a group name.""" 95 gid = _get_gid(group) 98 if gid is not None: 99 tarinfo.gid = gid
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/cloud/ |
H A D | asset_loader.cpp | 19 const std::string &tableName, const std::string &gid, const Value &prefix, VBucket &assets) in Download() 25 const std::string &tableName, const std::string &gid, const Value &prefix, VBucket &assets) in RemoveLocalAssets() 18 Download( const std::string &tableName, const std::string &gid, const Value &prefix, VBucket &assets) Download() argument 24 RemoveLocalAssets( const std::string &tableName, const std::string &gid, const Value &prefix, VBucket &assets) RemoveLocalAssets() argument
|
/third_party/eudev/src/shared/ |
H A D | mkdir-label.c | 33 int mkdir_safe_label(const char *path, mode_t mode, uid_t uid, gid_t gid) { in mkdir_safe_label() argument 34 return mkdir_safe_internal(path, mode, uid, gid, mkdir_label); in mkdir_safe_label()
|
/foundation/resourceschedule/ffrt/src/sync/ |
H A D | mutex.cpp | 112 taskLockNums = std::make_pair(task->gid | 0x8000000000000000, 1); in try_lock() 120 if (taskLockNums.first == (task->gid | 0x8000000000000000)) { in try_lock() 151 if (taskLockNums.first != (task->gid | 0x8000000000000000)) { in lock() 155 taskLockNums = std::make_pair(task->gid | 0x8000000000000000, 1); in lock() 188 if (taskLockNums.first != (task->gid | 0x8000000000000000)) { in unlock() 236 FFRT_BLOCK_TRACER(task->gid, mtx); in wait()
|
/third_party/skia/third_party/externals/freetype/src/otvalid/ |
H A D | otvmath.c | 301 FT_UInt gid; in otv_GlyphAssembly_validate() local 304 gid = FT_NEXT_USHORT( p ); in otv_GlyphAssembly_validate() 305 if ( gid >= otvalid->glyph_count ) in otv_GlyphAssembly_validate() 337 FT_UInt gid; in otv_MathGlyphConstruction_validate() local 340 gid = FT_NEXT_USHORT( p ); in otv_MathGlyphConstruction_validate() 341 if ( gid >= otvalid->glyph_count ) in otv_MathGlyphConstruction_validate()
|