Home
last modified time | relevance | path

Searched refs:QUEUE_SIZE (Results 1 – 6 of 6) sorted by relevance

/external/libchrome/base/android/javatests/src/org/chromium/base/
DAsyncTaskTest.java50 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/
Dit6803.py28 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/
Dtest_queue.py9 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/
Dtest_queue.py20 QUEUE_SIZE = 5 variable
112 for i in range(QUEUE_SIZE-1):
116 last = 2 * QUEUE_SIZE
117 full = 3 * 2 * QUEUE_SIZE
136 for i in range(QUEUE_SIZE):
208 q = self.type2test(QUEUE_SIZE)
213 q = self.type2test(QUEUE_SIZE)
220 q = self.type2test(QUEUE_SIZE)
221 for i in range(QUEUE_SIZE):
226 for i in range(QUEUE_SIZE):
[all …]
/external/kernel-headers/original/uapi/linux/
Dcyclades.h470 #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/
Dread_all.c59 #define QUEUE_SIZE 16384 macro
68 char data[QUEUE_SIZE];
130 if (++i >= QUEUE_SIZE) in queue_pop()
148 if (++i >= QUEUE_SIZE) in queue_push()