/third_party/boost/libs/circular_buffer/test/ |
D | space_optimized_test.cpp | 34 BOOST_TEST(cb1.capacity().min_capacity() == 10); in min_capacity_test() 38 BOOST_TEST(cb2.capacity().min_capacity() == 5); in min_capacity_test() 42 BOOST_TEST(cb3.capacity().min_capacity() == 10); in min_capacity_test() 43 BOOST_TEST(cb1.capacity().min_capacity() <= cb1.internal_capacity()); in min_capacity_test() 44 BOOST_TEST(cb2.capacity().min_capacity() <= cb2.internal_capacity()); in min_capacity_test() 45 BOOST_TEST(cb3.capacity().min_capacity() <= cb3.internal_capacity()); in min_capacity_test() 50 BOOST_TEST(cb2.capacity().min_capacity() <= cb2.internal_capacity()); in min_capacity_test() 57 BOOST_TEST(cb2.capacity().min_capacity() <= cb2.internal_capacity()); in min_capacity_test() 58 BOOST_TEST(cb3.capacity().min_capacity() <= cb3.internal_capacity()); in min_capacity_test() 69 BOOST_TEST(c1.min_capacity() == 0); in capacity_control_test() [all …]
|
/third_party/boost/libs/poly_collection/test/ |
D | test_capacity.cpp | 54 auto min_capacity=[&]{ in test_capacity() local 58 p.reserve(min_capacity()+1); in test_capacity() 61 auto c=min_capacity(); in test_capacity() 63 BOOST_TEST(c>=min_capacity()); in test_capacity() 64 c=min_capacity(); in test_capacity() 67 BOOST_TEST(c==min_capacity()); in test_capacity() 70 BOOST_TEST(c>=min_capacity()); in test_capacity() 71 c=min_capacity(); in test_capacity() 75 BOOST_TEST(c>=min_capacity()); in test_capacity()
|
/third_party/icu/icu4c/source/common/ |
D | bytestream.cpp | 17 char* ByteSink::GetAppendBuffer(int32_t min_capacity, in GetAppendBuffer() argument 21 if (min_capacity < 1 || scratch_capacity < min_capacity) { in GetAppendBuffer() 66 char* CheckedArrayByteSink::GetAppendBuffer(int32_t min_capacity, in GetAppendBuffer() argument 71 if (min_capacity < 1 || scratch_capacity < min_capacity) { in GetAppendBuffer() 76 if (available >= min_capacity) { in GetAppendBuffer()
|
D | bytesinkutil.cpp | 137 CharStringByteSink::GetAppendBuffer(int32_t min_capacity, in GetAppendBuffer() argument 142 if (min_capacity < 1 || scratch_capacity < min_capacity) { in GetAppendBuffer() 149 min_capacity, in GetAppendBuffer()
|
D | bytesinkutil.h | 73 char* GetAppendBuffer(int32_t min_capacity,
|
/third_party/flutter/skia/third_party/externals/icu/source/common/ |
D | bytestream.cpp | 17 char* ByteSink::GetAppendBuffer(int32_t min_capacity, in GetAppendBuffer() argument 21 if (min_capacity < 1 || scratch_capacity < min_capacity) { in GetAppendBuffer() 66 char* CheckedArrayByteSink::GetAppendBuffer(int32_t min_capacity, in GetAppendBuffer() argument 71 if (min_capacity < 1 || scratch_capacity < min_capacity) { in GetAppendBuffer() 76 if (available >= min_capacity) { in GetAppendBuffer()
|
D | bytesinkutil.cpp | 137 CharStringByteSink::GetAppendBuffer(int32_t min_capacity, in GetAppendBuffer() argument 142 if (min_capacity < 1 || scratch_capacity < min_capacity) { in GetAppendBuffer() 149 min_capacity, in GetAppendBuffer()
|
D | bytesinkutil.h | 73 char* GetAppendBuffer(int32_t min_capacity,
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | bytestream.cpp | 17 char* ByteSink::GetAppendBuffer(int32_t min_capacity, in GetAppendBuffer() argument 21 if (min_capacity < 1 || scratch_capacity < min_capacity) { in GetAppendBuffer() 66 char* CheckedArrayByteSink::GetAppendBuffer(int32_t min_capacity, in GetAppendBuffer() argument 71 if (min_capacity < 1 || scratch_capacity < min_capacity) { in GetAppendBuffer() 76 if (available >= min_capacity) { in GetAppendBuffer()
|
D | bytesinkutil.cpp | 137 CharStringByteSink::GetAppendBuffer(int32_t min_capacity, in GetAppendBuffer() argument 142 if (min_capacity < 1 || scratch_capacity < min_capacity) { in GetAppendBuffer() 149 min_capacity, in GetAppendBuffer()
|
D | bytesinkutil.h | 73 char* GetAppendBuffer(int32_t min_capacity,
|
/third_party/node/deps/icu-small/source/common/ |
D | bytestream.cpp | 17 char* ByteSink::GetAppendBuffer(int32_t min_capacity, in GetAppendBuffer() argument 21 if (min_capacity < 1 || scratch_capacity < min_capacity) { in GetAppendBuffer() 66 char* CheckedArrayByteSink::GetAppendBuffer(int32_t min_capacity, in GetAppendBuffer() argument 71 if (min_capacity < 1 || scratch_capacity < min_capacity) { in GetAppendBuffer() 76 if (available >= min_capacity) { in GetAppendBuffer()
|
D | bytesinkutil.cpp | 137 CharStringByteSink::GetAppendBuffer(int32_t min_capacity, in GetAppendBuffer() argument 142 if (min_capacity < 1 || scratch_capacity < min_capacity) { in GetAppendBuffer() 149 min_capacity, in GetAppendBuffer()
|
D | bytesinkutil.h | 73 char* GetAppendBuffer(int32_t min_capacity,
|
/third_party/skia/third_party/externals/icu/fuzzers/ |
D | icu_appendable_fuzzer.cc | 61 const auto min_capacity = in LLVMFuzzerTestOneInput() local 64 min_capacity, in LLVMFuzzerTestOneInput() 65 min_capacity + provider.ConsumeIntegralInRange<int32_t>( in LLVMFuzzerTestOneInput()
|
/third_party/boost/boost/circular_buffer/ |
D | space_optimized.hpp | 264 m_capacity_ctrl = capacity_type(new_size, m_capacity_ctrl.min_capacity()); in resize() 335 m_capacity_ctrl = capacity_type(new_size, m_capacity_ctrl.min_capacity()); in rresize() 371 : circular_buffer<T, Alloc>(capacity_ctrl.min_capacity(), alloc) in circular_buffer_space_optimized() 648 circular_buffer<T, Alloc>::assign((std::max)(capacity_ctrl.min_capacity(), n), n, item); in assign() 1527 if (m_capacity_ctrl.min_capacity() > circular_buffer<T, Alloc>::capacity()) in adjust_min_capacity() 1528 circular_buffer<T, Alloc>::set_capacity(m_capacity_ctrl.min_capacity()); in adjust_min_capacity() 1563 if (new_capacity <= m_capacity_ctrl.min_capacity()) { in check_high_capacity() 1564 new_capacity = m_capacity_ctrl.min_capacity(); in check_high_capacity() 1577 circular_buffer<T, Alloc>::set_capacity((std::max)(m_capacity_ctrl.min_capacity(), size())); in reduce_capacity() 1586 return (std::max)(capacity_ctrl.min_capacity(), n); in init_capacity() [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/common/unicode/ |
D | bytestream.h | 113 virtual char* GetAppendBuffer(int32_t min_capacity, 189 virtual char* GetAppendBuffer(int32_t min_capacity,
|
/third_party/skia/third_party/externals/icu/source/common/unicode/ |
D | bytestream.h | 148 virtual char* GetAppendBuffer(int32_t min_capacity, 224 virtual char* GetAppendBuffer(int32_t min_capacity,
|
/third_party/node/deps/icu-small/source/common/unicode/ |
D | bytestream.h | 148 virtual char* GetAppendBuffer(int32_t min_capacity, 224 virtual char* GetAppendBuffer(int32_t min_capacity,
|
/third_party/icu/icu4c/source/common/unicode/ |
D | bytestream.h | 148 virtual char* GetAppendBuffer(int32_t min_capacity, 224 virtual char* GetAppendBuffer(int32_t min_capacity,
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | collationkeys.cpp | 59 SortKeyByteSink::GetAppendBuffer(int32_t min_capacity, in GetAppendBuffer() argument 64 if (min_capacity < 1 || scratch_capacity < min_capacity) { in GetAppendBuffer() 74 if (available >= min_capacity) { in GetAppendBuffer()
|
D | collationkeys.h | 52 virtual char *GetAppendBuffer(int32_t min_capacity,
|
/third_party/icu/icu4c/source/i18n/ |
D | collationkeys.cpp | 59 SortKeyByteSink::GetAppendBuffer(int32_t min_capacity, in GetAppendBuffer() argument 64 if (min_capacity < 1 || scratch_capacity < min_capacity) { in GetAppendBuffer() 74 if (available >= min_capacity) { in GetAppendBuffer()
|
/third_party/node/deps/icu-small/source/i18n/ |
D | collationkeys.cpp | 59 SortKeyByteSink::GetAppendBuffer(int32_t min_capacity, in GetAppendBuffer() argument 64 if (min_capacity < 1 || scratch_capacity < min_capacity) { in GetAppendBuffer() 74 if (available >= min_capacity) { in GetAppendBuffer()
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | collationkeys.cpp | 59 SortKeyByteSink::GetAppendBuffer(int32_t min_capacity, in GetAppendBuffer() argument 64 if (min_capacity < 1 || scratch_capacity < min_capacity) { in GetAppendBuffer() 74 if (available >= min_capacity) { in GetAppendBuffer()
|