Home
last modified time | relevance | path

Searched refs:newLen (Results 1 – 14 of 14) sorted by relevance

/external/webkit/Source/WebCore/platform/text/
DLineEnding.cpp100 size_t newLen = 0; in internalNormalizeLineEndingsToCRLF() local
107 newLen += 2; in internalNormalizeLineEndingsToCRLF()
111 newLen += 2; in internalNormalizeLineEndingsToCRLF()
114 newLen += 1; in internalNormalizeLineEndingsToCRLF()
117 if (newLen < from.length()) in internalNormalizeLineEndingsToCRLF()
120 if (newLen == from.length()) { in internalNormalizeLineEndingsToCRLF()
126 char* q = buffer.allocate(newLen); in internalNormalizeLineEndingsToCRLF()
158 size_t newLen = 0; in normalizeToCROrLF() local
172 newLen += 1; in normalizeToCROrLF()
178 result.grow(oldResultSize + newLen); in normalizeToCROrLF()
/external/icu4c/test/perf/usetperf/
Dbitset.cpp51 uint32_t newLen = len; in ensureCapacity() local
52 while (newLen < minLen) newLen <<= 1; // grow exponentially in ensureCapacity()
53 int32_t* newData = (int32_t*) uprv_malloc(newLen * BYTES_PER_WORD); in ensureCapacity()
58 int32_t* limit = data + newLen; in ensureCapacity()
60 len = newLen; in ensureCapacity()
/external/javassist/src/main/javassist/bytecode/
DByteStream.java187 int newLen = buf.length << 1; in enlarge() local
188 byte[] newBuf = new byte[newLen > newCount ? newLen : newCount]; in enlarge()
/external/bouncycastle/src/main/java/org/bouncycastle/math/ec/
DIntArray.java174 private int[] resizedInts(int newLen) in resizedInts() argument
176 int[] newInts = new int[newLen]; in resizedInts()
178 int copyLen = oldLen < newLen ? oldLen : newLen; in resizedInts()
/external/webkit/Source/WebCore/html/
DHTMLSelectElement.cpp483 void HTMLSelectElement::setLength(unsigned newLen, ExceptionCode& ec) in setLength() argument
486 if (newLen > maxSelectItems) in setLength()
487 newLen = maxSelectItems; in setLength()
488 int diff = length() - newLen; in setLength()
507 if (item->hasLocalName(optionTag) && optionIndex++ >= newLen) { in setLength()
/external/icu4c/test/intltest/
Dreptest.cpp121 void fixStyles(int32_t start, int32_t limit, int32_t newLen) { in fixStyles() argument
132 for (int i = 0; i < newLen; ++i) { in fixStyles()
/external/icu4c/test/cintltst/
Dutransts.c95 int32_t newLen = Xlength(rep) + limit - start + textLength; in Xreplace() local
96 UChar* newText = (UChar*) malloc(sizeof(UChar) * (newLen+1)); in Xreplace()
107 int32_t newLen = Xlength(rep) + limit - start; in Xcopy() local
108 UChar* newText = (UChar*) malloc(sizeof(UChar) * (newLen+1)); in Xcopy()
/external/jhead/
Dmain.c484 int newLen = strlen(*buf) + len; in addKeyValueString() local
485 if (newLen >= bufLen) { in addKeyValueString()
487 bufLen = newLen + 5; in addKeyValueString()
490 bufLen = newLen + 500; in addKeyValueString()
/external/icu4c/common/
Duniset.cpp1575 void UnicodeSet::ensureCapacity(int32_t newLen, UErrorCode& ec) { in ensureCapacity() argument
1576 if (newLen <= capacity) in ensureCapacity()
1578 UChar32* temp = (UChar32*) uprv_realloc(list, sizeof(UChar32) * (newLen + GROW_EXTRA)); in ensureCapacity()
1585 capacity = newLen + GROW_EXTRA; in ensureCapacity()
1589 void UnicodeSet::ensureBufferCapacity(int32_t newLen, UErrorCode& ec) { in ensureBufferCapacity() argument
1590 if (buffer != NULL && newLen <= bufferCapacity) in ensureBufferCapacity()
1592 UChar32* temp = (UChar32*) uprv_realloc(buffer, sizeof(UChar32) * (newLen + GROW_EXTRA)); in ensureBufferCapacity()
1599 bufferCapacity = newLen + GROW_EXTRA; in ensureBufferCapacity()
/external/webkit/Tools/android/webkitmerge/
Dwebkitmerge.cpp1116 size_t newLen = strlen(newList); in CompareDirs() local
1118 if (oldLen == 0 && newLen == 0 && sandLen == 0) in CompareDirs()
1131 if (newLen > 0) { in CompareDirs()
1132 char last = newList[newLen - 1]; in CompareDirs()
1136 --newLen; in CompareDirs()
1149 string newFileStr = string(newList).substr(0, newLen); in CompareDirs()
1153 int order = Compare(oldList, oldLen, newList, newLen); in CompareDirs()
1394 myassert(oldLen == newLen); in CompareDirs()
/external/icu4c/common/unicode/
Duniset.h1490 void ensureCapacity(int32_t newLen, UErrorCode& ec);
1492 void ensureBufferCapacity(int32_t newLen, UErrorCode& ec);
/external/icu4c/i18n/
Dregexcmp.cpp3481 int32_t newLen = caseStringBuffer.length(); in stripNOPs() local
3482 if (newLen <= URX_VAL(lengthOp)) { in stripNOPs()
3484 fRXPat->fLiteralText.replace(URX_VAL(op), newLen, caseStringBuffer); in stripNOPs()
3488 stringDelta += newLen - URX_VAL(lengthOp); in stripNOPs()
3490 lengthOp = URX_BUILD(URX_STRING_LEN, newLen); in stripNOPs()
/external/webkit/Source/WebCore/rendering/
DRenderText.cpp1007 unsigned newLen = text->length(); in setTextWithOffset() local
1008 int delta = newLen - oldLen; in setTextWithOffset()
/external/harfbuzz/src/
Dharfbuzz-indic.cpp1646 int newLen = item->face->buffer->in_length; in indic_shape_syllable() local
1654 while (basePos < newLen && (int)otl_glyphs[basePos].cluster <= base) in indic_shape_syllable()
1657 if (basePos < newLen && basePos > 1) { in indic_shape_syllable()