/external/ltp/testcases/kernel/syscalls/chown/ |
D | chown05.c | 88 uid_t user_id; member 108 uid_t user_id; /* user id of the user set for testfile */ in main() local 120 user_id = test_cases[i].user_id; in main() 123 TEST(CHOWN(cleanup, TESTFILE, user_id, group_id)); in main() 131 if (user_id == -1) in main() 132 user_id = test_cases[i - 1].user_id; in main() 136 if (stat_buf.st_uid != user_id || in main() 140 "%d", TESTFILE, user_id, in main()
|
D | chown02.c | 98 uid_t user_id; member 120 uid_t user_id; /* user id of the user set for testfile */ in main() local 136 user_id = test_cases[i].user_id; in main() 144 TEST(CHOWN(cleanup, file_name, user_id, group_id)); in main() 165 if (stat_buf.st_uid != user_id || in main() 170 user_id, group_id); in main()
|
D | chown03.c | 103 uid_t user_id; /* Owner id of the test file. */ in main() local 114 UID16_CHECK((user_id = geteuid()), "chown", cleanup) in main() 129 if (stat_buf.st_uid != user_id || in main() 134 stat_buf.st_gid, user_id, group_id); in main()
|
/external/ltp/testcases/kernel/syscalls/fchown/ |
D | fchown05.c | 45 uid_t user_id; member 66 uid_t user_id; in main() local 77 user_id = tc[i].user_id; in main() 80 TEST(FCHOWN(cleanup, fildes, user_id, group_id)); in main() 90 if (user_id == (uid_t)-1) in main() 91 user_id = tc[i - 1].user_id; in main() 96 if ((stat_buf.st_uid != user_id) || in main() 100 TESTFILE, user_id, group_id); in main()
|
D | fchown03.c | 64 uid_t user_id; in main() local 74 user_id = geteuid(); in main() 87 if ((stat_buf.st_uid != user_id) || in main() 91 TESTFILE, user_id, group_id); in main()
|
D | fchown02.c | 58 uid_t user_id; member 74 TEST(FCHOWN(cleanup, *t->fd, t->user_id, t->group_id)); in verify_fchown() 83 if ((stat_buf.st_uid != t->user_id) || in verify_fchown() 87 t->pathname, t->user_id, t->group_id, in verify_fchown()
|
/external/ltp/testcases/kernel/syscalls/lchown/ |
D | lchown01.c | 55 uid_t user_id; member 87 uid_t user_id = test_cases[i].user_id; in main() local 96 TEST(LCHOWN(cleanup, SFILE, user_id, group_id)); in main() 111 if (user_id == -1) { in main() 113 user_id = in main() 114 test_cases[i - 1].user_id; in main() 116 user_id = geteuid(); in main() 131 if ((stat_buf.st_uid != user_id) || in main() 136 user_id, group_id); in main()
|
D | lchown02.c | 109 uid_t user_id; in main() local 117 user_id = geteuid(); in main() 118 UID16_CHECK(user_id, lchown, cleanup); in main() 134 TEST(LCHOWN(cleanup, file_name, user_id, group_id)); in main()
|
/external/python/oauth2client/tests/contrib/ |
D | test_xsrfutil.py | 125 key = token = user_id = None 126 self.assertFalse(xsrfutil.validate_token(key, token, user_id)) 129 key = user_id = None 131 self.assertFalse(xsrfutil.validate_token(key, token, user_id)) 134 key = user_id = None 136 self.assertFalse(xsrfutil.validate_token(key, token, user_id)) 142 key = user_id = None 146 self.assertFalse(xsrfutil.validate_token(key, token, user_id)) 153 key = user_id = None 155 self.assertFalse(xsrfutil.validate_token(key, token, user_id, [all …]
|
/external/autotest/client/common_lib/cros/ |
D | enrollment.py | 31 def RemoraEnrollment(browser, user_id, password): argument 40 user_id, password, enterprise_enroll=True, 44 def EnterpriseEnrollment(browser, user_id, password, auto_login=False): argument 52 browser.oobe.NavigateGaiaLogin(user_id, password, 56 browser.oobe.NavigateGaiaLogin(user_id, password) 61 def EnterpriseFakeEnrollment(browser, user_id, password, gaia_id, argument 71 browser.oobe.NavigateFakeLogin(user_id, password, gaia_id, 74 browser.oobe.NavigateFakeLogin(user_id, password, gaia_id)
|
/external/ltp/testcases/kernel/fs/fs_perms/ |
D | fs_perms.c | 69 int user_id, int group_id) in testsetup() argument 98 if (chown(file_name, user_id, group_id)) in testsetup() 106 static int testfperm(const char *file_name, int flag, int user_id, in testfperm() argument 118 if (setuid(user_id)) in testfperm() 120 "Could not setuid to %d.", user_id); in testfperm() 182 uid_t fuser_id, user_id; in main() local 202 user_id = str_to_l(argv[4], "tester uid", 10); in main() 213 res2 = testfperm(TEST_FILE_NAME2, 1, user_id, group_id, fperm); in main() 221 res1 = testfperm(TEST_FILE_NAME1, 0, user_id, group_id, fperm); in main() 225 fperm[0], fmode, fuser_id, fgroup_id, user_id, group_id); in main()
|
/external/autotest/client/site_tests/enterprise_KioskPerf/ |
D | enterprise_KioskPerf.py | 48 def verify_enrollment(self, user_id): argument 51 if not user_id in f.read(): 56 user_id, password = utils.get_signin_credentials(os.path.join( 58 if not (user_id and password): 64 user_id, password, 68 self.verify_enrollment(user_id)
|
/external/selinux/secilc/docs/ |
D | cil_user_statements.md | 11 (user user_id) 26 <td align="left"><p><code>user_id</code></p></td> 47 (userrole user_id role_id) 62 <td align="left"><p><code>user_id</code></p></td> 125 (userattributeset userattribute_id (user_id ... | expr ...)) 144 <td align="left"><p><code>user_id</code></p></td> 146 <p>Note that there must be at least one <code>user_id</code> or <code>expr</code> parameter declare… 151 <p><code> (and (user_id ...) (user_id ...))</code></p> 152 <p><code> (or (user_id ...) (user_id ...))</code></p> 153 <p><code> (xor (user_id ...) (user_id ...))</code></p> [all …]
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_thread_registry.cc | 20 : tid(tid), unique_id(0), reuse_count(), os_id(0), user_id(0), in ThreadContextBase() 43 user_id = 0; in SetDead() 52 user_id = 0; in SetJoined() 71 user_id = _user_id; in SetCreated() 121 u32 ThreadRegistry::CreateThread(uptr user_id, bool detached, u32 parent_tid, in CreateThread() argument 152 tctx->SetCreated(user_id, total_threads_++, detached, in CreateThread() 209 void ThreadRegistry::SetThreadNameByUserId(uptr user_id, const char *name) { in SetThreadNameByUserId() argument 213 if (tctx != 0 && tctx->user_id == user_id && in SetThreadNameByUserId()
|
/external/ltp/testcases/kernel/syscalls/getresgid/ |
D | getresgid02.c | 141 struct passwd *user_id; /* passwd struct for test user */ in setup() local 153 if ((user_id = getpwnam(LTPUSER)) == NULL) { in setup() 158 pe_gid = user_id->pw_gid; in setup() 161 ps_gid = user_id->pw_gid; in setup()
|
D | getresgid03.c | 144 struct passwd *user_id; /* passwd struct for test user */ in setup() local 159 if ((user_id = getpwnam("nobody")) == NULL) { in setup() 165 pe_gid = user_id->pw_gid; in setup()
|
/external/ltp/testcases/kernel/syscalls/getresuid/ |
D | getresuid02.c | 138 struct passwd *user_id; /* passwd struct for test user */ in setup() local 150 if ((user_id = getpwnam(LTPUSER)) == NULL) { in setup() 155 pe_uid = user_id->pw_uid; in setup() 158 ps_uid = user_id->pw_uid; in setup()
|
D | getresuid03.c | 139 struct passwd *user_id; /* passwd struct for test user */ in setup() local 154 if ((user_id = getpwnam("nobody")) == NULL) { in setup() 160 pe_uid = user_id->pw_uid; in setup()
|
/external/python/oauth2client/oauth2client/contrib/ |
D | xsrfutil.py | 38 def generate_token(key, user_id, action_id='', when=None): argument 53 digester.update(_helpers._to_bytes(str(user_id), encoding='utf-8')) 66 def validate_token(key, token, user_id, action_id="", current_time=None): argument 97 expected_token = generate_token(key, user_id, action_id=action_id,
|
/external/ltp/testcases/kernel/syscalls/fstat/ |
D | fstat02.c | 43 static uid_t user_id; variable 62 if (stat_buf.st_uid != user_id) { in verify() 64 stat_buf.st_uid, user_id); in verify() 142 user_id = getuid(); in setup()
|
/external/ltp/testcases/kernel/syscalls/stat/ |
D | stat01.c | 44 static uid_t user_id; variable 62 if (stat_buf.st_uid != user_id) { in verify() 64 stat_buf.st_uid, user_id); in verify() 145 user_id = getuid(); in setup()
|
/external/autotest/client/site_tests/enterprise_RemoraRequisition/ |
D | enterprise_RemoraRequisition.py | 21 user_id, password = utils.get_signin_credentials(os.path.join( 23 if not (user_id and password): 31 enrollment.RemoraEnrollment(cr.browser, user_id, password)
|
/external/ltp/testcases/kernel/syscalls/lstat/ |
D | lstat03.c | 52 static uid_t user_id; variable 80 if ((stat_buf.st_uid != user_id) || in main() 114 user_id = getuid(); in setup()
|
/external/autotest/database/ |
D | schema_129.sql | 80 `user_id` int(11) DEFAULT NULL, 82 UNIQUE KEY `acl_groups_users_both_ids` (`aclgroup_id`,`user_id`), 83 KEY `acl_groups_users_user_id` (`user_id`), 85 …CONSTRAINT `acl_groups_users_user_id_fk` FOREIGN KEY (`user_id`) REFERENCES `afe_users` (`id`) ON … 903 `user_id` int(11) NOT NULL, 906 UNIQUE KEY `user_id` (`user_id`,`group_id`), 907 KEY `auth_user_groups_6340c63c` (`user_id`), 909 CONSTRAINT `user_id_refs_id_40c41112` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`), 923 `user_id` int(11) NOT NULL, 926 UNIQUE KEY `user_id` (`user_id`,`permission_id`), [all …]
|
/external/autotest/client/site_tests/enterprise_KioskEnrollment/ |
D | enterprise_KioskEnrollment.py | 46 user_id, password = utils.get_signin_credentials(os.path.join( 49 if not (user_id and password): 55 enrollment.EnterpriseEnrollment(cr.browser, user_id, password)
|