Lines Matching refs:iter
136 List<SoundChannel* >::iterator iter = mStop.begin(); in run() local
137 channel = *iter; in run()
138 mStop.erase(iter); in run()
151 List<SoundChannel*>::iterator iter = mRestart.begin(); in run() local
152 channel = *iter; in run()
153 mRestart.erase(iter); in run()
289 List<SoundChannel*>::iterator iter; in allocateChannel_l() local
294 for (iter = mChannels.begin(); iter != mChannels.end(); ++iter) { in allocateChannel_l()
295 if (sampleID == (*iter)->getPrevSampleID() && (*iter)->state() == SoundChannel::IDLE) { in allocateChannel_l()
296 channel = *iter; in allocateChannel_l()
297 mChannels.erase(iter); in allocateChannel_l()
306 iter = mChannels.begin(); in allocateChannel_l()
307 if (priority >= (*iter)->priority()) { in allocateChannel_l()
308 channel = *iter; in allocateChannel_l()
309 mChannels.erase(iter); in allocateChannel_l()
317 for (iter = mChannels.begin(); iter != mChannels.end(); ++iter) { in allocateChannel_l()
318 if (priority < (*iter)->priority()) { in allocateChannel_l()
322 mChannels.insert(iter, channel); in allocateChannel_l()
330 for (List<SoundChannel*>::iterator iter = mChannels.begin(); iter != mChannels.end(); ++iter) { in moveToFront_l() local
331 if (*iter == channel) { in moveToFront_l()
332 mChannels.erase(iter); in moveToFront_l()