Searched refs:getCapacity (Results 26 - 50 of 60) sorted by relevance

123

/macosx-10.10/ICU-531.30/icuSources/tools/toolutil/
H A Dxmlparser.cpp220 &pu, buffer+src.getCapacity(),
288 cnv, &pu, buffer+src.getCapacity(),
294 capacity=(3*src.getCapacity())/2; // increase capacity by 50%
H A Dppucd.cpp519 int32_t length=u_parseString(s, buffer, uni.getCapacity(), NULL, &errorCode);
524 length=u_parseString(s, buffer, uni.getCapacity(), NULL, &errorCode);
/macosx-10.10/IOStorageFamily-182.1.1/
H A DIOPartitionScheme.cpp520 partitions = OSSet::withCapacity( partitionsNew->getCapacity( ) );
525 partitions1 = OSOrderedSet::withCapacity( partitionsOld->getCapacity( ), partitionComparison, 0 );
543 partitions2 = OSOrderedSet::withCapacity( partitionsNew->getCapacity( ), partitionComparison, 0 );
/macosx-10.10/ICU-531.30/icuSources/common/
H A Duts46.cpp604 int32_t capacity=dest.getCapacity();
623 capacity=dest.getCapacity();
705 unicodeBuffer, fromPunycode.getCapacity(),
716 unicodeBuffer, fromPunycode.getCapacity(),
851 buffer+4, punycode.getCapacity()-4,
862 buffer+4, punycode.getCapacity()-4,
H A Dcmemory.h267 int32_t getCapacity() const { return capacity; } function in class:MaybeStackArray
275 * @return getAlias()+getCapacity()
442 int32_t getCapacity() const { return capacity; } function in class:MaybeStackHeaderAndArray
H A Dunistr_cnv.cpp400 ucnv_toUnicode(converter, &myTarget, array + getCapacity(),
H A Dnormalizer2impl.cpp47 remainingCapacity=str.getCapacity()-length;
163 remainingCapacity=str.getCapacity();
173 remainingCapacity=str.getCapacity();
184 int32_t doubleCapacity=2*str.getCapacity();
199 remainingCapacity=str.getCapacity()-length;
H A Drbbitblb.cpp962 if (destOriginalSize > destArray.getCapacity()) {
970 if (sourceSize > sourceArray.getCapacity()) {
H A Dlocid.cpp322 if (size >= togo.getCapacity())
/macosx-10.10/xnu-2782.1.97/iokit/Tests/
H A DTestCollections.cpp64 TEST_ASSERT('A', "1c", 1 == array1->getCapacity());
99 TEST_ASSERT('A', "2c", numStrCache == (int) array1->getCapacity());
303 TEST_ASSERT('S', "1c", 1 == set1->getCapacity());
339 TEST_ASSERT('S', "2c", numStrCache == (int) set1->getCapacity());
509 TEST_ASSERT('D', "1c", 1 == dict1->getCapacity());
553 TEST_ASSERT('D', "2d", numSymbols == (int) dict1->getCapacity());
/macosx-10.10/ICU-531.30/icuSources/test/intltest/
H A Ddcfmtest.cpp114 if (len+1 > buf.getCapacity()) {
138 int32_t capacity = buf.getCapacity();
H A Dustrtest.cpp1051 if(test1.getCapacity()<20) {
1052 errln("UnicodeString::getBuffer(20).getCapacity()<20");
1099 for(int32_t i=0; i<test1.getCapacity(); ++i) {
1103 if(test1.length()!=test1.getCapacity() || test1.charAt(1)!=1 || test1.charAt(100)!=1 || test1.charAt(test1.getCapacity()-1)!=1) {
1156 test1.truncate(36); // ensure length()<getCapacity()
1167 test1.truncate(36); // ensure length()<getCapacity()
1562 if(!test3.isBogus() || test3.setTo((UChar *)test1.getBuffer(), test1.length(), test1.getCapacity()).isBogus() || test3!=test1) {
H A Dbidiconf.cpp499 int32_t length=u_parseString(start, buffer, inputString.getCapacity(), NULL, errorCode);
H A Dstrcase.cpp439 u_strFromUTF8(buffer, result.getCapacity(), &resultLength, utf8Out, utf8OutLength, errorCode);
/macosx-10.10/IOHIDFamily-606.1.7/IOHIDFamily/
H A DIOHIDElementPrivate.h271 unsigned int getCapacity() const;
/macosx-10.10/xnu-2782.1.97/libkern/c++/
H A DOSSet.cpp171 unsigned int OSSet::getCapacity() const function in class:OSSet
H A DOSArray.cpp182 unsigned int OSArray::getCapacity() const { return capacity; } function in class:OSArray
H A DOSData.cpp204 unsigned int OSData::getCapacity() const { return capacity; } function in class:OSData
H A DOSOrderedSet.cpp119 unsigned int OSOrderedSet::getCapacity() const { return capacity; } function in class:OSOrderedSet
H A DOSDictionary.cpp264 unsigned int OSDictionary::getCapacity() const { return capacity; } function in class:OSDictionary
/macosx-10.10/xnu-2782.1.97/iokit/Kernel/
H A DIOReporter.cpp835 if (size2cpy > (destination->getCapacity() - destination->getLength())) {
837 (unsigned long)destination->getCapacity(),
H A DIOBufferMemoryDescriptor.cpp533 * getCapacity:
537 vm_size_t IOBufferMemoryDescriptor::getCapacity() const function in class:IOBufferMemoryDescriptor
/macosx-10.10/WTF-7600.1.24/icu/unicode/
H A Dunistr.h1719 inline int32_t getCapacity(void) const;
2664 * getCapacity() returns the actual capacity.
2678 * If length()<getCapacity() then you can terminate it by writing a NUL
2728 * The capacity of the buffer can be determined with getCapacity().
2734 * <code>(s.length()<s.getCapacity() && buffer[s.length()]==0)</code>.
2762 * The capacity of the buffer can be determined with getCapacity().
3491 UnicodeString::getCapacity() const function in class:UnicodeString
4202 if(len < getCapacity() && ((fFlags&kRefCounted) == 0 || refCount() == 1)) {
/macosx-10.10/WebCore-7600.1.25/icu/unicode/
H A Dunistr.h1719 inline int32_t getCapacity(void) const;
2664 * getCapacity() returns the actual capacity.
2678 * If length()<getCapacity() then you can terminate it by writing a NUL
2728 * The capacity of the buffer can be determined with getCapacity().
2734 * <code>(s.length()<s.getCapacity() && buffer[s.length()]==0)</code>.
2762 * The capacity of the buffer can be determined with getCapacity().
3491 UnicodeString::getCapacity() const function in class:UnicodeString
4202 if(len < getCapacity() && ((fFlags&kRefCounted) == 0 || refCount() == 1)) {
/macosx-10.10/IONetworkingFamily-101/
H A DIOOutputQueue.cpp677 UInt32 IOBasicOutputQueue::getCapacity() const function in class:IOBasicOutputQueue

Completed in 423 milliseconds

123