Searched refs:new_user (Results 1 – 5 of 5) sorted by relevance
/external/selinux/libsepol/src/ |
D | user_record.c | 330 sepol_user_t *new_user = NULL; in hidden_def() local 333 if (sepol_user_create(handle, &new_user) < 0) in hidden_def() 336 if (sepol_user_set_name(handle, new_user, user->name) < 0) in hidden_def() 340 if (sepol_user_add_role(handle, new_user, user->roles[i]) < 0) in hidden_def() 345 (sepol_user_set_mlslevel(handle, new_user, user->mls_level) < 0)) in hidden_def() 349 (sepol_user_set_mlsrange(handle, new_user, user->mls_range) < 0)) in hidden_def() 352 *user_ptr = new_user; in hidden_def() 357 sepol_user_free(new_user); in hidden_def()
|
D | link.c | 536 user_datum_t *user, *base_user, *new_user = NULL; in user_copy_callback() local 550 if ((new_user = in user_copy_callback() 551 (user_datum_t *) malloc(sizeof(*new_user))) == NULL) { in user_copy_callback() 554 user_datum_init(new_user); in user_copy_callback() 558 new_user->s.value = state->base->p_users.nprim + 1; in user_copy_callback() 562 (hashtab_datum_t) new_user); in user_copy_callback() 567 base_user = new_user; in user_copy_callback() 572 if ((new_user = malloc(sizeof(*new_user))) == NULL) { in user_copy_callback() 575 user_datum_init(new_user); in user_copy_callback() 576 new_user->s.value = base_user->s.value; in user_copy_callback() [all …]
|
D | expand.c | 959 user_datum_t *new_user; in user_copy_callback() local 975 new_user = in user_copy_callback() 977 if (!new_user) { in user_copy_callback() 978 new_user = (user_datum_t *) malloc(sizeof(user_datum_t)); in user_copy_callback() 979 if (!new_user) { in user_copy_callback() 983 memset(new_user, 0, sizeof(user_datum_t)); in user_copy_callback() 986 new_user->s.value = state->out->p_users.nprim; in user_copy_callback() 987 state->usermap[user->s.value - 1] = new_user->s.value; in user_copy_callback() 992 free(new_user); in user_copy_callback() 997 (hashtab_datum_t) new_user); in user_copy_callback() [all …]
|
/external/chromium-trace/trace-viewer/third_party/webapp2/tests/ |
D | extras_appengine_auth_models_test.py | 85 success, new_user = m.create_user(auth_id='auth_id_1', password_raw='foo') 87 self.assertTrue(new_user is not None) 88 self.assertTrue(new_user.password is not None) 92 self.assertTrue(new_user is not None) 93 self.assertTrue(new_user.password is not None) 95 success, info = new_user.add_auth_id('auth_id_3') 99 success, info = new_user.add_auth_id('auth_id_2')
|
/external/wpa_supplicant_8/hostapd/ |
D | config_file.c | 219 struct hostapd_eap_user *user = NULL, *tail = NULL, *new_user = NULL; in hostapd_config_read_eap_user() local 503 tail = new_user = user; in hostapd_config_read_eap_user() 528 conf->eap_user = new_user; in hostapd_config_read_eap_user()
|