Searched defs:capacity_ (Results 26 - 30 of 30) sorted by relevance

12

/external/chromium_org/net/http/
H A Dhttp_stream_parser.cc115 capacity_(capacity),
145 DCHECK_LE(size_ + bytes, capacity_);
161 int capacity() const { return capacity_; };
170 const int capacity_; member in class:net::HttpStreamParser::SeekableIOBuffer
/external/protobuf/gtest/src/
H A Dgtest-internal-inl.h255 Vector() : elements_(NULL), capacity_(0), size_(0) {}
269 capacity_ = size_ = 0;
452 if (new_capacity <= capacity_)
455 capacity_ = new_capacity;
457 realloc(elements_, capacity_*sizeof(elements_[0])));
462 if (size_ < capacity_)
468 const int new_capacity = 3*(capacity_/2 + 1);
469 GTEST_CHECK_(new_capacity > capacity_) // Does the new capacity overflow?
470 << "Cannot grow a Vector with " << capacity_ << " elements already.";
480 int capacity_; // Th member in class:testing::internal::Vector
[all...]
/external/chromium_org/third_party/icu/source/i18n/
H A Ducol.cpp4189 : buffer_(dest), capacity_(destCapacity),
4192 capacity_ = 0;
4193 } else if(capacity_ < 0) {
4195 capacity_ = 0;
4202 if (appended_ < capacity_ || Resize(1, appended_)) {
4209 if (a2 <= capacity_ || Resize(2, appended_)) {
4212 } else if(appended_ < capacity_) {
4231 capacity_ = 0;
4235 int32_t capacity_; member in class:SortKeyByteSink
4255 int32_t available = capacity_
[all...]
/external/chromium_org/v8/src/heap/
H A Dspaces.h1016 intptr_t Available() { return capacity_ < size_ ? 0 : capacity_ - size_; }
1111 size_t capacity_; member in class:v8::internal::MemoryAllocator
1112 // Maximum subset of capacity_ that can be executable
1319 capacity_ = 0;
1326 size_ = capacity_;
1338 intptr_t Capacity() { return capacity_; }
1347 capacity_ += size_in_bytes;
1349 if (capacity_ > max_capacity_) {
1350 max_capacity_ = capacity_;
1383 intptr_t capacity_; member in class:v8::internal::BASE_EMBEDDED
[all...]
/external/chromium_org/v8/src/
H A Dapi.cc4565 capacity_(capacity),
4631 int remaining_capacity = capacity_ - static_cast<int>(buffer - start_);
4647 DCHECK(capacity_ == -1 || (buffer - start_) <= capacity_);
4657 DCHECK(capacity_ == -1 || (buffer - start_) <= capacity_);
4671 int remaining_capacity = capacity_ - static_cast<int>(buffer - start_);
4720 (capacity_ == -1 || (buffer_ - start_) < capacity_)) {
4731 int capacity_; member in class:v8::Utf8WriterVisitor
[all...]

Completed in 2045 milliseconds

12