Searched defs:Queue (Results 1 - 19 of 19) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
H A DQueue.py11 __all__ = ['Empty', 'Full', 'Queue', 'PriorityQueue', 'LifoQueue']
14 "Exception raised by Queue.get(block=0)/get_nowait()."
18 "Exception raised by Queue.put(block=0)/put_nowait()."
21 class Queue: class in inherits:
48 Used by Queue consumer threads. For each get() used to fetch a task,
71 """Blocks until all items in the Queue have been gotten and processed.
212 class PriorityQueue(Queue):
213 '''Variant of Queue that retrieves open entries in priority order (lowest first).
231 class LifoQueue(Queue):
232 '''Variant of Queue tha
[all...]
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/
H A DPs2KbdTextIn.c22 @param Queue Pointer to instance of EFI_KEY_QUEUE.
29 IN EFI_KEY_QUEUE *Queue
32 return (BOOLEAN) (Queue->Head == Queue->Tail);
38 @param Queue Pointer to instance of EFI_KEY_QUEUE.
46 IN EFI_KEY_QUEUE *Queue,
50 if (IsEfikeyBufEmpty (Queue)) {
57 CopyMem (KeyData, &Queue->Buffer[Queue->Head], sizeof (EFI_KEY_DATA));
59 Queue
45 PopEfikeyBufHead( IN EFI_KEY_QUEUE *Queue, OUT EFI_KEY_DATA *KeyData OPTIONAL ) argument
70 PushEfikeyBufTail( IN EFI_KEY_QUEUE *Queue, IN EFI_KEY_DATA *KeyData ) argument
[all...]
H A DPs2KbdCtrller.c573 @param Queue Pointer to instance of SCAN_CODE_QUEUE.
579 IN SCAN_CODE_QUEUE *Queue
582 if (Queue->Head <= Queue->Tail) {
583 return Queue->Tail - Queue->Head;
585 return Queue->Tail + KEYBOARD_SCAN_CODE_MAX_COUNT - Queue->Head;
594 @param Queue Pointer to instance of SCAN_CODE_QUEUE.
603 IN SCAN_CODE_QUEUE *Queue,
602 GetScancodeBufHead( IN SCAN_CODE_QUEUE *Queue, IN UINTN Count, OUT UINT8 *Buf ) argument
640 PopScancodeBufHead( IN SCAN_CODE_QUEUE *Queue, IN UINTN Count, OUT UINT8 *Buf OPTIONAL ) argument
673 PushScancodeBufTail( IN SCAN_CODE_QUEUE *Queue, IN UINT8 Scancode ) argument
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
H A Dtest_dummy_thread.py10 import Queue namespace
128 testing_queue = Queue.Queue(1)
152 testing_queue = Queue.Queue(thread_count)
H A Dtest_queue.py2 # to ensure the Queue locks remain stable.
3 import Queue namespace
11 # A thread to run a function that unclogs a blocked Queue.
94 target_order = dict(Queue = [111, 333, 222],
102 self.assertTrue(not q.empty(), "Queue should not be empty")
103 self.assertTrue(not q.full(), "Queue should not be full")
107 self.assertTrue(q.full(), "Queue should be full")
111 except Queue.Full:
116 except Queue.Full:
124 self.assertTrue(q.empty(), "Queue shoul
[all...]
H A Dtest_telnetlib.py4 import Queue namespace
101 self.dataq = Queue.Queue()
H A Dregrtest.py486 from Queue import Queue namespace
489 output = Queue()
H A Dtest_codecs.py6 class Queue(object): class in inherits:object
32 q = Queue()
191 q = Queue()
1362 q = Queue()
1368 q = Queue()
H A Dtest_multiprocessing.py8 import Queue namespace
174 q = self.Queue(1)
361 queue = self.Queue(maxsize=MAXSIZE)
391 self.assertRaises(Queue.Full, put, 7, False)
394 self.assertRaises(Queue.Full, put, 7, False, None)
397 self.assertRaises(Queue.Full, put_nowait, 7)
400 self.assertRaises(Queue.Full, put, 7, True, TIMEOUT1)
403 self.assertRaises(Queue.Full, put, 7, False, TIMEOUT2)
406 self.assertRaises(Queue.Full, put, 7, True, timeout=TIMEOUT3)
428 queue = self.Queue()
[all...]
H A Dtest_socket.py11 import Queue namespace
123 self.queue = Queue.Queue(1)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/webchecker/
H A Dwsgui.py13 import Queue namespace
142 self.msgq = Queue.Queue(0)
/device/linaro/bootloader/edk2/Nt32Pkg/WinNtGopDxe/
H A DWinNtGopInput.c24 a keyboard Queue to pass data about. The Simple Text In code just
25 takes data off the Queue. The WinProc message loop takes keyboard input
26 and places it in the Queue.
46 IN GOP_QUEUE_FIXED *Queue
49 Private->WinNtThunk->InitializeCriticalSection (&Queue->Cs);
50 Queue->Front = 0;
51 Queue->Rear = 0;
67 IN GOP_QUEUE_FIXED *Queue
70 Queue->Front = 0;
71 Queue
88 GopPrivateAddQ( IN GOP_PRIVATE_DATA *Private, IN GOP_QUEUE_FIXED *Queue, IN EFI_KEY_DATA *KeyData ) argument
120 GopPrivateDeleteQ( IN GOP_PRIVATE_DATA *Private, IN GOP_QUEUE_FIXED *Queue, OUT EFI_KEY_DATA *Key ) argument
[all...]
/device/linaro/bootloader/edk2/StdLib/Include/Containers/
H A DFifo.h30 /** Construct a new instance of a FIFO Queue.
200 void *Queue; ///< The FIFO's data storage. member in struct:_FIFO_CLASS
/device/linaro/bootloader/edk2/StdLib/LibC/Containers/Queues/
H A DFifo.c233 QPtr = (uintptr_t)Self->Queue + (SizeOfElement * Windex); // Addr. in FIFO to write, as an integer
239 QPtr = (uintptr_t)Self->Queue; // Go to the beginning
295 QPtr = (UINTN)Self->Queue + (RDex * SizeOfElement); // Point to Read location in FIFO
300 QPtr = (UINTN)Self->Queue; // Point back to beginning of data
409 if(Self->Queue != NULL) {
410 FreePool(Self->Queue);
411 Self->Queue = NULL; // Zombie catcher
475 /** Construct a new instance of a FIFO Queue.
491 UINT8 *Queue; local
497 Queue
[all...]
/device/linaro/bootloader/edk2/EmulatorPkg/EmuGopDxe/
H A DGop.h102 GOP_QUEUE_FIXED Queue; member in struct:__anon5138
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ufs/UfsPassThruDxe/
H A DUfsPassThru.h85 LIST_ENTRY Queue; member in struct:_UFS_PASS_THRU_PRIVATE_DATA
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/
H A DBiosKeyboard.c35 @param Queue The queue to be enqueued.
44 IN SIMPLE_QUEUE *Queue,
48 if ((Queue->Rear + 1) % QUEUE_MAX_COUNT == Queue->Front) {
52 CopyMem (&Queue->Buffer[Queue->Rear], KeyData, sizeof (EFI_KEY_DATA));
53 Queue->Rear = (Queue->Rear + 1) % QUEUE_MAX_COUNT;
62 @param Queue The queue to be dequeued.
71 IN SIMPLE_QUEUE *Queue,
43 Enqueue( IN SIMPLE_QUEUE *Queue, IN EFI_KEY_DATA *KeyData ) argument
70 Dequeue( IN SIMPLE_QUEUE *Queue, IN EFI_KEY_DATA *KeyData ) argument
[all...]
H A DBiosKeyboard.h225 SIMPLE_QUEUE Queue; member in struct:__anon5254
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbKbDxe/
H A DKeyBoard.c1680 @param Queue Points to the queue.
1686 IN OUT USB_SIMPLE_QUEUE *Queue,
1692 Queue->ItemSize = ItemSize;
1693 Queue->Head = 0;
1694 Queue->Tail = 0;
1696 if (Queue->Buffer[0] != NULL) {
1697 FreePool (Queue->Buffer[0]);
1700 Queue->Buffer[0] = AllocatePool (sizeof (Queue->Buffer) / sizeof (Queue
1685 InitQueue( IN OUT USB_SIMPLE_QUEUE *Queue, IN UINTN ItemSize ) argument
1769 Enqueue( IN OUT USB_SIMPLE_QUEUE *Queue, IN VOID *Item, IN UINTN ItemSize ) argument
1805 Dequeue( IN OUT USB_SIMPLE_QUEUE *Queue, OUT VOID *Item, IN UINTN ItemSize ) argument
[all...]

Completed in 468 milliseconds