Home
last modified time | relevance | path

Searched refs:old_capacity (Results 1 – 15 of 15) sorted by relevance

/external/strace/
Dretval.c38 const size_t old_capacity = retval_vec_capacity; in expand_retval_vec() local
41 memset(retval_vec + old_capacity, 0, in expand_retval_vec()
42 (retval_vec_capacity - old_capacity) in expand_retval_vec()
Ddelay.c45 const size_t old_capacity = delay_data_vec_capacity; in expand_delay_data_vec() local
48 memset(delay_data_vec + old_capacity, 0, in expand_delay_data_vec()
49 (delay_data_vec_capacity - old_capacity) in expand_delay_data_vec()
/external/perfetto/include/perfetto/ext/base/
Dcontainer_annotations.h44 #define ANNOTATE_CHANGE_CAPACITY(buffer, old_capacity, buffer_size, \ argument
46 ANNOTATE_DELETE_BUFFER(buffer, old_capacity, buffer_size); \
53 #define ANNOTATE_CHANGE_CAPACITY(buffer, old_capacity, buffer_size, \ argument
/external/swiftshader/third_party/subzero/src/
DIceAssembler.cpp115 intptr_t old_capacity = capacity(); in extendCapacity() local
117 intptr_t new_capacity = std::min(old_capacity * 2, old_capacity + OneMB); in extendCapacity()
118 if (new_capacity < old_capacity) { in extendCapacity()
/external/webrtc/rtc_base/
Dbuffer_unittest.cc466 const size_t old_capacity = buf.capacity(); in TEST() local
472 EXPECT_EQ(old_capacity, buf.capacity()); in TEST()
492 const size_t old_capacity = buf.capacity(); in TEST() local
497 EXPECT_EQ(old_capacity, buf.capacity()); in TEST()
510 const size_t old_capacity = buf.capacity(); in TEST() local
515 EXPECT_EQ(old_capacity, buf.capacity()); in TEST()
528 const size_t old_capacity = buf.capacity(); in TEST() local
533 EXPECT_EQ(old_capacity, buf.capacity()); in TEST()
/external/openscreen/third_party/abseil/src/absl/container/internal/
Draw_hash_set.h1586 const size_t old_capacity = capacity_;
1591 for (size_t i = 0; i != old_capacity; ++i) {
1602 if (old_capacity) {
1604 sizeof(slot_type) * old_capacity);
1605 auto layout = MakeLayout(old_capacity);
/external/angle/third_party/abseil-cpp/absl/container/internal/
Draw_hash_set.h1606 const size_t old_capacity = capacity_;
1611 for (size_t i = 0; i != old_capacity; ++i) {
1622 if (old_capacity) {
1624 sizeof(slot_type) * old_capacity);
1625 auto layout = MakeLayout(old_capacity);
/external/abseil-cpp/absl/container/internal/
Draw_hash_set.h1512 const size_t old_capacity = capacity_;
1517 for (size_t i = 0; i != old_capacity; ++i) {
1528 if (old_capacity) {
1530 sizeof(slot_type) * old_capacity);
1531 auto layout = MakeLayout(old_capacity);
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/internal/
Draw_hash_set.h1532 const size_t old_capacity = capacity_;
1537 for (size_t i = 0; i != old_capacity; ++i) {
1548 if (old_capacity) {
1550 sizeof(slot_type) * old_capacity);
1551 auto layout = MakeLayout(old_capacity);
/external/libtextclassifier/abseil-cpp/absl/container/internal/
Draw_hash_set.h1532 const size_t old_capacity = capacity_;
1537 for (size_t i = 0; i != old_capacity; ++i) {
1548 if (old_capacity) {
1550 sizeof(slot_type) * old_capacity);
1551 auto layout = MakeLayout(old_capacity);
/external/webrtc/third_party/abseil-cpp/absl/container/internal/
Draw_hash_set.h1512 const size_t old_capacity = capacity_;
1517 for (size_t i = 0; i != old_capacity; ++i) {
1528 if (old_capacity) {
1530 sizeof(slot_type) * old_capacity);
1531 auto layout = MakeLayout(old_capacity);
/external/protobuf/src/google/protobuf/
Dextension_set_unittest.cc822 const int old_capacity = \ in TEST()
825 EXPECT_GE(old_capacity, kMinRepeatedFieldAllocationSize); \ in TEST()
834 old_capacity) + \ in TEST()
/external/rust/crates/smallvec/src/
Dtests.rs110 let old_capacity = v.capacity(); in drain() localVariable
113 assert_eq!(v.capacity(), old_capacity); in drain()
/external/webrtc/test/pc/e2e/analyzer/video/
Ddefault_video_quality_analyzer.cc1127 size_t old_capacity = names_.capacity(); in AddIfAbsent() local
1131 if (old_capacity == new_capacity) { in AddIfAbsent()
/external/fmtlib/include/fmt/
Dformat.h745 size_t old_capacity = this->capacity(); in grow() local
746 size_t new_capacity = old_capacity + old_capacity / 2; in grow()
758 if (old_data != store_) alloc_.deallocate(old_data, old_capacity); in grow()