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

123

/macosx-10.10/WTF-7600.1.24/wtf/text/
H A DStringBuffer.h53 void shrink(unsigned newLength) argument
55 ASSERT(newLength <= m_length);
56 m_length = newLength;
59 void resize(unsigned newLength) argument
61 if (newLength > m_length) {
62 if (newLength > std::numeric_limits<unsigned>::max() / sizeof(UChar))
64 m_data = static_cast<UChar*>(fastRealloc(m_data, newLength * sizeof(UChar)));
66 m_length = newLength;
/macosx-10.10/WebCore-7600.1.25/storage/
H A DStorageMap.cpp116 unsigned newLength = m_currentLength; local
117 bool overflow = newLength + value.length() < newLength;
118 newLength += value.length();
121 overflow |= newLength - oldValue.length() > newLength;
122 newLength -= oldValue.length();
125 overflow |= newLength + adjustedKeyLength < newLength;
126 newLength
[all...]
/macosx-10.10/WebCore-7600.1.25/bindings/js/
H A DJSHTMLOptionsCollectionCustom.cpp43 unsigned newLength = 0; local
49 newLength = UINT_MAX;
51 newLength = static_cast<unsigned>(lengthValue);
54 impl().setLength(newLength, ec);
/macosx-10.10/WebCore-7600.1.25/platform/audio/
H A DAudioChannel.cpp43 void AudioChannel::resizeSmaller(size_t newLength) argument
45 ASSERT(newLength <= m_length);
46 if (newLength <= m_length)
47 m_length = newLength;
H A DAudioChannel.h84 void resizeSmaller(size_t newLength);
/macosx-10.10/WebCore-7600.1.25/rendering/svg/
H A DSVGTextLayoutAttributesBuilder.h55 TextPosition(SVGTextPositioningElement* newElement = 0, unsigned newStart = 0, unsigned newLength = 0)
58 , length(newLength)
/macosx-10.10/ICU-531.30/icuSources/common/
H A Dunistr_case.cpp126 int32_t newLength; local
129 newLength = stringCaseMapper(csm, getArrayStart(), getCapacity(),
131 setLength(newLength);
132 } while(errorCode==U_BUFFER_OVERFLOW_ERROR && cloneArrayIfNeeded(newLength, newLength, FALSE));
H A Dcharstr.cpp30 CharString &CharString::truncate(int32_t newLength) { argument
31 if(newLength<0) {
32 newLength=0;
34 if(newLength<len) {
35 buffer[len=newLength]=0;
H A Dunistr.cpp1078 int32_t newLength)
1086 newText.pinIndices(newStart, newLength);
1099 replace(pos, oldLength, newText, newStart, newLength);
1101 start = pos + newLength;
1147 // without copy-on-write, e.g., via truncate(newLength) or remove(void).
1368 int32_t newLength; local
1375 newLength = oldLength + srcLength;
1376 if(newLength <= getCapacity() && isBufferWritable()) {
1388 setLength(newLength);
1399 newLength
1071 findAndReplace(int32_t start, int32_t length, const UnicodeString& oldText, int32_t oldStart, int32_t oldLength, const UnicodeString& newText, int32_t newStart, int32_t newLength) argument
1615 releaseBuffer(int32_t newLength) argument
[all...]
H A Dbytestriebuilder.cpp401 int32_t newLength=bytesLength+1; local
402 if(ensureCapacity(newLength)) {
403 bytesLength=newLength;
411 int32_t newLength=bytesLength+length; local
412 if(ensureCapacity(newLength)) {
413 bytesLength=newLength;
H A Ducharstriebuilder.cpp349 int32_t newLength=ucharsLength+1; local
350 if(ensureCapacity(newLength)) {
351 ucharsLength=newLength;
359 int32_t newLength=ucharsLength+length; local
360 if(ensureCapacity(newLength)) {
361 ucharsLength=newLength;
H A Dcharstr.h73 CharString &truncate(int32_t newLength);
/macosx-10.10/ICU-531.30/icuSources/tools/toolutil/
H A Ddenseranges.cpp50 void truncate(int32_t newLength) { argument
51 if(newLength<length) {
52 length=newLength;
/macosx-10.10/ICU-531.30/icuSources/test/intltest/
H A Dwinnmtst.cpp151 int newLength;
154 newLength = _vscwprintf(fmt, args);
157 nBuffer = NEW_ARRAY(UChar, newLength + 1);
160 result = _vsnwprintf(nBuffer, newLength + 1, fmt, args);
193 int newLength = GetCurrencyFormatW(lcid, 0, nBuffer, NULL, NULL, 0); local
195 buffer = NEW_ARRAY(UChar, newLength);
197 GetCurrencyFormatW(lcid, 0, nBuffer, NULL, buffer, newLength);
207 int newLength = GetNumberFormatW(lcid, 0, nBuffer, NULL, NULL, 0); local
209 buffer = NEW_ARRAY(UChar, newLength);
211 GetNumberFormatW(lcid, 0, nBuffer, NULL, buffer, newLength);
[all...]
/macosx-10.10/WebCore-7600.1.25/platform/network/
H A DBlobRegistryImpl.cpp104 long long newLength = currentLength > length ? length : currentLength; local
106 blobData->appendData(iter->data, iter->offset() + offset, newLength);
109 blobData->appendFile(iter->file.get(), iter->offset() + offset, newLength);
111 length -= newLength;
202 unsigned long long newLength = end - start; local
206 appendStorageItems(newData.get(), originalData->items(), start, newLength);
/macosx-10.10/IOFireWireFamily-456/IOFireWireFamily.kmodproj/
H A DIOFireWireROMCache.cpp553 unsigned int newLength; local
557 newLength = getLength();
559 if( romLength == newLength )
562 newLength += bufLen;
565 romLength = newLength;
/macosx-10.10/WebCore-7600.1.25/fileapi/
H A DFileReaderLoader.cpp191 unsigned long long newLength = m_totalBytes * 2; local
192 if (newLength > std::numeric_limits<unsigned>::max())
193 newLength = std::numeric_limits<unsigned>::max();
195 ArrayBuffer::create(static_cast<unsigned>(newLength), 1);
199 m_totalBytes = static_cast<unsigned>(newLength);
/macosx-10.10/ICU-531.30/icuSources/i18n/
H A Dwindtfmt.cpp246 int newLength = GetDateFormatW(fLCID, dfFlags[fDateStyle - kDateOffset], st, NULL, NULL, 0); local
248 buffer = NEW_ARRAY(UChar, newLength);
249 GetDateFormatW(fLCID, dfFlags[fDateStyle - kDateOffset], st, NULL, buffer, newLength);
272 int newLength = GetTimeFormatW(fLCID, tfFlags[fTimeStyle], st, NULL, NULL, 0); local
274 buffer = NEW_ARRAY(UChar, newLength);
275 GetDateFormatW(fLCID, tfFlags[fTimeStyle], st, NULL, buffer, newLength);
H A Dwinnmfmt.cpp264 int newLength;
267 newLength = _vscwprintf(fmt, args);
270 nBuffer = NEW_ARRAY(UChar, newLength + 1);
273 result = _vsnwprintf(nBuffer, newLength + 1, fmt, args);
315 int newLength = GetCurrencyFormatW(fLCID, 0, nBuffer, &formatInfo.currency, NULL, 0); local
317 buffer = NEW_ARRAY(UChar, newLength);
319 GetCurrencyFormatW(fLCID, 0, nBuffer, &formatInfo.currency, buffer, newLength);
335 int newLength = GetNumberFormatW(fLCID, 0, nBuffer, &formatInfo.number, NULL, 0); local
337 buffer = NEW_ARRAY(UChar, newLength);
339 GetNumberFormatW(fLCID, 0, nBuffer, &formatInfo.number, buffer, newLength);
[all...]
H A Dsortkey.cpp112 void CollationKey::setLength(int32_t newLength) { argument
113 // U_ASSERT(newLength >= 0 && newLength <= getCapacity());
114 fFlagAndLength = (fFlagAndLength & 0x80000000) | newLength;
/macosx-10.10/tcl-105/tcl84/tcl/generic/
H A DtclStringObj.c1471 int newLength, oldLength;
1486 newLength = numBytes + oldLength;
1487 if (newLength < 0) {
1492 if (newLength > (int) stringPtr->allocated) {
1512 if (Tcl_AttemptSetObjLength(objPtr, 2 * newLength) == 0) {
1517 unsigned int limit = INT_MAX - newLength;
1521 Tcl_SetObjLength(objPtr, newLength + growth);
1539 objPtr->bytes[newLength] = 0;
1540 objPtr->length = newLength;
1569 int newLength, oldLengt
1452 int newLength, oldLength; local
1549 int newLength, oldLength, attemptLength; local
[all...]
/macosx-10.10/JavaScriptCore-7600.1.17/runtime/
H A DJSArray.cpp197 unsigned newLength = value.toUInt32(exec); local
198 if (value.toNumber(exec) != static_cast<double>(newLength)) {
202 thisObject->setLength(exec, newLength, slot.isStrictMode());
328 bool JSArray::setLengthWithArrayStorage(ExecState* exec, unsigned newLength, bool throwException, ArrayStorage* storage) argument
340 if (newLength < length) {
343 keys.reserveInitialCapacity(min(map->size(), static_cast<size_t>(length - newLength)));
347 if (index < length && index >= newLength)
376 if (newLength < length) {
379 for (unsigned i = newLength; i < usedVectorLength; ++i) {
387 storage->setLength(newLength);
392 setLength(ExecState* exec, unsigned newLength, bool throwException) argument
[all...]
/macosx-10.10/WTF-7600.1.24/wtf/
H A DFastBitVector.h77 size_t newLength = arrayLength(numBits); local
78 uint32_t* newArray = static_cast<uint32_t*>(fastCalloc(newLength, 4));
/macosx-10.10/ICU-531.30/icuSources/i18n/unicode/
H A Dsortkey.h254 void setLength(int32_t newLength);
/macosx-10.10/WebCore-7600.1.25/dom/
H A DCharacterData.h71 void setDataAndUpdate(const String&, unsigned offsetOfReplacedData, unsigned oldLength, unsigned newLength);

Completed in 337 milliseconds

123