/third_party/node/lib/ |
H A D | child_process.js | 111 * gid?: number; 222 * gid?: number; 315 * gid?: number; 354 gid: options.gid, 589 // Validate the gid, if present. 590 if (options.gid != null && !isInt32(options.gid)) { 591 throw new ERR_INVALID_ARG_TYPE('options.gid', 'int32', options.gid); [all...] |
/third_party/skia/third_party/externals/freetype/src/psaux/ |
H A D | psft.c | 664 CF2_Int gid; in FT_LOCAL_DEF() local 679 gid = code; in FT_LOCAL_DEF() 683 gid = cff_lookup_glyph_by_stdcharcode( decoder->cff, code ); in FT_LOCAL_DEF() 684 if ( gid < 0 ) in FT_LOCAL_DEF() 689 (CF2_UInt)gid, in FT_LOCAL_DEF()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/ |
H A D | installd_client.cpp | 102 || createDirParam.uid < 0 || createDirParam.gid < 0) { in CreateBundleDataDir() 273 const std::string &dir, const int32_t mode, const int32_t uid, const int32_t gid) in Mkdir() 280 return CallService(&IInstalld::Mkdir, dir, mode, uid, gid); in Mkdir() 446 || createDirParam.uid < 0 || createDirParam.gid < 0 || createDirParam.extensionDirs.empty()) { in CreateExtensionDataDir() 272 Mkdir( const std::string &dir, const int32_t mode, const int32_t uid, const int32_t gid) Mkdir() argument
|
/third_party/eudev/src/shared/ |
H A D | util.h | 228 int chmod_and_chown(const char *path, mode_t mode, uid_t uid, gid_t gid); 232 int touch_file(const char *path, bool parents, usec_t stamp, uid_t uid, gid_t gid, mode_t mode); 241 int get_user_creds(const char **username, uid_t *uid, gid_t *gid, const char **home, const char **shell); 242 int get_group_creds(const char **groupname, gid_t *gid);
|
H A D | mkdir.h | 31 int mkdir_safe_internal(const char *path, mode_t mode, uid_t uid, gid_t gid, mkdir_func_t _mkdir);
|
/third_party/libwebsockets/lib/misc/ |
H A D | lws-struct-sqlite.c | 509 gid_t gid = 0; in lws_struct_sq3_open() local 523 lws_get_effective_uid_gid(context, &uid, &gid); in lws_struct_sq3_open() 525 if (chown(sqlite3_path, uid, gid)) in lws_struct_sq3_open() 530 sqlite3_path, (unsigned int)uid, (unsigned int)gid); in lws_struct_sq3_open()
|
/third_party/libwebsockets/test-apps/ |
H A D | test-server.c | 428 gid_t gid = (gid_t)-1; in main() local 459 gid = (gid_t)atoi(optarg); in main() 608 info.gid = gid; in main()
|
/third_party/toybox/porting/liteos_a/toys/posix/ |
H A D | cp.c | 98 gid_t gid; 485 if (TT.i.g) try->st.st_gid = TT.gid; in install_node() 504 TT.gid = TT.i.g ? xgetgid(TT.i.g) : -1; in install_main() 510 if (lchown(*ss, TT.uid, TT.gid)) perror_msg("chown '%s'", *ss); in install_main()
|
/third_party/toybox/toys/posix/ |
H A D | cp.c | 114 gid_t gid; 481 if (TT.i.g) try->st.st_gid = TT.gid; in install_node() 500 TT.gid = TT.i.g ? xgetgid(TT.i.g) : -1; in install_main() 506 if (lchown(*ss, TT.uid, TT.gid)) perror_msg("chown '%s'", *ss); in install_main()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ipc/ |
H A D | create_dir_param.h | 38 int32_t gid; member
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/include/ |
H A D | mock_installd_proxy.h | 31 const std::string &dir, const int32_t mode, const int32_t uid, const int32_t gid) override;
|
/foundation/bundlemanager/bundle_framework_lite/interfaces/kits/bundle_lite/ |
H A D | bundle_info.h | 66 int32_t gid; member
|
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/bundle_daemon/include/ |
H A D | bundle_daemon_handler.h | 30 int32_t CreateDataDirectory(const char *dataPath, int32_t uid, int32_t gid, bool isChown);
|
H A D | bundle_file_utils.h | 37 static bool ChownFile(const char *file, int32_t uid, int32_t gid);
|
/foundation/graphic/graphic_2d/rosen/modules/texgine/src/opentype_parser/ |
H A D | ranges.h | 32 int32_t gid; member
|
/foundation/resourceschedule/ffrt/src/eu/ |
H A D | wgcm.h | 33 __u32 gid; member
|
/third_party/musl/libc-test/src/api/ |
H A D | sys_ipc.c | 14 F(gid_t,gid) in f()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/installd/ |
H A D | installd_host_impl.cpp | 350 static void CreateShareDir(const std::string &bundleName, const int32_t userid, const int32_t uid, const int32_t gid) in CreateShareDir() argument 354 if (!InstalldOperator::MkOwnerDir(bundleShareDir, S_IRWXU | S_IRWXG | S_ISGID, uid, gid)) { in CreateShareDir() 362 static void CreateCloudDir(const std::string &bundleName, const int32_t userid, const int32_t uid, const int32_t gid) in CreateCloudDir() argument 366 if (!InstalldOperator::MkOwnerDir(bundleCloudDir, S_IRWXU | S_IRWXG | S_ISGID, uid, gid)) { in CreateCloudDir() 428 createDirParam.uid < 0 || createDirParam.gid < 0) { in CreateBundleDataDir() 430 "userId %{public}d uid %{public}d gid %{public}d", createDirParam.bundleName.c_str(), in CreateBundleDataDir() 431 createDirParam.userId, createDirParam.uid, createDirParam.gid); in CreateBundleDataDir() 449 if (CreateExtensionDir(createDirParam, bundleDataDir, S_IRWXU, createDirParam.gid) != ERR_OK) { in CreateBundleDataDir() 454 if (!InstalldOperator::MkOwnerDir(bundleDataDir, mode, createDirParam.uid, createDirParam.gid)) { in CreateBundleDataDir() 468 createDirParam.uid, createDirParam.gid)) { in CreateBundleDataDir() 566 CreateExtensionDir(const CreateDirParam &createDirParam, const std::string& parentDir, int32_t mode, int32_t gid, bool isLog) CreateExtensionDir() argument 1097 Mkdir( const std::string &dir, const int32_t mode, const int32_t uid, const int32_t gid) Mkdir() argument [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/ |
H A D | distributeddb_cloud_syncer_download_assets_test.cpp | 775 .WillRepeatedly([](const std::string &, const std::string &gid, const Type &, in DataStatusTest007() 803 [&index](const std::string &, const std::string &gid, const Type &, std::map<std::string, Assets> &assets) { in HWTEST_F() 804 LOGD("Download GID:%s", gid.c_str()); in HWTEST_F() 818 * @tc.steps:step3. delete cloud data [1, 2], then insert cloud data [1,2] with new gid. Finally sync data. in HWTEST_F() 1429 [&](const std::string &, const std::string &gid, const Type &, std::map<std::string, Assets> &assets) { in HWTEST_F() 1430 LOGD("Download GID:%s, index:%d", gid.c_str(), ++index); in HWTEST_F() 1466 [&](const std::string &, const std::string &gid, const Type &, std::map<std::string, Assets> &assets) { in HWTEST_F() 1467 LOGD("Download GID:%s, index:%d", gid.c_str(), ++index); in HWTEST_F() 1508 [&](const std::string &, const std::string &gid, const Type &, std::map<std::string, Assets> &assets) { in HWTEST_F() 1509 LOGD("Download GID:%s, index:%d", gid in HWTEST_F() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/ |
H A D | distributeddb_relational_cloud_syncable_storage_test.cpp | 1494 * @tc.steps: step1. both gid and hashKey are empty in HWTEST_F() 1502 std::string gid; in HWTEST_F() local 1505 EXPECT_EQ(g_storageProxy->GetAssetsByGidOrHashKey(g_tableName, gid, hashKey, assets).first, -E_INVALID_ARGS); in HWTEST_F() 1509 * @tc.steps: step2. gid is empty, but hashKey is 2 in HWTEST_F() 1517 EXPECT_EQ(g_storageProxy->GetAssetsByGidOrHashKey(g_tableName, gid, hashKey, assets).first, E_OK); in HWTEST_F() 1521 * @tc.steps: step3. gid is empty, but hashKey out of range in HWTEST_F() 1527 EXPECT_EQ(g_storageProxy->GetAssetsByGidOrHashKey(g_tableName, gid, hashKey, assets).first, -E_NOT_FOUND); in HWTEST_F() 1531 * @tc.steps: step4. hashKey is empty, but gid is 4 in HWTEST_F() 1534 gid = "2"; in HWTEST_F() 1537 EXPECT_EQ(g_storageProxy->GetAssetsByGidOrHashKey(g_tableName, gid, hashKe in HWTEST_F() 1566 std::string gid = "4"; HWTEST_F() local [all...] |
/third_party/skia/src/pdf/ |
H A D | SkPDFFont.cpp | 178 static SkGlyphID first_nonzero_glyph_for_single_byte_encoding(SkGlyphID gid) { in first_nonzero_glyph_for_single_byte_encoding() argument 179 return gid != 0 ? gid - (gid - 1) % 255 : 1; in first_nonzero_glyph_for_single_byte_encoding() 444 static ImageAndOffset to_image(SkGlyphID gid, SkBulkGlyphMetricsAndImages* smallGlyphs) { in to_image() argument 445 const SkGlyph* glyph = smallGlyphs->glyph(SkPackedGlyphID{gid}); in to_image()
|
/foundation/resourceschedule/ffrt/src/queue/ |
H A D | eventhandler_interactive_queue.h | 47 uintptr_t taskId = static_cast<uintptr_t>(task->gid);
|
H A D | eventhandler_interactive_queue.cpp | 40 task->label, delayUs / msPerSecond, static_cast<Priority>(prio), static_cast<uintptr_t>(task->gid));
in Push()
|
/foundation/resourceschedule/ffrt/src/sync/ |
H A D | record_mutex.cpp | 34 owner_.id = ExecuteCtx::Cur()->task->gid; in LoadInfo()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/metadata/ |
H A D | store_debug_info.h | 28 uint32_t gid = 0; member
|