/external/libchrome/base/android/javatests/src/org/chromium/base/ |
D | AsyncTaskTest.java | 50 private static final int QUEUE_SIZE = 40; field in AsyncTaskTest 63 new ArrayBlockingQueue<Runnable>(QUEUE_SIZE), new ThreadFactory() { in testChromeThreadPoolExecutorRunnables() 69 for (int i = 0; i < QUEUE_SIZE; i++) { in testChromeThreadPoolExecutorRunnables() 88 new ArrayBlockingQueue<Runnable>(QUEUE_SIZE), new ThreadFactory() { in testChromeThreadPoolExecutorChromeAsyncTask() 94 for (int i = 0; i < QUEUE_SIZE; i++) { in testChromeThreadPoolExecutorChromeAsyncTask() 112 new ArrayBlockingQueue<Runnable>(QUEUE_SIZE), new ThreadFactory() { in testChromeThreadPoolExecutorOsAsyncTask() 118 for (int i = 0; i < QUEUE_SIZE; i++) { in testChromeThreadPoolExecutorOsAsyncTask()
|
/external/autotest/server/site_tests/enterprise_CFM_CEC/chameleon_cecservice/ |
D | it6803.py | 28 QUEUE_SIZE = 3 variable 39 queue = [[0x00 for i in range(19)] for j in range(QUEUE_SIZE)] 238 if (q_head % QUEUE_SIZE) != (q_tail % QUEUE_SIZE): 241 i = q_tail % QUEUE_SIZE 252 if (q_head % QUEUE_SIZE) == (q_tail % QUEUE_SIZE): 256 rxCecBuf = queue[q_head % QUEUE_SIZE]
|
/external/python/cpython2/Lib/test/ |
D | test_queue.py | 9 QUEUE_SIZE = 5 variable 103 for i in range(QUEUE_SIZE-1): 107 last = 2 * QUEUE_SIZE 108 full = 3 * 2 * QUEUE_SIZE 125 for i in range(QUEUE_SIZE): 192 q = self.type2test(QUEUE_SIZE) 233 for i in range(QUEUE_SIZE-1): 279 for i in range(QUEUE_SIZE): 314 q = FailingQueue(QUEUE_SIZE)
|
/external/python/cpython3/Lib/test/ |
D | test_queue.py | 15 QUEUE_SIZE = 5 variable 107 for i in range(QUEUE_SIZE-1): 111 last = 2 * QUEUE_SIZE 112 full = 3 * 2 * QUEUE_SIZE 131 for i in range(QUEUE_SIZE): 203 q = self.type2test(QUEUE_SIZE) 208 q = self.type2test(QUEUE_SIZE) 215 q = self.type2test(QUEUE_SIZE) 216 for i in range(QUEUE_SIZE): 221 for i in range(QUEUE_SIZE): [all …]
|
/external/crosvm/fuzz/ |
D | block_fuzzer.rs | 22 const QUEUE_SIZE: u16 = 16; // Max entries in the queue. constant 83 let mut q = Queue::new(QUEUE_SIZE); in test_one_input() 85 q.size = QUEUE_SIZE / 2; in test_one_input() 86 q.max_size = QUEUE_SIZE; in test_one_input()
|
/external/kernel-headers/original/uapi/linux/ |
D | cyclades.h | 470 #define QUEUE_SIZE (10*MAX_CHAN) macro 473 unsigned char intr_code[QUEUE_SIZE]; 474 unsigned long channel[QUEUE_SIZE]; 475 unsigned long param[QUEUE_SIZE];
|
/external/ltp/testcases/kernel/fs/read_all/ |
D | read_all.c | 48 #define QUEUE_SIZE 16384 macro 57 char data[QUEUE_SIZE]; 125 i = (i + 1) % QUEUE_SIZE; in queue_pop() 129 tst_atomic_store((i + 1) % QUEUE_SIZE, &q->front); in queue_pop() 142 i = (i + 1) % QUEUE_SIZE; in queue_push()
|
/external/crosvm/devices/src/virtio/ |
D | balloon.rs | 48 const QUEUE_SIZE: u16 = 128; constant 49 const QUEUE_SIZES: &[u16] = &[QUEUE_SIZE, QUEUE_SIZE];
|
D | rng.rs | 18 const QUEUE_SIZE: u16 = 256; constant 19 const QUEUE_SIZES: &[u16] = &[QUEUE_SIZE];
|
D | net.rs | 28 const QUEUE_SIZE: u16 = 256; constant 29 const QUEUE_SIZES: &[u16] = &[QUEUE_SIZE, QUEUE_SIZE];
|
D | virtio_pci_common_config.rs | 232 const QUEUE_SIZE: u16 = 256; constant 233 const QUEUE_SIZES: &'static [u16] = &[QUEUE_SIZE];
|
D | tpm.rs | 23 const QUEUE_SIZE: u16 = 2; constant 24 const QUEUE_SIZES: &[u16] = &[QUEUE_SIZE];
|
D | pmem.rs | 27 const QUEUE_SIZE: u16 = 256; constant 28 const QUEUE_SIZES: &[u16] = &[QUEUE_SIZE];
|
D | p9.rs | 25 const QUEUE_SIZE: u16 = 128; constant 26 const QUEUE_SIZES: &[u16] = &[QUEUE_SIZE];
|
D | wl.rs | 109 const QUEUE_SIZE: u16 = 16; constant 110 const QUEUE_SIZES: &[u16] = &[QUEUE_SIZE, QUEUE_SIZE]; 1512 in_desc_chains: VecDeque::with_capacity(QUEUE_SIZE as usize), in new() 1565 let mut rejects = [0u16; QUEUE_SIZE as usize]; in run()
|
D | block.rs | 34 const QUEUE_SIZE: u16 = 256; constant 35 const QUEUE_SIZES: &[u16] = &[QUEUE_SIZE];
|
/external/crosvm/devices/src/virtio/vhost/ |
D | vsock.rs | 20 const QUEUE_SIZE: u16 = 256; constant 22 const QUEUE_SIZES: &[u16] = &[QUEUE_SIZE; NUM_QUEUES];
|
D | net.rs | 23 const QUEUE_SIZE: u16 = 256; constant 25 const QUEUE_SIZES: &[u16] = &[QUEUE_SIZE; NUM_QUEUES];
|