/external/chromium/chrome/browser/sync/syncable/ |
syncable_id.cc | 16 const Id kNullId; // Currently == root. 18 ostream& operator<<(ostream& out, const Id& id) { 19 out << id.s_; 23 StringValue* Id::ToValue() const { 27 string Id::GetServerId() const { 35 Id Id::CreateFromServerId(const string& server_id) { 36 Id id; local 45 Id id; local 56 Id id = *this; local 63 Id id; local [all...] |
syncable_id.h | 20 class Id; 28 std::ostream& operator<<(std::ostream& out, const Id& id); 30 // For historical reasons, 3 concepts got everloaded into the Id: 37 // 1. c<client only opaque id> for client items that have not been committed. 39 // 3. s<server provided opaque id> for items that the server knows about. 40 class Id { 44 friend std::ostream& operator<<(std::ostream& out, const Id& id); 50 inline Id() : s_("r") { [all...] |
syncable_id_unittest.cc | 23 vector<Id> v; 31 v.push_back(Id::CreateFromServerId("-5")); 32 v.push_back(Id::CreateFromClientString("A")); 33 v.push_back(Id::CreateFromServerId("A")); 35 for (vector<Id>::iterator i = v.begin(); i != v.end(); ++i) { 36 for (vector<Id>::iterator j = v.begin(); j != i; ++j) { 40 Id copy1 = *i; 41 Id copy2 = *i; 47 vector<Id> v; 48 v.push_back(Id::CreateFromServerId("z5")) [all...] |
/external/clang/include/clang/Driver/ |
Types.h | 18 enum ID { 20 #define TYPE(NAME, ID, PP_TYPE, TEMP_SUFFIX, FLAGS) TY_##ID, 26 /// getTypeName - Return the name of the type for \arg Id. 27 const char *getTypeName(ID Id); 29 /// getPreprocessedType - Get the ID of the type for this input when 32 ID getPreprocessedType(ID Id); [all...] |
Phases.h | 16 /// ID - Ordered values for successive stages in the 18 enum ID { 26 const char *getPhaseName(ID Id);
|
/external/clang/test/SemaTemplate/ |
alias-nested-nontag.cpp | 3 template<typename T> using Id = T; // expected-note {{type alias template 'Id' declared here}} 4 struct U { static Id<int> V; }; 5 Id<int> ::U::V; // expected-error {{type 'Id<int>' (aka 'int') cannot be used prior to '::' because it has no members}} \
|
/external/clang/lib/Driver/ |
Phases.cpp | 17 const char *phases::getPhaseName(ID Id) { 18 switch (Id) { 26 llvm_unreachable("Invalid phase id.");
|
Types.cpp | 23 ID PreprocessedType; 27 #define TYPE(NAME, ID, PP_TYPE, TEMP_SUFFIX, FLAGS) \ 34 static const TypeInfo &getInfo(unsigned id) { 35 assert(id > 0 && id - 1 < numTypes && "Invalid Type ID."); 36 return TypeInfos[id - 1]; 39 const char *types::getTypeName(ID Id) { 40 return getInfo(Id).Name [all...] |
ArgList.cpp | 49 void ArgList::eraseArg(OptSpecifier Id) { 51 if ((*it)->getOption().matches(Id)) { 60 Arg *ArgList::getLastArgNoClaim(OptSpecifier Id) const { 63 if ((*it)->getOption().matches(Id)) 68 Arg *ArgList::getLastArg(OptSpecifier Id) const { 71 if ((*it)->getOption().matches(Id)) { 131 StringRef ArgList::getLastArgValue(OptSpecifier Id, 133 if (Arg *A = getLastArg(Id)) 138 int ArgList::getLastArgIntValue(OptSpecifier Id, int Default, 142 if (Arg *A = getLastArg(Id)) { [all...] |
/external/chromium/chrome/browser/sync/engine/ |
syncproto.h | 26 syncable::Id id() const { function in class:browser_sync::IdWrapper 27 return syncable::Id::CreateFromServerId(Base::id_string()); 29 void set_id(const syncable::Id& id) { 30 Base::set_id_string(id.GetServerId()); 43 void set_parent_id(const syncable::Id& id) { 44 set_parent_id_string(id.GetServerId()); 46 syncable::Id parent_id() const [all...] |
process_commit_response_command.h | 17 class Id; 39 const syncable::Id& pre_commit_id, 40 std::set<syncable::Id>* conflicting_new_directory_ids, 41 std::set<syncable::Id>* deleted_folders); 49 const syncable::Id& pre_commit_id, syncable::MutableEntry* local_entry, 50 bool syncing_was_set, std::set<syncable::Id>* deleted_folders); 57 const syncable::Id& pre_commit_id, 60 // If the server generated an ID for us during a commit, apply the new ID. 64 const syncable::Id& pre_commit_id [all...] |
apply_updates_command.h | 14 class Id;
|
resolve_conflicts_command.h | 15 class Id;
|
syncer_types.h | 17 class Id; 128 typedef std::vector<syncable::Id> ConflictSet; 130 typedef std::map<syncable::Id, ConflictSet*> IdToConflictSetMap;
|
conflict_resolver.h | 22 class Id; 52 typedef std::map<syncable::Id, int> SimpleConflictCountMap; 69 const syncable::Id& id); 92 std::set<syncable::Id> children_of_merged_dirs_;
|
update_applicator.h | 80 std::vector<syncable::Id> conflicting_ids_; 81 std::vector<syncable::Id> successful_ids_;
|
syncer_util.h | 32 const syncable::Id& new_id, 41 const syncable::Id& new_id); 45 // with an ID that doesn't match the ID of the update. Here, we 46 // find the ID of such an entry, if it exists. This function may 48 // the null ID -- callers must handle this case. When update application 50 // return server_entry.id(); the caller must create an entry with that 51 // ID. This function does not alter the database. 52 static syncable::Id FindLocalIdToUpdate( 68 // Creates a new Entry iff no Entry exists with the given id [all...] |
/external/chromium/chrome/browser/extensions/ |
extension_menu_manager.h | 36 // An Id uniquely identifies a context menu item registered by an extension. 37 struct Id { 38 Id(); 39 Id(Profile* profile, const std::string& extension_id, int uid); 40 ~Id(); 42 bool operator==(const Id& other) const; 43 bool operator!=(const Id& other) const; 44 bool operator<(const Id& other) const; 103 ExtensionMenuItem(const Id& id, 114 const Id& id() const { return id_; } function in class:ExtensionMenuItem [all...] |
extension_menu_manager.cc | 24 ExtensionMenuItem::ExtensionMenuItem(const Id& id, 29 : id_(id), 41 ExtensionMenuItem* ExtensionMenuItem::ReleaseChild(const Id& child_id, 45 if ((*i)->id() == child_id) { 58 std::set<ExtensionMenuItem::Id> ExtensionMenuItem::RemoveAllDescendants() { 59 std::set<Id> result; 62 result.insert(child->id()); 63 std::set<Id> removed = child->RemoveAllDescendants(); 90 item->parent_id_.reset(new Id(id_)) 167 ExtensionMenuItem::Id* id = item->parent_id(); local [all...] |
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.elab/ |
p2-0x.cpp | 8 template<typename T> using Id = T; // expected-note {{declared here}} 19 template struct Y<Id>; // expected-note {{requested here}}
|
/external/chromium/chrome/browser/sync/sessions/ |
ordered_commit_set.h | 40 void AddCommitItem(const int64 metahandle, const syncable::Id& commit_id, 43 const std::vector<syncable::Id>& GetAllCommitIds() const { 47 // Return the Id at index |position| in this OrderedCommitSet. Note that 52 // These together allow re-association of the pre-commit Id with the 54 const syncable::Id& GetCommitIdAt(const size_t position) const { 90 syncable::Id id; member in struct:browser_sync::sessions::OrderedCommitSet::CommitItem 99 std::vector<syncable::Id> commit_ids_; 105 // group for each ID so that the insertion can update the appropriate
|
session_state.h | 155 const syncable::Id& the_id) const; 156 const ConflictSet* IdToConflictSetGet(const syncable::Id& the_id); 162 void AddConflictingItemById(const syncable::Id& the_id); 163 void EraseConflictingItemById(const syncable::Id& the_id); 165 std::set<syncable::Id>::iterator ConflictingItemsBegin(); 166 std::set<syncable::Id>::const_iterator ConflictingItemsBeginConst() const; 167 std::set<syncable::Id>::const_iterator ConflictingItemsEnd() const; 169 void MergeSets(const syncable::Id& set1, const syncable::Id& set2); 174 std::set<syncable::Id> conflicting_item_ids_ [all...] |
session_state.cc | 171 const syncable::Id& the_id) const { 190 const syncable::Id& the_id) { 209 std::set<syncable::Id>::iterator 213 std::set<syncable::Id>::const_iterator 217 std::set<syncable::Id>::const_iterator 222 void ConflictProgress::AddConflictingItemById(const syncable::Id& the_id) { 223 std::pair<std::set<syncable::Id>::iterator, bool> ret = 229 void ConflictProgress::EraseConflictingItemById(const syncable::Id& the_id) { 235 void ConflictProgress::MergeSets(const syncable::Id& id1, 236 const syncable::Id& id2) [all...] |
/external/ppp/pppd/plugins/radius/etc/ |
dictionary.compat | 4 ATTRIBUTE Client-Id 4 ipaddr 5 ATTRIBUTE Client-Port-Id 5 integer 9 ATTRIBUTE Framed-Filter-Id 11 string 30 ATTRIBUTE Framed-Callback-Id 20 string 32 ATTRIBUTE Caller-ID 31 string
|
/external/llvm/lib/Target/ARM/ |
ARMJITInfo.h | 147 /// specified id. 148 intptr_t getPCLabelAddr(unsigned Id) const { 149 DenseMap<unsigned, intptr_t>::const_iterator I = PCLabelMap.find(Id); 155 void addPCLabelAddr(unsigned Id, intptr_t Addr) { 156 PCLabelMap.insert(std::make_pair(Id, Addr));
|