/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
H A D | Queue.py | 11 __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 D | Ps2KbdTextIn.c | 22 @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 D | Ps2KbdCtrller.c | 573 @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 D | test_dummy_thread.py | 10 import Queue
namespace 128 testing_queue = Queue.Queue(1)
152 testing_queue = Queue.Queue(thread_count)
|
H A D | test_queue.py | 2 # 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 D | test_telnetlib.py | 4 import Queue
namespace 101 self.dataq = Queue.Queue()
|
H A D | regrtest.py | 486 from Queue import Queue
namespace 489 output = Queue()
|
H A D | test_codecs.py | 6 class Queue(object):
class in inherits:object 32 q = Queue()
191 q = Queue()
1362 q = Queue()
1368 q = Queue()
|
H A D | test_multiprocessing.py | 8 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 D | test_socket.py | 11 import Queue
namespace 123 self.queue = Queue.Queue(1)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/webchecker/ |
H A D | wsgui.py | 13 import Queue
namespace 142 self.msgq = Queue.Queue(0)
|
/device/linaro/bootloader/edk2/Nt32Pkg/WinNtGopDxe/ |
H A D | WinNtGopInput.c | 24 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 D | Fifo.h | 30 /** 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 D | Fifo.c | 233 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 D | Gop.h | 102 GOP_QUEUE_FIXED Queue; member in struct:__anon5138
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ufs/UfsPassThruDxe/ |
H A D | UfsPassThru.h | 85 LIST_ENTRY Queue;
member in struct:_UFS_PASS_THRU_PRIVATE_DATA
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/ |
H A D | BiosKeyboard.c | 35 @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 D | BiosKeyboard.h | 225 SIMPLE_QUEUE Queue;
member in struct:__anon5254
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbKbDxe/ |
H A D | KeyBoard.c | 1680 @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...] |