/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/mesa3d/src/intel/vulkan/tests/ |
D | block_pool_grow_first.c | 41 const uint32_t initial_size = block_size / 2; in main() local 45 anv_block_pool_init(&pool, &device, "test", 4096, initial_size); in main() 46 ASSERT(pool.size == initial_size); in main() 52 ASSERT(pool.size > initial_size); in main() 53 ASSERT(pool.size >= initial_size + block_size); in main() 58 ASSERT(padding == initial_size); in main() 59 ASSERT(offset == initial_size); in main()
|
/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/libs/beast/include/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/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/flatbuffers/grpc/tests/ |
D | message_builder_test.cpp | 232 for (size_t initial_size = 4; initial_size <= 2048; initial_size *= 2) { in builder_move_ctor_conversion_before_finish_half_n_half_table_test() local 233 flatbuffers::FlatBufferBuilder fbb(initial_size); in builder_move_ctor_conversion_before_finish_half_n_half_table_test() 250 for (size_t initial_size = 1; initial_size <= 2048; initial_size += 1) { in builder_move_ctor_conversion_before_finish_test() local 251 flatbuffers::FlatBufferBuilder fbb(initial_size); in builder_move_ctor_conversion_before_finish_test()
|
/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/flatbuffers/java/com/google/flatbuffers/ |
D | FlatBufferBuilder.java | 75 public FlatBufferBuilder(int initial_size, ByteBufferFactory bb_factory) { in FlatBufferBuilder() argument 76 this(initial_size, bb_factory, null, Utf8.getDefault()); in FlatBufferBuilder() 87 public FlatBufferBuilder(int initial_size, ByteBufferFactory bb_factory, in FlatBufferBuilder() argument 89 if (initial_size <= 0) { in FlatBufferBuilder() 90 initial_size = DEFAULT_BUFFER_SIZE; in FlatBufferBuilder() 98 bb = bb_factory.newByteBuffer(initial_size); in FlatBufferBuilder() 109 public FlatBufferBuilder(int initial_size) { in FlatBufferBuilder() argument 110 this(initial_size, HeapByteBufferFactory.INSTANCE, null, Utf8.getDefault()); in FlatBufferBuilder()
|
/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/flatbuffers/ts/ |
D | builder.ts | 33 let initial_size: number; 36 initial_size = 1024; 38 initial_size = opt_initial_size; 45 this.bb = ByteBuffer.allocate(initial_size); 46 this.space = initial_size;
|
/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/flatbuffers/php/ |
D | FlatbufferBuilder.php | 89 public function __construct($initial_size) argument 91 if ($initial_size <= 0) { 92 $initial_size = 1; 94 $this->space = $initial_size; 95 $this->bb = $this->newByteBuffer($initial_size);
|
/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/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/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/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/libs/beast/include/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/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/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 …]
|