Home
last modified time | relevance | path

Searched refs:_pool (Results 1 – 24 of 24) sorted by relevance

/external/libxcam/xcore/
Dthread_pool.cpp34 , _pool (pool) in UserThread()
43 SmartPtr<ThreadPool> _pool; member in XCam::UserThread
49 XCAM_ASSERT (_pool.ptr ()); in started()
50 SmartLock lock (_pool->_mutex); in started()
63 XCAM_ASSERT (_pool.ptr ()); in loop()
65 SmartLock lock (_pool->_mutex); in loop()
66 if (!_pool->_running) in loop()
70 SmartPtr<ThreadPool::UserData> data = _pool->_data_queue.pop (); in loop()
72 XCAM_LOG_DEBUG ("user thread(%s) get null data, need stop", XCAM_STR (_pool->get_name ())); in loop()
77 SmartLock lock (_pool->_mutex); in loop()
[all …]
Dbuffer_pool.h58 _pool = pool; in set_buf_pool()
76 SmartPtr<BufferPool> _pool; variable
Dbuffer_pool.cpp40 if (_pool.ptr ()) { in ~BufferProxy()
41 _pool->release (_data); in ~BufferProxy()
/external/autotest/site_utils/lxc/container_pool/
Dservice.py70 self._pool = pool
83 if self._pool is None:
87 self._pool = pool.Pool(factory=factory, size=pool_size)
114 self._pool.cleanup()
140 status['pool capacity'] = self._pool.capacity
141 status['pool size'] = self._pool.size
142 status['pool worker count'] = self._pool.worker_count
143 status['pool errors'] = self._pool.errors.qsize()
153 thread = _ClientThread(self, self._pool, connection)
183 self._pool = pool
[all …]
Dpool.py75 self._pool = Queue.Queue(size)
76 self._monitor = _Monitor(factory, self._pool)
97 return self._pool.get(block=(timeout != 0),
122 container = self._pool.get(block=False)
142 return self._pool.qsize()
148 return self._pool.maxsize
191 self._pool = pool
253 if self._pool.full():
271 qsize = self._pool.qsize()
272 shortfall = self._pool.maxsize - qsize
[all …]
/external/webrtc/webrtc/modules/video_capture/linux/
Dvideo_capture_linux.cc59 _pool(NULL) in VideoCaptureModuleV4L2()
348 _pool = new Buffer[rbuffer.count]; in AllocateVideoBuffers()
363 _pool[i].start = mmap(NULL, buffer.length, PROT_READ | PROT_WRITE, MAP_SHARED, in AllocateVideoBuffers()
366 if (MAP_FAILED == _pool[i].start) in AllocateVideoBuffers()
369 munmap(_pool[j].start, _pool[j].length); in AllocateVideoBuffers()
373 _pool[i].length = buffer.length; in AllocateVideoBuffers()
387 munmap(_pool[i].start, _pool[i].length); in DeAllocateVideoBuffers()
389 delete[] _pool; in DeAllocateVideoBuffers()
468 IncomingFrame((unsigned char*) _pool[buf.index].start, in CaptureProcess()
Dvideo_capture_linux.h60 Buffer *_pool; variable
/external/autotest/server/hosts/
Dssh_multiplex.py136 self._pool = {}
156 conn = self._pool.get(key)
159 self._pool[key] = conn
164 for ssh in self._pool.itervalues():
/external/javassist/sample/evolve/
DEvolution.java37 public void start(ClassPool _pool) throws NotFoundException { in start() argument
38 pool = _pool; in start()
42 trapMethod = _pool.getMethod("sample.evolve.Sample", "make"); in start()
45 public void onLoad(ClassPool _pool, String classname) in onLoad() argument
53 CtClass clazz = _pool.get(classname); in onLoad()
/external/python/cpython2/Lib/multiprocessing/
Dpool.py158 self._pool = []
173 self._pool, self._cache)
189 args=(self._taskqueue, self._inqueue, self._outqueue, self._pool,
200 for i in reversed(range(len(self._pool))):
201 worker = self._pool[i]
207 del self._pool[i]
214 for i in range(self._processes - len(self._pool)):
220 self._pool.append(w)
307 chunksize, extra = divmod(len(iterable), len(self._pool) * 4)
473 for p in self._pool:
/external/python/cpython2/Doc/includes/
Dmp_pool.py246 for worker in pool._pool:
255 for worker in pool._pool:
273 for worker in pool._pool:
286 processes = pool._pool
/external/python/cpython3/Lib/multiprocessing/
Dpool.py167 self._pool = []
182 self._pool, self._cache)
198 args=(self._taskqueue, self._inqueue, self._outqueue, self._pool,
209 for i in reversed(range(len(self._pool))):
210 worker = self._pool[i]
216 del self._pool[i]
223 for i in range(self._processes - len(self._pool)):
230 self._pool.append(w)
346 chunksize, extra = divmod(len(iterable), len(self._pool) * 4)
513 for p in self._pool:
/external/libxcam/tests/
Dtest-soft-image.cpp127 SmartPtr<BufferPool> _pool; member in SoftElement
185 _pool = new SoftVideoBufAllocator (); in create_buf_pool()
186 _pool->set_video_info (info); in create_buf_pool()
187 if (!_pool->reserve (count)) { in create_buf_pool()
198 _buf = _pool->get_buffer (_pool); in read_buf()
/external/mesa3d/src/intel/vulkan/
Danv_query.c84 VkQueryPool _pool, in anv_DestroyQueryPool() argument
88 ANV_FROM_HANDLE(anv_query_pool, pool, _pool); in anv_DestroyQueryPool()
Danv_descriptor_set.c358 VkDescriptorPool _pool, in anv_DestroyDescriptorPool() argument
362 ANV_FROM_HANDLE(anv_descriptor_pool, pool, _pool); in anv_DestroyDescriptorPool()
/external/autotest/scheduler/
Ddrone_utility.py454 self._pool = None
479 self._pool = multiprocessing.Pool(pool_size)
513 contents = self._pool.map(_read_pidfile, pidfile_paths)
545 dark_marks = self._pool.map(
/external/valgrind/memcheck/tests/
Dmempool.c22 typedef struct _pool { struct
Dmempool2.c25 typedef struct _pool { struct
/external/mesa3d/src/amd/vulkan/
Dradv_query.c111 VkQueryPool _pool, in radv_DestroyQueryPool() argument
115 RADV_FROM_HANDLE(radv_query_pool, pool, _pool); in radv_DestroyQueryPool()
Dradv_descriptor_set.c467 VkDescriptorPool _pool, in radv_DestroyDescriptorPool() argument
471 RADV_FROM_HANDLE(radv_descriptor_pool, pool, _pool); in radv_DestroyDescriptorPool()
/external/tinyxml2/
Dtinyxml2.h196 _mem( _pool ), in DynArray()
203 if ( _mem != _pool ) { in ~DynArray()
297 if ( _mem != _pool ) { in EnsureCapacity()
306 T _pool[INITIAL_SIZE]; variable
/external/scapy/scapy/
Dvolatile.py666 self._pool = pool
668 r = random.choice(self._pool)
/external/python/cpython2/Lib/test/
Dtest_multiprocessing.py1245 self.assertEqual(3, len(p._pool))
1294 self.assertEqual(3, len(p._pool))
1295 origworkerpids = [w.pid for w in p._pool]
1309 while countdown and not all(w.is_alive() for w in p._pool):
1312 finalworkerpids = [w.pid for w in p._pool]
/external/python/cpython3/Lib/test/
D_test_multiprocessing.py1908 self.assertEqual(3, len(p._pool))
2055 self.assertEqual(3, len(p._pool))
2056 origworkerpids = [w.pid for w in p._pool]
2070 while countdown and not all(w.is_alive() for w in p._pool):
2073 finalworkerpids = [w.pid for w in p._pool]