Searched refs:iter (Results 1 - 25 of 51) sorted by relevance

123

/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/
H A Dsparse_weight_vector.cpp38 for (Witer_const iter = w_.begin();
39 iter != w_.end();
40 ++iter) {
41 if (isnanf(iter->second) || __isinff(iter->second))
52 for (Witer_const iter = w1.w_.begin();
53 iter != w1.w_.end();
54 ++iter) {
55 w_[iter->first] += ((multiplier * iter
[all...]
H A Dsparse_weight_vector.h177 Witer_const iter = w1.find(fname); local
178 if (iter != w1.end()) {
179 (*val) = iter->second;
194 for (typename SparseWeightVector<Key, Hash>::Witer_const iter = w_map.begin();
195 iter != w_map.end();
196 ++iter) {
197 stream << "<" << iter->first << ", " << iter->second << "> ";
/frameworks/compile/mclinker/unittests/
H A DSectionDataTest.cpp70 llvm::iplist<Fragment>::iterator iter=s->begin(); local
71 EXPECT_TRUE(Fragment::Alignment == iter->getKind());
72 ++iter;
73 EXPECT_TRUE(Fragment::Alignment == iter->getKind());
74 ++iter;
75 EXPECT_TRUE(Fragment::Region == iter->getKind());
76 ++iter;
77 EXPECT_TRUE(Fragment::Fillment == iter->getKind());
78 ++iter;
79 EXPECT_TRUE(Fragment::Relocation == iter
[all...]
H A DHashTableTest.cpp91 HashTableTy::iterator iter; local
92 iter = hashTable->find(NULL);
93 EXPECT_TRUE(iter==hashTable->end());
157 HashTableTy::iterator iter; local
161 iter = hashTable->find(key);
162 EXPECT_TRUE(iter == hashTable->end());
183 HashTableTy::iterator iter; local
185 iter = hashTable->find(key);
186 EXPECT_TRUE(iter == hashTable->end());
206 HashTableTy::iterator iter; local
241 HashTableTy::iterator iter; local
262 HashTableTy::iterator iter, iEnd = hashTable->end(); local
286 HashTableTy::chain_iterator iter, iEnd = hashTable->end(key*37); local
321 HashTableTy::chain_iterator iter, iEnd = hashTable->end(key); local
[all...]
/frameworks/base/core/java/android/webkit/
H A DUrlInterceptRegistry.java129 Iterator iter = getHandlers().listIterator();
130 while (iter.hasNext()) {
131 UrlInterceptHandler handler = (UrlInterceptHandler) iter.next();
157 Iterator iter = getHandlers().listIterator();
158 while (iter.hasNext()) {
159 UrlInterceptHandler handler = (UrlInterceptHandler) iter.next();
/frameworks/av/media/libmedia/
H A DIMediaDeathNotifier.cpp93 for (size_t iter = 0; iter < count; ++iter) {
94 sp<IMediaDeathNotifier> notifier = list[iter].promote();
H A DSoundPool.cpp132 List<SoundChannel* >::iterator iter = mStop.begin(); local
133 channel = *iter;
134 mStop.erase(iter);
147 List<SoundChannel*>::iterator iter = mRestart.begin(); local
148 channel = *iter;
149 mRestart.erase(iter);
282 List<SoundChannel*>::iterator iter; local
287 iter = mChannels.begin();
288 if (priority >= (*iter)->priority()) {
289 channel = *iter;
[all...]
/frameworks/compile/mclinker/lib/MC/
H A DSymbolCategory.cpp275 iterator iter = m_OutputSymbols.begin(); local
276 iter += m_pFile->size();
277 iter += m_pLocal->size();
278 return iter;
288 const_iterator iter = m_OutputSymbols.begin(); local
289 iter += m_pFile->size();
290 iter += m_pLocal->size();
291 return iter;
301 iterator iter = localEnd(); local
302 iter
313 const_iterator iter = localEnd(); local
[all...]
/frameworks/base/services/java/com/android/server/location/
H A DGeofenceManager.java146 Iterator<GeofenceState> iter = mFences.iterator();
147 while (iter.hasNext()) {
148 GeofenceState state = iter.next();
153 iter.remove();
157 iter.remove();
172 Iterator<GeofenceState> iter = mFences.iterator();
173 while (iter.hasNext()) {
174 GeofenceState state = iter.next();
176 iter.remove();
185 Iterator<GeofenceState> iter
[all...]
/frameworks/base/media/mca/filterfw/jni/
H A Djni_util.h124 typename CObjMap::const_iterator iter = objects_.find(obj_id); local
125 return iter == objects_.end() ? NULL : iter->second;
153 typename CObjMap::iterator iter = objects_.find(obj_id); local
154 const bool found = iter != objects_.end();
157 delete iter->second;
158 objects_.erase(iter);
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DActivityManagerTest.java117 Iterator<ActivityManager.ProcessErrorStateInfo> iter = errList.iterator();
118 while (iter.hasNext()) {
119 ActivityManager.ProcessErrorStateInfo info = iter.next();
/frameworks/base/media/mca/filterfw/native/base/
H A Dutilities.h116 typename std::set<T>::iterator iter = items_.find(item); local
117 if (iter != items_.end())
118 items_.erase(iter);
/frameworks/base/media/mca/filterpacks/native/base/
H A Dutilities.h116 typename std::set<T>::iterator iter = items_.find(item); local
117 if (iter != items_.end())
118 items_.erase(iter);
/frameworks/base/core/tests/coretests/src/android/net/
H A DUriTest.java668 Iterator<String> iter = names.iterator();
670 assertEquals("a", iter.next());
671 assertEquals("", iter.next());
672 assertEquals("c", iter.next());
678 Iterator<String> iter = names.iterator();
680 assertEquals("a", iter.next());
681 assertEquals("", iter.next());
682 assertEquals("c", iter.next());
688 Iterator<String> iter = names.iterator();
690 assertEquals("a", iter
[all...]
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/
H A Daccessorychat.c87 struct usb_descriptor_iter iter; local
104 struct usb_descriptor_iter iter; local
112 usb_descriptor_iter_init(device, &iter);
113 while ((desc = usb_descriptor_iter_next(&iter)) != NULL && (!intf || !ep1 || !ep2)) {
/frameworks/compile/mclinker/lib/LD/
H A DNamePool.cpp128 Table::iterator iter = m_Table.find(pName); local
129 return iter.getEntry();
135 Table::const_iterator iter = m_Table.find(pName); local
136 return iter.getEntry();
/frameworks/compile/mclinker/lib/Support/
H A DDirectory.cpp127 PathCache::iterator iter = m_Cache.begin();
128 if (NULL == iter.getEntry())
129 ++iter;
130 return iterator(this, iter);
/frameworks/base/core/java/android/net/http/
H A DRequestQueue.java423 Iterator<Map.Entry<HttpHost, LinkedList<Request>>> iter;
428 iter = mPending.entrySet().iterator();
429 while (iter.hasNext()) {
430 Map.Entry<HttpHost, LinkedList<Request>> entry = iter.next();
436 while (iter.hasNext()) {
437 Request request = (Request)iter.next();
526 Iterator<Map.Entry<HttpHost, LinkedList<Request>>> iter = requestQueue.entrySet().iterator();
527 if (iter.hasNext()) {
528 Map.Entry<HttpHost, LinkedList<Request>> entry = iter.next();
/frameworks/base/core/java/android/net/
H A DDnsPinger.java212 Iterator<ActivePing> iter = mActivePings.iterator();
213 while (iter.hasNext()) {
214 ActivePing curPing = iter.next();
218 iter.remove();
223 iter.remove();
/frameworks/base/core/jni/
H A Dandroid_util_Binder.cpp503 List< sp<JavaDeathRecipient> >::iterator iter; local
504 for (iter = mList.begin(); iter != mList.end(); iter++) {
505 (*iter)->warnIfStillLive();
520 List< sp<JavaDeathRecipient> >::iterator iter; local
521 for (iter = mList.begin(); iter != mList.end(); iter++) {
522 if (*iter
533 List< sp<JavaDeathRecipient> >::iterator iter; local
[all...]
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DTweener.java45 Iterator<Entry<Object, Tweener>> iter = sTweens.entrySet().iterator();
46 while (iter.hasNext()) {
47 Entry<Object, Tweener> entry = iter.next();
51 iter.remove();
/frameworks/base/media/mca/filterfw/native/core/
H A Dshader_program.cpp129 VertexAttribMap::const_iterator iter; local
130 for (iter = attrib_values_.begin(); iter != attrib_values_.end(); ++iter) {
131 const VertexAttrib& attrib = iter->second;
1050 for (VertexAttribMap::const_iterator iter = attrib_values_.begin();
1051 iter != attrib_values_.end();
1052 ++iter) {
1053 const VertexAttrib& attrib = iter->second;
1107 for (VertexAttribMap::const_iterator iter
[all...]
/frameworks/base/core/java/android/text/
H A DSelection.java372 Spannable text, PositionIterator iter, boolean extendSelection) {
373 final int offset = iter.preceding(getSelectionEnd(text));
386 Spannable text, PositionIterator iter, boolean extendSelection) {
387 final int offset = iter.following(getSelectionEnd(text));
371 moveToPreceding( Spannable text, PositionIterator iter, boolean extendSelection) argument
385 moveToFollowing( Spannable text, PositionIterator iter, boolean extendSelection) argument
/frameworks/base/core/jni/android/graphics/
H A DRegion.cpp140 SkRegion::Iterator iter(src);
142 for (; !iter.done(); iter.next()) {
144 scale_rect(&r, iter.rect(), scale);
/frameworks/base/voip/java/com/android/server/sip/
H A DSipWakeupTimer.java193 for (Iterator<MyEvent> iter = mEventQueue.iterator();
194 iter.hasNext();) {
195 MyEvent event = iter.next();
197 iter.remove();

Completed in 567 milliseconds

123