/third_party/ffmpeg/libavfilter/dnn/ |
H A D | queue.h | 29 typedef struct Queue Queue; typedef 32 * @brief Create a Queue instance. 33 * It initializes the length of the Queue as 0. 35 * @return Pointer to the Queue 38 Queue *ff_queue_create(void); 41 * @brief Destroy the Queue instance. 42 * It also frees all elements of the Queue. 44 void ff_queue_destroy(Queue *q); 47 * @brief Return the length of the Queue [all...] |
H A D | queue.c | 33 struct Queue { struct 47 Queue* ff_queue_create(void) in ff_queue_create() 49 Queue *q = av_malloc(sizeof(*q)); in ff_queue_create() 72 void ff_queue_destroy(Queue *q) in ff_queue_destroy() 88 size_t ff_queue_size(Queue *q) in ff_queue_size() 93 void *ff_queue_peek_front(Queue *q) in ff_queue_peek_front() 101 void *ff_queue_peek_back(Queue *q) in ff_queue_peek_back() 109 int ff_queue_push_front(Queue *q, void *v) in ff_queue_push_front() 130 int ff_queue_push_back(Queue *q, void *v) in ff_queue_push_back() 151 void *ff_queue_pop_front(Queue * [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
H A D | LatencyPriorityQueue.cpp | 84 Queue.push_back(SU); in push() 122 std::vector<SUnit *>::iterator Best = Queue.begin(); in pop() 123 for (std::vector<SUnit *>::iterator I = std::next(Queue.begin()), in pop() 124 E = Queue.end(); I != E; ++I) in pop() 128 if (Best != std::prev(Queue.end())) in pop() 129 std::swap(*Best, Queue.back()); in pop() 130 Queue.pop_back(); in pop() 135 assert(!Queue.empty() && "Queue is empty!"); in remove() 136 std::vector<SUnit *>::iterator I = find(Queue, S in remove() [all...] |
H A D | RegAllocBasic.cpp | 69 CompSpillWeight> Queue; member in __anon24086::RABasic 92 Queue.push(LI); 96 if (Queue.empty()) 98 LiveInterval *LI = Queue.top(); 99 Queue.pop();
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/HardwareUnits/ |
H A D | RetireControlUnit.cpp | 37 Queue.resize(2 * NumROBEntries); in RetireControlUnit() 47 Queue[NextAvailableSlotIdx] = {IR, Entries, false}; in dispatch() 49 NextAvailableSlotIdx %= Queue.size(); in dispatch() 56 const RetireControlUnit::RUToken &Current = Queue[CurrentInstructionSlotIdx]; in getCurrentToken() 67 return NextSlotIdx % Queue.size(); in computeNextSlotIdx() 71 return Queue[computeNextSlotIdx()]; in peekNextToken() 75 RetireControlUnit::RUToken &Current = Queue[CurrentInstructionSlotIdx]; in consumeCurrentToken() 80 CurrentInstructionSlotIdx %= Queue.size(); in consumeCurrentToken() 86 assert(Queue.size() > TokenID); in onInstructionExecuted() 87 assert(Queue[TokenI in onInstructionExecuted() [all...] |
/third_party/python/Lib/test/test_asyncio/ |
H A D | test_queues.py | 15 """Test Queue's repr or str. 17 fn is repr or str. expect_id is True if we expect the Queue's id to 18 appear in fn(Queue()). 20 q = asyncio.Queue() 21 self.assertTrue(fn(q).startswith('<Queue'), fn(q)) 26 q = asyncio.Queue() 39 q = asyncio.Queue(maxsize=1) 52 q = asyncio.Queue() 63 q = asyncio.Queue[int] 68 q = asyncio.Queue() [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
H A D | QueueVk.cpp | 31 Queue* Queue::Create(Device* device) { in Create() 32 return new Queue(device); in Create() 35 Queue::Queue(Device* device) : QueueBase(device) { in Queue() function in dawn_native::vulkan::Queue 38 Queue::~Queue() { in ~Queue() 41 MaybeError Queue::SubmitImpl(uint32_t commandCount, CommandBufferBase* const* commands) { in SubmitImpl()
|
H A D | QueueVk.h | 18 #include "dawn_native/Queue.h" 24 class Queue final : public QueueBase { 26 static Queue* Create(Device* device); 29 Queue(Device* device); 30 ~Queue() override;
|
/third_party/googletest/googletest/samples/ |
H A D | sample3-inl.h | 37 // Queue is a simple queue implemented as a singled-linked list. 41 class Queue; 43 // QueueNode is a node in a Queue, which consists of an element of 47 friend class Queue<E>; 72 class Queue { class 75 Queue() : head_(nullptr), last_(nullptr), size_(0) {} in Queue() function in Queue 78 ~Queue() { Clear(); } in ~Queue() 151 Queue* Map(F function) const { in Map() 152 Queue* new_queue = new Queue(); in Map() [all...] |
H A D | sample3_unittest.cc | 89 // A helper function for testing Queue::Map(). 90 void MapTester(const Queue<int>* q) { in MapTester() 93 const Queue<int>* const new_q = q->Map(Double); in MapTester() 108 Queue<int> q0_; 109 Queue<int> q1_; 110 Queue<int> q2_; 140 // Tests the Queue::Map() function.
|
H A D | sample5_unittest.cc | 157 Queue<int> q0_; 158 Queue<int> q1_; 159 Queue<int> q2_;
|
/third_party/skia/third_party/externals/dawn/src/dawn_wire/client/ |
H A D | Queue.cpp | 15 #include "dawn_wire/client/Queue.h" 22 Queue::~Queue() { in ~Queue() 26 bool Queue::OnWorkDoneCallback(uint64_t requestSerial, WGPUQueueWorkDoneStatus status) { in OnWorkDoneCallback() 36 void Queue::OnSubmittedWorkDone(uint64_t signalValue, in OnSubmittedWorkDone() 54 void Queue::WriteBuffer(WGPUBuffer cBuffer, in WriteBuffer() 70 void Queue::WriteTexture(const WGPUImageCopyTexture* destination, in WriteTexture() 86 void Queue::CancelCallbacksForDisconnect() { in CancelCallbacksForDisconnect() 90 void Queue::ClearAllCallbacks(WGPUQueueWorkDoneStatus status) { in ClearAllCallbacks()
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
H A D | VkQueue.cpp | 34 Queue::SubmitInfo *Queue::DeepCopySubmitInfo(uint32_t submitCount, const VkSubmitInfo *pSubmits) in DeepCopySubmitInfo() 167 Queue::Queue(Device *device, marl::Scheduler *scheduler) in Queue() function in vk::Queue 170 queueThread = std::thread(&Queue::taskLoop, this, scheduler); in Queue() 173 Queue::~Queue() in ~Queue() 185 VkResult Queue::submit(uint32_t submitCount, const VkSubmitInfo *pSubmits, Fence *fence) in submit() 203 void Queue::submitQueue(const Task &task) in submitQueue() 272 void Queue [all...] |
H A D | VkQueue.hpp | 40 class Queue class 45 Queue(Device *device, marl::Scheduler *scheduler); 46 ~Queue(); 105 static inline Queue *Cast(VkQueue object) in Cast() 107 return reinterpret_cast<Queue *>(object); in Cast()
|
/third_party/node/deps/v8/tools/testrunner/local/ |
H A D | pool.py | 7 from multiprocessing import Process, Queue namespace 16 from Queue import Empty # Python 2 26 global Queue 28 del Queue 31 from queue import Queue # Python 3 namespace 33 from Queue import Queue # Python 2 namespace 36 # Monkeypatch threading Queue to look like multiprocessing Queue. 37 Queue [all...] |
/third_party/python/Lib/multiprocessing/dummy/ |
H A D | connection.py | 12 from queue import Queue namespace 21 self._backlog_queue = Queue(backlog) 41 _in, _out = Queue(), Queue() 47 a, b = Queue(), Queue()
|
/third_party/rust/crates/bindgen/bindgen/ir/ |
H A D | traversal.rs | 374 pub struct ItemTraversal<'ctx, Storage, Queue> 377 Queue: TraversalQueue, 385 queue: Queue, 394 impl<'ctx, Storage, Queue> ItemTraversal<'ctx, Storage, Queue> 397 Queue: TraversalQueue, 404 ) -> ItemTraversal<'ctx, Storage, Queue> in new() 409 let mut queue = Queue::default(); in new() 426 impl<'ctx, Storage, Queue> Tracer for ItemTraversal<'ctx, Storage, Queue> [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
H A D | ResourcePriorityQueue.cpp | 234 Queue.push_back(SU); in push() 590 std::vector<SUnit *>::iterator Best = Queue.begin(); in pop() 593 for (auto I = std::next(Queue.begin()), E = Queue.end(); I != E; ++I) { in pop() 603 for (auto I = std::next(Queue.begin()), E = Queue.end(); I != E; ++I) in pop() 609 if (Best != std::prev(Queue.end())) in pop() 610 std::swap(*Best, Queue.back()); in pop() 612 Queue.pop_back(); in pop() 619 assert(!Queue in remove() [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
H A D | QueueGL.cpp | 26 Queue::Queue(Device* device) : QueueBase(device) { in Queue() function in dawn_native::opengl::Queue 29 MaybeError Queue::SubmitImpl(uint32_t commandCount, CommandBufferBase* const* commands) { in SubmitImpl() 42 MaybeError Queue::WriteBufferImpl(BufferBase* buffer, in WriteBufferImpl() 55 MaybeError Queue::WriteTextureImpl(const ImageCopyTexture& destination, in WriteTextureImpl()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
H A D | cordz_handle.h | 84 struct Queue { struct in absl::cord_internal::CordzHandle 85 constexpr explicit Queue(absl::ConstInitType) in Queue() function 111 ABSL_CONST_INIT static Queue global_queue_; 112 Queue* const queue_ = &global_queue_;
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
H A D | QueueD3D12.cpp | 29 Queue::Queue(Device* device) : QueueBase(device) { in Queue() function in dawn_native::d3d12::Queue 32 MaybeError Queue::SubmitImpl(uint32_t commandCount, CommandBufferBase* const* commands) { in SubmitImpl()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
H A D | MachineScheduler.h | 530 std::vector<SUnit*> Queue; member in llvm::ReadyQueue 542 bool empty() const { return Queue.empty(); } in empty() 544 void clear() { Queue.clear(); } in clear() 546 unsigned size() const { return Queue.size(); } in size() 550 iterator begin() { return Queue.begin(); } in begin() 552 iterator end() { return Queue.end(); } in end() 554 ArrayRef<SUnit*> elements() { return Queue; } in elements() 556 iterator find(SUnit *SU) { return llvm::find(Queue, SU); } in find() 559 Queue.push_back(SU); in push() 565 *I = Queue in remove() [all...] |
/third_party/python/Doc/includes/ |
H A D | mp_workers.py | 4 from multiprocessing import Process, Queue, current_process, freeze_support namespace 46 task_queue = Queue() 47 done_queue = Queue()
|
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/ |
H A D | Util.hpp | 29 void endSingleTimeCommands(vk::Device device, vk::CommandPool commandPool, vk::Queue queue, vk::CommandBuffer commandBuffer); 31 void transitionImageLayout(vk::Device device, vk::CommandPool commandPool, vk::Queue queue, vk::Image image, vk::Format format, vk::ImageLayout oldLayout, vk::ImageLayout newLayout); 33 void copyBufferToImage(vk::Device device, vk::CommandPool commandPool, vk::Queue queue, vk::Buffer buffer, vk::Image image, uint32_t width, uint32_t height);
|
/third_party/python/Lib/multiprocessing/ |
H A D | queues.py | 10 __all__ = ['Queue', 'SimpleQueue', 'JoinableQueue'] 32 # Queue type using a pipe, buffer and thread 35 class Queue(object): class 55 register_after_fork(self, Queue._after_fork) 68 debug('Queue._after_fork()') 88 raise ValueError(f"Queue {self!r} is closed") 100 raise ValueError(f"Queue {self!r} is closed") 148 debug('Queue.join_thread()') 149 assert self._closed, "Queue {0!r} not closed".format(self) 154 debug('Queue [all...] |