Home
last modified time | relevance | path

Searched refs:id_string (Results 1 – 15 of 15) sorted by relevance

/external/chromium/net/tools/testserver/
Dchromiumsync_test.py20 self.model._entries[proto.id_string] = proto
46 proto.id_string = 'abcd'
48 self.assertFalse(self.model._ItemExists(proto.id_string))
51 self.assertTrue(self.model._ItemExists(proto.id_string))
55 self.assertTrue(self.model._ItemExists(proto.id_string))
56 self.assertEqual(2, self.model._entries[proto.id_string].version)
59 def MakeProto(id_string, parent, position): argument
61 proto.id_string = id_string
76 entry.id_string = my_id
170 entry.id_string = 'batch test %d' % i
[all …]
Dchromiumsync.py301 base_entry = self._entries.get(entry.id_string)
306 self._entries[entry.id_string] = DeepCopyOfProto(entry)
379 if current_limit_entry.id_string == entry.id_string:
388 if prev_id == entry.id_string:
399 if item.id_string != prev_id:
401 elif successor.id_string == entry.id_string:
417 def _ItemExists(self, id_string): argument
419 return id_string in self._entries
429 id_string = self._ServerTagToId(spec.tag)
430 if self._ItemExists(id_string):
[all …]
/external/chromium/chrome/browser/extensions/
Dextension_bookmark_manager_api.cc34 std::string id_string; in GetNodeFromArguments() local
35 if (!args->GetString(0, &id_string)) in GetNodeFromArguments()
38 if (!base::StringToInt64(id_string, &id)) in GetNodeFromArguments()
57 std::string id_string; in GetNodesFromArguments() local
58 if (!ids->GetString(i, &id_string)) in GetNodesFromArguments()
61 if (!base::StringToInt64(id_string, &id)) in GetNodesFromArguments()
80 std::string id_string = base::Int64ToString(node.id()); in AddNodeToList() local
81 dict->SetString(keys::kIdKey, id_string); in AddNodeToList()
389 std::string id_string; in RunImpl() local
390 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &id_string)); in RunImpl()
[all …]
Dextension_bookmarks_module.cc96 const std::string& id_string, int64* id) { in GetBookmarkIdAsInt64() argument
97 if (base::StringToInt64(id_string, id)) in GetBookmarkIdAsInt64()
286 std::string id_string; in RunImpl() local
287 EXTENSION_FUNCTION_VALIDATE(ids->GetString(i, &id_string)); in RunImpl()
288 if (!GetBookmarkIdAsInt64(id_string, &id)) in RunImpl()
300 std::string id_string; in RunImpl() local
301 EXTENSION_FUNCTION_VALIDATE(arg0->GetAsString(&id_string)); in RunImpl()
302 if (!GetBookmarkIdAsInt64(id_string, &id)) in RunImpl()
319 std::string id_string; in RunImpl() local
320 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &id_string)); in RunImpl()
[all …]
Dextension_bookmarks_module.h88 bool GetBookmarkIdAsInt64(const std::string& id_string, int64* id);
/external/chromium/chrome/browser/sync/syncable/
Dnigori_util.cc165 Id id_string = in VerifyDataTypeEncryption() local
167 to_visit.push(id_string); in VerifyDataTypeEncryption()
169 id_string = to_visit.front(); in VerifyDataTypeEncryption()
171 if (id_string.IsRoot()) in VerifyDataTypeEncryption()
174 Entry child(trans, GET_BY_ID, id_string); in VerifyDataTypeEncryption()
/external/chromium/chrome/browser/bookmarks/
Dbookmark_codec.cc194 std::string id_string; in DecodeNode() local
197 if (!value.GetString(kIdKey, &id_string) || in DecodeNode()
198 !base::StringToInt64(id_string, &id) || in DecodeNode()
252 UpdateChecksumWithUrlNode(id_string, title, url_string); in DecodeNode()
280 UpdateChecksumWithFolderNode(id_string, title); in DecodeNode()
/external/chromium/chrome/browser/sync/engine/
Dsyncproto.h27 return syncable::Id::CreateFromServerId(Base::id_string()); in id()
Dprocess_commit_response_command_unittest.cc167 entry_response->set_id_string(entity->id_string()); in CreateUnprocessedCommitResult()
178 if (commit->commit().entries(i).id_string() == in CreateUnprocessedCommitResult()
181 response->commit().entryresponse(i).id_string()); in CreateUnprocessedCommitResult()
Dsyncapi.cc291 syncable::Id id_string = GetEntry()->Get(syncable::PREV_ID); in GetPredecessorId() local
292 if (id_string.IsRoot()) in GetPredecessorId()
294 return IdToMetahandle(GetTransaction()->GetWrappedTrans(), id_string); in GetPredecessorId()
298 syncable::Id id_string = GetEntry()->Get(syncable::NEXT_ID); in GetSuccessorId() local
299 if (id_string.IsRoot()) in GetSuccessorId()
301 return IdToMetahandle(GetTransaction()->GetWrappedTrans(), id_string); in GetSuccessorId()
307 syncable::Id id_string = in GetFirstChildId() local
309 if (id_string.IsRoot()) in GetFirstChildId()
311 return IdToMetahandle(GetTransaction()->GetWrappedTrans(), id_string); in GetFirstChildId()
Dsyncer_proto_util.cc351 entry.id_string().c_str(), in SyncEntityDebugString()
Dsyncer_unittest.cc1938 EXPECT_EQ(id.GetServerId(), update->id_string()); in TEST_F()
/external/chromium/chrome/browser/search_engines/
Dtemplate_url_model.cc776 std::string id_string; in SaveDefaultSearchProviderToPrefs() local
792 id_string = base::Int64ToString(t_url->id()); in SaveDefaultSearchProviderToPrefs()
803 prefs->SetString(prefs::kDefaultSearchProviderID, id_string); in SaveDefaultSearchProviderToPrefs()
843 std::string id_string = prefs->GetString(prefs::kDefaultSearchProviderID); in LoadDefaultSearchProviderFromPrefs() local
857 if (!id_string.empty() && !*is_managed) { in LoadDefaultSearchProviderFromPrefs()
859 base::StringToInt64(id_string, &value); in LoadDefaultSearchProviderFromPrefs()
/external/chromium/chrome/browser/sync/protocol/
Dsync.proto68 // |id_string| is always the server generated ID. The original
71 optional string id_string = 1; field
91 // the server will use |id_string| to locate the item. Then, if the item's
431 optional string id_string = 3; field
/external/netperf/
Dnetlib.c2886 static char id_string[80]; in get_id() local
2906 snprintf(id_string, sizeof(id_string), in get_id()
2924 return (id_string); in get_id()