/external/webkit/WebCore/platform/text/ |
H A D | StringBuffer.h | 50 void shrink(unsigned newLength) argument 52 ASSERT(newLength <= m_length); 53 m_length = newLength; 56 void resize(unsigned newLength) argument 58 if (newLength > m_length) 59 m_data = static_cast<UChar*>(fastRealloc(m_data, newLength * sizeof(UChar))); 60 m_length = newLength;
|
/external/proguard/src/proguard/classfile/editor/ |
H A D | ConstantPoolSorter.java | 78 int newLength = 1; 89 newIndex = newLength; 94 newConstantPool[newLength++] = constant; 101 newConstantPool[newLength++] = null; 112 System.arraycopy(newConstantPool, 0, programClass.constantPool, 0, newLength); 115 for (int index = newLength; index < constantPoolCount; index++) 120 programClass.u2constantPoolCount = newLength;
|
H A D | CodeAttributeEditor.java | 522 int newLength = mapInstructions(oldCode, 528 codeAttribute.code = new byte[newLength]; 532 instructionWriter.reset(newLength); 542 return newLength;
|
/external/webkit/WebCore/storage/ |
H A D | StorageMap.cpp | 116 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...] |
/external/chromium/third_party/icu/source/common/ |
H A D | unistr_case.cpp | 142 int32_t newLength; local 146 newLength = ustr_toLower(csp, getArrayStart(), getCapacity(), 150 newLength = ustr_toUpper(csp, getArrayStart(), getCapacity(), 157 newLength = ustr_toTitle(csp, getArrayStart(), getCapacity(), 162 newLength = ustr_foldCase(csp, getArrayStart(), getCapacity(), 167 setLength(newLength); 168 } while(errorCode==U_BUFFER_OVERFLOW_ERROR && cloneArrayIfNeeded(newLength, newLength, FALSE));
|
H A D | unistr.cpp | 1023 int32_t newLength) 1031 newText.pinIndices(newStart, newLength); 1044 replace(pos, oldLength, newText, newStart, newLength); 1046 start = pos + newLength; 1459 UnicodeString::releaseBuffer(int32_t newLength) { argument 1460 if(fFlags&kOpenGetBuffer && newLength>=-1) { 1463 if(newLength==-1) { 1469 newLength=(int32_t)(p-array); 1470 } else if(newLength>capacity) { 1471 newLength 1016 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 [all...] |
/external/icu4c/common/ |
H A D | unistr_case.cpp | 141 int32_t newLength; local 145 newLength = ustr_toLower(csp, getArrayStart(), getCapacity(), 149 newLength = ustr_toUpper(csp, getArrayStart(), getCapacity(), 156 newLength = ustr_toTitle(csp, getArrayStart(), getCapacity(), 161 newLength = ustr_foldCase(csp, getArrayStart(), getCapacity(), 166 setLength(newLength); 167 } while(errorCode==U_BUFFER_OVERFLOW_ERROR && cloneArrayIfNeeded(newLength, newLength, FALSE));
|
H A D | unistr.cpp | 1035 int32_t newLength) 1043 newText.pinIndices(newStart, newLength); 1056 replace(pos, oldLength, newText, newStart, newLength); 1058 start = pos + newLength; 1491 UnicodeString::releaseBuffer(int32_t newLength) { argument 1492 if(fFlags&kOpenGetBuffer && newLength>=-1) { 1495 if(newLength==-1) { 1501 newLength=(int32_t)(p-array); 1502 } else if(newLength>capacity) { 1503 newLength 1028 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 [all...] |
/external/webkit/WebCore/bindings/js/ |
H A D | JSHTMLOptionsCollectionCustom.cpp | 48 unsigned newLength = 0; local 54 newLength = UINT_MAX; 56 newLength = static_cast<unsigned>(lengthValue); 59 imp->setLength(newLength, ec);
|
/external/guava/src/com/google/common/collect/ |
H A D | ObjectArrays.java | 106 private static <T> T[] arraysCopyOf(T[] original, int newLength) { argument 107 T[] copy = newArray(original, newLength); 109 original, 0, copy, 0, Math.min(original.length, newLength));
|
/external/proguard/src/proguard/evaluation/value/ |
H A D | InstructionOffsetValue.java | 158 int newLength = this.values.length; 163 newLength++; 169 if (newLength == other.values.length) 176 //if (newLength == this.values.length) 182 int[] newValues = new int[newLength];
|
/external/chromium/third_party/icu/source/test/intltest/ |
H A D | winnmtst.cpp | 151 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...] |
/external/icu4c/test/intltest/ |
H A D | winnmtst.cpp | 151 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...] |
/external/webkit/WebCore/bindings/v8/custom/ |
H A D | V8HTMLOptionsCollectionCustom.cpp | 101 unsigned newLength = 0; local 107 newLength = UINT_MAX; 109 newLength = static_cast<unsigned>(v);
|
/external/chromium/third_party/icu/source/i18n/ |
H A D | windtfmt.cpp | 245 int newLength = GetDateFormatW(fLCID, dfFlags[fDateStyle - kDateOffset], st, NULL, NULL, 0); local 247 buffer = NEW_ARRAY(UChar, newLength); 248 GetDateFormatW(fLCID, dfFlags[fDateStyle - kDateOffset], st, NULL, buffer, newLength); 271 int newLength = GetTimeFormatW(fLCID, tfFlags[fTimeStyle], st, NULL, NULL, 0); local 273 buffer = NEW_ARRAY(UChar, newLength); 274 GetDateFormatW(fLCID, tfFlags[fTimeStyle], st, NULL, buffer, newLength);
|
H A D | winnmfmt.cpp | 257 int newLength; 260 newLength = _vscwprintf(fmt, args); 263 nBuffer = NEW_ARRAY(UChar, newLength + 1); 266 result = _vsnwprintf(nBuffer, newLength + 1, fmt, args); 308 int newLength = GetCurrencyFormatW(fLCID, 0, nBuffer, &formatInfo.currency, NULL, 0); local 310 buffer = NEW_ARRAY(UChar, newLength); 312 GetCurrencyFormatW(fLCID, 0, nBuffer, &formatInfo.currency, buffer, newLength); 328 int newLength = GetNumberFormatW(fLCID, 0, nBuffer, &formatInfo.number, NULL, 0); local 330 buffer = NEW_ARRAY(UChar, newLength); 332 GetNumberFormatW(fLCID, 0, nBuffer, &formatInfo.number, buffer, newLength); [all...] |
H A D | rbt_rule.cpp | 451 int32_t newLength = output->toReplacer()->replace(text, pos.start, keyLimit, newStart); local 452 int32_t lenDelta = newLength - (keyLimit - pos.start);
|
/external/icu4c/i18n/ |
H A D | windtfmt.cpp | 245 int newLength = GetDateFormatW(fLCID, dfFlags[fDateStyle - kDateOffset], st, NULL, NULL, 0); local 247 buffer = NEW_ARRAY(UChar, newLength); 248 GetDateFormatW(fLCID, dfFlags[fDateStyle - kDateOffset], st, NULL, buffer, newLength); 271 int newLength = GetTimeFormatW(fLCID, tfFlags[fTimeStyle], st, NULL, NULL, 0); local 273 buffer = NEW_ARRAY(UChar, newLength); 274 GetDateFormatW(fLCID, tfFlags[fTimeStyle], st, NULL, buffer, newLength);
|
H A D | winnmfmt.cpp | 257 int newLength; 260 newLength = _vscwprintf(fmt, args); 263 nBuffer = NEW_ARRAY(UChar, newLength + 1); 266 result = _vsnwprintf(nBuffer, newLength + 1, fmt, args); 308 int newLength = GetCurrencyFormatW(fLCID, 0, nBuffer, &formatInfo.currency, NULL, 0); local 310 buffer = NEW_ARRAY(UChar, newLength); 312 GetCurrencyFormatW(fLCID, 0, nBuffer, &formatInfo.currency, buffer, newLength); 328 int newLength = GetNumberFormatW(fLCID, 0, nBuffer, &formatInfo.number, NULL, 0); local 330 buffer = NEW_ARRAY(UChar, newLength); 332 GetNumberFormatW(fLCID, 0, nBuffer, &formatInfo.number, buffer, newLength); [all...] |
H A D | rbt_rule.cpp | 451 int32_t newLength = output->toReplacer()->replace(text, pos.start, keyLimit, newStart); local 452 int32_t lenDelta = newLength - (keyLimit - pos.start);
|
/external/webkit/JavaScriptCore/runtime/ |
H A D | JSArray.cpp | 105 static inline unsigned increasedVectorLength(unsigned newLength) argument 107 ASSERT(newLength <= MAX_STORAGE_VECTOR_LENGTH); 110 // increasedLength = (newLength * 3 + 1) / 2; 112 // increasedLength = (unsigned)ceil(newLength * 1.5)); 114 unsigned increasedLength = newLength + (newLength >> 1) + (newLength & 1); 115 ASSERT(increasedLength >= newLength); 284 unsigned newLength = value.toUInt32(exec); local 285 if (value.toNumber(exec) != static_cast<double>(newLength)) { 498 increaseVectorLength(unsigned newLength) argument 525 setLength(unsigned newLength) argument [all...] |
/external/webkit/WebCore/dom/ |
H A D | InputElement.cpp | 154 unsigned newLength = string.numCharactersInGraphemeClusters(maxLength); local 155 for (unsigned i = 0; i < newLength; ++i) { 158 newLength = i; 162 return string.left(newLength);
|
H A D | NamedAttrMap.cpp | 227 unsigned newLength = other.length(); local 228 m_attributes.resize(newLength); 229 for (unsigned i = 0; i < newLength; i++) 236 for (unsigned i = 0; i < newLength; i++)
|
/external/chromium/third_party/icu/source/tools/toolutil/ |
H A D | pkg_gencmn.c | 487 int32_t newLength; local 492 newLength = (length + 1 + (int32_t)uprv_strlen(source)); 493 fullPath = uprv_malloc(newLength);
|
/external/icu4c/tools/toolutil/ |
H A D | pkg_gencmn.c | 487 int32_t newLength; local 492 newLength = (length + 1 + (int32_t)uprv_strlen(source)); 493 fullPath = uprv_malloc(newLength);
|