HomeSort by relevance Sort by last modified time
    Searched defs:newLength (Results 1 - 25 of 46) sorted by null

1 2

  /external/webkit/WebCore/bindings/js/
JSHTMLOptionsCollectionCustom.cpp 48 unsigned newLength = 0;
54 newLength = UINT_MAX;
56 newLength = static_cast<unsigned>(lengthValue);
59 imp->setLength(newLength, ec);
  /external/webkit/WebCore/bindings/v8/custom/
V8HTMLOptionsCollectionCustom.cpp 101 unsigned newLength = 0;
107 newLength = UINT_MAX;
109 newLength = static_cast<unsigned>(v);
  /external/chromium/third_party/icu/source/common/
unistr_case.cpp 142 int32_t newLength;
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));
  /external/icu4c/common/
unistr_case.cpp 141 int32_t newLength;
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));
  /external/proguard/src/proguard/classfile/editor/
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;
  /external/proguard/src/proguard/evaluation/value/
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/webkit/WebCore/storage/
StorageMap.cpp 116 unsigned newLength = m_currentLength;
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 += adjustedKeyLength
    [all...]
  /libcore/luni/src/main/java/java/io/
BufferedInputStream.java 150 int newLength = localBuf.length * 2;
151 if (newLength > marklimit) {
152 newLength = marklimit;
154 byte[] newbuf = new byte[newLength];
BufferedReader.java 139 int newLength = buf.length * 2;
140 if (newLength > markLimit) {
141 newLength = markLimit;
143 char[] newbuf = new char[newLength];
  /libcore/luni/src/test/java/org/bouncycastle/crypto/digests/
DigestTest.java 74 int newLength = newDigest.doFinal(newHash, 0);
79 assertEquals("Hash sizes must be equal", oldLength, newLength);
  /dalvik/vm/compiler/
Utility.c 111 int newLength = gList->numAllocated;
112 if (newLength < 128) {
113 newLength <<= 1;
115 newLength += 128;
117 void *newArray = dvmCompilerNew(sizeof(void *) * newLength, true);
119 gList->numAllocated = newLength;
  /external/chromium/third_party/icu/source/i18n/
rbt_rule.cpp 451 int32_t newLength = output->toReplacer()->replace(text, pos.start, keyLimit, newStart);
452 int32_t lenDelta = newLength - (keyLimit - pos.start);
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);
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);
330 buffer = NEW_ARRAY(UChar, newLength);
332 GetNumberFormatW(fLCID, 0, nBuffer, &formatInfo.number, buffer, newLength);
    [all...]
windtfmt.cpp 245 int newLength = GetDateFormatW(fLCID, dfFlags[fDateStyle - kDateOffset], st, NULL, NULL, 0);
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);
273 buffer = NEW_ARRAY(UChar, newLength);
274 GetDateFormatW(fLCID, tfFlags[fTimeStyle], st, NULL, buffer, newLength);
  /external/icu4c/i18n/
rbt_rule.cpp 451 int32_t newLength = output->toReplacer()->replace(text, pos.start, keyLimit, newStart);
452 int32_t lenDelta = newLength - (keyLimit - pos.start);
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);
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);
330 buffer = NEW_ARRAY(UChar, newLength);
332 GetNumberFormatW(fLCID, 0, nBuffer, &formatInfo.number, buffer, newLength);
    [all...]
windtfmt.cpp 245 int newLength = GetDateFormatW(fLCID, dfFlags[fDateStyle - kDateOffset], st, NULL, NULL, 0);
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);
273 buffer = NEW_ARRAY(UChar, newLength);
274 GetDateFormatW(fLCID, tfFlags[fTimeStyle], st, NULL, buffer, newLength);
  /external/webkit/WebCore/dom/
InputElement.cpp 154 unsigned newLength = string.numCharactersInGraphemeClusters(maxLength);
155 for (unsigned i = 0; i < newLength; ++i) {
158 newLength = i;
162 return string.left(newLength);
NamedAttrMap.cpp 227 unsigned newLength = other.length();
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/test/intltest/
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);
195 buffer = NEW_ARRAY(UChar, newLength);
197 GetCurrencyFormatW(lcid, 0, nBuffer, NULL, buffer, newLength);
207 int newLength = GetNumberFormatW(lcid, 0, nBuffer, NULL, NULL, 0);
209 buffer = NEW_ARRAY(UChar, newLength);
211 GetNumberFormatW(lcid, 0, nBuffer, NULL, buffer, newLength);
    [all...]
  /external/chromium/third_party/icu/source/tools/toolutil/
pkg_gencmn.c 487 int32_t newLength;
492 newLength = (length + 1 + (int32_t)uprv_strlen(source));
493 fullPath = uprv_malloc(newLength);
  /external/icu4c/test/intltest/
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);
195 buffer = NEW_ARRAY(UChar, newLength);
197 GetCurrencyFormatW(lcid, 0, nBuffer, NULL, buffer, newLength);
207 int newLength = GetNumberFormatW(lcid, 0, nBuffer, NULL, NULL, 0);
209 buffer = NEW_ARRAY(UChar, newLength);
211 GetNumberFormatW(lcid, 0, nBuffer, NULL, buffer, newLength);
    [all...]
  /external/icu4c/tools/toolutil/
pkg_gencmn.c 487 int32_t newLength;
492 newLength = (length + 1 + (int32_t)uprv_strlen(source));
493 fullPath = uprv_malloc(newLength);
  /libcore/luni/src/main/java/org/apache/harmony/luni/util/
HexStringParser.java 277 int newLength = countBitsLength(mantissa);
280 if (oldLength >= MANTISSA_WIDTH && newLength > oldLength) {
  /external/webkit/JavaScriptCore/runtime/
JSArray.cpp 105 static inline unsigned increasedVectorLength(unsigned newLength)
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);
285 if (value.toNumber(exec) != static_cast<double>(newLength)) {
    [all...]

Completed in 3101 milliseconds

1 2