/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/ |
V8HTMLOptionsCollectionCustom.cpp | 108 unsigned newLength = 0; 114 newLength = UINT_MAX; 116 newLength = static_cast<unsigned>(v); 122 imp->setLength(newLength, es);
|
/external/icu4c/common/ |
unistr_case.cpp | 126 int32_t newLength; 129 newLength = stringCaseMapper(csm, getArrayStart(), getCapacity(), 131 setLength(newLength); 132 } while(errorCode==U_BUFFER_OVERFLOW_ERROR && cloneArrayIfNeeded(newLength, newLength, FALSE));
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/ |
Arrays.java | 499 public static byte[] copyOf(byte[] data, int newLength) 501 byte[] tmp = new byte[newLength]; 503 if (newLength < data.length) 505 System.arraycopy(data, 0, tmp, 0, newLength); 515 public static char[] copyOf(char[] data, int newLength) 517 char[] tmp = new char[newLength]; 519 if (newLength < data.length) 521 System.arraycopy(data, 0, tmp, 0, newLength); 531 public static int[] copyOf(int[] data, int newLength) 533 int[] tmp = new int[newLength]; [all...] |
/external/chromium_org/third_party/icu/source/common/ |
unistr_case.cpp | 135 int32_t newLength; 139 newLength = ustr_toLower(csp, getArrayStart(), getCapacity(), 143 newLength = ustr_toUpper(csp, getArrayStart(), getCapacity(), 150 newLength = ustr_toTitle(csp, getArrayStart(), getCapacity(), 155 newLength = ustr_foldCase(csp, getArrayStart(), getCapacity(), 160 setLength(newLength); 161 } while(errorCode==U_BUFFER_OVERFLOW_ERROR && cloneArrayIfNeeded(newLength, newLength, FALSE));
|
/external/chromium_org/third_party/skia/src/core/ |
SkAdvancedTypefaceMetrics.cpp | 114 int newLength; 116 newLength = range->fEndId - range->fStartId + 1; 122 newLength = 1; 124 SkASSERT(range->fAdvance.count() >= newLength); 125 range->fAdvance.setCount(newLength);
|
/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/skia/src/core/ |
SkAdvancedTypefaceMetrics.cpp | 114 int newLength; 116 newLength = range->fEndId - range->fStartId + 1; 122 newLength = 1; 124 SkASSERT(range->fAdvance.count() >= newLength); 125 range->fAdvance.setCount(newLength);
|
/external/skia/tests/ |
PointTest.cpp | 32 SkScalar newLength = point.length(); 34 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(newLength, SK_Scalar1));
|
/frameworks/av/media/mtp/ |
MtpPacket.cpp | 57 int newLength = length + mAllocationIncrement; 58 mBuffer = (uint8_t *)realloc(mBuffer, newLength); 63 mBufferSize = newLength;
|
/libcore/luni/src/test/java/com/android/org/bouncycastle/crypto/digests/ |
DigestTest.java | 74 int newLength = newDigest.doFinal(newHash, 0); 79 assertEquals("Hash sizes must be equal", oldLength, newLength);
|
/external/chromium_org/third_party/WebKit/Source/core/fileapi/ |
FileReaderLoader.cpp | 205 unsigned long long newLength = m_totalBytes * 2; 206 if (newLength > numeric_limits<unsigned>::max()) 207 newLength = numeric_limits<unsigned>::max(); 209 ArrayBuffer::create(static_cast<unsigned>(newLength), 1); 213 m_totalBytes = static_cast<unsigned>(newLength);
|
/external/chromium_org/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/chromium_org/third_party/smhasher/src/ |
Spooky.cpp | 201 size_t newLength = length + m_remainder; 212 if (newLength < sc_bufSize) 216 m_remainder = (uint8)newLength;
|
/external/icu4c/i18n/ |
rbt_rule.cpp | 452 int32_t newLength = output->toReplacer()->replace(text, pos.start, keyLimit, newStart); 453 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...] |
/libcore/luni/src/main/java/java/io/ |
BufferedInputStream.java | 152 int newLength = localBuf.length * 2; 153 if (newLength > marklimit) { 154 newLength = marklimit; 156 byte[] newbuf = new byte[newLength];
|
BufferedReader.java | 156 int newLength = buf.length * 2; 157 if (newLength > markLimit) { 158 newLength = markLimit; 160 char[] newbuf = new char[newLength];
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
ResizableIntArray.java | 81 public void setLength(final int newLength) { 82 ensureCapacity(newLength); 83 mLength = newLength; 117 final int newLength = currentLength + length; 118 ensureCapacity(newLength); 120 mLength = newLength;
|
/dalvik/vm/compiler/ |
Utility.cpp | 112 int newLength = gList->numAllocated; 113 if (newLength < 128) { 114 newLength <<= 1; 116 newLength += 128; 119 (intptr_t *) dvmCompilerNew(sizeof(intptr_t) * newLength, true); 121 gList->numAllocated = newLength;
|
/external/chromium_org/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_org/third_party/icu/source/tools/toolutil/ |
pkg_gencmn.c | 493 int32_t newLength; 498 newLength = (length + 1 + (int32_t)uprv_strlen(source)); 499 fullPath = uprv_malloc(newLength);
|
/external/chromium_org/third_party/mesa/src/src/mesa/program/ |
program.c | 732 const GLuint newLength = lenA + lenB; 740 newInst = _mesa_alloc_instructions(newLength); 754 newProg->NumInstructions = newLength; [all...] |