Home
last modified time | relevance | path

Searched refs:min_capacity (Results 1 – 25 of 27) sorted by relevance

12

/third_party/skia/third_party/externals/icu/source/common/
Dbytestream.cpp17 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()
Dbytesinkutil.cpp137 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()
Dbytesinkutil.h73 char* GetAppendBuffer(int32_t min_capacity,
/third_party/icu/icu4c/source/common/
Dbytestream.cpp17 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()
Dbytesinkutil.cpp137 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()
Dbytesinkutil.h76 char* GetAppendBuffer(int32_t min_capacity,
/third_party/node/deps/icu-small/source/common/
Dbytestream.cpp17 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()
Dbytesinkutil.cpp137 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()
Dbytesinkutil.h76 char* GetAppendBuffer(int32_t min_capacity,
/third_party/node/deps/v8/src/parsing/
Dliteral-buffer.cc27 int LiteralBuffer::NewCapacity(int min_capacity) { in NewCapacity() argument
28 return min_capacity < (kMaxGrowth / (kGrowthFactor - 1)) in NewCapacity()
29 ? min_capacity * kGrowthFactor in NewCapacity()
30 : min_capacity + kMaxGrowth; in NewCapacity()
34 int min_capacity = std::max({kInitialCapacity, backing_store_.length()}); in ExpandBuffer() local
36 base::Vector<byte>::New(NewCapacity(min_capacity)); in ExpandBuffer()
Dliteral-buffer.h96 int NewCapacity(int min_capacity);
/third_party/skia/third_party/externals/icu/fuzzers/
Dicu_appendable_fuzzer.cc61 const auto min_capacity = in LLVMFuzzerTestOneInput() local
64 min_capacity, in LLVMFuzzerTestOneInput()
65 min_capacity + provider.ConsumeIntegralInRange<int32_t>( in LLVMFuzzerTestOneInput()
/third_party/node/deps/icu-small/source/common/unicode/
Dbytestream.h148 virtual char* GetAppendBuffer(int32_t min_capacity,
224 virtual char* GetAppendBuffer(int32_t min_capacity,
/third_party/icu/icu4c/source/common/unicode/
Dbytestream.h148 virtual char* GetAppendBuffer(int32_t min_capacity,
224 virtual char* GetAppendBuffer(int32_t min_capacity,
/third_party/skia/third_party/externals/icu/source/common/unicode/
Dbytestream.h148 virtual char* GetAppendBuffer(int32_t min_capacity,
224 virtual char* GetAppendBuffer(int32_t min_capacity,
/third_party/skia/third_party/externals/icu/source/i18n/
Dcollationkeys.cpp59 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()
Dcollationkeys.h52 virtual char *GetAppendBuffer(int32_t min_capacity,
/third_party/node/deps/icu-small/source/i18n/
Dcollationkeys.cpp59 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()
Dcollationkeys.h52 virtual char *GetAppendBuffer(int32_t min_capacity,
/third_party/icu/icu4c/source/i18n/
Dcollationkeys.cpp59 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()
Dcollationkeys.h52 virtual char *GetAppendBuffer(int32_t min_capacity,
/third_party/node/deps/v8/src/base/
Dsmall-vector.h159 V8_NOINLINE T* Grow(size_t min_capacity) { in Grow() argument
162 base::bits::RoundUpToPowerOfTwo(std::max(min_capacity, 2 * capacity())); in Grow()
/third_party/gstreamer/gstplugins_bad/ext/closedcaption/
Dmisc.h288 size_t min_capacity,
294 size_t min_capacity,
/third_party/rust/crates/memchr/bench/data/code/
Drust-library.rs17229 pub fn shrink_to(&mut self, min_capacity: usize) {
17230 self.vec.shrink_to(min_capacity)
41138 pub fn shrink_to(&mut self, min_capacity: usize) {
41139 let min_capacity = cmp::min(min_capacity, self.capacity()); localVariable
41142 let target_cap = cmp::max(cmp::max(min_capacity, self.len()) + 1, MINIMUM_CAPACITY + 1)
45245 pub fn shrink_to(&mut self, min_capacity: usize) {
45246 self.data.shrink_to(min_capacity)
47743 pub fn shrink_to(&mut self, min_capacity: usize) {
47744 if self.capacity() > min_capacity {
47745 self.buf.shrink_to_fit(cmp::max(self.len, min_capacity));
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h27863 long unsigned int min_capacity; member

12