/kernel/liteos_a/apps/shell/src/ |
H A D | shmsg.c | 357 pid_t gid; in ChildExec() local 364 gid = getpgrp(); in ChildExec() 365 if (gid < 0) { in ChildExec() 366 printf("get group id failed, pgrpid %d, errno %d\n", gid, errno); in ChildExec() 371 ret = tcsetpgrp(STDIN_FILENO, gid); in ChildExec()
|
/third_party/node/test/parallel/ |
H A D | test-os.js | 225 assert.strictEqual(pwd.gid, -1); 228 assert.strictEqual(pwdBuf.gid, -1); 232 is.number(pwd.gid); 239 assert.strictEqual(pwd.gid, pwdBuf.gid);
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/core/ |
H A D | CMapFormat4.java | 61 int gid = this.data.readUShort( in retrieveGlyphId() 63 if (gid != 0) { in retrieveGlyphId() 64 gid = (gid + this.idDelta(segment)) % 65536; in retrieveGlyphId() 66 return gid; in retrieveGlyphId()
|
/third_party/skia/src/utils/ |
H A D | SkCustomTypeface.cpp | 155 for (int gid = 0; gid < this->glyphCount(); ++gid) { in getGlyphToUnicodeMap() 156 glyphToUnicode[gid] = SkTo<SkUnichar>(gid); in getGlyphToUnicodeMap()
|
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/ |
H A D | operate_group_passwd.py | 53 gid = id_re_result.group().split(":")[-1]
54 passwd_group_id_list.append(int(gid))
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | el5_filekey_callback.cpp | 90 int32_t gid = ServiceConstants::DATABASE_DIR_GID; in CheckEl5Dir() local 91 if (InstalldClient::GetInstance()->Mkdir(databaseDir, mode, info.uid, gid) != ERR_OK) { in CheckEl5Dir()
|
/foundation/resourceschedule/ffrt/src/sync/ |
H A D | mutex_private.h | 48 int32_t gid = getgid(); in SendEvent() local 57 "TGID", gid, in SendEvent()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | rdb_asset_loader_test.cpp | 53 int32_t Download(const std::string &tableName, const std::string &gid,
59 int32_t RemoveLocalAssets(const std::string &tableName, const std::string &gid,
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/ |
H A D | rdb_asset_loader.cpp | 32 DBStatus RdbAssetLoader::Download(const std::string &tableName, const std::string &gid, const Type &prefix, in Download() argument 40 auto error = assetLoader_->Download(tableName, gid, ValueProxy::Convert(std::move(prefixTemp)), downLoadAssets); in Download()
|
/foundation/filemanagement/dfs_service/utils/system/include/ |
H A D | utils_directory.h | 90 void ForceCreateDirectory(const std::string &path, mode_t mode, uid_t uid, gid_t gid); 97 int32_t ChangeOwnerRecursive(const std::string &path, uid_t uid, gid_t gid);
|
/kernel/linux/linux-5.10/net/ |
H A D | sysctl_net.c | 58 kuid_t *uid, kgid_t *gid) in net_ctl_set_ownership() 70 *gid = ns_root_gid; in net_ctl_set_ownership() 56 net_ctl_set_ownership(struct ctl_table_header *head, struct ctl_table *table, kuid_t *uid, kgid_t *gid) net_ctl_set_ownership() argument
|
/kernel/linux/linux-6.6/net/ |
H A D | sysctl_net.c | 58 kuid_t *uid, kgid_t *gid) in net_ctl_set_ownership() 70 *gid = ns_root_gid; in net_ctl_set_ownership() 56 net_ctl_set_ownership(struct ctl_table_header *head, struct ctl_table *table, kuid_t *uid, kgid_t *gid) net_ctl_set_ownership() argument
|
/kernel/liteos_a/testsuites/unittest/process/basic/process/full/ |
H A D | process_test_037.cpp | 48 static int Child2(int currGid, int gid) in Child2() argument 60 ICUNIT_ASSERT_EQUAL(getpgrp(), gid, getpgrp()); in Child2() local
|
/third_party/mbedtls/include/mbedtls/ |
H A D | ecdsa.h | 119 * \param gid The ECP group ID to check. 123 int mbedtls_ecdsa_can_do(mbedtls_ecp_group_id gid); 601 * \param gid The elliptic curve to use. One of the various 610 int mbedtls_ecdsa_genkey(mbedtls_ecdsa_context *ctx, mbedtls_ecp_group_id gid,
|
/third_party/skia/bin/ |
H A D | fetch-sk | 93 gid = os.getgid() variable 94 os.chown(sk_path, uid, gid)
|
/foundation/filemanagement/storage_service/services/storage_daemon/mtpfs/src/ |
H A D | mtpfs_fuse.cpp | 88 int WrapChown(const char *path, uid_t uid, gid_t gid, struct fuse_file_info *fi) in WrapChown() argument 90 LOGE("mtp WrapChown path:%{public}s ,uid:%{public}lu, gid:%{public}lu", path, uid, gid); in WrapChown() 91 int ret = DelayedSingleton<MtpFileSystem>::GetInstance()->Chown(path, uid, gid, fi); in WrapChown() 467 buf->st_gid = fc->gid; in GetAttr() 584 int MtpFileSystem::Chown(const char *path, uid_t uid, gid_t gid, struct fuse_file_info *fi) in Chown() argument 586 LOGI("mtp Chown path:%{public}s ,uid:%{public}lu, gid:%{public}lu", path, uid, gid); in Chown() 589 res = fchown(fi->fh, uid, gid); in Chown() 591 res = lchown(path, uid, gid); in Chown() [all...] |
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/spufs/ |
H A D | inode.c | 578 kgid_t gid; member 587 fsparam_u32 ("gid", Opt_gid), 603 seq_printf(m, ",gid=%u", in spufs_show_options() 618 kgid_t gid; in spufs_parse_param() local 633 gid = make_kgid(current_user_ns(), result.uint_32); in spufs_parse_param() 634 if (!gid_valid(gid)) in spufs_parse_param() 635 return invalf(fc, "Unknown gid"); in spufs_parse_param() 636 ctx->gid = gid; in spufs_parse_param() 694 inode->i_gid = ctx->gid; in spufs_create_root() [all...] |
/kernel/linux/linux-6.6/arch/powerpc/platforms/cell/spufs/ |
H A D | inode.c | 574 kgid_t gid; member 583 fsparam_u32 ("gid", Opt_gid), 599 seq_printf(m, ",gid=%u", in spufs_show_options() 614 kgid_t gid; in spufs_parse_param() local 629 gid = make_kgid(current_user_ns(), result.uint_32); in spufs_parse_param() 630 if (!gid_valid(gid)) in spufs_parse_param() 631 return invalf(fc, "Unknown gid"); in spufs_parse_param() 632 ctx->gid = gid; in spufs_parse_param() 690 inode->i_gid = ctx->gid; in spufs_create_root() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
H A D | ipoib.c | 616 union ib_gid *gid, u16 lid, int set_qkey, in mlx5i_attach_mcast() 625 gid->raw); in mlx5i_attach_mcast() 626 err = mlx5_core_attach_mcg(mdev, gid, ipriv->qpn); in mlx5i_attach_mcast() 629 ipriv->qpn, gid->raw); in mlx5i_attach_mcast() 641 union ib_gid *gid, u16 lid) in mlx5i_detach_mcast() 649 gid->raw); in mlx5i_detach_mcast() 651 err = mlx5_core_detach_mcg(mdev, gid, ipriv->qpn); in mlx5i_detach_mcast() 654 ipriv->qpn, gid->raw); in mlx5i_detach_mcast() 615 mlx5i_attach_mcast(struct net_device *netdev, struct ib_device *hca, union ib_gid *gid, u16 lid, int set_qkey, u32 qkey) mlx5i_attach_mcast() argument 640 mlx5i_detach_mcast(struct net_device *netdev, struct ib_device *hca, union ib_gid *gid, u16 lid) mlx5i_detach_mcast() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
H A D | ipoib.c | 655 union ib_gid *gid, u16 lid, int set_qkey, in mlx5i_attach_mcast() 664 gid->raw); in mlx5i_attach_mcast() 665 err = mlx5_core_attach_mcg(mdev, gid, ipriv->qpn); in mlx5i_attach_mcast() 668 ipriv->qpn, gid->raw); in mlx5i_attach_mcast() 680 union ib_gid *gid, u16 lid) in mlx5i_detach_mcast() 688 gid->raw); in mlx5i_detach_mcast() 690 err = mlx5_core_detach_mcg(mdev, gid, ipriv->qpn); in mlx5i_detach_mcast() 693 ipriv->qpn, gid->raw); in mlx5i_detach_mcast() 654 mlx5i_attach_mcast(struct net_device *netdev, struct ib_device *hca, union ib_gid *gid, u16 lid, int set_qkey, u32 qkey) mlx5i_attach_mcast() argument 679 mlx5i_detach_mcast(struct net_device *netdev, struct ib_device *hca, union ib_gid *gid, u16 lid) mlx5i_detach_mcast() argument
|
/third_party/toybox/lib/ |
H A D | xwrap.c | 669 struct group *xgetgrgid(gid_t gid) in xgetgrgid() argument 671 struct group *group = getgrgid(gid); in xgetgrgid() 673 if (!group) perror_exit("bad gid %ld", (long)gid); in xgetgrgid() 695 long gid; in xgetgid() local 699 gid = estrtol(name, &s, 10); in xgetgid() 700 if (!errno && s && !*s && gid>=0 && gid<=UINT_MAX) return gid; in xgetgid()
|
/foundation/ability/ability_runtime/services/appmgr/src/ |
H A D | app_spawn_client.cpp | 33 constexpr const char* DATAGROUPINFOLIST_GID = "gid"; 129 dataGroupInfoListJson[DATAGROUPINFOLIST_GID].emplace_back(std::to_string(dataGroupInfo.gid)); in DumpDataGroupInfoListToJson() 171 appDacInfo.gid = startMsg.gid; in SetDacInfo() 177 appDacInfo.gidTable[i] = startMsg.dataGroupInfoList[i - startMsg.gids.size()].gid; in SetDacInfo() 429 if (startMsg.gid < 0) { in VerifyMsg() 430 TAG_LOGE(AAFwkTag::APPMGR, "invalid gid! [%{public}d]", startMsg.gid); in VerifyMsg()
|
/kernel/linux/linux-5.10/init/ |
H A D | initramfs.c | 154 static __initdata gid_t gid; variable 171 gid = parsed[3]; in parse_header() 344 vfs_fchown(wfile, uid, gid); in do_name() 352 init_chown(collected, uid, gid, 0); in do_name() 359 init_chown(collected, uid, gid, 0); in do_name() 396 init_chown(collected, uid, gid, AT_SYMLINK_NOFOLLOW); in do_symlink()
|
/kernel/linux/linux-6.6/init/ |
H A D | initramfs.c | 182 static __initdata gid_t gid; variable 200 gid = parsed[3]; in parse_header() 378 vfs_fchown(wfile, uid, gid); in do_name() 386 init_chown(collected, uid, gid, 0); in do_name() 393 init_chown(collected, uid, gid, 0); in do_name() 428 init_chown(collected, uid, gid, AT_SYMLINK_NOFOLLOW); in do_symlink()
|
/third_party/cups-filters/fontembed/ |
H A D | embed_pdf_int.h | 8 EMB_PDF_FONTWIDTHS *emb_pdf_fw_cidwidths(const BITSET glyphs,int len,int default_width,int (*getGlyphWidth)(void *context,int gid),void *context);
|