Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/WebKit/Source/platform/text/
DLineEnding.cpp100 size_t newLen = 0; in internalNormalizeLineEndingsToCRLF() local
108 newLen += 2; in internalNormalizeLineEndingsToCRLF()
112 newLen += 2; in internalNormalizeLineEndingsToCRLF()
115 newLen += 1; in internalNormalizeLineEndingsToCRLF()
118 if (newLen < from.length()) in internalNormalizeLineEndingsToCRLF()
121 if (newLen == from.length()) { in internalNormalizeLineEndingsToCRLF()
127 char* q = buffer.allocate(newLen); in internalNormalizeLineEndingsToCRLF()
160 size_t newLen = 0; in normalizeToCROrLF() local
175 newLen += 1; in normalizeToCROrLF()
181 result.grow(oldResultSize + newLen); in normalizeToCROrLF()
/external/chromium_org/third_party/icu/source/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/icu/icu4c/source/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/chromium_org/third_party/webrtc/modules/audio_coding/neteq/test/
DNETEQTEST_DummyRTPpacket.cc101 int newLen = _kBasicHeaderLen + CC * 4 + X * 4; in readFromFile() local
102 assert(_memSize >= newLen); in readFromFile()
105 size_t readLen = newLen - _kBasicHeaderLen; in readFromFile()
111 _datagramLen = newLen; in readFromFile()
119 size_t readLen = totHdrLen - newLen; in readFromFile()
120 if (fread(&_datagram[newLen], 1, readLen, fp) != readLen) in readFromFile()
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/
Deditable_text.js504 var newLen = evt.value.length;
513 if (evt.start < evtEnd && evtEnd == newLen) {
525 if (newLen >= prefixLen + suffixLen + (evtEnd - evt.start) &&
527 evtValue.substr(newLen - suffixLen) == value.substr(this.end)) {
534 newLen < len ||
535 this.isWordBreakChar(evt.value[newLen - 1] || '')) {
547 suffixLen = newLen - evtEnd;
551 evtValue.substr(newLen - suffixLen) ==
608 if (newLen <= this.maxShortPhraseLen) {
617 prefixLen < newLen &&
[all …]
/external/chromium_org/v8/src/
Darraybuffer.js57 var newLen = fin - first;
59 var result = new $ArrayBuffer(newLen);
/external/chromium_org/third_party/mesa/src/src/mesa/program/
Dprogramopt.c53 const GLuint newLen = origLen + 4; in _mesa_insert_mvp_dp4_code() local
74 newInst = _mesa_alloc_instructions(newLen); in _mesa_insert_mvp_dp4_code()
110 vprog->Base.NumInstructions = newLen; in _mesa_insert_mvp_dp4_code()
121 const GLuint newLen = origLen + 4; in _mesa_insert_mvp_mad_code() local
143 newInst = _mesa_alloc_instructions(newLen); in _mesa_insert_mvp_mad_code()
212 vprog->Base.NumInstructions = newLen; in _mesa_insert_mvp_mad_code()
259 const GLuint newLen = origLen + 5; in _mesa_append_fog_code() local
276 newInst = _mesa_alloc_instructions(newLen); in _mesa_append_fog_code()
Dprogram.c579 const GLuint newLen = origLen + count; in _mesa_insert_instructions() local
594 newInst = _mesa_alloc_instructions(newLen); in _mesa_insert_instructions()
615 prog->NumInstructions = newLen; in _mesa_insert_instructions()
628 const GLuint newLen = origLen - count; in _mesa_delete_instructions() local
643 newInst = _mesa_alloc_instructions(newLen); in _mesa_delete_instructions()
654 newLen - start); in _mesa_delete_instructions()
661 prog->NumInstructions = newLen; in _mesa_delete_instructions()
/external/mesa3d/src/mesa/program/
Dprogramopt.c53 const GLuint newLen = origLen + 4; in _mesa_insert_mvp_dp4_code() local
74 newInst = _mesa_alloc_instructions(newLen); in _mesa_insert_mvp_dp4_code()
110 vprog->Base.NumInstructions = newLen; in _mesa_insert_mvp_dp4_code()
121 const GLuint newLen = origLen + 4; in _mesa_insert_mvp_mad_code() local
143 newInst = _mesa_alloc_instructions(newLen); in _mesa_insert_mvp_mad_code()
212 vprog->Base.NumInstructions = newLen; in _mesa_insert_mvp_mad_code()
259 const GLuint newLen = origLen + 5; in _mesa_append_fog_code() local
276 newInst = _mesa_alloc_instructions(newLen); in _mesa_append_fog_code()
Dprogram.c579 const GLuint newLen = origLen + count; in _mesa_insert_instructions() local
594 newInst = _mesa_alloc_instructions(newLen); in _mesa_insert_instructions()
615 prog->NumInstructions = newLen; in _mesa_insert_instructions()
628 const GLuint newLen = origLen - count; in _mesa_delete_instructions() local
643 newInst = _mesa_alloc_instructions(newLen); in _mesa_delete_instructions()
654 newLen - start); in _mesa_delete_instructions()
661 prog->NumInstructions = newLen; in _mesa_delete_instructions()
/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/aac/libSBRdec/src/
Denv_dec.cpp609 int refLen, newLen, shift; in timeCompensateFirstEnvelope() local
615 newLen = pFrameInfo->borders[1] - estimatedStartPos; in timeCompensateFirstEnvelope()
617 if (newLen <= 0) { in timeCompensateFirstEnvelope()
621 newLen = refLen; in timeCompensateFirstEnvelope()
625 deltaExp = FDK_getNumOctavesDiv8(newLen, refLen); in timeCompensateFirstEnvelope()
/external/chromium_org/net/third_party/nss/ssl/
Dsslsecur.c498 sslBuffer_Grow(sslBuffer *b, unsigned int newLen) in sslBuffer_Grow() argument
500 newLen = PR_MAX(newLen, MAX_FRAGMENT_LENGTH + 2048); in sslBuffer_Grow()
501 if (newLen > b->space) { in sslBuffer_Grow()
504 newBuf = (unsigned char *) PORT_Realloc(b->buf, newLen); in sslBuffer_Grow()
506 newBuf = (unsigned char *) PORT_Alloc(newLen); in sslBuffer_Grow()
512 SSL_GETPID(), b->space, newLen)); in sslBuffer_Grow()
514 b->space = newLen; in sslBuffer_Grow()
522 unsigned int newLen = b->len + len; in sslBuffer_Append() local
525 rv = sslBuffer_Grow(b, newLen); in sslBuffer_Append()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/
Dr300_vs_draw.c318 const uint newLen = tgsi_num_tokens(vs->state.tokens) + 100 /* XXX */; in r300_draw_init_vertex_shader() local
323 new_vs.tokens = tgsi_alloc_tokens(newLen); in r300_draw_init_vertex_shader()
353 newLen, &transform.base); in r300_draw_init_vertex_shader()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_vs_draw.c318 const uint newLen = tgsi_num_tokens(vs->state.tokens) + 100 /* XXX */; in r300_draw_init_vertex_shader() local
323 new_vs.tokens = tgsi_alloc_tokens(newLen); in r300_draw_init_vertex_shader()
353 newLen, &transform.base); in r300_draw_init_vertex_shader()
/external/fonttools/Lib/fontTools/ttLib/tables/
DotTables.py579 newLen = oldLen//2
585 newLen = overflowRecord.itemIndex - 1
588 for i in range(newLen, oldLen):
607 newLen = oldLen//2
613 newLen = overflowRecord.itemIndex - 1
616 for i in range(newLen, oldLen):
/external/mesa3d/src/gallium/auxiliary/util/
Du_pstipple.c411 const uint newLen = tgsi_num_tokens(fs->tokens) + NUM_NEW_TOKENS; in util_pstipple_create_fragment_shader() local
418 new_fs->tokens = tgsi_alloc_tokens(newLen); in util_pstipple_create_fragment_shader()
446 newLen, &transform.base); in util_pstipple_create_fragment_shader()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
Du_pstipple.c411 const uint newLen = tgsi_num_tokens(fs->tokens) + NUM_NEW_TOKENS; in util_pstipple_create_fragment_shader() local
418 new_fs->tokens = tgsi_alloc_tokens(newLen); in util_pstipple_create_fragment_shader()
446 newLen, &transform.base); in util_pstipple_create_fragment_shader()
/external/chromium_org/third_party/icu/source/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/icu/icu4c/source/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/lzma/CS/7zip/Compress/LZMA/
DLzmaEncoder.cs702 UInt32 newLen; in GetOptimum()
703 ReadMatchDistances(out newLen, out numDistancePairs); in GetOptimum()
704 if (newLen >= _numFastBytes) in GetOptimum()
707 _longestMatchLength = newLen; in GetOptimum()
951 if (newLen > numAvailableBytes) in GetOptimum()
953 newLen = numAvailableBytes; in GetOptimum()
954 for (numDistancePairs = 0; newLen > _matchDistances[numDistancePairs]; numDistancePairs += 2) ; in GetOptimum()
955 _matchDistances[numDistancePairs] = newLen; in GetOptimum()
958 if (newLen >= startLen) in GetOptimum()
961 while (lenEnd < cur + newLen) in GetOptimum()
/external/lzma/Java/SevenZip/Compression/LZMA/
DEncoder.java702 int newLen = ReadMatchDistances(); in GetOptimum() local
704 if (newLen >= _numFastBytes) in GetOptimum()
707 _longestMatchLength = newLen; in GetOptimum()
951 if (newLen > numAvailableBytes) in GetOptimum()
953 newLen = numAvailableBytes; in GetOptimum()
954 for (numDistancePairs = 0; newLen > _matchDistances[numDistancePairs]; numDistancePairs += 2) ; in GetOptimum()
955 _matchDistances[numDistancePairs] = newLen; in GetOptimum()
958 if (newLen >= startLen) in GetOptimum()
961 while (lenEnd < cur + newLen) in GetOptimum()
/external/nanohttpd/webserver/src/main/java/fi/iki/elonen/
DSimpleWebServer.java404 long newLen = endAt - startFrom + 1; in serveFile() local
405 if (newLen < 0) { in serveFile()
406 newLen = 0; in serveFile()
409 final long dataLen = newLen; in serveFile()
/external/chromium_org/third_party/icu/source/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.c518 int newLen = strlen(*buf) + len; in addKeyValueString() local
519 if (newLen >= bufLen) { in addKeyValueString()
521 bufLen = newLen + 5; in addKeyValueString()
524 bufLen = newLen + 500; in addKeyValueString()

12