/third_party/grpc/src/core/lib/gprpp/ |
D | arena.cc | 36 void* ArenaStorage(size_t initial_size) { in ArenaStorage() argument 39 initial_size = GPR_ROUND_UP_TO_ALIGNMENT_SIZE(initial_size); in ArenaStorage() 40 size_t alloc_size = base_size + initial_size; in ArenaStorage() 63 Arena* Arena::Create(size_t initial_size) { in Create() argument 64 return new (ArenaStorage(initial_size)) Arena(initial_size); in Create() 67 std::pair<Arena*, void*> Arena::CreateWithAlloc(size_t initial_size, in CreateWithAlloc() argument 72 new (ArenaStorage(initial_size)) Arena(initial_size, alloc_size); in CreateWithAlloc()
|
D | arena.h | 47 static Arena* Create(size_t initial_size); 52 static std::pair<Arena*, void*> CreateWithAlloc(size_t initial_size, 98 explicit Arena(size_t initial_size, size_t initial_alloc = 0) 100 initial_zone_size_(initial_size) {} in total_used_()
|
/third_party/curl/src/ |
D | tool_cb_prg.c | 141 if(bar->initial_size < 0 || in tool_progress_cb() 142 ((CURL_OFF_T_MAX - bar->initial_size) < (dltotal + ultotal))) in tool_progress_cb() 145 total = dltotal + ultotal + bar->initial_size; in tool_progress_cb() 149 if(bar->initial_size < 0 || in tool_progress_cb() 150 ((CURL_OFF_T_MAX - bar->initial_size) < (dlnow + ulnow))) in tool_progress_cb() 153 point = dlnow + ulnow + bar->initial_size; in tool_progress_cb() 222 bar->initial_size = config->resume_from; in progressbarinit()
|
D | tool_cb_prg.h | 35 curl_off_t initial_size; member
|
/third_party/boost/libs/container/test/ |
D | monotonic_buffer_resource_test.cpp | 144 const std::size_t initial_size = monotonic_buffer_resource::initial_next_buffer_size*2; in test_initial_size_constructor() local 149 monotonic_buffer_resource m(initial_size); in test_initial_size_constructor() 152 BOOST_TEST(m.next_buffer_size() >= initial_size); in test_initial_size_constructor() 162 monotonic_buffer_resource m(initial_size, &dmr); in test_initial_size_constructor() 165 BOOST_TEST(m.next_buffer_size() >= initial_size); in test_initial_size_constructor() 218 …explicit derived_from_monotonic_buffer_resource(std::size_t initial_size, memory_resource* upstrea… in derived_from_monotonic_buffer_resource() 219 : monotonic_buffer_resource(initial_size, upstream) in derived_from_monotonic_buffer_resource() 366 const std::size_t initial_size = 1u; in test_do_deallocate() local 368 derived_from_monotonic_buffer_resource dmbr(initial_size, &mrl); in test_do_deallocate() 410 const std::size_t initial_size = 1u; in test_release() local [all …]
|
/third_party/boost/boost/beast/websocket/detail/ |
D | impl_base.hpp | 307 std::size_t initial_size, in read_size_hint_pmd() 314 BOOST_ASSERT(initial_size > 0); in read_size_hint_pmd() 322 result = initial_size; in read_size_hint_pmd() 334 initial_size, clamp(rd_remain)); in read_size_hint_pmd() 452 std::size_t initial_size, in read_size_hint_pmd() 459 BOOST_ASSERT(initial_size > 0); in read_size_hint_pmd() 464 result = initial_size; in read_size_hint_pmd() 475 initial_size, clamp(rd_remain)); in read_size_hint_pmd()
|
/third_party/grpc/src/core/lib/gpr/ |
D | arena.h | 37 inline gpr_arena* gpr_arena_create(size_t initial_size) { in gpr_arena_create() argument 38 return grpc_core::Arena::Create(initial_size); in gpr_arena_create()
|
/third_party/boost/libs/container/src/ |
D | monotonic_buffer_resource.cpp | 70 monotonic_buffer_resource::monotonic_buffer_resource(std::size_t initial_size, memory_resource* ups… in monotonic_buffer_resource() argument 78 this->increase_next_buffer_at_least_to(initial_size + !initial_size); in monotonic_buffer_resource()
|
/third_party/boost/boost/property_map/ |
D | vector_property_map.hpp | 37 vector_property_map(unsigned initial_size, in vector_property_map() argument 39 : store(new std::vector<T>(initial_size)), index(index) in vector_property_map()
|
/third_party/gstreamer/gstreamer/libs/gst/base/ |
D | gstqueuearray.h | 37 GstQueueArray * gst_queue_array_new (guint initial_size); 84 guint initial_size);
|
D | gstqueuearray.c | 66 gst_queue_array_new_for_struct (gsize struct_size, guint initial_size) in gst_queue_array_new_for_struct() argument 74 array->size = initial_size; in gst_queue_array_new_for_struct() 75 array->array = g_malloc0 (struct_size * initial_size); in gst_queue_array_new_for_struct() 96 gst_queue_array_new (guint initial_size) in gst_queue_array_new() argument 100 array = gst_queue_array_new_for_struct (sizeof (gpointer), initial_size); in gst_queue_array_new()
|
/third_party/python/Parser/ |
D | parsetok.c | 28 growable_comment_array_init(growable_comment_array *arr, size_t initial_size) { in growable_comment_array_init() argument 29 assert(initial_size > 0); in growable_comment_array_init() 30 arr->items = malloc(initial_size * sizeof(*arr->items)); in growable_comment_array_init() 31 arr->size = initial_size; in growable_comment_array_init()
|
/third_party/gstreamer/gstreamer/gst/ |
D | gstatomicqueue.h | 48 GstAtomicQueue * gst_atomic_queue_new (guint initial_size) G_GNUC_MALLOC;
|
D | gstatomicqueue.c | 156 gst_atomic_queue_new (guint initial_size) in gst_atomic_queue_new() argument 166 queue->head_mem = queue->tail_mem = new_queue_mem (initial_size, 0); in gst_atomic_queue_new()
|
/third_party/jerryscript/jerry-core/ecma/base/ |
D | ecma-helpers-string.c | 2432 const lit_utf8_size_t initial_size = sizeof (ecma_ascii_string_t); in ecma_stringbuilder_create() local 2433 …gbuilder_header_t *header_p = (ecma_stringbuilder_header_t *) jmem_heap_alloc_block (initial_size); in ecma_stringbuilder_create() 2434 header_p->current_size = initial_size; in ecma_stringbuilder_create() 2436 jmem_stats_allocate_string_bytes (initial_size); in ecma_stringbuilder_create() 2452 const lit_utf8_size_t initial_size = string_size + (lit_utf8_size_t) sizeof (ecma_ascii_string_t); in ecma_stringbuilder_create_from() local 2454 …gbuilder_header_t *header_p = (ecma_stringbuilder_header_t *) jmem_heap_alloc_block (initial_size); in ecma_stringbuilder_create_from() 2455 header_p->current_size = initial_size; in ecma_stringbuilder_create_from() 2457 jmem_stats_allocate_string_bytes (initial_size); in ecma_stringbuilder_create_from() 2478 const lit_utf8_size_t initial_size = data_size + (lit_utf8_size_t) sizeof (ecma_ascii_string_t); in ecma_stringbuilder_create_raw() local 2480 …gbuilder_header_t *header_p = (ecma_stringbuilder_header_t *) jmem_heap_alloc_block (initial_size); in ecma_stringbuilder_create_raw() [all …]
|
/third_party/ejdb/src/jbi/ |
D | jbi_sorter_consumer.c | 157 static iwrc _jbi_scan_sorter_init(struct _JBSSC *ssc, off_t initial_size) { in _jbi_scan_sorter_init() argument 159 .initial_size = initial_size, in _jbi_scan_sorter_init()
|
/third_party/boost/boost/beast/websocket/impl/ |
D | stream.hpp | 124 std::size_t initial_size) const in read_size_hint() 127 initial_size, impl_->rd_done, in read_size_hint()
|
/third_party/jerryscript/jerry-core/parser/regexp/ |
D | re-bytecode.c | 36 const size_t initial_size = sizeof (re_compiled_code_t); in re_initialize_regexp_bytecode() local 37 re_ctx_p->bytecode_start_p = jmem_heap_alloc_block (initial_size); in re_initialize_regexp_bytecode() 38 re_ctx_p->bytecode_size = initial_size; in re_initialize_regexp_bytecode()
|
/third_party/boost/boost/container/pmr/ |
D | monotonic_buffer_resource.hpp | 89 …explicit monotonic_buffer_resource(std::size_t initial_size, memory_resource* upstream = 0) BOOST_…
|
/third_party/boost/boost/container/ |
D | vector.hpp | 321 …lloc_holder(vector_uninitialized_size_t, BOOST_FWD_REF(AllocConvertible) a, size_type initial_size) in vector_alloc_holder() 325 , m_size(static_cast<stored_size_type>(initial_size)) in vector_alloc_holder() 328 if(initial_size){ in vector_alloc_holder() 330 size_type final_cap = initial_size; in vector_alloc_holder() 331 m_start = this->allocation_command(allocate_new, initial_size, final_cap, reuse); in vector_alloc_holder() 337 vector_alloc_holder(vector_uninitialized_size_t, size_type initial_size) in vector_alloc_holder() 341 , m_size(static_cast<stored_size_type>(initial_size)) in vector_alloc_holder() 344 if(initial_size){ in vector_alloc_holder() 346 size_type final_cap = initial_size; in vector_alloc_holder() 347 m_start = this->allocation_command(allocate_new, initial_size, final_cap, reuse); in vector_alloc_holder() [all …]
|
/third_party/libxml2/ |
D | triostr.c | 1349 TRIO_ARGS1((initial_size), 1350 int initial_size) 1358 (size_t)((initial_size > 0) ? initial_size : 1))) 1361 self->allocated = initial_size;
|
/third_party/boost/boost/unordered/ |
D | unordered_set.hpp | 1162 : table_(boost::unordered::detail::initial_size(f, l, n), hf, eql, a) in unordered_set() 1212 boost::unordered::detail::initial_size(list.begin(), list.end(), n), in unordered_set() 1238 : table_(boost::unordered::detail::initial_size(f, l, n), hasher(), in unordered_set() 1249 boost::unordered::detail::initial_size(f, l, n), hf, key_equal(), a) in unordered_set() 1261 boost::unordered::detail::initial_size(list.begin(), list.end(), n), in unordered_set() 1272 boost::unordered::detail::initial_size(list.begin(), list.end(), n), in unordered_set() 1557 : table_(boost::unordered::detail::initial_size(f, l, n), hf, eql, a) in unordered_multiset() 1608 boost::unordered::detail::initial_size(list.begin(), list.end(), n), in unordered_multiset() 1634 : table_(boost::unordered::detail::initial_size(f, l, n), hasher(), in unordered_multiset() 1645 boost::unordered::detail::initial_size(f, l, n), hf, key_equal(), a) in unordered_multiset() [all …]
|
/third_party/skia/third_party/externals/swiftshader/tests/regres/testlists/ |
D | vk-wsi-PASS.txt | 29 dEQP-VK.wsi.xcb.surface.initial_size 68 dEQP-VK.wsi.xlib.surface.initial_size
|
/third_party/iowow/src/fs/ |
D | iwexfile.h | 135 off_t initial_size; /**< Initial file size */ member
|
/third_party/python/Lib/email/ |
D | header.py | 543 def __init__(self, initial_size=0): argument 544 self._initial_size = initial_size
|