Lines Matching defs:id
174 // Check if the id exists
218 fInfos[fCount].id = buffer->ID();
229 SharedBufferList::CheckID(sem_id groupSem, media_buffer_id id) const
233 if (id == 0)
235 if (id < 0)
239 if (fInfos[i].id == id
305 || (wantID != 0 && fInfos[i].id == wantID)) {
346 media_buffer_id id = buffer->ID();
354 // find the buffer id, and reclaim it in all groups it belongs to
355 if (fInfos[i].id == id) {
358 ERROR("SharedBufferList::RecycleBuffer, BBuffer %p, id = %"
359 B_PRId32 " already reclaimed\n", buffer, id);
372 ERROR("shared_buffer_list::RecycleBuffer, BBuffer %p, id = %" B_PRId32
373 " NOT reclaimed\n", buffer, id);
386 media_buffer_id id = buffer->ID();
394 // find the buffer id, and remove it in all groups it belongs to
395 if (fInfos[i].id == id) {
398 ERROR("SharedBufferList::RequestBuffer, BBuffer %p, id = %"
399 B_PRId32 " not reclaimed\n", buffer, id);
404 fInfos[i].id = -1;
413 ERROR("SharedBufferList::RemoveBuffer, BBuffer %p, id = %" B_PRId32
414 " not reclaimed\n", buffer, id);
463 fInfos[i].id = -1;
475 media_buffer_id id)
478 // find buffers with same id, but belonging to other groups
479 if (fInfos[i].id == id && fInfos[i].reclaim_sem != groupReclaimSem) {
495 "%p, id = %" B_PRId32 " not reclaimed while requesting\n",
496 fInfos[i].buffer, id);