Home
last modified time | relevance | path

Searched refs:qsize (Results 1 – 25 of 39) sorted by relevance

12

/external/u-boot/fs/jffs2/
Dmergesort.c16 int k, psize, qsize; in sort_list() local
27 qsize = k; in sort_list()
30 while (psize || (qsize && q)) { in sort_list()
33 ((qsize && q) && in sort_list()
38 qsize--; in sort_list()
/external/python/cpython3/Lib/test/
Dtest_queue.py18 return q.maxsize > 0 and q.qsize() == q.maxsize
93 if q.qsize():
109 self.assertTrue(q.qsize(), "Queue should not be empty")
133 self.assertTrue(not q.qsize(), "Queue should be empty")
234 self.assertEqual(q.qsize(), 3)
316 if q.qsize():
366 self.assertTrue(not q.qsize(), "Queue should be empty")
374 self.assertTrue(q.qsize(), "Queue should not be empty")
381 self.assertTrue(q.qsize(), "Queue should not be empty")
383 self.assertTrue(not q.qsize(), "Queue should be empty")
[all …]
Dtest_dummy_thread.py229 self.assertEqual(testing_queue.qsize(), thread_count,
/external/webrtc/talk/media/base/
Dyuvframegenerator.cc56 int qsize = size / 4; in YuvFrameGenerator() local
57 frame_data_size_ = size + 2 * qsize; in YuvFrameGenerator()
59 u_data_ = new uint8_t[qsize]; in YuvFrameGenerator()
60 v_data_ = new uint8_t[qsize]; in YuvFrameGenerator()
81 int qsize = size / 4; in GenerateNextFrame() local
83 memset(u_data_, 0, qsize); in GenerateNextFrame()
84 memset(v_data_, 0, qsize); in GenerateNextFrame()
100 memcpy(frame_buffer, u_data_, qsize); in GenerateNextFrame()
101 frame_buffer += qsize; in GenerateNextFrame()
102 memcpy(frame_buffer, v_data_, qsize); in GenerateNextFrame()
/external/boringssl/src/crypto/dsa/
Ddsa.c213 unsigned qsize; in DSA_generate_parameters_ex() local
217 qsize = EVP_MD_size(evpmd); in DSA_generate_parameters_ex()
226 if (seed_len < (size_t)qsize) { in DSA_generate_parameters_ex()
229 if (seed_len > (size_t)qsize) { in DSA_generate_parameters_ex()
231 seed_len = qsize; in DSA_generate_parameters_ex()
265 if (!RAND_bytes(seed, qsize)) { in DSA_generate_parameters_ex()
272 OPENSSL_memcpy(buf, seed, qsize); in DSA_generate_parameters_ex()
273 OPENSSL_memcpy(buf2, seed, qsize); in DSA_generate_parameters_ex()
275 for (i = qsize - 1; i < qsize; i--) { in DSA_generate_parameters_ex()
283 if (!EVP_Digest(seed, qsize, md, NULL, evpmd, NULL) || in DSA_generate_parameters_ex()
[all …]
/external/wycheproof/java/com/google/security/wycheproof/testcases/
DDsaTest.java853 int qsize = params.getQ().bitLength(); in testKeyGeneration() local
856 assertTrue("Invalid qsize for 1024 bit key:" + qsize, qsize >= 160); in testKeyGeneration()
859 assertTrue("Invalid qsize for 2048 bit key:" + qsize, qsize >= 224); in testKeyGeneration()
862 assertTrue("Invalid qsize for 3072 bit key:" + qsize, qsize >= 256); in testKeyGeneration()
871 assertTrue(priv.getX().bitLength() >= qsize - 32); in testKeyGeneration()
/external/python/cpython2/Lib/multiprocessing/dummy/
Dconnection.py77 if self._in.qsize() > 0:
84 return self._in.qsize() > 0
/external/python/cpython3/Lib/multiprocessing/dummy/
Dconnection.py60 if self._in.qsize() > 0:
66 return self._in.qsize() > 0
/external/webrtc/talk/media/devices/
Dyuvframescapturer.cc116 int qsize = size / 4; in Init() local
118 frame_data_size_ = size + 2 * qsize; in Init()
/external/python/cpython2/Lib/plat-mac/
DAudio_mac.py9 def __init__(self, qsize=QSIZE): argument
11 self._qsize = qsize
/external/python/cpython3/Lib/asyncio/
Dqueues.py91 def qsize(self): member in Queue
113 return self.qsize() >= self._maxsize
/external/python/cpython3/Lib/
Dqueue.py91 def qsize(self): member in Queue
315 def qsize(self): member in _PySimpleQueue
/external/autotest/client/cros/cellular/mbim_compliance/
Dmbim_channel_unittest.py267 self._mock_request_queue.qsize().AndReturn(1)
274 self.assertEqual(0, self._response_queue.qsize())
280 self._mock_request_queue.qsize().AndReturn(1)
Dmbim_channel.py194 num_remaining_fragments = self._request_queue.qsize()
/external/python/cpython3/Doc/library/
Dqueue.rst105 .. method:: Queue.qsize()
107 Return the approximate size of the queue. Note, qsize() > 0 doesn't
108 guarantee that a subsequent get() will not block, nor will qsize() < maxsize
226 .. method:: SimpleQueue.qsize()
228 Return the approximate size of the queue. Note, qsize() > 0 doesn't
Dasyncio-queue.rst37 :meth:`qsize` method.
91 .. method:: qsize()
/external/python/cpython2/Doc/library/
Dqueue.rst90 .. method:: Queue.qsize()
92 Return the approximate size of the queue. Note, qsize() > 0 doesn't
93 guarantee that a subsequent get() will not block, nor will qsize() < maxsize
/external/cpuinfo/test/dmesg/
Dgalaxy-s6.log3548 [ 8.725293] [0: cbd: 3108] mif: check_udl_space: lli: NOSPC in RAW_TXQ{qsize:2084864…
3549 [ 8.781324] [2: cbd: 3108] mif: check_udl_space: lli: NOSPC in RAW_TXQ{qsize:2084864…
3552 [ 8.842361] [4: cbd: 3108] mif: check_udl_space: lli: NOSPC in RAW_TXQ{qsize:2084864…
3553 [ 8.904758] [2: cbd: 3108] mif: check_udl_space: lli: NOSPC in RAW_TXQ{qsize:2084864…
3554 [ 8.962202] [6: cbd: 3108] mif: check_udl_space: lli: NOSPC in RAW_TXQ{qsize:2084864…
3556 [ 9.024225] [2: cbd: 3108] mif: check_udl_space: lli: NOSPC in RAW_TXQ{qsize:2084864…
3557 [ 9.085941] [7: cbd: 3108] mif: check_udl_space: lli: NOSPC in RAW_TXQ{qsize:2084864…
3558 [ 9.141098] [7: cbd: 3108] mif: check_udl_space: lli: NOSPC in RAW_TXQ{qsize:2084864…
3571 [ 9.202447] [4: cbd: 3108] mif: check_udl_space: lli: NOSPC in RAW_TXQ{qsize:2084864…
3634 [ 9.263859] [4: cbd: 3108] mif: check_udl_space: lli: NOSPC in RAW_TXQ{qsize:2084864…
[all …]
/external/u-boot/drivers/nvme/
Dnvme.h390 __le16 qsize; member
404 __le16 qsize; member
/external/python/cpython2/Lib/test/
Dtest_dummy_thread.py167 self.assertEqual(testing_queue.qsize(), thread_count,
Dtest_multiprocessing.py423 return q.qsize() == 0
429 return q.qsize() == maxsize
600 self.assertEqual(q.qsize(), 0)
604 self.assertEqual(q.qsize(), 1)
606 self.assertEqual(q.qsize(), 2)
608 self.assertEqual(q.qsize(), 1)
610 self.assertEqual(q.qsize(), 0)
/external/python/cpython2/Lib/
DQueue.py86 def qsize(self): member in Queue
/external/scapy/test/
Dpipetool.uts494 assert d2.q.qsize() == 0
519 assert d2.q.qsize() == 0
/external/python/cpython2/Lib/multiprocessing/
Dqueues.py141 def qsize(self): member in Queue
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_queues.py469 self.assertEqual(q.qsize(), 0)
550 num = queue.qsize()

12