Searched refs:ids (Results 1 - 25 of 418) sorted by relevance

1234567891011>>

/external/antlr/antlr-3.4/runtime/Python/tests/
H A Dt039labels.py37 ids, w = parser.a()
39 assert len(ids) == 6, ids
40 assert ids[0].text == 'a', ids[0]
41 assert ids[1].text == 'b', ids[1]
42 assert ids[2].text == 'c', ids[2]
43 assert ids[
[all...]
/external/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_open/
H A Dbackground.js6 var ids = [];
8 ids = JSON.parse(localStorage.openWhenComplete);
10 localStorage.openWhenComplete = JSON.stringify(ids);
12 return ids;
15 function setOpeningIds(ids) {
16 localStorage.openWhenComplete = JSON.stringify(ids);
24 var ids = getOpeningIds();
25 if (ids.indexOf(delta.id) < 0) {
29 ids.splice(ids
[all...]
/external/chromium_org/ui/views/focus/
H A Dview_storage.cc43 std::vector<int>* ids = NULL; local
47 ids = new std::vector<int>();
48 view_to_ids_[view] = ids;
50 ids = id_iter->second;
52 ids->push_back(storage_id);
67 // Let's first retrieve the ids for that view.
76 std::vector<int>* ids = ids_iter->second; local
77 DCHECK(!ids->empty());
78 EraseView((*ids)[0], true);
94 std::vector<int>* ids local
[all...]
/external/chromium_org/sync/internal_api/public/base/
H A Dattachment_id_proto_unittest.cc31 google::protobuf::RepeatedPtrField<sync_pb::AttachmentIdProto> ids; local
32 sync_pb::AttachmentMetadata metadata = CreateAttachmentMetadata(ids);
37 google::protobuf::RepeatedPtrField<sync_pb::AttachmentIdProto> ids; local
38 *ids.Add() = CreateAttachmentIdProto();
39 *ids.Add() = CreateAttachmentIdProto();
40 *ids.Add() = CreateAttachmentIdProto();
41 sync_pb::AttachmentMetadata metadata = CreateAttachmentMetadata(ids);
44 EXPECT_EQ(ids.Get(i).SerializeAsString(),
H A Dattachment_id_proto.cc24 const google::protobuf::RepeatedPtrField<sync_pb::AttachmentIdProto>& ids) {
26 for (int i = 0; i < ids.size(); ++i) {
28 *record->mutable_id() = ids.Get(i);
23 CreateAttachmentMetadata( const google::protobuf::RepeatedPtrField<sync_pb::AttachmentIdProto>& ids) argument
H A Dattachment_id_proto.h24 const google::protobuf::RepeatedPtrField<sync_pb::AttachmentIdProto>& ids);
/external/chromium_org/chrome/browser/sync/glue/
H A Dinvalidation_helper.cc23 ObjectIdSet ids; local
30 ids.insert(model_type_as_id);
32 return ids;
/external/chromium_org/sync/tools/
H A Dinvalidation_helper.cc23 ObjectIdSet ids; local
30 ids.insert(model_type_as_id);
32 return ids;
/external/chromium_org/components/invalidation/
H A Dregistration_manager_unittest.cc110 ObjectIdSet ids; local
112 ids.insert(GetIdForIndex(i));
113 return ids;
176 ObjectIdSet ids = GetSequenceOfIds(kObjectIdsCount); local
177 fake_registration_manager_.UpdateRegisteredIds(ids);
179 // Lose some ids.
238 ObjectIdSet ids = GetSequenceOfIds(kObjectIdsCount - 1); local
246 fake_registration_manager_.UpdateRegisteredIds(ids);
248 EXPECT_EQ(ids, fake_registration_manager_.GetRegisteredIdsForTest());
249 EXPECT_EQ(ids, fake_invalidation_client
300 ObjectIdSet ids = GetSequenceOfIds(kObjectIdsCount); local
337 ObjectIdSet ids = GetSequenceOfIds(kObjectIdsCount); local
366 ObjectIdSet ids = GetSequenceOfIds(kObjectIdsCount); local
399 ObjectIdSet ids = GetSequenceOfIds(kObjectIdsCount); local
[all...]
H A Dinvalidator_registrar_unittest.cc37 const ObjectIdSet& ids) OVERRIDE {
38 registrar_.UpdateRegisteredIds(handler, ids);
136 ObjectIdSet ids; local
137 ids.insert(id1);
138 ids.insert(id2);
139 registrar.UpdateRegisteredIds(&handler1, ids);
142 EXPECT_DEATH({ registrar.UpdateRegisteredIds(&handler2, ids); }, "");
H A Dinvalidation_service_test_template.h134 syncer::ObjectIdSet ids; local
135 ids.insert(this->id1);
136 ids.insert(this->id2);
137 invalidator->UpdateRegisteredInvalidationIds(&handler, ids);
151 ids.erase(this->id1);
152 ids.insert(this->id3);
153 invalidator->UpdateRegisteredInvalidationIds(&handler, ids);
201 syncer::ObjectIdSet ids; local
202 ids.insert(this->id1);
203 ids
208 syncer::ObjectIdSet ids; local
216 syncer::ObjectIdSet ids; local
290 syncer::ObjectIdSet ids; local
297 syncer::ObjectIdSet ids; local
[all...]
H A Dinvalidator_test_template.h146 ObjectIdSet ids; local
147 ids.insert(this->id1);
148 ids.insert(this->id2);
149 invalidator->UpdateRegisteredIds(&handler, ids);
162 ids.erase(this->id1);
163 ids.insert(this->id3);
164 invalidator->UpdateRegisteredIds(&handler, ids);
210 ObjectIdSet ids; local
211 ids.insert(this->id1);
212 ids
217 ObjectIdSet ids; local
225 ObjectIdSet ids; local
289 ObjectIdSet ids; local
296 ObjectIdSet ids; local
[all...]
/external/chromium_org/chrome/browser/invalidation/
H A Dinvalidation_service_android_unittest.cc22 virtual void SetRegisteredObjectIds(const syncer::ObjectIdSet& ids) OVERRIDE {
23 registered_ids_ = ids;
118 syncer::ObjectIdSet ids; local
122 ids.insert(id1);
123 ids.insert(id2);
124 invalidation_service().UpdateRegisteredInvalidationIds(&handler, ids);
130 ids.erase(id2);
131 invalidation_service().UpdateRegisteredInvalidationIds(&handler, ids);
136 ids.erase(id1);
137 invalidation_service().UpdateRegisteredInvalidationIds(&handler, ids);
[all...]
/external/clang/lib/ARCMigrate/
H A DTransAPIUses.cpp41 IdentifierTable &ids = Pass.Ctx.Idents; local
42 getReturnValueSel = sels.getUnarySelector(&ids.get("getReturnValue"));
43 setReturnValueSel = sels.getUnarySelector(&ids.get("setReturnValue"));
46 selIds[0] = &ids.get("getArgument");
47 selIds[1] = &ids.get("atIndex");
49 selIds[0] = &ids.get("setArgument");
52 zoneSel = sels.getNullarySelector(&ids.get("zone"));
/external/iptables/extensions/
H A Dlibip6t_frag.c31 .flags = XTOPT_INVERT | XTOPT_PUT, XTOPT_POINTER(s, ids)},
48 fraginfo->ids[1] = ~0U;
59 fraginfo->ids[1] = fraginfo->ids[0];
113 print_ids("id", frag->ids[0], frag->ids[1],
143 if (!(fraginfo->ids[0] == 0
144 && fraginfo->ids[1] == 0xFFFFFFFF)) {
147 if (fraginfo->ids[0]
148 != fraginfo->ids[
[all...]
/external/libmtp/examples/
H A Dnewplaylist.c41 uint32_t *ids = NULL; local
54 if ((tmp = realloc(ids, sizeof(uint32_t) * (idcount))) == NULL) {
58 ids = tmp;
59 ids[(idcount-1)] = strtoul(optarg, &rest, 0);
92 playlist->tracks = ids;
/external/chromium_org/ui/events/gestures/
H A Dmotion_event_aura_unittest.cc73 // Test that |PointerCount()| returns the correct number of pointers, and ids
75 int ids[] = {4, 6, 1}; local
80 TouchEvent press0 = TouchWithType(ET_TOUCH_PRESSED, ids[0]);
84 EXPECT_EQ(ids[0], event.GetPointerId(0));
86 TouchEvent press1 = TouchWithType(ET_TOUCH_PRESSED, ids[1]);
90 EXPECT_EQ(ids[0], event.GetPointerId(0));
91 EXPECT_EQ(ids[1], event.GetPointerId(1));
93 TouchEvent press2 = TouchWithType(ET_TOUCH_PRESSED, ids[2]);
97 EXPECT_EQ(ids[0], event.GetPointerId(0));
98 EXPECT_EQ(ids[
132 int ids[] = {4, 6, 9}; local
170 int ids[] = {15, 13}; local
247 int ids[] = {15, 13}; local
313 int ids[] = {7, 13}; local
338 int ids[] = {4, 6}; local
378 int ids[] = {4, 6}; local
409 int ids[] = {7, 11}; local
[all...]
/external/chromium_org/chrome/browser/extensions/
H A Dinstall_verifier.cc225 signature_->ids.size());
250 return signature_.get() && (ContainsKey(signature_->ids, id) ||
259 ExtensionIdSet ids; local
260 ids.insert(extension_id);
261 AddMany(ids, ADD_SINGLE);
264 void InstallVerifier::AddMany(const ExtensionIdSet& ids, OperationType type) { argument
272 base::STLSetDifference<ExtensionIdSet>(ids, signature_->ids);
281 operation->ids.insert(ids
290 AddProvisional(const ExtensionIdSet& ids) argument
296 ExtensionIdSet ids; local
301 RemoveMany(const ExtensionIdSet& ids) argument
[all...]
/external/chromium_org/gpu/command_buffer/client/
H A Dshare_group.cc34 GLuint id_offset, GLsizei n, GLuint* ids) OVERRIDE {
38 ids[ii] = id_allocator_.AllocateID();
42 ids[ii] = id_allocator_.AllocateIDAtOrAbove(id_offset);
43 id_offset = ids[ii] + 1;
51 GLsizei n, const GLuint* ids, DeleteFn delete_fn) OVERRIDE {
55 id_allocator_.FreeID(ids[ii]);
58 (gl_impl->*delete_fn)(n, ids);
60 // before any other contexts issue commands using these client ids.
61 // TODO(vmiura): Can remove this by virtualizing internal ids, however
92 GLuint* ids) OVERRID
[all...]
/external/chromium_org/sync/api/attachments/
H A Dfake_attachment_store.cc25 void Read(const AttachmentIdList& ids, const ReadCallback& callback);
27 void Drop(const AttachmentIdList& ids, const DropCallback& callback);
44 void FakeAttachmentStore::Backend::Read(const AttachmentIdList& ids, argument
47 AttachmentIdList::const_iterator id_iter = ids.begin();
48 AttachmentIdList::const_iterator id_end = ids.end();
83 void FakeAttachmentStore::Backend::Drop(const AttachmentIdList& ids, argument
86 AttachmentIdList::const_iterator ids_iter = ids.begin();
87 AttachmentIdList::const_iterator ids_end = ids.end();
104 void FakeAttachmentStore::Read(const AttachmentIdList& ids, argument
108 base::Bind(&FakeAttachmentStore::Backend::Read, backend_, ids, callbac
121 Drop(const AttachmentIdList& ids, const DropCallback& callback) argument
[all...]
H A Dfake_attachment_store_unittest.cc165 AttachmentIdList ids; local
166 ids.push_back(attachment1.GetId());
167 ids.push_back(attachment2.GetId());
168 store->Read(ids, read_callback);
191 AttachmentIdList ids; local
192 ids.push_back(attachment1.GetId());
193 store->Drop(ids, drop_callback);
198 store->Read(ids, read_callback);
206 ids.clear();
207 ids
235 AttachmentIdList ids; local
[all...]
/external/chromium_org/chrome/browser/ui/views/toolbar/
H A Dtoolbar_view_browsertest.cc44 std::vector<int> ids; local
55 ids.push_back(view->id());
62 if (ids.size() > 100)
85 ASSERT_EQ(ids.size(), reverse_ids.size());
86 size_t count = ids.size();
88 EXPECT_EQ(ids[i], reverse_ids[count - 2 - i]);
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/
H A Dupdate_screen_handler.cc107 int ids = 0; local
110 ids = IDS_UPDATE_AVAILABLE;
113 ids = IDS_INSTALLING_UPDATE;
116 ids = IDS_UPDATE_VERIFYING;
119 ids = IDS_UPDATE_FINALIZING;
126 CallJS("setProgressMessage", l10n_util::GetStringUTF16(ids));
/external/chromium_org/chrome/browser/sync/test/integration/
H A Dp2p_invalidation_forwarder.cc34 syncer::ObjectIdSet ids = ModelTypeSetToObjectIdSet(model_types); local
35 invalidation_service_->SendInvalidation(ids);
/external/chromium_org/google_apis/gaia/
H A Daccount_tracker.cc57 bool is_visible = state.is_signed_in && !state.ids.gaia.empty();
61 accounts.insert(accounts.begin(), state.ids);
66 accounts.push_back(state.ids);
78 if (state.ids.gaia == gaia_id) {
79 return state.ids;
131 void AccountTracker::SetAccountStateForTest(AccountIds ids, bool is_signed_in) { argument
132 accounts_[ids.account_key].ids = ids;
133 accounts_[ids
[all...]

Completed in 559 milliseconds

1234567891011>>