Home
last modified time | relevance | path

Searched refs:id1 (Results 1 – 25 of 100) sorted by relevance

1234

/external/chromium_org/sync/api/attachments/
Dattachment_id_unittest.cc20 AttachmentId id1 = AttachmentId::Create(); in TEST_F() local
22 EXPECT_NE(id1, id2); in TEST_F()
26 AttachmentId id1 = AttachmentId::Create(); in TEST_F() local
27 AttachmentId id2(id1); in TEST_F()
28 EXPECT_EQ(id1, id2); in TEST_F()
32 AttachmentId id1 = AttachmentId::Create(); in TEST_F() local
33 EXPECT_FALSE(id1 < id1); in TEST_F()
36 EXPECT_FALSE(id1 < id1); in TEST_F()
38 EXPECT_NE(id1, id2); in TEST_F()
39 if (id1 < id2) { in TEST_F()
[all …]
/external/chromium_org/gpu/command_buffer/common/
Did_allocator_test.cc30 ResourceId id1 = allocator->AllocateID(); in TEST_F() local
31 EXPECT_TRUE(allocator->InUse(id1)); in TEST_F()
37 EXPECT_NE(id1, id2); in TEST_F()
40 allocator->FreeID(id1); in TEST_F()
41 EXPECT_FALSE(allocator->InUse(id1)); in TEST_F()
64 ResourceId id1 = ids[kNumResources / 2]; in TEST_F() local
65 allocator->FreeID(id1); in TEST_F()
66 EXPECT_FALSE(allocator->InUse(id1)); in TEST_F()
69 EXPECT_EQ(id1, id2); in TEST_F()
93 ResourceId id1 = allocator->AllocateIDAtOrAbove(kOffset); in TEST_F() local
[all …]
/external/libcxx/test/thread/thread.threads/thread.thread.class/thread.thread.id/
Deq.pass.cpp23 std::thread::id id1; in main() local
24 id1 = id0; in main()
25 assert( (id1 == id0)); in main()
26 assert(!(id1 != id0)); in main()
27 id1 = std::this_thread::get_id(); in main()
28 assert(!(id1 == id0)); in main()
29 assert( (id1 != id0)); in main()
Dassign.pass.cpp22 std::thread::id id1; in main() local
23 id1 = id0; in main()
24 assert(id1 == id0); in main()
25 id1 = std::this_thread::get_id(); in main()
26 assert(id1 != id0); in main()
Dlt.pass.cpp25 std::thread::id id1; in main() local
27 assert(!(id0 < id1)); in main()
28 assert( (id0 <= id1)); in main()
29 assert(!(id0 > id1)); in main()
30 assert( (id0 >= id1)); in main()
/external/chromium_org/ui/message_center/views/
Dmessage_popup_collection_unittest.cc126 std::string id1 = AddNotification(); in TEST_F() local
131 EXPECT_TRUE(IsToastShown(id1)); in TEST_F()
138 EXPECT_TRUE(IsToastShown(id1)); in TEST_F()
141 MessageCenter::Get()->ClickOnNotificationButton(id1, 0); in TEST_F()
144 EXPECT_FALSE(IsToastShown(id1)); in TEST_F()
149 std::string id1 = AddNotification(); in TEST_F() local
153 EXPECT_TRUE(IsToastShown(id1)); in TEST_F()
158 GetWidget(id1)->CloseNow(); in TEST_F()
164 std::string id1 = AddNotification(); in TEST_F() local
176 EXPECT_TRUE(IsToastShown(id1)); in TEST_F()
[all …]
/external/libcxx/test/localization/locales/locale/locale.types/locale.id/
Did.pass.cpp27 std::locale::id id1; variable
35 assert(id1.__get() == id+1); in main()
36 assert(id1.__get() == id+1); in main()
37 assert(id1.__get() == id+1); in main()
44 assert(id1.__get() == id+1); in main()
45 assert(id1.__get() == id+1); in main()
46 assert(id1.__get() == id+1); in main()
/external/chromium_org/chrome/browser/extensions/activity_log/
Ddatabase_string_table_unittest.cc60 int64 id1; in TEST_F() local
62 ASSERT_TRUE(table.StringToInt(&db_, "string1", &id1)); in TEST_F()
64 ASSERT_NE(id1, id2); in TEST_F()
68 ASSERT_EQ(id1, id1a); in TEST_F()
77 int64 id1; in TEST_F() local
78 ASSERT_TRUE(table.StringToInt(&db_, "string1", &id1)); in TEST_F()
84 ASSERT_EQ(id1, id2); in TEST_F()
93 int64 id1; in TEST_F() local
94 ASSERT_TRUE(table.StringToInt(&db_, "modified", &id1)); in TEST_F()
101 ASSERT_EQ(id1, id2); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/chromeos/display/
Ddisplay_preferences_unittest.cc105 void StoreDisplayLayoutPrefForPair(int64 id1, in StoreDisplayLayoutPrefForPair() argument
110 base::Int64ToString(id1) + "," + base::Int64ToString(id2), in StoreDisplayLayoutPrefForPair()
111 layout, offset, id1); in StoreDisplayLayoutPrefForPair()
145 std::string GetRegisteredDisplayLayoutStr(int64 id1, int64 id2) { in GetRegisteredDisplayLayoutStr() argument
147 pair.first = id1; in GetRegisteredDisplayLayoutStr()
168 int64 id1 = gfx::Screen::GetNativeScreen()->GetPrimaryDisplay().id(); in TEST_F() local
171 ASSERT_NE(id1, dummy_id); in TEST_F()
173 StoreDisplayLayoutPrefForPair(id1, id2, ash::DisplayLayout::TOP, 20); in TEST_F()
174 StoreDisplayLayoutPrefForPair(id1, dummy_id, ash::DisplayLayout::LEFT, 30); in TEST_F()
192 EXPECT_EQ("top, 20", GetRegisteredDisplayLayoutStr(id1, id2)); in TEST_F()
[all …]
/external/chromium_org/ui/message_center/
Dnotification_list_unittest.cc134 std::string id1 = AddNotification(); in TEST_F() local
140 EXPECT_TRUE(notification_list()->GetNotificationById(id1)); in TEST_F()
141 EXPECT_FALSE(notification_list()->GetNotificationById(id1 + "foo")); in TEST_F()
146 notification_list()->MarkSinglePopupAsShown(id1, true); in TEST_F()
173 std::string id1 = AddNotification(); in TEST_F() local
180 notification_list()->MarkSinglePopupAsDisplayed(id1); in TEST_F()
209 NotifierId id1(NotifierId::APPLICATION, "ext1"); in TEST_F() local
249 id1, in TEST_F()
283 by_notifier_id = notification_list()->GetNotificationsByNotifierId(id1); in TEST_F()
444 std::string id1 = AddPriorityNotification(DEFAULT_PRIORITY); in TEST_F() local
[all …]
/external/chromium_org/chrome/browser/invalidation/
Dinvalidation_service_android_unittest.cc116 invalidation::ObjectId id1(1, "A"); in TEST_F() local
122 ids.insert(id1); in TEST_F()
126 EXPECT_TRUE(IsRegistered(id1)); in TEST_F()
133 EXPECT_TRUE(IsRegistered(id1)); in TEST_F()
136 ids.erase(id1); in TEST_F()
161 const std::string id1 = invalidation_service().GetInvalidatorClientId(); in TEST_F() local
162 ASSERT_FALSE(id1.empty()); in TEST_F()
166 ASSERT_EQ(id1, id2); in TEST_F()
Dinvalidator_storage_unittest.cc78 ObjectId id1(10, "object1"); in TEST_F() local
79 syncer::UnackedInvalidationSet storage1(id1); in TEST_F()
81 syncer::Invalidation::InitUnknownVersion(id1); in TEST_F()
83 syncer::Invalidation::Init(id1, 314, "payload"); in TEST_F()
/external/chromium_org/third_party/openssl/openssl/crypto/rc4/
Drc4_skey.c91 register int id1,id2; in private_RC4_set_key() local
98 id1=id2=0; in private_RC4_set_key()
102 id2 = (data[id1] + tmp + id2) & 0xff; \ in private_RC4_set_key()
103 if (++id1 == len) id1=0; \ in private_RC4_set_key()
/external/openssl/crypto/rc4/
Drc4_skey.c91 register int id1,id2; in private_RC4_set_key() local
98 id1=id2=0; in private_RC4_set_key()
102 id2 = (data[id1] + tmp + id2) & 0xff; \ in private_RC4_set_key()
103 if (++id1 == len) id1=0; \ in private_RC4_set_key()
/external/speex/libspeex/
Dfilterbank.c60 int id1; in filterbank_new() local
87 id1 = DIV32(mel,mel_interval); in filterbank_new()
89 id1 = (int)(floor(mel/mel_interval)); in filterbank_new()
91 if (id1>banks-2) in filterbank_new()
93 id1 = banks-2; in filterbank_new()
96 val = DIV32_16(mel - id1*mel_interval,EXTRACT16(PSHR32(mel_interval,15))); in filterbank_new()
98 id2 = id1+1; in filterbank_new()
99 bank->bank_left[i] = id1; in filterbank_new()
162 int id1, id2; in filterbank_compute_psd16() local
163 id1 = bank->bank_left[i]; in filterbank_compute_psd16()
[all …]
/external/strace/
Dkeyctl.c103 keyctl_handle_key_key(struct tcb *tcp, key_serial_t id1, key_serial_t id2) in keyctl_handle_key_key() argument
107 print_keyring_serial_number(id1); in keyctl_handle_key_key()
135 keyctl_keyring_search(struct tcb *tcp, key_serial_t id1, long addr1, in keyctl_keyring_search() argument
140 print_keyring_serial_number(id1); in keyctl_keyring_search()
163 keyctl_instantiate_key(struct tcb *tcp, key_serial_t id1, long addr, in keyctl_instantiate_key() argument
168 print_keyring_serial_number(id1); in keyctl_instantiate_key()
178 keyctl_instantiate_key_iov(struct tcb *tcp, key_serial_t id1, in keyctl_instantiate_key_iov() argument
183 print_keyring_serial_number(id1); in keyctl_instantiate_key_iov()
193 keyctl_negate_key(struct tcb *tcp, key_serial_t id1, unsigned timeout, in keyctl_negate_key() argument
198 print_keyring_serial_number(id1); in keyctl_negate_key()
[all …]
/external/chromium_org/extensions/common/
Devent_filter_unittest.cc115 int id1 = event_filter_.AddEventMatcher("event1", AllURLs()); in TEST_F() local
120 ASSERT_EQ(1u, matches.count(id1)); in TEST_F()
163 int id1 = event_filter_.AddEventMatcher("event1", AllURLs()); in TEST_F() local
166 event_filter_.RemoveEventMatcher(id1); in TEST_F()
176 int id1 = event_filter_.AddEventMatcher("event1", AllURLs()); in TEST_F() local
183 ASSERT_EQ(1u, matches.count(id1)); in TEST_F()
189 int id1 = event_filter_.AddEventMatcher("event1", AllURLs()); in TEST_F() local
193 event_filter_.RemoveEventMatcher(id1); in TEST_F()
200 int id1 = event_filter_.AddEventMatcher("event1", AllURLs()); in TEST_F() local
204 ASSERT_EQ("event1", event_filter_.RemoveEventMatcher(id1)); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/history/android/
Dandroid_cache_database_unittest.cc77 SearchTermID id1 = history_db_.AddSearchTerm(search_term1, search_time1); in TEST_F() local
78 ASSERT_TRUE(id1); in TEST_F()
80 ASSERT_EQ(id1, history_db_.GetSearchTerm(search_term1, &row1)); in TEST_F()
84 EXPECT_EQ(id1, row1.id); in TEST_F()
90 ASSERT_TRUE(history_db_.UpdateSearchTerm(id1, update_row1)); in TEST_F()
91 EXPECT_EQ(id1, history_db_.GetSearchTerm(update_row1.term, &row1)); in TEST_F()
95 EXPECT_EQ(id1, row1.id); in TEST_F()
/external/chromium_org/gpu/command_buffer/client/
Dmapped_memory_unittest.cc185 int32 id1 = -1; in TEST_F() local
187 void* mem1 = manager_->Alloc(kSize, &id1, &offset1); in TEST_F()
189 EXPECT_NE(-1, id1); in TEST_F()
197 EXPECT_EQ(id1, id2); in TEST_F()
296 int32 id1 = -1; in TEST_F() local
298 void* mem1 = manager_->Alloc(kSize, &id1, &offset1); in TEST_F()
308 EXPECT_NE(-1, id1); in TEST_F()
309 EXPECT_EQ(id1, id2); in TEST_F()
328 int32 id1 = -1; in TEST_F() local
330 void* mem1 = manager_->Alloc(kChunkSize, &id1, &offset1); in TEST_F()
[all …]
/external/chromium_org/components/invalidation/
Dinvalidator_test_template.h96 : id1(ipc::invalidation::ObjectSource::TEST, "a"), in InvalidatorTest()
118 const invalidation::ObjectId id1; variable
138 invalidation_map.Insert(Invalidation::Init(this->id1, 1, "1")); in TYPED_TEST_P()
147 ids.insert(this->id1); in TYPED_TEST_P()
155 expected_invalidations.Insert(Invalidation::Init(this->id1, 1, "1")); in TYPED_TEST_P()
162 ids.erase(this->id1); in TYPED_TEST_P()
211 ids.insert(this->id1); in TYPED_TEST_P()
240 invalidation_map.Insert(Invalidation::Init(this->id1, 1, "1")); in TYPED_TEST_P()
248 expected_invalidations.Insert(Invalidation::Init(this->id1, 1, "1")); in TYPED_TEST_P()
290 ids.insert(this->id1); in TYPED_TEST_P()
[all …]
Dinvalidation_service_test_template.h90 : id1(ipc::invalidation::ObjectSource::CHROME_SYNC, "BOOKMARK"), in InvalidationServiceTest()
105 const invalidation::ObjectId id1; variable
126 invalidation_map.Insert(syncer::Invalidation::Init(this->id1, 1, "1")); in TYPED_TEST_P()
135 ids.insert(this->id1); in TYPED_TEST_P()
144 expected_invalidations.Insert(syncer::Invalidation::Init(this->id1, 1, "1")); in TYPED_TEST_P()
151 ids.erase(this->id1); in TYPED_TEST_P()
202 ids.insert(this->id1); in TYPED_TEST_P()
233 invalidation_map.Insert(syncer::Invalidation::Init(this->id1, 1, "1")); in TYPED_TEST_P()
241 syncer::Invalidation::Init(this->id1, 1, "1")); in TYPED_TEST_P()
291 ids.insert(this->id1); in TYPED_TEST_P()
[all …]
/external/chromium_org/content/renderer/media/
Dwebrtc_identity_service_unittest.cc176 int id1 = RequestIdentity(); in TEST_F() local
181 id1, FAKE_CERTIFICATE, FAKE_PRIVATE_KEY)); in TEST_F()
194 int id1 = RequestIdentity(); in TEST_F() local
199 id1, FAKE_CERTIFICATE, FAKE_PRIVATE_KEY)); in TEST_F()
213 int id1 = RequestIdentity(); in TEST_F() local
215 service_->CancelRequest(id1); in TEST_F()
218 id1, FAKE_CERTIFICATE, FAKE_PRIVATE_KEY)); in TEST_F()
224 WebRTCIdentityHostMsg_RequestFailed(id1, FAKE_ERROR)); in TEST_F()
/external/chromium_org/v8/test/preparser/
Dduplicate-property.pyt35 replacement = {"id1": propa, "id2": propb, "name": name}
48 var o = {$id1: 42, $id2: 42};
52 var o = {$id1: 42, $id2: 42};
56 var o = {$id1: 42, get $id2(){}};
60 var o = {$id1: 42, set $id2(v){}};
64 var o = {get $id1(){}, $id2: 42};
68 var o = {set $id1(v){}, $id2: 42};
72 var o = {get $id1(){}, get $id2(){}};
76 var o = {set $id1(v){}, set $id2(v){}};
80 var o = {get $id1(){}, o: {get $id2(){} } };
[all …]
/external/chromium_org/components/metrics/
Dmachine_id_provider_win_unittest.cc15 std::string id1 = provider->GetMachineId(); in TEST() local
17 EXPECT_NE(std::string(), id1); in TEST()
20 EXPECT_EQ(id1, id2); in TEST()
/external/chromium_org/chrome/browser/net/
Dhttp_server_properties_manager_unittest.cc245 const net::SpdySettingsIds id1 = net::SETTINGS_UPLOAD_BANDWIDTH; in TEST_F() local
249 spdy_server_mail, id1, flags1, value1); in TEST_F()
257 net::SettingsMap::const_iterator it1_ret = settings_map1_ret.find(id1); in TEST_F()
271 const net::SpdySettingsIds id1 = net::SETTINGS_UPLOAD_BANDWIDTH; in TEST_F() local
275 spdy_server_mail, id1, flags1, value1); in TEST_F()
283 net::SettingsMap::const_iterator it1_ret = settings_map1_ret.find(id1); in TEST_F()
309 const net::SpdySettingsIds id1 = net::SETTINGS_UPLOAD_BANDWIDTH; in TEST_F() local
313 spdy_server_mail, id1, flags1, value1); in TEST_F()
321 net::SettingsMap::const_iterator it1_ret = settings_map1_ret.find(id1); in TEST_F()
370 const net::SpdySettingsIds id1 = net::SETTINGS_UPLOAD_BANDWIDTH; in TEST_F() local
[all …]

1234