/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/ |
H A D | user_delegate.cpp | 54 std::set<std::string> users; in GetLocalUsers() local 55 deviceUser_.Compute(deviceId, [&users](const auto &key, auto &value) { in GetLocalUsers() 59 for (const auto &user : userMetaData.users) { in GetLocalUsers() 64 users.emplace(std::to_string(user)); in GetLocalUsers() 68 return users; in GetLocalUsers() 83 deviceUser_.Compute(deviceId, [&userStatus](const auto &key, auto &users) { in GetUsers() 84 if (users.empty()) { in GetUsers() 87 for (const auto &user : userMetaData.users) { in GetUsers() 88 users[user.id] = user.isActive; in GetUsers() 91 for (const auto [key, value] : users) { in GetUsers() 122 std::vector<int> users; InitLocalUserMeta() local [all...] |
/third_party/typescript/tests/baselines/reference/tscWatch/incremental/ |
H A D | editing-module-augmentation-incremental.js | 17 //// [/users/username/projects/project/node_modules/classnames/index.d.ts]
20 //// [/users/username/projects/project/src/types/classnames.d.ts]
23 //// [/users/username/projects/project/src/index.ts]
26 //// [/users/username/projects/project/tsconfig.json]
34 Program root files: ["/users/username/projects/project/src/index.ts","/users/username/projects/project/src/types/classnames.d.ts"]
35 Program options: {"module":1,"incremental":true,"configFilePath":"/users/username/projects/project/tsconfig.json"}
39 /users/username/projects/project/node_modules/classnames/index.d.ts
40 /users/username/projects/project/src/index.ts
41 /users/usernam [all...] |
H A D | importHelpers-backing-types-removed-incremental.js | 17 //// [/users/username/projects/project/node_modules/tslib/index.d.ts]
20 //// [/users/username/projects/project/node_modules/tslib/package.json]
23 //// [/users/username/projects/project/index.tsx]
26 //// [/users/username/projects/project/tsconfig.json]
34 Program root files: ["/users/username/projects/project/index.tsx"]
35 Program options: {"importHelpers":true,"incremental":true,"configFilePath":"/users/username/projects/project/tsconfig.json"}
39 /users/username/projects/project/node_modules/tslib/index.d.ts
40 /users/username/projects/project/index.tsx
44 /users/username/projects/project/node_modules/tslib/index.d.ts
45 /users/usernam [all...] |
H A D | jsxImportSource-backing-types-removed-incremental.js | 17 //// [/users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts]
31 //// [/users/username/projects/project/node_modules/react/package.json]
34 //// [/users/username/projects/project/index.tsx]
37 //// [/users/username/projects/project/tsconfig.json]
45 Program root files: ["/users/username/projects/project/index.tsx"]
46 Program options: {"module":1,"jsx":4,"incremental":true,"jsxImportSource":"react","configFilePath":"/users/username/projects/project/tsconfig.json"}
50 /users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts
51 /users/username/projects/project/index.tsx
55 /users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts
56 /users/usernam [all...] |
H A D | jsxImportSource-option-changed-incremental.js | 17 //// [/users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts]
31 //// [/users/username/projects/project/node_modules/react/package.json]
34 //// [/users/username/projects/project/node_modules/preact/jsx-runtime/index.d.ts]
48 //// [/users/username/projects/project/node_modules/preact/package.json]
51 //// [/users/username/projects/project/index.tsx]
54 //// [/users/username/projects/project/tsconfig.json]
68 Program root files: ["/users/username/projects/project/index.tsx"]
69 Program options: {"module":1,"jsx":4,"incremental":true,"jsxImportSource":"react","explainFiles":true,"configFilePath":"/users/username/projects/project/tsconfig.json"}
73 /users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts
74 /users/usernam [all...] |
/third_party/typescript/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/ |
H A D | with-commandline-parameters-that-are-not-relative-incremental.js | 15 //// [/users/username/projects/project/file1.ts]
18 //// [/users/username/projects/project/file2.ts]
21 //// [/users/username/projects/project/tsconfig.json]
29 Program root files: ["/users/username/projects/project/file1.ts","/users/username/projects/project/file2.ts"]
30 Program options: {"incremental":true,"project":"/users/username/projects/project/tsconfig.json","configFilePath":"/users/username/projects/project/tsconfig.json"}
34 /users/username/projects/project/file1.ts
35 /users/username/projects/project/file2.ts
39 /users/usernam [all...] |
H A D | without-commandline-options-incremental.js | 15 //// [/users/username/projects/project/file1.ts]
18 //// [/users/username/projects/project/file2.ts]
21 //// [/users/username/projects/project/tsconfig.json]
29 Program root files: ["/users/username/projects/project/file1.ts","/users/username/projects/project/file2.ts"]
30 Program options: {"incremental":true,"configFilePath":"/users/username/projects/project/tsconfig.json"}
34 /users/username/projects/project/file1.ts
35 /users/username/projects/project/file2.ts
39 /users/username/projects/project/file1.ts
40 /users/usernam [all...] |
/third_party/toybox/toys/other/ |
H A D | lsmod.c | 27 *refcnt = strtok(NULL, " "), *users = strtok(NULL, " "); in lsmod_main() local 29 if(users) { in lsmod_main() 30 int len = strlen(users)-1; in lsmod_main() 31 if (users[len] == ',' || users[len] == '-') users[len] = 0; in lsmod_main() 32 xprintf("%-19s %8s %s %s\n", name, size, refcnt, users); in lsmod_main()
|
/third_party/ltp/testcases/kernel/security/prot_hsymlinks/ |
H A D | prot_hsymlinks.c | 26 * inside that directory if their don't own ones. All other users can follow. 30 * Hard links restriction applies only to non-privileged users. Only 99 static struct test_user users[USERS_NUM]; variable 202 strcpy(users[ROOT].name, "root"); in setup() 206 snprintf(users[TEST_USER].name, MAX_USER_NAME, "%s", tmp_user_name); in setup() 249 /* get all users files and directories */ in test_run() 250 for (file = 0; file < users[usr].num; ++file) { in test_run() 251 ufile = &users[usr].file[file]; in test_run() 321 snprintf(cmd, MAX_CMD_LEN, "%s %s", user_cmd, users[TEST_USER].name); in test_user_cmd() 324 user_cmd, users[TEST_USE in test_user_cmd() [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | local_single_store_elim_pass.cpp | 147 std::vector<Instruction*> users; in ProcessVariable() local 148 FindUses(var_inst, &users); in ProcessVariable() 150 Instruction* store_inst = FindSingleStoreAndCheckUses(var_inst, users); in ProcessVariable() 157 bool modified = RewriteLoads(store_inst, users, &all_rewritten); in ProcessVariable() 206 Instruction* var_inst, const std::vector<Instruction*>& users) const { in FindSingleStoreAndCheckUses() 215 for (Instruction* user : users) { in FindSingleStoreAndCheckUses() 262 const Instruction* var_inst, std::vector<Instruction*>* users) const { in FindUses() 264 def_use_mgr->ForEachUser(var_inst, [users, this](Instruction* user) { in FindUses() 265 users->push_back(user); in FindUses() 267 FindUses(user, users); in FindUses() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | local_single_store_elim_pass.cpp | 147 std::vector<Instruction*> users; in ProcessVariable() local 148 FindUses(var_inst, &users); in ProcessVariable() 150 Instruction* store_inst = FindSingleStoreAndCheckUses(var_inst, users); in ProcessVariable() 157 bool modified = RewriteLoads(store_inst, users, &all_rewritten); in ProcessVariable() 206 Instruction* var_inst, const std::vector<Instruction*>& users) const { in FindSingleStoreAndCheckUses() 215 for (Instruction* user : users) { in FindSingleStoreAndCheckUses() 262 const Instruction* var_inst, std::vector<Instruction*>* users) const { in FindUses() 264 def_use_mgr->ForEachUser(var_inst, [users, this](Instruction* user) { in FindUses() 265 users->push_back(user); in FindUses() 267 FindUses(user, users); in FindUses() [all...] |
/third_party/spirv-tools/source/opt/ |
H A D | local_single_store_elim_pass.cpp | 146 std::vector<Instruction*> users; in ProcessVariable() local 147 FindUses(var_inst, &users); in ProcessVariable() 149 Instruction* store_inst = FindSingleStoreAndCheckUses(var_inst, users); in ProcessVariable() 156 bool modified = RewriteLoads(store_inst, users, &all_rewritten); in ProcessVariable() 185 Instruction* var_inst, const std::vector<Instruction*>& users) const { in FindSingleStoreAndCheckUses() 194 for (Instruction* user : users) { in FindSingleStoreAndCheckUses() 241 const Instruction* var_inst, std::vector<Instruction*>* users) const { in FindUses() 243 def_use_mgr->ForEachUser(var_inst, [users, this](Instruction* user) { in FindUses() 244 users->push_back(user); in FindUses() 246 FindUses(user, users); in FindUses() [all...] |
/kernel/linux/linux-6.6/net/rxrpc/ |
H A D | skbuff.c | 25 trace_rxrpc_skb(skb, refcount_read(&skb->users), n, why); in rxrpc_new_skb() 35 trace_rxrpc_skb(skb, refcount_read(&skb->users), n, why); in rxrpc_see_skb() 45 trace_rxrpc_skb(skb, refcount_read(&skb->users), n, why); in rxrpc_get_skb() 65 trace_rxrpc_skb(skb, refcount_read(&skb->users), n, why); in rxrpc_free_skb() 79 trace_rxrpc_skb(skb, refcount_read(&skb->users), n, in rxrpc_purge_queue()
|
/kernel/linux/linux-5.10/security/tomoyo/ |
H A D | gc.c | 33 * tomoyo_struct_used_by_io_buffer - Check whether the list element is used by /sys/kernel/security/tomoyo/ users or not. 37 * Returns true if @element is used by /sys/kernel/security/tomoyo/ users, 47 head->users++; in tomoyo_struct_used_by_io_buffer() 55 head->users--; in tomoyo_struct_used_by_io_buffer() 64 * tomoyo_name_used_by_io_buffer - Check whether the string is used by /sys/kernel/security/tomoyo/ users or not. 68 * Returns true if @string is used by /sys/kernel/security/tomoyo/ users, 81 head->users++; in tomoyo_name_used_by_io_buffer() 94 head->users--; in tomoyo_name_used_by_io_buffer() 393 * list element became no longer referenced by syscall users. in tomoyo_try_to_gc() 399 * However, there are two users whic in tomoyo_try_to_gc() [all...] |
/kernel/linux/linux-6.6/security/tomoyo/ |
H A D | gc.c | 33 * tomoyo_struct_used_by_io_buffer - Check whether the list element is used by /sys/kernel/security/tomoyo/ users or not. 37 * Returns true if @element is used by /sys/kernel/security/tomoyo/ users, 47 head->users++; in tomoyo_struct_used_by_io_buffer() 55 head->users--; in tomoyo_struct_used_by_io_buffer() 64 * tomoyo_name_used_by_io_buffer - Check whether the string is used by /sys/kernel/security/tomoyo/ users or not. 68 * Returns true if @string is used by /sys/kernel/security/tomoyo/ users, 81 head->users++; in tomoyo_name_used_by_io_buffer() 94 head->users--; in tomoyo_name_used_by_io_buffer() 393 * list element became no longer referenced by syscall users. in tomoyo_try_to_gc() 399 * However, there are two users whic in tomoyo_try_to_gc() [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/account/src/ |
H A D | account_delegate_default_impl.cpp | 39 bool AccountDelegateDefaultImpl::QueryUsers(std::vector<int> &users) in QueryUsers() argument 42 users = {0}; // default user in QueryUsers() 46 bool AccountDelegateDefaultImpl::QueryForegroundUsers(std::vector<int> &users) in QueryForegroundUsers() argument 49 users = {0}; // default user in QueryForegroundUsers()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvif/ |
H A D | user.c | 43 } users[] = { in nvif_user_ctor() local 52 cid = nvif_mclass(&device->object, users); in nvif_user_ctor() 57 0, users[cid].oclass, NULL, 0, in nvif_user_ctor() 63 device->user.func = users[cid].func; in nvif_user_ctor()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvif/ |
H A D | user.c | 43 } users[] = { in nvif_user_ctor() local 54 cid = nvif_mclass(&device->object, users); in nvif_user_ctor() 59 0, users[cid].oclass, NULL, 0, in nvif_user_ctor() 65 device->user.func = users[cid].func; in nvif_user_ctor()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | kfree_skb.c | 45 refcount_t users; member 66 int users; in BPF_PROG() local 75 users = skb->users.refs.counter; in BPF_PROG() 95 bpf_printk("skb->len %d users %d pkt_type %x\n", in BPF_PROG() 96 _(skb->len), users, pkt_type); in BPF_PROG() 102 if (users != 1 || pkt_data != bpf_htons(0x86dd) || meta.ifindex != 1) in BPF_PROG()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | kfree_skb.c | 45 refcount_t users; member 66 int users; in BPF_PROG() local 75 users = skb->users.refs.counter; in BPF_PROG() 95 bpf_printk("skb->len %d users %d pkt_type %x\n", in BPF_PROG() 96 _(skb->len), users, pkt_type); in BPF_PROG() 102 if (users != 1 || pkt_data != bpf_htons(0x86dd) || meta.ifindex != 1) in BPF_PROG()
|
/kernel/linux/linux-5.10/fs/nfsd/ |
H A D | nfs4acl.c | 181 unsigned short users; member 194 * Only pas.users and pas.groups need initialization; previous in summarize_posix_acl() 212 pas->users |= pa->e_perm; in summarize_posix_acl() 226 pas->users &= pas->mask; in summarize_posix_acl() 255 deny &= pas.users | pas.group | pas.groups | pas.other; in _posix_to_nfsv4_one() 396 /* posix_acl_valid requires that users and groups be in order in sort_pacl() 400 /* no users or groups */ in sort_pacl() 450 struct posix_ace_state_array *users; member 468 state->users = kzalloc(alloc, GFP_KERNEL); in init_state() 469 if (!state->users) in init_state() [all...] |
/kernel/linux/linux-6.6/fs/nfsd/ |
H A D | nfs4acl.c | 181 unsigned short users; member 194 * Only pas.users and pas.groups need initialization; previous in summarize_posix_acl() 212 pas->users |= pa->e_perm; in summarize_posix_acl() 226 pas->users &= pas->mask; in summarize_posix_acl() 255 deny &= pas.users | pas.group | pas.groups | pas.other; in _posix_to_nfsv4_one() 396 /* posix_acl_valid requires that users and groups be in order in sort_pacl() 400 /* no users or groups */ in sort_pacl() 450 struct posix_ace_state_array *users; member 467 state->users = kzalloc(alloc, GFP_KERNEL); in init_state() 468 if (!state->users) in init_state() [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/account/test/ |
H A D | account_delegate_test.cpp | 210 * @tc.desc: query users 217 std::vector<int32_t> users; in HWTEST_F() local 218 AccountDelegate::GetInstance()->QueryUsers(users); in HWTEST_F() 219 EXPECT_GT(users.size(), 0); in HWTEST_F() 224 * @tc.desc: query users 254 * @tc.desc: query foreground users 261 std::vector<int32_t> users; in HWTEST_F() local 262 EXPECT_TRUE(AccountDelegate::GetInstance()->QueryForegroundUsers(users)); in HWTEST_F() 265 EXPECT_EQ(accounts.size(), users.size()); in HWTEST_F() 266 for (int i = 0; i < users in HWTEST_F() [all...] |
/kernel/linux/linux-5.10/drivers/xen/ |
H A D | gntalloc.c | 94 unsigned int users; /* Use count - when zero, waiting on Xen */ member 106 int users; member 116 if (!gref->users) in do_cleanup() 138 gref->users = 1; in add_grefs() 262 gref->users--; in gntalloc_release() 263 if (gref->users == 0) in gntalloc_release() 293 /* Clean up pages that were at zero (local) users but were still mapped in gntalloc_ioctl_alloc() 360 gref->users--; in gntalloc_ioctl_dealloc() 459 priv->users++; in gntalloc_vma_open() 473 priv->users in gntalloc_vma_close() [all...] |
/kernel/linux/linux-6.6/drivers/xen/ |
H A D | gntalloc.c | 94 unsigned int users; /* Use count - when zero, waiting on Xen */ member 106 int users; member 116 if (!gref->users) in do_cleanup() 138 gref->users = 1; in add_grefs() 259 gref->users--; in gntalloc_release() 260 if (gref->users == 0) in gntalloc_release() 290 /* Clean up pages that were at zero (local) users but were still mapped in gntalloc_ioctl_alloc() 357 gref->users--; in gntalloc_ioctl_dealloc() 456 priv->users++; in gntalloc_vma_open() 470 priv->users in gntalloc_vma_close() [all...] |