Lines Matching defs:it

11  * you can redistribute it and/or modify it under the terms of the GNU
13 * Foundation, in version 2 as it comes in the "COPYING" file of the
15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
87 * it shares data with is destroyed.
114 BandwidthGroupList::const_iterator it;
115 for (it = aThat->m->llBandwidthGroups->begin();
116 it != aThat->m->llBandwidthGroups->end();
117 ++it)
121 group->init(this, *it);
156 BandwidthGroupList::const_iterator it;
157 for (it = aThat->m->llBandwidthGroups->begin();
158 it != aThat->m->llBandwidthGroups->end();
159 ++it)
163 group->initCopy(this, *it);
196 /* peer is not modified, lock it for reading (aThat is "master" so locked
204 BandwidthGroupList::const_iterator it;
205 for (it = aThat->m->llBandwidthGroups->begin();
206 it != aThat->m->llBandwidthGroups->end();
207 ++it)
211 group->initCopy(this, *it);
227 BandwidthGroupList::const_iterator it;
235 for (it = m->llBandwidthGroups->begin();
236 it != m->llBandwidthGroups->end();
237 ++it)
239 if ( std::find(backedList->begin(), backedList->end(), *it)
241 (*it)->uninit();
249 for (it = m->llBandwidthGroups->begin();
250 it != m->llBandwidthGroups->end();
251 ++it)
252 (*it)->i_rollback();
259 BandwidthGroupList::const_iterator it;
272 for (it = m->llBandwidthGroups->begin();
273 it != m->llBandwidthGroups->end();
274 ++it)
276 (*it)->i_commit();
279 ComObjPtr<BandwidthGroup> peer = (*it)->i_getPeer();
283 * create a peer owning data this device share it with */
285 peer->init(m->pPeer, *it, true /* aReshare */);
292 /* and add it to the new list */
297 for (it = m->pPeer->m->llBandwidthGroups->begin();
298 it != m->pPeer->m->llBandwidthGroups->end();
299 ++it)
300 (*it)->uninit();
321 for (it = m->llBandwidthGroups->begin();
322 it != m->llBandwidthGroups->end();
323 ++it)
324 (*it)->i_commit();
330 * Called either from FinalRelease() or by the parent when it gets destroyed.
341 // uninit all groups on the list (it's a standard std::list not an ObjectsList
343 BandwidthGroupList::iterator it;
344 for (it = m->llBandwidthGroups->begin();
345 it != m->llBandwidthGroups->end();
346 ++it)
347 (*it)->uninit();
371 for (BandwidthGroupList::const_iterator it = m->llBandwidthGroups->begin();
372 it != m->llBandwidthGroups->end();
373 ++it)
375 if ((*it)->i_getName() == aName)
377 aBandwidthGroup = (*it);
440 /* We can remove it now. */
481 BandwidthGroupList::const_iterator it;
482 for (it = m->llBandwidthGroups->begin();
483 it != m->llBandwidthGroups->end();
484 ++it)
485 aBandwidthGroups.push_back(*it);
496 settings::BandwidthGroupList::const_iterator it;
497 for (it = data.llBandwidthGroups.begin();
498 it != data.llBandwidthGroups.end();
499 ++it)
501 const settings::BandwidthGroup &gr = *it;
516 BandwidthGroupList::const_iterator it;
517 for (it = m->llBandwidthGroups->begin();
518 it != m->llBandwidthGroups->end();
519 ++it)
521 AutoWriteLock groupLock(*it COMMA_LOCKVAL_SRC_POS);
524 group.strName = (*it)->i_getName();
525 group.enmType = (*it)->i_getType();
526 group.cMaxBytesPerSec = (*it)->i_getMaxBytesPerSec();