HomeSort by relevance Sort by last modified time
    Searched refs:_capacity (Results 1 - 17 of 17) sorted by null

  /external/lzma/CPP/Common/
DynamicBuffer.h 13 if (this->_capacity > 64)
14 delta = this->_capacity / 4;
15 else if (this->_capacity > 8)
20 size_t newCap = this->_capacity + delta;
22 newCap = this->_capacity + size;
32 if (buffer._capacity > 0)
34 SetCapacity(buffer._capacity);
35 memmove(this->_items, buffer._items, buffer._capacity * sizeof(T));
41 if (this->_capacity < capacity)
42 GrowLength(capacity - this->_capacity);
    [all...]
Buffer.h 11 size_t _capacity; member in class:CBuffer
18 _capacity = 0;
20 CBuffer(): _capacity(0), _items(0) {};
21 CBuffer(const CBuffer &buffer): _capacity(0), _items(0) { *this = buffer; }
22 CBuffer(size_t size): _items(0), _capacity(0) { SetCapacity(size); }
26 size_t GetCapacity() const { return _capacity; }
29 if (newCapacity == _capacity)
35 if (_capacity > 0)
36 memmove(newBuffer, _items, MyMin(_capacity, newCapacity) * sizeof(T));
42 _capacity = newCapacity;
    [all...]
MyVector.cpp 15 _capacity = 0;
26 if (_size != _capacity)
29 if (_capacity >= 64)
30 delta = (unsigned)_capacity / 4;
31 else if (_capacity >= 8)
33 Reserve(_capacity + (int)delta);
38 // if (newCapacity <= _capacity)
39 if (newCapacity == _capacity)
57 _capacity = newCapacity;
MyString.h 160 int _capacity; member in class:CStringBase
165 if (realCapacity == _capacity)
173 if (_capacity > 0)
181 _capacity = realCapacity;
186 int freeSize = _capacity - _length - 1;
190 if (_capacity > 64)
191 delta = _capacity / 2;
192 else if (_capacity > 8)
198 SetCapacity(_capacity + delta);
208 CStringBase(): _chars(0), _length(0), _capacity(0) { SetCapacity(3); }
    [all...]
MyVector.h 12 int _capacity; member in class:CBaseRecordVector
22 CBaseRecordVector(size_t itemSize): _capacity(0), _size(0), _items(0), _itemSize(itemSize) {}
  /external/arduino/hardware/arduino/cores/arduino/
WString.h 40 ~String() { free(_buffer); _length = _capacity = 0;} //added _length = _capacity = 0;
89 unsigned int _capacity; // the array length minus one (for the '\0') member in class:String
101 _capacity = maxStrLen;
102 _buffer = (char *) malloc(_capacity + 1);
103 if (_buffer == NULL) _length = _capacity = 0;
WString.cpp 140 // if ( _length == _capacity )
151 if ( _length > _capacity )
156 _capacity = _length;
  /external/chromium_org/third_party/libaddressinput/src/cpp/src/util/
lru_cache_using_std.h 62 ,_capacity(c)
64 assert(_capacity!=0);
122 if (_key_to_value.size()==_capacity)
161 const size_t _capacity; member in class:lru_cache_using_std
  /external/lzma/CPP/7zip/Common/
StreamObjects.cpp 45 _capacity = 0;
50 if (cap <= _capacity)
53 if (_capacity > 64)
54 delta = _capacity / 4;
55 else if (_capacity > 8)
59 cap = MyMax(_capacity + delta, cap);
64 _capacity = cap;
StreamObjects.h 43 size_t _capacity; member in class:CByteDynBuffer
46 CByteDynBuffer(): _capacity(0), _buf(0) {};
50 size_t GetCapacity() const { return _capacity; }
  /external/chromium_org/third_party/webrtc/modules/video_coding/main/test/
jitter_estimate_test.h 92 unsigned int _capacity; member in class:JitterEstimateTest
  /prebuilts/eclipse/maven/apache-maven-3.2.1/lib/
plexus-utils-3.0.17.jar 
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/codehaus/plexus/plexus-utils/2.0.5/
plexus-utils-2.0.5.jar 
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/codehaus/plexus/plexus-utils/3.0/
plexus-utils-3.0.jar 
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/codehaus/plexus/plexus-utils/3.0.7/
plexus-utils-3.0.7.jar 
  /prebuilts/tools/common/m2/repository/org/codehaus/plexus/plexus-utils/1.5.1/
plexus-utils-1.5.1.jar 
  /prebuilts/tools/common/m2/repository/org/codehaus/plexus/plexus-utils/3.0.7/
plexus-utils-3.0.7.jar 

Completed in 1486 milliseconds