Searched refs:getCapacity (Results 1 - 25 of 60) sorted by relevance

123

/macosx-10.10/ICU-531.30/icuSources/common/
H A Dcharstr.cpp62 if(sLength>=(buffer.getCapacity()-len)) {
69 sLength>=(buffer.getCapacity()-len)
90 int32_t appendCapacity=buffer.getCapacity()-len-1; // -1 for NUL
96 resultCapacity=buffer.getCapacity()-len-1;
105 len+=s.extract(0, 0x7fffffff, buffer.getAlias()+len, buffer.getCapacity()-len, US_INV);
116 if(capacity>buffer.getCapacity()) {
118 desiredCapacityHint=capacity+buffer.getCapacity();
H A Dlocdispnames.cpp64 buffer, result.getCapacity(),
76 buffer, result.getCapacity(),
104 buffer, result.getCapacity(),
116 buffer, result.getCapacity(),
144 buffer, result.getCapacity(),
156 buffer, result.getCapacity(),
184 buffer, result.getCapacity(),
196 buffer, result.getCapacity(),
224 buffer, result.getCapacity(),
236 buffer, result.getCapacity(),
[all...]
H A Dunistr_case.cpp129 newLength = stringCaseMapper(csm, getArrayStart(), getCapacity(),
H A Dunistr.cpp428 u_strFromUTF32WithSub(utf16, result.getCapacity(), &length16,
1135 if(len < getCapacity()) {
1253 u_strFromUTF8WithSub(utf16, getCapacity(), &length16,
1376 if(newLength <= getCapacity() && isBufferWritable()) {
1618 int32_t capacity=getCapacity();
1646 newCapacity = getCapacity();
1666 newCapacity > getCapacity()
1703 newCapacity = getCapacity();
1782 *resultCapacity = str.getCapacity() - oldLength;
/macosx-10.10/xnu-2782.1.97/libkern/c++/Tests/TestSerialization/test2/
H A Dtest2_main.cpp142 IOLog("serialized object's length = %d, capacity = %d\n", s->getLength(), s->getCapacity());
158 s2->getLength(), s2->getCapacity());
/macosx-10.10/ICU-531.30/icuSources/i18n/
H A Dsortkey.cpp63 (count > getCapacity() && reallocate(count, 0) == NULL)) {
84 if (length > getCapacity() && reallocate(length, 0) == NULL) {
113 // U_ASSERT(newLength >= 0 && newLength <= getCapacity());
157 if (length > getCapacity() && reallocate(length, 0) == NULL) {
H A Ddigitlst.cpp71 fContext.digits = fStorage.getCapacity();
105 if (other.fStorage.getCapacity() > fStorage.getCapacity()) {
106 fDecNumber = fStorage.resize(other.fStorage.getCapacity());
110 fContext.digits = fStorage.getCapacity();
766 // fContext.digits == fStorage.getCapacity()
767 decNumber *t = fStorage.resize(numDigits, fStorage.getCapacity());
885 decNumber *newBuffer = fStorage.resize(requestedCapacity, fStorage.getCapacity());
H A Dcollationkeys.cpp126 if(len < buffer.getCapacity() || ensureCapacity(1)) {
137 if((len + appendLength) <= buffer.getCapacity() || ensureCapacity(appendLength)) {
150 if((len + appendLength) <= buffer.getCapacity() || ensureCapacity(appendLength)) {
170 if((len + appendLength) <= buffer.getCapacity() || ensureCapacity(appendLength)) {
185 int32_t newCapacity = 2 * buffer.getCapacity();
/macosx-10.10/xnu-2782.1.97/libkern/c++/Tests/TestSerialization/test1/
H A Dtest1_main.cpp83 IOLog("serialized object's length = %d, capacity = %d\n", s->getLength(), s->getCapacity());
/macosx-10.10/xnu-2782.1.97/libkern/libkern/c++/
H A DOSCollection.h274 * @function getCapacity
287 virtual unsigned int getCapacity() const = 0;
H A DOSArray.h331 * @function getCapacity
345 * //apple_ref/cpp/instm/OSArray/getCapacity/virtualunsignedint/()
352 virtual unsigned int getCapacity() const;
H A DOSData.h407 * @function getCapacity
429 virtual unsigned int getCapacity() const;
H A DOSOrderedSet.h269 * @function getCapacity
290 virtual unsigned int getCapacity() const;
H A DOSSerialize.h304 virtual unsigned int getCapacity() const;
H A DOSSet.h409 * @function getCapacity
430 virtual unsigned int getCapacity() const;
H A DOSDictionary.h459 * @function getCapacity
479 virtual unsigned int getCapacity() const;
/macosx-10.10/ICU-531.30/icuSources/i18n/unicode/
H A Dsortkey.h262 int32_t getCapacity() const { function in class:CollationKey
/macosx-10.10/IONetworkingFamily-101/
H A DIOOutputQueue.h205 /*! @function getCapacity
212 virtual UInt32 getCapacity() const = 0;
H A DIOPacketQueue.h121 /*! @function getCapacity
126 virtual UInt32 getCapacity() const;
H A DIOBasicOutputQueue.h272 /*! @function getCapacity
279 virtual UInt32 getCapacity() const;
H A DIOPacketQueue.cpp142 UInt32 IOPacketQueue::getCapacity() const function in class:IOPacketQueue
/macosx-10.10/xnu-2782.1.97/iokit/IOKit/
H A DIOBufferMemoryDescriptor.h242 * getCapacity:
246 virtual vm_size_t getCapacity() const;
/macosx-10.10/xnu-2782.1.97/iokit/Tests/
H A DTestContainers.cpp143 TEST_ASSERT('d', "1c", test1->getCapacity() == DATA_SIZE_1);
148 TEST_ASSERT('d', "1h", test1->getCapacity() == DATA_SIZE_1);
188 TEST_ASSERT('d', "3c", test1->getCapacity() == sizeof(testData));
193 TEST_ASSERT('d', "3h", test1->getCapacity() == sizeof(testData));
/macosx-10.10/ICU-531.30/icuSources/test/intltest/
H A Dnptrans.cpp208 b1Len = map(src, srcLength, b1, b1String.getCapacity(), allowUnassigned, parseError, status);
216 b1Len = map(src, srcLength, b1, b1String.getCapacity(), allowUnassigned, parseError, status);
/macosx-10.10/xnu-2782.1.97/libkern/c++/
H A DOSSerialize.cpp214 unsigned int OSSerialize::getCapacity() const { return capacity; } function in class:OSSerialize

Completed in 432 milliseconds

123