/external/jmonkeyengine/engine/src/core/com/jme3/renderer/ |
D | IDList.java | 45 public int newLen = 0; field in IDList 52 newLen = 0; in reset() 69 if (newLen == 0 || newList[newLen-1] != idx) in moveToNew() 71 newList[newLen++] = idx; in moveToNew() 92 System.arraycopy(newList, 0, oldList, 0, newLen); in copyNewToOld() 93 oldLen = newLen; in copyNewToOld() 94 newLen = 0; in copyNewToOld() 101 if (newLen > 0){ in print() 103 for (int i = 0; i < newLen; i++){ in print() 104 if (i == newLen -1) in print()
|
/external/icu/icu4c/source/test/perf/usetperf/ |
D | bitset.cpp | 51 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/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
D | MultidimensionalCounter.java | 310 private int[] copyOf(int[] source, int newLen) { in copyOf() argument 311 int[] output = new int[newLen]; in copyOf() 312 System.arraycopy(source, 0, output, 0, Math.min(source.length, newLen)); in copyOf()
|
/external/v8/src/ |
D | arraybuffer.js | 57 var newLen = fin - first; 59 var result = new $ArrayBuffer(newLen);
|
/external/mesa3d/src/mesa/program/ |
D | programopt.c | 53 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()
|
D | program.c | 579 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/ |
D | ByteStream.java | 187 int newLen = buf.length << 1; in enlarge() local 188 byte[] newBuf = new byte[newLen > newCount ? newLen : newCount]; in enlarge()
|
/external/libvncserver/libvncserver/ |
D | rre.c | 185 int newLen; \ 235 newLen = client->afterEncBufLen + (bpp/8) + sz_rfbRectangle; \ 236 if ((newLen > (w * h * (bpp/8))) || (newLen > client->afterEncBufSize)) \
|
D | corre.c | 218 int newLen; \ 268 newLen = client->afterEncBufLen + (bpp/8) + sz_rfbCoRRERectangle; \ 269 if ((newLen > (w * h * (bpp/8))) || (newLen > client->afterEncBufSize)) \
|
D | hextile.c | 209 int newLen; \ 259 newLen = cl->ublen - nSubrectsUblen + 2; \ 261 newLen = cl->ublen - nSubrectsUblen + bpp/8 + 2; \ 264 if (newLen > (w * h * (bpp/8))) \
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/direct/ |
D | PowellOptimizer.java | 292 private double[] copyOf(double[] source, int newLen) { in copyOf() argument 293 double[] output = new double[newLen]; in copyOf() 294 System.arraycopy(source, 0, output, 0, Math.min(source.length, newLen)); in copyOf()
|
/external/aac/libSBRdec/src/ |
D | env_dec.cpp | 609 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/fonttools/Lib/fontTools/ttLib/tables/ |
D | otTables.py | 579 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/drivers/r300/ |
D | r300_vs_draw.c | 318 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/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
D | ReplaceableTest.java | 148 void fixStyles(int start, int limit, int newLen) { in fixStyles() argument 159 for (int i = 0; i < newLen; ++i) { in fixStyles()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_pstipple.c | 411 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/icu/icu4c/source/test/intltest/ |
D | reptest.cpp | 121 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/ |
D | LzmaEncoder.cs | 702 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/ |
D | Encoder.java | 702 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/ |
D | SimpleWebServer.java | 404 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/icu/icu4c/source/common/ |
D | uniset.cpp | 1577 void UnicodeSet::ensureCapacity(int32_t newLen, UErrorCode& ec) { in ensureCapacity() argument 1578 if (newLen <= capacity) in ensureCapacity() 1580 UChar32* temp = (UChar32*) uprv_realloc(list, sizeof(UChar32) * (newLen + GROW_EXTRA)); in ensureCapacity() 1587 capacity = newLen + GROW_EXTRA; in ensureCapacity() 1591 void UnicodeSet::ensureBufferCapacity(int32_t newLen, UErrorCode& ec) { in ensureBufferCapacity() argument 1592 if (buffer != NULL && newLen <= bufferCapacity) in ensureBufferCapacity() 1594 UChar32* temp = (UChar32*) uprv_realloc(buffer, sizeof(UChar32) * (newLen + GROW_EXTRA)); in ensureBufferCapacity() 1601 bufferCapacity = newLen + GROW_EXTRA; in ensureBufferCapacity()
|
/external/icu/icu4c/source/test/cintltst/ |
D | utransts.c | 98 int32_t newLen = Xlength(rep) + limit - start + textLength; in Xreplace() local 99 UChar* newText = (UChar*) malloc(sizeof(UChar) * (newLen+1)); in Xreplace() 110 int32_t newLen = Xlength(rep) + limit - start; in Xcopy() local 111 UChar* newText = (UChar*) malloc(sizeof(UChar) * (newLen+1)); in Xcopy()
|
/external/jhead/ |
D | main.c | 518 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()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pipe_pstipple.c | 345 const uint newLen = tgsi_num_tokens(orig_fs->tokens) + NUM_NEW_TOKENS; in generate_pstip_fs() local 348 pstip_fs.tokens = tgsi_alloc_tokens(newLen); in generate_pstip_fs() 363 newLen, &transform.base); in generate_pstip_fs()
|
/external/lzma/C/ |
D | LzmaEnc.c | 1126 UInt32 numAvailFull, newLen, numPairs, posPrev, state, posState, startLen; in GetOptimum() local 1138 newLen = ReadMatchDistances(p, &numPairs); in GetOptimum() 1139 if (newLen >= p->numFastBytes) in GetOptimum() 1142 p->longestMatchLength = newLen; in GetOptimum() 1390 if (newLen > numAvail) in GetOptimum() 1392 newLen = numAvail; in GetOptimum() 1393 for (numPairs = 0; newLen > matches[numPairs]; numPairs += 2); in GetOptimum() 1394 matches[numPairs] = newLen; in GetOptimum() 1397 if (newLen >= startLen) in GetOptimum() 1402 while (lenEnd < cur + newLen) in GetOptimum()
|