/external/antlr/antlr-3.4/runtime/Python/tests/ |
t039labels.py | 37 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[3].text == '1', ids[3 [all...] |
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
CameraCharacteristicsTest.java | 61 String[] ids = mCameraManager.getCameraIdList(); local 62 for (int i = 0; i < ids.length; i++) { 63 CameraCharacteristics props = mCameraManager.getCameraCharacteristics(ids[i]); 64 assertNotNull(String.format("Can't get camera characteristics from: ID %s", ids[i]), 74 ids[i], props)); 84 String[] ids = mCameraManager.getCameraIdList(); local 85 for (int i = 0; i < ids.length; i++) { 86 CameraCharacteristics props = mCameraManager.getCameraCharacteristics(ids[i]); 87 assertNotNull(String.format("Can't get camera characteristics from: ID %s", ids[i]), 97 ids[i], props)) 107 String[] ids = mCameraManager.getCameraIdList(); local 130 String[] ids = mCameraManager.getCameraIdList(); local 153 String[] ids = mCameraManager.getCameraIdList(); local 176 String[] ids = mCameraManager.getCameraIdList(); local 199 String[] ids = mCameraManager.getCameraIdList(); local 222 String[] ids = mCameraManager.getCameraIdList(); local 245 String[] ids = mCameraManager.getCameraIdList(); local 268 String[] ids = mCameraManager.getCameraIdList(); local 291 String[] ids = mCameraManager.getCameraIdList(); local 314 String[] ids = mCameraManager.getCameraIdList(); local 337 String[] ids = mCameraManager.getCameraIdList(); local 360 String[] ids = mCameraManager.getCameraIdList(); local 383 String[] ids = mCameraManager.getCameraIdList(); local 406 String[] ids = mCameraManager.getCameraIdList(); local 429 String[] ids = mCameraManager.getCameraIdList(); local 452 String[] ids = mCameraManager.getCameraIdList(); local 475 String[] ids = mCameraManager.getCameraIdList(); local 498 String[] ids = mCameraManager.getCameraIdList(); local 521 String[] ids = mCameraManager.getCameraIdList(); local 544 String[] ids = mCameraManager.getCameraIdList(); local 567 String[] ids = mCameraManager.getCameraIdList(); local 590 String[] ids = mCameraManager.getCameraIdList(); local 613 String[] ids = mCameraManager.getCameraIdList(); local 636 String[] ids = mCameraManager.getCameraIdList(); local 659 String[] ids = mCameraManager.getCameraIdList(); local 682 String[] ids = mCameraManager.getCameraIdList(); local 709 String[] ids = mCameraManager.getCameraIdList(); local 736 String[] ids = mCameraManager.getCameraIdList(); local 759 String[] ids = mCameraManager.getCameraIdList(); local 782 String[] ids = mCameraManager.getCameraIdList(); local 805 String[] ids = mCameraManager.getCameraIdList(); local 828 String[] ids = mCameraManager.getCameraIdList(); local 851 String[] ids = mCameraManager.getCameraIdList(); local 874 String[] ids = mCameraManager.getCameraIdList(); local 897 String[] ids = mCameraManager.getCameraIdList(); local 920 String[] ids = mCameraManager.getCameraIdList(); local 943 String[] ids = mCameraManager.getCameraIdList(); local [all...] |
CameraManagerTest.java | 75 String[] ids = mCameraManager.getCameraIdList(); local 76 if (VERBOSE) Log.v(TAG, "CameraManager ids: " + Arrays.toString(ids)); 83 ids.length == 0 || 90 for (int i = 0; i < ids.length; i++) { 91 CameraCharacteristics props = mCameraManager.getCameraCharacteristics(ids[i]); 92 assertNotNull("Can't get camera characteristics for camera " + ids[i], props); 111 ids.length == 0 114 ids.length == 0 121 String[] ids = mCameraManager.getCameraIdList() local 131 String[] ids = mCameraManager.getCameraIdList(); local 150 String[] ids = mCameraManager.getCameraIdList(); local 166 String[] ids = mCameraManager.getCameraIdList(); local 203 String[] ids = mCameraManager.getCameraIdList(); local [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_open/ |
background.js | 6 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.indexOf(delta.id), 1) [all...] |
/external/chromium_org/ui/views/focus/ |
view_storage.cc | 43 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 = ids_iter->second local [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/audio/ |
AudioStream.java | 56 protected int[] ids; field in class:AudioStream 62 protected AudioStream(int[] ids){ 67 this.ids = ids; 126 ids = new int[count]; 130 return ids[index]; 134 ids[index] = id; 138 return ids; 141 public void setIds(int[] ids){ 142 this.ids = ids [all...] |
/libcore/luni/src/test/java/libcore/icu/ |
TimeZoneNamesTest.java | 26 String[] ids = TimeZoneNames.forLocale(Locale.CANADA); local 27 // Check that we got some ids. 28 assertTrue(ids.length > 0); 31 for (String id : ids) { 35 int toronto = linearSearch(ids, "America/Toronto"); 37 int atikokan = linearSearch(ids, "America/Atikokan"); 53 String[] ids = TimeZoneNames.forLocale(Locale.KOREA); 54 assertEquals("Asia/Seoul", ids[0]); 55 assertEquals(1, ids.length);
|
/external/chromium_org/gpu/command_buffer/client/ |
share_group.cc | 28 GLuint id_offset, GLsizei n, GLuint* ids) OVERRIDE { 31 ids[ii] = id_allocator_.AllocateID(); 35 ids[ii] = id_allocator_.AllocateIDAtOrAbove(id_offset); 36 id_offset = ids[ii] + 1; 44 GLsizei n, const GLuint* ids, DeleteFn delete_fn) OVERRIDE { 46 id_allocator_.FreeID(ids[ii]); 48 (gl_impl->*delete_fn)(n, ids); 50 // before any other contexts issue commands using these client ids. 76 // An id handler for ids that are never reused. 85 GLuint id_offset, GLsizei n, GLuint* ids) OVERRIDE [all...] |
share_group.h | 21 typedef void (GLES2Implementation::*DeleteFn)(GLsizei n, const GLuint* ids); 29 // Makes some ids at or above id_offset. 32 GLuint id_offset, GLsizei n, GLuint* ids) = 0; 34 // Frees some ids. 36 GLES2Implementation* gl_impl, GLsizei n, const GLuint* ids,
|
/packages/apps/Email/tests/src/com/android/email/ |
UtilityLargeTest.java | 56 final ArrayList<Long> ids = new ArrayList<Long>(); // Account id array. local 59 // Kick ForEachAccount and collect IDs... 67 synchronized (ids) { 68 ids.add(accountId); 88 // Check the collected IDs. 89 synchronized (ids) { 90 assertEquals(2, ids.size()); 91 // ids may not be sorted, so... 92 assertTrue(ids.contains(acct1.mId)); 93 assertTrue(ids.contains(acct2.mId)) [all...] |
/external/chromium_org/chrome/browser/chromeos/input_method/ |
input_method_manager_impl_unittest.cc | 338 std::vector<std::string> ids; local 339 ids.push_back("xkb:us:dvorak:eng"); 340 ids.push_back("xkb:us:colemak:eng"); 341 EXPECT_TRUE(manager_->EnableInputMethods(ids)); 343 // Since all the IDs added avobe are keyboard layouts, Start() should not be 346 EXPECT_EQ(ids[0], manager_->GetCurrentInputMethod().id()); 349 ids.erase(ids.begin()); 350 EXPECT_TRUE(manager_->EnableInputMethods(ids)); 353 EXPECT_EQ(ids[0], // colema 365 std::vector<std::string> ids; local 396 std::vector<std::string> ids; local 422 std::vector<std::string> ids; local 445 std::vector<std::string> ids; local 459 std::vector<std::string> ids; local 477 std::vector<std::string> ids; local 518 std::vector<std::string> ids; local 558 std::vector<std::string> ids; local 607 std::vector<std::string> ids; local 634 std::vector<std::string> ids; local 766 std::vector<std::string> ids; local 849 std::vector<std::string> ids; local 900 std::vector<std::string> ids; local 983 std::vector<std::string> ids; local 1053 std::vector<std::string> ids; local 1066 std::vector<std::string> ids; local 1084 std::vector<std::string> ids; local 1103 std::vector<std::string> ids; local 1122 std::vector<std::string> ids; local 1139 std::vector<std::string> ids; local [all...] |
/external/chromium_org/sync/notifier/ |
registration_manager_unittest.cc | 49 // object IDs. 110 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. 236 // new IDs and unregister any IDs no longer in the set. 238 ObjectIdSet ids = GetSequenceOfIds(kObjectIdsCount - 1) local 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...] |
invalidator_test_template.h | 126 // Initialize the invalidator, register a handler, register some IDs for that 129 // its IDs are registered. 142 // Should be ignored since no IDs are registered to |handler|. 146 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 217 ObjectIdSet ids; local 225 ObjectIdSet ids; local 289 ObjectIdSet ids; local 296 ObjectIdSet ids; local [all...] |
/external/chromium_org/chrome/browser/invalidation/ |
invalidation_service_android_unittest.cc | 23 virtual void SetRegisteredObjectIds(const syncer::ObjectIdSet& ids) OVERRIDE { 24 registered_ids_ = ids; 123 syncer::ObjectIdSet ids; local 127 ids.insert(id1); 128 ids.insert(id2); 129 invalidation_service().UpdateRegisteredInvalidationIds(&handler, ids); 135 ids.erase(id2); 136 invalidation_service().UpdateRegisteredInvalidationIds(&handler, ids); 141 ids.erase(id1); 142 invalidation_service().UpdateRegisteredInvalidationIds(&handler, ids); [all...] |
invalidation_service_test_template.h | 113 // Initialize the invalidator, register a handler, register some IDs for that 116 // its IDs are registered. 130 // Should be ignored since no IDs are registered to |handler|. 134 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 208 syncer::ObjectIdSet ids; local 216 syncer::ObjectIdSet ids; local 290 syncer::ObjectIdSet ids; local 297 syncer::ObjectIdSet ids; local [all...] |
/external/marisa-trie/tests/ |
trie-test.cc | 132 std::vector<marisa::UInt32> ids; local 133 ASSERT(trie.find("ap", &ids) == 0); 134 ASSERT(trie.find("applex", &ids) == 2); 135 ASSERT(ids.size() == 2); 136 ASSERT(ids[0] == trie["app"]); 137 ASSERT(ids[1] == trie["apple"]); 140 ASSERT(trie.find("Baddie", &ids, &lengths) == 1); 141 ASSERT(ids.size() == 3); 142 ASSERT(ids[2] == trie["Bad"]); 146 ASSERT(trie.find_callback("anderson", FindCallback(&ids, &lengths)) == 1) 336 std::vector<marisa::UInt32> ids; local 374 marisa::UInt32 ids[10]; local 534 std::vector<marisa::UInt32> ids; local 621 std::vector<marisa::UInt32> ids; local [all...] |
/external/marisa-trie/v0_1_5/tests/ |
trie-test.cc | 134 std::vector<marisa_alpha::UInt32> ids; local 135 ASSERT(trie.find("ap", &ids) == 0); 136 ASSERT(trie.find("applex", &ids) == 2); 137 ASSERT(ids.size() == 2); 138 ASSERT(ids[0] == trie["app"]); 139 ASSERT(ids[1] == trie["apple"]); 142 ASSERT(trie.find("Baddie", &ids, &lengths) == 1); 143 ASSERT(ids.size() == 3); 144 ASSERT(ids[2] == trie["Bad"]); 148 ASSERT(trie.find_callback("anderson", FindCallback(&ids, &lengths)) == 1) 338 std::vector<marisa_alpha::UInt32> ids; local 376 marisa_alpha::UInt32 ids[10]; local 552 std::vector<marisa_alpha::UInt32> ids; local 641 std::vector<marisa_alpha::UInt32> ids; local [all...] |
/external/libmtp/examples/ |
newplaylist.c | 41 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); 77 printf("You need to supply one or more track IDs\n"); 92 playlist->tracks = ids;
|
/frameworks/wilhelm/tests/sandbox/ |
srcsink.c | 63 SLInterfaceID ids[1] = {SL_IID_BUFFERQUEUE}; local 67 &audioSnk, 1, ids, req); 74 &audioSnk, 1, ids, req); 86 &audioSnk, 1, ids, req); 98 &audioSnk, 1, ids, req); 111 &audioSnk, 1, ids, req); 116 &audioSnk, 1, ids, req); 124 &audioSnk, 1, ids, req); 129 &audioSnk, 1, ids, req); 137 &audioSnk, 1, ids, req) [all...] |
/external/iptables/extensions/ |
libip6t_frag.c | 31 .flags = XTOPT_INVERT | XTOPT_PUT, XTOPT_POINTER(s, ids)}, 52 fraginfo->ids[1] = fraginfo->ids[0]; 90 print_ids("id", frag->ids[0], frag->ids[1], 120 if (!(fraginfo->ids[0] == 0 121 && fraginfo->ids[1] == 0xFFFFFFFF)) { 124 if (fraginfo->ids[0] 125 != fraginfo->ids[1]) 127 fraginfo->ids[0] [all...] |
/external/chromium_org/chrome/browser/extensions/ |
install_verifier.cc | 166 signature_->ids.size()); 187 ExtensionIdSet ids; local 188 ids.insert(id); 189 AddMany(ids, callback); 192 void InstallVerifier::AddMany(const ExtensionIdSet& ids, 202 base::STLSetDifference<ExtensionIdSet>(ids, signature_->ids); 213 operation->ids.insert(ids.begin(), ids.end()) 229 ExtensionIdSet ids; local [all...] |
/external/chromium_org/chrome/browser/ui/views/toolbar/ |
toolbar_view_browsertest.cc | 44 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]);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_RawContactsTest.java | 132 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); local 134 ids.mRawContactId); 139 RawContactUtil.delete(mResolver, ids.mRawContactId, true); 143 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); local 145 long baseTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); 149 RawContactUtil.update(mResolver, ids.mRawContactId, values); 151 long newTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); 155 RawContactUtil.delete(mResolver, ids.mRawContactId, true); 159 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); local 161 long baseTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId) 172 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); local [all...] |
/bionic/libc/kernel/common/linux/netfilter_ipv6/ |
ip6t_frag.h | 24 u_int32_t ids[2]; member in struct:ip6t_frag
|
/development/ndk/platforms/android-3/include/linux/netfilter_ipv6/ |
ip6t_frag.h | 17 u_int32_t ids[2]; member in struct:ip6t_frag
|