Searched refs:requested_size (Results 1 – 8 of 8) sorted by relevance
/third_party/boost/boost/pool/ |
D | pool.hpp | 308 const size_type requested_size; member in boost::pool 349 size_type s = (std::max)(requested_size, min_alloc_size); in alloc_size() 370 …list(0, 0), requested_size(nrequested_size), next_size(nnext_size), start_size(nnext_size),max_siz… in pool() 415 return requested_size; in get_requested_size() 484 const size_type total_req_size = n * requested_size; in BOOST_PREVENT_MACRO_SUBSTITUTION() 501 const size_type total_req_size = n * requested_size; in ordered_free() 712 else if( next_size*partition_size/requested_size < max_size) in malloc_need_resize() 713 …next_size = min BOOST_PREVENT_MACRO_SUBSTITUTION(next_size << 1, max_size*requested_size/ partitio… in malloc_need_resize() 752 else if( next_size*partition_size/requested_size < max_size) in ordered_malloc_need_resize() 753 …next_size = min BOOST_PREVENT_MACRO_SUBSTITUTION(next_size << 1, max_size*requested_size/ partitio… in ordered_malloc_need_resize() [all …]
|
D | singleton_pool.hpp | 111 …BOOST_STATIC_CONSTANT(unsigned, requested_size = RequestedSize); //!< The size of each chunk alloc…
|
/third_party/python/Lib/multiprocessing/ |
D | shared_memory.py | 320 requested_size = struct.calcsize( 327 self.shm = SharedMemory(name, create=True, size=requested_size)
|
/third_party/python/Objects/ |
D | bytearrayobject.c | 168 PyByteArray_Resize(PyObject *self, Py_ssize_t requested_size) in PyByteArray_Resize() argument 176 size_t size = (size_t) requested_size; in PyByteArray_Resize() 181 assert(requested_size >= 0); in PyByteArray_Resize() 183 if (requested_size == Py_SIZE(self)) { in PyByteArray_Resize() 227 Py_MIN((size_t)requested_size, (size_t)Py_SIZE(self))); in PyByteArray_Resize()
|
/third_party/boost/libs/pool/doc/ |
D | pool.qbk | 264 explicit pool(size_type requested_size); 387 static const unsigned requested_size = RequestedSize; 827 * The requested object size (`requested_size`); this is the size of chunks requested by the user 849 The size of the first section is `number_of_chunks * lcm(requested_size, sizeof(void *), sizeof(siz… 853 Here's an example memory block, where `requested_size == sizeof(void *) == sizeof(size_type) == 4`: 859 `requested_size == 8 and sizeof(void *) == sizeof(size_type) == 4` 871 we can translate any request for contiguous memory for `n` objects of `requested_size` 873 `m` is simply `ceil(n * requested_size / alloc_size)`, 879 where `requested_size == 1` and `sizeof(void *) == sizeof(size_type) == 4`:
|
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/ |
D | amdgpu_cs.c | 1090 unsigned requested_size = rcs->prev_dw + rcs->current.cdw + dw; in amdgpu_cs_check_space() local 1092 if (requested_size > IB_MAX_SUBMIT_DWORDS) in amdgpu_cs_check_space() 1095 ib->max_ib_size = MAX2(ib->max_ib_size, requested_size); in amdgpu_cs_check_space()
|
/third_party/ffmpeg/libavformat/ |
D | mov.c | 3312 const size_t requested_size = in add_index_entry() local 3322 requested_size); in add_index_entry() 3363 const size_t requested_size = in add_ctts_entry() local 3371 ctts_buf_new = av_fast_realloc(*ctts_data, allocated_size, requested_size); in add_ctts_entry() 4791 size_t requested_size; in mov_read_trun() local 4888 requested_size = (st->nb_index_entries + entries) * sizeof(AVIndexEntry); in mov_read_trun() 4891 requested_size); in mov_read_trun() 4896 requested_size = (st->nb_index_entries + entries) * sizeof(*sc->ctts_data); in mov_read_trun() 4899 requested_size); in mov_read_trun()
|
/third_party/cef/libcef/browser/alloy/ |
D | alloy_content_browser_client.cc | 390 browser.get(), params.origin_url.spec(), params.requested_size, in RequestQuotaPermission()
|