Home
last modified time | relevance | path

Searched refs:pool (Results 1 – 20 of 20) sorted by relevance

/device/linaro/bootloader/edk2/StdLib/Include/sys/
Dpool.h88 struct pool *pc_pool; /* parent pool */
105 void *(*pa_alloc)(struct pool *, int);
106 void (*pa_free)(struct pool *, void *);
111 TAILQ_HEAD(, pool) pa_list; /* list of pools using this allocator */
125 struct pool { struct
126 LIST_ENTRY(pool)
135 struct pool *pr_phpool; /* Pool item header pool */ argument
152 TAILQ_ENTRY(pool) pr_alloc_list;/* link on allocator's pool list */ argument
239 struct pool *pp; argument
248 struct pool pp; \
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dobmalloc.c727 int Py_ADDRESS_IN_RANGE(void *P, poolp pool) Py_NO_INLINE;
750 poolp pool; in PyObject_Malloc() local
779 pool = usedpools[size + size]; in PyObject_Malloc()
780 if (pool != pool->nextpool) { in PyObject_Malloc()
785 ++pool->ref.count; in PyObject_Malloc()
786 bp = pool->freeblock; in PyObject_Malloc()
788 if ((pool->freeblock = *(block **)bp) != NULL) { in PyObject_Malloc()
795 if (pool->nextoffset <= pool->maxnextoffset) { in PyObject_Malloc()
797 pool->freeblock = (block*)pool + in PyObject_Malloc()
798 pool->nextoffset; in PyObject_Malloc()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dobmalloc.c770 int Py_ADDRESS_IN_RANGE(void *P, poolp pool) Py_NO_INLINE;
793 poolp pool; in PyObject_Malloc() local
822 pool = usedpools[size + size]; in PyObject_Malloc()
823 if (pool != pool->nextpool) { in PyObject_Malloc()
828 ++pool->ref.count; in PyObject_Malloc()
829 bp = pool->freeblock; in PyObject_Malloc()
831 if ((pool->freeblock = *(block **)bp) != NULL) { in PyObject_Malloc()
838 if (pool->nextoffset <= pool->maxnextoffset) { in PyObject_Malloc()
840 pool->freeblock = (block*)pool + in PyObject_Malloc()
841 pool->nextoffset; in PyObject_Malloc()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/expat/
Dxmlparse.c265 STRING_POOL pool; member
413 poolAppend(STRING_POOL *pool, const ENCODING *enc,
416 poolStoreString(STRING_POOL *pool, const ENCODING *enc,
418 static XML_Bool FASTCALL poolGrow(STRING_POOL *pool);
420 poolCopyString(STRING_POOL *pool, const XML_Char *s);
422 poolCopyStringN(STRING_POOL *pool, const XML_Char *s, int n);
424 poolAppendString(STRING_POOL *pool, const XML_Char *s);
440 #define poolStart(pool) ((pool)->start) argument
441 #define poolEnd(pool) ((pool)->ptr) argument
442 #define poolLength(pool) ((pool)->ptr - (pool)->start) argument
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/expat/
Dxmlparse.c265 STRING_POOL pool; member
413 poolAppend(STRING_POOL *pool, const ENCODING *enc,
416 poolStoreString(STRING_POOL *pool, const ENCODING *enc,
418 static XML_Bool FASTCALL poolGrow(STRING_POOL *pool);
420 poolCopyString(STRING_POOL *pool, const XML_Char *s);
422 poolCopyStringN(STRING_POOL *pool, const XML_Char *s, int n);
424 poolAppendString(STRING_POOL *pool, const XML_Char *s);
440 #define poolStart(pool) ((pool)->start) argument
441 #define poolEnd(pool) ((pool)->ptr) argument
442 #define poolLength(pool) ((pool)->ptr - (pool)->start) argument
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/expat/
Dxmlparse.c267 STRING_POOL pool; member
416 poolAppend(STRING_POOL *pool, const ENCODING *enc,
419 poolStoreString(STRING_POOL *pool, const ENCODING *enc,
421 static XML_Bool FASTCALL poolGrow(STRING_POOL *pool);
423 poolCopyString(STRING_POOL *pool, const XML_Char *s);
425 poolCopyStringN(STRING_POOL *pool, const XML_Char *s, int n);
427 poolAppendString(STRING_POOL *pool, const XML_Char *s);
447 #define poolStart(pool) ((pool)->start) argument
448 #define poolEnd(pool) ((pool)->ptr) argument
449 #define poolLength(pool) ((pool)->ptr - (pool)->start) argument
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Ditertoolsmodule.c1830 PyObject *pool = PySequence_Tuple(item); in product_new() local
1831 if (pool == NULL) in product_new()
1833 PyTuple_SET_ITEM(pools, i, pool); in product_new()
1837 PyObject *pool = PyTuple_GET_ITEM(pools, i - nargs); in product_new() local
1838 Py_INCREF(pool); in product_new()
1839 PyTuple_SET_ITEM(pools, i, pool); in product_new()
1884 PyObject *pool; in product_next() local
1903 pool = PyTuple_GET_ITEM(pools, i); in product_next()
1904 if (PyTuple_GET_SIZE(pool) == 0) in product_next()
1906 elem = PyTuple_GET_ITEM(pool, 0); in product_next()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Ditertoolsmodule.c1869 PyObject *pool = PySequence_Tuple(item); in product_new() local
1870 if (pool == NULL) in product_new()
1872 PyTuple_SET_ITEM(pools, i, pool); in product_new()
1876 PyObject *pool = PyTuple_GET_ITEM(pools, i - nargs); in product_new() local
1877 Py_INCREF(pool); in product_new()
1878 PyTuple_SET_ITEM(pools, i, pool); in product_new()
1923 PyObject *pool; in product_next() local
1942 pool = PyTuple_GET_ITEM(pools, i); in product_next()
1943 if (PyTuple_GET_SIZE(pool) == 0) in product_next()
1945 elem = PyTuple_GET_ITEM(pool, 0); in product_next()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_itertools.py89 pool = tuple(iterable)
90 n = len(pool)
94 yield tuple(pool[i] for i in indices)
104 yield tuple(pool[i] for i in indices)
108 pool = tuple(iterable)
109 n = len(pool)
112 yield tuple(pool[i] for i in indices)
116 pool = tuple(iterable)
117 n = len(pool)
120 yield tuple(pool[i] for i in indices)
[all …]
Dtest_multiprocessing.py33 import multiprocessing.pool
1038 papply = self.pool.apply
1043 pmap = self.pool.map
1050 self.pool.map_async(sqr, [], chunksize=1).get(timeout=TIMEOUT1)
1055 res = self.pool.apply_async(sqr, (7, TIMEOUT1,))
1061 res = self.pool.apply_async(sqr, (6, TIMEOUT2 + 0.2))
1067 it = self.pool.imap(sqr, range(10))
1070 it = self.pool.imap(sqr, range(10))
1075 it = self.pool.imap(sqr, range(1000), chunksize=100)
1081 it = self.pool.imap_unordered(sqr, range(1000))
[all …]
/device/lge/bullhead/camera/QCamera2/HAL/
DQCameraMem.h79 QCameraMemoryPool *pool = NULL,
175 QCameraMemoryPool *pool = NULL,
DQCameraMem.cpp66 QCameraMemoryPool *pool, in QCameraMemory() argument
69 mMemoryPool(pool), in QCameraMemory()
979 QCameraMemoryPool *pool, in QCameraStreamMemory() argument
981 :QCameraMemory(cached, pool, streamType), in QCameraStreamMemory()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Drandom.py330 pool = list(population)
333 result[i] = pool[j]
334 pool[j] = pool[n-i-1] # move non-selected item into vacancy
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Drandom.py333 pool = list(population)
336 result[i] = pool[j]
337 pool[j] = pool[n-i-1] # move non-selected item into vacancy
/device/huawei/angler/camera/QCamera2/HAL/
DQCameraMem.h79 QCameraMemoryPool *pool = NULL,
176 QCameraMemoryPool *pool = NULL,
DQCameraMem.cpp66 QCameraMemoryPool *pool, in QCameraMemory() argument
69 mMemoryPool(pool), in QCameraMemory()
980 QCameraMemoryPool *pool, in QCameraStreamMemory() argument
982 :QCameraMemory(cached, pool, streamType), in QCameraStreamMemory()
/device/google/marlin/camera/QCamera2/HAL/
DQCameraMem.h95 QCameraMemoryPool *pool = NULL,
196 QCameraMemoryPool *pool = NULL,
DQCameraMem.cpp78 QCameraMemoryPool *pool, in QCameraMemory() argument
81 mMemoryPool(pool), in QCameraMemory()
1054 QCameraMemoryPool *pool, in QCameraStreamMemory() argument
1056 :QCameraMemory(cached, pool, streamType), in QCameraStreamMemory()
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmJunoPkg/AcpiTables/
DAcpiSsdtRootPci.asl30 Zero, /* allocated from the global interrupt pool. */ \
/device/linaro/bootloader/OpenPlatformPkg/Platforms/ARM/Juno/AcpiTables/
DAcpiSsdtRootPci.asl30 Zero, /* allocated from the global interrupt pool. */ \