Searched refs:Id (Results 1 - 25 of 189) sorted by relevance

12345678

/external/chromium/chrome/browser/sync/syncable/
H A Dsyncable_id.cc16 const Id kNullId; // Currently == root.
18 ostream& operator<<(ostream& out, const Id& id) {
23 StringValue* Id::ToValue() const {
27 string Id::GetServerId() const {
35 Id Id::CreateFromServerId(const string& server_id) {
36 Id id;
44 Id Id::CreateFromClientString(const string& local_id) {
45 Id i
[all...]
H A Dsyncable_id.h20 class Id;
28 std::ostream& operator<<(std::ostream& out, const Id& id);
30 // For historical reasons, 3 concepts got everloaded into the Id:
40 class Id { class in namespace:syncable
44 friend std::ostream& operator<<(std::ostream& out, const Id& id);
50 inline Id() : s_("r") { } function in class:syncable::Id
51 inline Id(const Id& that) { function in class:syncable::Id
54 inline Id& operator = (const Id
[all...]
H A Dsyncable_id_unittest.cc23 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
[all...]
/external/clang/include/clang/Driver/
H A DTypes.h26 /// getTypeName - Return the name of the type for \p Id.
27 const char *getTypeName(ID Id);
32 ID getPreprocessedType(ID Id);
36 const char *getTypeTempSuffix(ID Id);
39 bool onlyAssembleType(ID Id);
42 bool onlyPrecompileType(ID Id);
47 bool canTypeBeUserSpecified(ID Id);
52 bool appendSuffixForType(ID Id);
57 bool canLipoType(ID Id);
60 bool isAcceptedByClang(ID Id);
[all...]
H A DPhases.h26 const char *getPhaseName(ID Id);
H A DArgList.h156 /// eraseArg - Remove any option matching \arg Id.
157 void eraseArg(OptSpecifier Id);
163 /// hasArg - Does the arg list contain any option matching \arg Id.
166 bool hasArgNoClaim(OptSpecifier Id) const {
167 return getLastArgNoClaim(Id) != 0;
169 bool hasArg(OptSpecifier Id) const {
170 return getLastArg(Id) != 0;
179 /// getLastArg - Return the last argument matching \arg Id, or null.
182 Arg *getLastArgNoClaim(OptSpecifier Id) const;
183 Arg *getLastArg(OptSpecifier Id) cons
223 getLastArgIntValue(OptSpecifier Id, int Default, DiagnosticsEngine &Diags) const argument
[all...]
/external/clang/test/SemaTemplate/
H A Dalias-nested-nontag.cpp3 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/
H A DPhases.cpp17 const char *phases::getPhaseName(ID Id) { argument
18 switch (Id) {
H A DTypes.cpp39 const char *types::getTypeName(ID Id) { argument
40 return getInfo(Id).Name;
43 types::ID types::getPreprocessedType(ID Id) { argument
44 return getInfo(Id).PreprocessedType;
47 const char *types::getTypeTempSuffix(ID Id) { argument
48 return getInfo(Id).TempSuffix;
51 bool types::onlyAssembleType(ID Id) { argument
52 return strchr(getInfo(Id).Flags, 'a');
55 bool types::onlyPrecompileType(ID Id) { argument
56 return strchr(getInfo(Id)
59 canTypeBeUserSpecified(ID Id) argument
63 appendSuffixForType(ID Id) argument
67 canLipoType(ID Id) argument
74 isAcceptedByClang(ID Id) argument
97 isOnlyAcceptedByClang(ID Id) argument
111 isObjC(ID Id) argument
124 isCXX(ID Id) argument
189 types::ID Id = (types::ID) (i + 1); local
200 getNumCompilationPhases(ID Id) argument
216 getCompilationPhase(ID Id, unsigned N) argument
[all...]
/external/chromium/chrome/browser/sync/engine/
H A Dsyncproto.h26 syncable::Id id() const {
27 return syncable::Id::CreateFromServerId(Base::id_string());
29 void set_id(const syncable::Id& id) {
43 void set_parent_id(const syncable::Id& id) {
46 syncable::Id parent_id() const {
47 return syncable::Id::CreateFromServerId(parent_id_string());
49 void set_old_parent_id(const syncable::Id& id) {
53 syncable::Id old_parent_id() const {
54 return syncable::Id::CreateFromServerId(
H A Dprocess_commit_response_command.h17 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,
64 const syncable::Id& pre_commit_id,
H A Dsyncer_types.h17 class Id;
128 typedef std::vector<syncable::Id> ConflictSet;
130 typedef std::map<syncable::Id, ConflictSet*> IdToConflictSetMap;
H A Dapply_updates_command.h14 class Id;
H A Dconflict_resolver.h22 class Id;
52 typedef std::map<syncable::Id, int> SimpleConflictCountMap;
69 const syncable::Id& id);
92 std::set<syncable::Id> children_of_merged_dirs_;
H A Dresolve_conflicts_command.h15 class Id;
H A Dsyncer_util.h32 const syncable::Id& new_id,
41 const syncable::Id& new_id);
52 static syncable::Id FindLocalIdToUpdate(
70 const syncable::Id& id);
118 std::vector<syncable::Id>* commit_ids);
128 std::vector<syncable::Id>* commit_ids);
132 std::set<syncable::Id>* deleted_folders);
H A Dbuild_and_process_conflict_sets_command.cc137 const vector<syncable::Id>* ids) {
138 vector<syncable::Id>::const_iterator it;
149 const vector<syncable::Id>* const update_set,
159 vector<syncable::Id> rollback_ids;
164 vector<syncable::Id>::const_iterator it;
227 set<syncable::Id>::iterator i = conflict_progress->ConflictingItemsBegin();
263 syncable::Id parent_id = entry->Get(syncable::SERVER_PARENT_ID);
271 vector<syncable::Id> conflicting_entries;
315 static syncable::Id GetAndExamineParent(syncable::BaseTransaction* trans,
316 const syncable::Id
[all...]
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.elab/
H A Dp2-0x.cpp8 template<typename T> using Id = T; // expected-note {{declared here}}
19 template struct Y<Id>; // expected-note {{requested here}}
/external/chromium/chrome/browser/extensions/
H A Dextension_menu_manager.h36 // An Id uniquely identifies a context menu item registered by an extension.
37 struct Id { struct in class:ExtensionMenuItem
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
[all...]
H A Dextension_menu_manager.cc24 ExtensionMenuItem::ExtensionMenuItem(const Id& id,
41 ExtensionMenuItem* ExtensionMenuItem::ReleaseChild(const Id& child_id,
58 std::set<ExtensionMenuItem::Id> ExtensionMenuItem::RemoveAllDescendants() {
59 std::set<Id> result;
63 std::set<Id> removed = child->RemoveAllDescendants();
90 item->parent_id_.reset(new Id(id_));
151 bool ExtensionMenuManager::AddChildItem(const ExtensionMenuItem::Id& parent_id,
165 const ExtensionMenuItem::Id& ancestor_id) {
167 ExtensionMenuItem::Id* id = item->parent_id();
183 const ExtensionMenuItem::Id
477 ExtensionMenuItem::Id::Id() function in class:ExtensionMenuItem::Id
481 ExtensionMenuItem::Id::Id(Profile* profile, function in class:ExtensionMenuItem::Id
[all...]
/external/chromium/chrome/browser/sync/sessions/
H A Dordered_commit_set.h40 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;
99 std::vector<syncable::Id> commit_ids_;
H A Dsession_state.h155 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...]
H A Dsession_state.cc171 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
[all...]
/external/ppp/pppd/plugins/radius/etc/
H A Ddictionary.compat4 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
/external/clang/lib/Tooling/
H A DRefactoringCallbacks.cpp62 ReplaceIfStmtWithItsBody::ReplaceIfStmtWithItsBody(StringRef Id, argument
64 : Id(Id), PickTrueBranch(PickTrueBranch) {}
68 if (const IfStmt *Node = Result.Nodes.getStmtAs<IfStmt>(Id)) {

Completed in 331 milliseconds

12345678