Home
last modified time | relevance | path

Searched refs:User (Results 1 – 25 of 624) sorted by relevance

12345678910>>...25

/external/chromium_org/components/user_manager/
Duser.cc31 bool User::IsSupervised() const { in IsSupervised()
35 void User::SetIsSupervised(bool is_supervised) { in SetIsSupervised()
39 class RegularUser : public User {
61 class GuestUser : public User {
73 class KioskAppUser : public User {
85 class SupervisedUser : public User {
99 class RetailModeUser : public User {
111 class PublicAccountUser : public User {
123 std::string User::GetEmail() const { in GetEmail()
127 base::string16 User::GetDisplayName() const { in GetDisplayName()
[all …]
Duser_manager_base.h61 virtual const User* FindUser(const std::string& user_id) const OVERRIDE;
62 virtual User* FindUserAndModify(const std::string& user_id) OVERRIDE;
63 virtual const User* GetLoggedInUser() const OVERRIDE;
64 virtual User* GetLoggedInUser() OVERRIDE;
65 virtual const User* GetActiveUser() const OVERRIDE;
66 virtual User* GetActiveUser() OVERRIDE;
67 virtual const User* GetPrimaryUser() const OVERRIDE;
70 User::OAuthTokenStatus oauth_token_status) OVERRIDE;
119 virtual void AddUserRecord(User* user);
126 virtual bool CanUserBeRemoved(const User* user) const;
[all …]
Duser.h41 class USER_MANAGER_EXPORT User : public UserInfo {
169 static User* CreateRegularUser(const std::string& email);
170 static User* CreateGuestUser();
171 static User* CreateKioskAppUser(const std::string& kiosk_app_username);
172 static User* CreateSupervisedUser(const std::string& username);
173 static User* CreateRetailModeUser();
174 static User* CreatePublicAccountUser(const std::string& email);
176 explicit User(const std::string& email);
177 virtual ~User();
273 DISALLOW_COPY_AND_ASSIGN(User);
[all …]
Duser_manager_base.cc168 User* user = FindUserInListAndModify(user_id); in UserLoggedIn()
201 PublicAccountUserLoggedIn(User::CreatePublicAccountUser(user_id)); in UserLoggedIn()
237 User* user = FindUserAndModify(user_id); in SwitchActiveUser()
348 const User* UserManagerBase::FindUser(const std::string& user_id) const { in FindUser()
355 User* UserManagerBase::FindUserAndModify(const std::string& user_id) { in FindUserAndModify()
362 const User* UserManagerBase::GetLoggedInUser() const { in GetLoggedInUser()
367 User* UserManagerBase::GetLoggedInUser() { in GetLoggedInUser()
372 const User* UserManagerBase::GetActiveUser() const { in GetActiveUser()
377 User* UserManagerBase::GetActiveUser() { in GetActiveUser()
382 const User* UserManagerBase::GetPrimaryUser() const { in GetPrimaryUser()
[all …]
Duser_manager.h45 virtual void ActiveUserChanged(const User* active_user);
48 virtual void UserAddedToSession(const User* added_user);
177 virtual const User* FindUser(const std::string& user_id) const = 0;
182 virtual User* FindUserAndModify(const std::string& user_id) = 0;
187 virtual const User* GetLoggedInUser() const = 0;
188 virtual User* GetLoggedInUser() = 0;
193 virtual const User* GetActiveUser() const = 0;
194 virtual User* GetActiveUser() = 0;
198 virtual const User* GetPrimaryUser() const = 0;
203 User::OAuthTokenStatus oauth_token_status) = 0;
/external/llvm/lib/Analysis/
DScalarEvolutionNormalization.cpp29 static bool IVUseShouldUsePostIncValue(Instruction *User, Value *Operand, in IVUseShouldUsePostIncValue() argument
32 if (L->contains(User)) return false; in IVUseShouldUsePostIncValue()
40 if (DT->dominates(LatchBlock, User->getParent())) in IVUseShouldUsePostIncValue()
47 PHINode *PN = dyn_cast<PHINode>(User); in IVUseShouldUsePostIncValue()
80 const SCEV *TransformSubExpr(const SCEV *S, Instruction *User,
84 const SCEV *TransformImpl(const SCEV *S, Instruction *User,
92 TransformImpl(const SCEV *S, Instruction *User, Value *OperandValToReplace) { in TransformImpl() argument
96 const SCEV *N = TransformSubExpr(O, User, OperandValToReplace); in TransformImpl()
133 IVUseShouldUsePostIncValue(User, OperandValToReplace, L, &DT)) { in TransformImpl()
136 User, OperandValToReplace); in TransformImpl()
[all …]
DIVUsers.cpp147 Instruction *User = cast<Instruction>(U.getUser()); in AddUsersImpl() local
148 if (!UniqueUsers.insert(User)) in AddUsersImpl()
152 if (isa<PHINode>(User) && Processed.count(User)) in AddUsersImpl()
157 BasicBlock *UseBB = User->getParent(); in AddUsersImpl()
159 if (PHINode *PHI = dyn_cast<PHINode>(User)) { in AddUsersImpl()
174 if (LI->getLoopFor(User->getParent()) != L) { in AddUsersImpl()
175 if (isa<PHINode>(User) || Processed.count(User) || in AddUsersImpl()
176 !AddUsersImpl(User, SimpleLoopNests)) { in AddUsersImpl()
177 DEBUG(dbgs() << "FOUND USER in other loop: " << *User << '\n' in AddUsersImpl()
181 } else if (Processed.count(User) || !AddUsersImpl(User, SimpleLoopNests)) { in AddUsersImpl()
[all …]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
Duser_unittest.py32 from webkitpy.common.system.user import User
45 …self.assertEqual(User.prompt("input", repeat=self.repeatsRemaining, raw_input=mock_raw_input), Use…
52 …self.assertEqual(User.prompt("input", repeat=self.repeatsRemaining, raw_input=mock_raw_input), Non…
61 User.prompt_with_multiple_lists,
91 User.prompt_with_list,
110 (("Continue? [Y/n]: ", True), (User.DEFAULT_YES, 'y')),
111 (("Continue? [Y/n]: ", False), (User.DEFAULT_YES, 'n')),
112 (("Continue? [Y/n]: ", True), (User.DEFAULT_YES, '')),
113 (("Continue? [Y/n]: ", False), (User.DEFAULT_YES, 'q')),
114 (("Continue? [y/N]: ", True), (User.DEFAULT_NO, 'y')),
[all …]
/external/llvm/lib/IR/
DUser.cpp21 void User::anchor() {} in anchor()
26 void User::replaceUsesOfWith(Value *From, Value *To) { in replaceUsesOfWith()
45 Use *User::allocHungoffUses(unsigned N) const { in allocHungoffUses()
51 (void) new(End) Use::UserRef(const_cast<User*>(this), 1); in allocHungoffUses()
59 void *User::operator new(size_t s, unsigned Us) { in operator new()
63 User *Obj = reinterpret_cast<User*>(End); in operator new()
74 void User::operator delete(void *Usr) { in operator delete()
75 User *Start = static_cast<User*>(Usr); in operator delete()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h592 void visit(unsigned Opcode, const User &I);
695 void visitBinary(const User &I, unsigned OpCode);
696 void visitShift(const User &I, unsigned Opcode);
697 void visitAdd(const User &I) { visitBinary(I, ISD::ADD); } in visitAdd()
698 void visitFAdd(const User &I) { visitBinary(I, ISD::FADD); } in visitFAdd()
699 void visitSub(const User &I) { visitBinary(I, ISD::SUB); } in visitSub()
700 void visitFSub(const User &I);
701 void visitMul(const User &I) { visitBinary(I, ISD::MUL); } in visitMul()
702 void visitFMul(const User &I) { visitBinary(I, ISD::FMUL); } in visitFMul()
703 void visitURem(const User &I) { visitBinary(I, ISD::UREM); } in visitURem()
[all …]
/external/chromium_org/chrome/browser/chromeos/login/users/
Dfake_user_manager.cc51 const user_manager::User* FakeUserManager::AddUser(const std::string& email) { in AddUser()
52 user_manager::User* user = user_manager::User::CreateRegularUser(email); in AddUser()
58 user_manager::User::USER_IMAGE_PROFILE, in AddUser()
64 const user_manager::User* FakeUserManager::AddPublicAccountUser( in AddPublicAccountUser()
66 user_manager::User* user = user_manager::User::CreatePublicAccountUser(email); in AddPublicAccountUser()
72 user_manager::User::USER_IMAGE_PROFILE, in AddPublicAccountUser()
79 user_manager::User* user = in AddKioskAppUser()
80 user_manager::User::CreateKioskAppUser(kiosk_app_username); in AddKioskAppUser()
139 user_manager::User* FakeUserManager::GetActiveUserInternal() const { in GetActiveUserInternal()
154 const user_manager::User* FakeUserManager::GetActiveUser() const { in GetActiveUser()
[all …]
Dmock_user_manager.cc47 const user_manager::User* MockUserManager::GetLoggedInUser() const { in GetLoggedInUser()
51 user_manager::User* MockUserManager::GetLoggedInUser() { in GetLoggedInUser()
63 const user_manager::User* MockUserManager::GetActiveUser() const { in GetActiveUser()
67 user_manager::User* MockUserManager::GetActiveUser() { in GetActiveUser()
71 const user_manager::User* MockUserManager::GetPrimaryUser() const { in GetPrimaryUser()
102 user_manager::User* MockUserManager::CreatePublicAccountUser( in CreatePublicAccountUser()
105 user_manager::User* user = user_manager::User::CreatePublicAccountUser(email); in CreatePublicAccountUser()
112 user_manager::User* user = user_manager::User::CreateRegularUser(email); in AddUser()
Dfake_user_manager.h29 const user_manager::User* AddUser(const std::string& email);
35 const user_manager::User* AddPublicAccountUser(const std::string& email);
61 virtual const user_manager::User* GetActiveUser() const OVERRIDE;
62 virtual user_manager::User* GetActiveUser() OVERRIDE;
81 virtual const user_manager::User* FindUser(
83 virtual user_manager::User* FindUserAndModify(
85 virtual const user_manager::User* GetLoggedInUser() const OVERRIDE;
86 virtual user_manager::User* GetLoggedInUser() OVERRIDE;
87 virtual const user_manager::User* GetPrimaryUser() const OVERRIDE;
90 user_manager::User::OAuthTokenStatus oauth_token_status) OVERRIDE {} in SaveUserOAuthStatus()
[all …]
Dmock_user_manager.h41 MOCK_CONST_METHOD1(FindUser, const user_manager::User*(const std::string&));
42 MOCK_METHOD1(FindUserAndModify, user_manager::User*(const std::string&));
44 void(const std::string&, user_manager::User::OAuthTokenStatus));
84 user_manager::User::OAuthTokenStatus status));
95 MOCK_METHOD1(PublicAccountUserLoggedIn, void(user_manager::User*));
102 virtual const user_manager::User* GetLoggedInUser() const OVERRIDE;
105 virtual user_manager::User* GetLoggedInUser() OVERRIDE;
106 virtual const user_manager::User* GetActiveUser() const OVERRIDE;
107 virtual user_manager::User* GetActiveUser() OVERRIDE;
108 virtual const user_manager::User* GetPrimaryUser() const OVERRIDE;
[all …]
/external/ppp/pppd/plugins/radius/etc/
Ddictionary.compat6 ATTRIBUTE User-Service-Type 6 integer
19 VALUE Service-Type Shell-User 6
21 VALUE Service-Type Dialback-Login-User 3
22 VALUE Service-Type Dialback-Framed-User 4
37 VALUE Service-Type Exec-User 7
43 ATTRIBUTE User-Name-Is-Star 1035 integer
44 VALUE User-Name-Is-Star No 0
45 VALUE User-Name-Is-Star Yes 1
/external/chromium_org/chrome/browser/chromeos/login/users/avatar/
Duser_image_manager_impl.cc150 case user_manager::User::USER_IMAGE_EXTERNAL: in ImageIndexToHistogramIndex()
153 case user_manager::User::USER_IMAGE_PROFILE: in ImageIndexToHistogramIndex()
310 } else if (image_index_ == user_manager::User::USER_IMAGE_EXTERNAL || in LoadImage()
311 image_index_ == user_manager::User::USER_IMAGE_PROFILE) { in LoadImage()
350 DCHECK(image_index == user_manager::User::USER_IMAGE_EXTERNAL || in SetToImage()
351 image_index == user_manager::User::USER_IMAGE_PROFILE); in SetToImage()
364 image_index_ = user_manager::User::USER_IMAGE_EXTERNAL; in SetToImageData()
413 user_manager::User* user = in UpdateUser()
446 if (success || image_index_ == user_manager::User::USER_IMAGE_PROFILE) in OnSaveImageDone()
505 user_manager::User* user = GetUserAndModify(); in LoadUserImage()
[all …]
/external/llvm/lib/Transforms/Utils/
DSSAUpdater.cpp177 Instruction *User = cast<Instruction>(U.getUser()); in RewriteUse() local
180 if (PHINode *UserPN = dyn_cast<PHINode>(User)) in RewriteUse()
183 V = GetValueInMiddleOfBlock(User->getParent()); in RewriteUse()
194 Instruction *User = cast<Instruction>(U.getUser()); in RewriteUseAfterInsertions() local
197 if (PHINode *UserPN = dyn_cast<PHINode>(User)) in RewriteUseAfterInsertions()
200 V = GetValueAtEndOfBlock(User->getParent()); in RewriteUseAfterInsertions()
349 Instruction *User = Insts[i]; in run() local
350 UsesByBlock[User->getParent()].push_back(User); in run()
360 Instruction *User = Insts[i]; in run() local
361 BasicBlock *BB = User->getParent(); in run()
[all …]
/external/llvm/include/llvm/IR/
DUser.h35 class User : public Value {
36 User(const User &) LLVM_DELETED_FUNCTION;
54 User(Type *ty, unsigned vty, Use *OpList, unsigned NumOps) in User() function
64 ~User() { in ~User()
177 template<> struct simplify_type<User::op_iterator> {
179 static SimpleType getSimplifiedValue(User::op_iterator &Val) {
183 template<> struct simplify_type<User::const_op_iterator> {
185 static SimpleType getSimplifiedValue(User::const_op_iterator &Val) {
DOperandTraits.h38 static unsigned operands(const User*) { in operands()
52 static unsigned operands(const User *U) { in operands()
68 return reinterpret_cast<Use*>(U) - static_cast<User*>(U)->getNumOperands(); in op_begin()
73 static unsigned operands(const User *U) { in operands()
94 static Use *op_begin(User* U) { in op_begin()
97 static Use *op_end(User* U) { in op_end()
100 static unsigned operands(const User *U) { in operands()
/external/chromium_org/chrome/browser/chromeos/profiles/
Dprofile_helper.cc43 bool operator()(const user_manager::User* user) const { in operator ()()
151 user_manager::User* user = ProfileHelper::Get()->GetUserByProfile(profile); in IsOwnerProfile()
162 user_manager::User* user = ProfileHelper::Get()->GetUserByProfile(profile); in IsPrimaryProfile()
215 Profile* ProfileHelper::GetProfileByUser(const user_manager::User* user) { in GetProfileByUser()
218 std::map<const user_manager::User*, Profile*>::const_iterator it = in GetProfileByUser()
236 Profile* ProfileHelper::GetProfileByUserUnsafe(const user_manager::User* user) { in GetProfileByUserUnsafe()
239 std::map<const user_manager::User*, Profile*>::const_iterator it = in GetProfileByUserUnsafe()
263 user_manager::User* ProfileHelper::GetUserByProfile(Profile* profile) { in GetUserByProfile()
267 return const_cast<user_manager::User*>( in GetUserByProfile()
280 return const_cast<user_manager::User*>( in GetUserByProfile()
[all …]
Dprofile_helper.h19 class User; variable
107 Profile* GetProfileByUser(const user_manager::User* user);
117 Profile* GetProfileByUserUnsafe(const user_manager::User* user);
120 user_manager::User* GetUserByProfile(Profile* profile);
150 void SetProfileToUserMappingForTesting(user_manager::User* user);
162 void SetUserToProfileMappingForTesting(const user_manager::User* user,
175 std::map<const user_manager::User*, Profile*> user_to_profile_for_testing_;
/external/chromium_org/ui/app_list/
Dapp_list_view_delegate.cc9 AppListViewDelegate::User::User() : active(false) { in User() function in app_list::AppListViewDelegate::User
12 AppListViewDelegate::User::~User() {} in ~User()
/external/llvm/include/llvm/CodeGen/
DFastISel.h43 class User; variable
106 bool SelectOperator(const User *I, unsigned Opcode);
376 bool canFoldAddIntoGEP(const User *GEP, const Value *Add);
385 bool SelectBinaryOp(const User *I, unsigned ISDOpcode);
387 bool SelectFNeg(const User *I);
389 bool SelectGetElementPtr(const User *I);
392 bool SelectCall(const User *I);
394 bool SelectBitCast(const User *I);
396 bool SelectCast(const User *I, unsigned Opcode);
398 bool SelectExtractValue(const User *I);
[all …]
/external/chromium_org/chrome/browser/chromeos/login/signin/
Dauth_sync_observer.cc52 user_manager::User* user = ProfileHelper::Get()->GetUserByProfile(profile_); in OnStateChanged()
67 user_manager::User::OAuthTokenStatus old_status = in OnStateChanged()
70 email, user_manager::User::OAUTH2_TOKEN_STATUS_INVALID); in OnStateChanged()
72 old_status != user_manager::User::OAUTH2_TOKEN_STATUS_INVALID) { in OnStateChanged()
86 user_manager::User::OAUTH2_TOKEN_STATUS_INVALID) { in OnStateChanged()
90 user->email(), user_manager::User::OAUTH2_TOKEN_STATUS_VALID); in OnStateChanged()
/external/chromium_org/chrome/browser/chromeos/
Dpreferences.h31 class User; variable
56 void Init(Profile* profile, const user_manager::User* user);
60 const user_manager::User* user,
111 const user_manager::User* active_user) OVERRIDE;
113 void ActivateInputMethods(const user_manager::User* active_user);
144 const user_manager::User* user_;

12345678910>>...25