Lines Matching refs:flavor

89   template <typename T, hardware::MQFlavor flavor>
102 template <typename T, hardware::MQFlavor flavor>
116 template <typename T, hardware::MQFlavor flavor>
129 template <typename T, hardware::MQFlavor flavor>
147 template <typename T, hardware::MQFlavor flavor>
167 template <typename T, hardware::MQFlavor flavor>
183 template <typename T, hardware::MQFlavor flavor>
202 template <typename T, hardware::MQFlavor flavor>
222 template <typename T, hardware::MQFlavor flavor>
239 template <typename T, hardware::MQFlavor flavor>
254 template <typename T, hardware::MQFlavor flavor>
269 template <typename T, hardware::MQFlavor flavor>
284 template <typename T, hardware::MQFlavor flavor>
295 template <typename T, hardware::MQFlavor flavor>
312 template <typename T, hardware::MQFlavor flavor>
327 template <typename T, hardware::MQFlavor flavor>
340 template <typename T, hardware::MQFlavor flavor>
341 MessageQueue<T, flavor>* FindQueue(const string& data_type, QueueId queue_id);
352 template <typename T, hardware::MQFlavor flavor>
354 shared_ptr<MessageQueue<T, flavor>> queue_object);
367 template <typename T, hardware::MQFlavor flavor>
370 shared_ptr<MessageQueue<T, flavor>> new_queue( in CreateFmq()
371 new (std::nothrow) MessageQueue<T, flavor>(queue_size, blocking)); in CreateFmq()
372 return InsertQueue<T, flavor>(data_type, new_queue); in CreateFmq()
375 template <typename T, hardware::MQFlavor flavor>
378 MessageQueue<T, flavor>* queue_object = in CreateFmq()
379 FindQueue<T, flavor>(data_type, queue_id); in CreateFmq()
380 const hardware::MQDescriptor<T, flavor>* descriptor = queue_object->getDesc(); in CreateFmq()
387 shared_ptr<MessageQueue<T, flavor>> new_queue( in CreateFmq()
388 new (std::nothrow) MessageQueue<T, flavor>(*descriptor, reset_pointers)); in CreateFmq()
389 return InsertQueue<T, flavor>(data_type, new_queue); in CreateFmq()
392 template <typename T, hardware::MQFlavor flavor>
396 hardware::MQDescriptor<T, flavor>* descriptor_addr = in CreateFmq()
397 reinterpret_cast<hardware::MQDescriptor<T, flavor>*>(queue_desc_addr); in CreateFmq()
398 shared_ptr<MessageQueue<T, flavor>> new_queue( in CreateFmq()
399 new (std::nothrow) MessageQueue<T, flavor>(*descriptor_addr)); in CreateFmq()
403 return InsertQueue<T, flavor>(data_type, new_queue); in CreateFmq()
406 template <typename T, hardware::MQFlavor flavor>
409 MessageQueue<T, flavor>* queue_object = in ReadFmq()
410 FindQueue<T, flavor>(data_type, queue_id); in ReadFmq()
415 template <typename T, hardware::MQFlavor flavor>
419 if (flavor == kUnsynchronizedWrite) { in ReadFmqBlocking()
431 template <typename T, hardware::MQFlavor flavor>
438 if (flavor == kUnsynchronizedWrite) { in ReadFmqBlocking()
462 template <typename T, hardware::MQFlavor flavor>
465 MessageQueue<T, flavor>* queue_object = in WriteFmq()
466 FindQueue<T, flavor>(data_type, queue_id); in WriteFmq()
471 template <typename T, hardware::MQFlavor flavor>
475 if (flavor == kUnsynchronizedWrite) { in WriteFmqBlocking()
487 template <typename T, hardware::MQFlavor flavor>
494 if (flavor == kUnsynchronizedWrite) { in WriteFmqBlocking()
518 template <typename T, hardware::MQFlavor flavor>
521 MessageQueue<T, flavor>* queue_object = in AvailableToWrite()
522 FindQueue<T, flavor>(data_type, queue_id); in AvailableToWrite()
528 template <typename T, hardware::MQFlavor flavor>
531 MessageQueue<T, flavor>* queue_object = in AvailableToRead()
532 FindQueue<T, flavor>(data_type, queue_id); in AvailableToRead()
538 template <typename T, hardware::MQFlavor flavor>
541 MessageQueue<T, flavor>* queue_object = in GetQuantumSize()
542 FindQueue<T, flavor>(data_type, queue_id); in GetQuantumSize()
548 template <typename T, hardware::MQFlavor flavor>
551 MessageQueue<T, flavor>* queue_object = in GetQuantumCount()
552 FindQueue<T, flavor>(data_type, queue_id); in GetQuantumCount()
558 template <typename T, hardware::MQFlavor flavor>
560 MessageQueue<T, flavor>* queue_object = in IsValid()
561 FindQueue<T, flavor>(data_type, queue_id); in IsValid()
566 template <typename T, hardware::MQFlavor flavor>
569 MessageQueue<T, flavor>* queue_object = in GetEventFlagWord()
570 FindQueue<T, flavor>(data_type, queue_id); in GetEventFlagWord()
576 template <typename T, hardware::MQFlavor flavor>
579 MessageQueue<T, flavor>* queue_object = in GetQueueDescAddress()
580 FindQueue<T, flavor>(data_type, queue_id); in GetQueueDescAddress()
586 template <typename T, hardware::MQFlavor flavor>
587 MessageQueue<T, flavor>* VtsFmqDriver::FindQueue(const string& data_type, in FindQueue()
605 if (queue_info->queue_flavor != flavor) { // queue flavor incorrect in FindQueue()
606 LOG(ERROR) << "FMQ Driver: caller specified flavor " << flavor in FindQueue()
613 shared_ptr<MessageQueue<T, flavor>> queue_object = in FindQueue()
614 static_pointer_cast<MessageQueue<T, flavor>>(queue_info->queue_object); in FindQueue()
615 MessageQueue<T, flavor>* result = queue_object.get(); in FindQueue()
620 template <typename T, hardware::MQFlavor flavor>
622 const string& data_type, shared_ptr<MessageQueue<T, flavor>> queue_object) { in InsertQueue()
631 string(data_type), flavor, static_pointer_cast<void>(queue_object)}); in InsertQueue()