HomeSort by relevance Sort by last modified time
    Searched refs:ids (Results 1 - 25 of 659) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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 27 GLuint id_offset, GLsizei n, GLuint* ids) OVERRIDE {
30 ids[ii] = id_allocator_.AllocateID();
34 ids[ii] = id_allocator_.AllocateIDAtOrAbove(id_offset);
35 id_offset = ids[ii] + 1;
43 GLsizei n, const GLuint* ids, DeleteFn delete_fn) OVERRIDE {
45 id_allocator_.FreeID(ids[ii]);
47 (gl_impl->*delete_fn)(n, ids);
49 // before any other contexts issue commands using these client ids.
75 // An id handler for ids that are never reused.
84 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 54 final ArrayList<Long> ids = new ArrayList<Long>(); // Account id array. local
57 // Kick ForEachAccount and collect IDs...
65 synchronized (ids) {
66 ids.add(accountId);
86 // Check the collected IDs.
87 synchronized (ids) {
88 assertEquals(2, ids.size());
89 // ids may not be sorted, so...
90 assertTrue(ids.contains(acct1.mId));
91 assertTrue(ids.contains(acct2.mId))
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/push_messaging/
push_messaging_invalidation_handler_unittest.cc 107 syncer::ObjectIdSet ids; local
108 ids.insert(invalidation::ObjectId(
111 ids.insert(invalidation::ObjectId(
118 for (syncer::ObjectIdSet::const_iterator it = ids.begin(); it != ids.end();
125 ids,
130 // Tests that malformed object IDs don't trigger spurious callbacks.
132 syncer::ObjectIdSet ids; local
134 ids.insert(invalidation::ObjectId(
138 ids.insert(invalidation::ObjectId
    [all...]
  /external/chromium_org/chrome/browser/ui/cocoa/
nine_part_button_cell.h 13 // constructor expects an array of 9 image resource ids. The images
14 // corresponding to the resource ids are assigned to a 3 by 3 grid in row major
26 // ids and sets the image of the cell.
27 - (id)initWithResourceIds:(const int[9])ids;
  /external/chromium_org/sync/notifier/
invalidator_test_template.h 127 // Initialize the invalidator, register a handler, register some IDs for that
130 // its IDs are registered.
143 // Should be ignored since no IDs are registered to |handler|.
147 ObjectIdSet ids; local
148 ids.insert(this->id1);
149 ids.insert(this->id2);
150 invalidator->UpdateRegisteredIds(&handler, ids);
163 ids.erase(this->id1);
164 ids.insert(this->id3);
165 invalidator->UpdateRegisteredIds(&handler, ids);
210 ObjectIdSet ids; local
217 ObjectIdSet ids; local
225 ObjectIdSet ids; local
288 ObjectIdSet ids; local
295 ObjectIdSet ids; local
    [all...]
ack_tracker_unittest.cc 153 ObjectIdSet ids; local
154 ids.insert(kIdOne);
157 ack_tracker_.Track(ids);
159 ack_tracker_.Track(ids);
160 ack_tracker_.Ack(ids);
165 ObjectIdSet ids; local
166 ids.insert(kIdOne);
169 ack_tracker_.Ack(ids);
174 ObjectIdSet ids; local
175 ids.insert(kIdOne)
188 ObjectIdSet ids; local
330 ObjectIdSet ids; local
    [all...]
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...]
ack_tracker.h 26 // A simple class that tracks sets of object IDs that have not yet been
27 // acknowledged. Internally, it manages timeouts for the tracked object IDs and
37 // |ids| contains all object IDs that have timed out in this time interval.
38 virtual void OnTimeout(const ObjectIdSet& ids) = 0;
47 // Equivalent to calling Ack() on all currently registered object IDs.
50 // Starts tracking timeouts for |ids|. Timeouts will be triggered for each
52 // performed; calling Track() twice on the same set of ids will result in two
53 // different timeouts being triggered for those ids.
54 void Track(const ObjectIdSet& ids);
74 ObjectIdSet ids; member in struct:syncer::AckTracker::Entry
    [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/chromium_org/chrome/common/extensions/manifest_handlers/
externally_connectable.cc 29 "'externally_connectable' specifies neither 'matches' nor 'ids'; "
161 std::vector<std::string> ids; local
164 if (externally_connectable->ids) {
166 externally_connectable->ids->begin();
167 it != externally_connectable->ids->end(); ++it) {
171 ids.push_back(*it);
181 !externally_connectable->ids) {
187 new ExternallyConnectableInfo(matches, ids, all_ids));
194 const std::vector<std::string>& ids,
196 : matches(matches), ids(Sorted(ids)), all_ids(all_ids) {
    [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/chromeos/input_method/
input_method_manager_impl_unittest.cc 378 std::vector<std::string> ids; local
379 ids.push_back("xkb:us:dvorak:eng");
380 ids.push_back("xkb:us:colemak:eng");
381 EXPECT_TRUE(manager_->EnableInputMethods(ids));
383 // Since all the IDs added avobe are keyboard layouts, Start() should not be
387 EXPECT_EQ(ids[0], manager_->GetCurrentInputMethod().id());
390 ids.erase(ids.begin());
391 EXPECT_TRUE(manager_->EnableInputMethods(ids));
394 EXPECT_EQ(ids[0], // colema
407 std::vector<std::string> ids; local
439 std::vector<std::string> ids; local
475 std::vector<std::string> ids; local
500 std::vector<std::string> ids; local
515 std::vector<std::string> ids; local
534 std::vector<std::string> ids; local
576 std::vector<std::string> ids; local
620 std::vector<std::string> ids; local
665 std::vector<std::string> ids; local
700 std::vector<std::string> ids; local
837 std::vector<std::string> ids; local
923 std::vector<std::string> ids; local
975 std::vector<std::string> ids; local
1059 std::vector<std::string> ids; local
1126 std::vector<std::string> ids; local
1145 std::vector<std::string> ids; local
1160 std::vector<std::string> ids; local
1181 std::vector<std::string> ids; local
1204 std::vector<std::string> ids; local
1227 std::vector<std::string> ids; local
1248 std::vector<std::string> ids; local
1291 std::vector<std::string> ids; local
1323 std::vector<std::string> ids; local
    [all...]
  /external/chromium_org/chrome/browser/invalidation/
invalidation_service_test_template.h 111 // Initialize the invalidator, register a handler, register some IDs for that
114 // its IDs are registered.
128 // Should be ignored since no IDs are registered to |handler|.
132 syncer::ObjectIdSet ids; local
133 ids.insert(this->id1);
134 ids.insert(this->id2);
135 invalidator->UpdateRegisteredInvalidationIds(&handler, ids);
149 ids.erase(this->id1);
150 ids.insert(this->id3);
151 invalidator->UpdateRegisteredInvalidationIds(&handler, ids);
198 syncer::ObjectIdSet ids; local
205 syncer::ObjectIdSet ids; local
213 syncer::ObjectIdSet ids; local
284 syncer::ObjectIdSet ids; local
291 syncer::ObjectIdSet ids; local
    [all...]
  /external/chromium_org/chrome/browser/ui/views/
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]);

Completed in 2908 milliseconds

1 2 3 4 5 6 7 8 91011>>