/external/jmonkeyengine/engine/src/desktop/jme3tools/navigation/ |
StringUtil.java | 33 * @param totalLen the total length of the padded string
36 public String padNum(long num, int totalLen) {
38 int len = totalLen - numStr.length();
50 * @param totalLen the total length of the padded string
53 public String padNumZero(long num, int totalLen) {
55 int len = totalLen - numStr.length();
67 * @param totalLen the total length of the padded string
70 public String padNum(int num, int totalLen) {
72 int len = totalLen - numStr.length();
84 * @param totalLen the total length of the padded string [all...] |
/packages/apps/Mms/src/com/android/mms/transaction/ |
ProgressCallbackEntity.java | 58 int pos = 0, totalLen = mContent.length; 59 while (pos < totalLen) { 60 int len = totalLen - pos; 69 broadcastProgressIfNeeded(100 * pos / totalLen);
|
/frameworks/base/libs/androidfw/tests/ |
ObbFile_test.cpp | 44 const int totalLen = strlen(mExternalStorage) + strlen(TEST_FILENAME) + 1; 45 mFileName = new char[totalLen]; 46 snprintf(mFileName, totalLen, "%s%s", mExternalStorage, TEST_FILENAME);
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
OldAndroidGZIPStreamTest.java | 99 int len, totalLen = 0; 103 totalLen += len; 106 assertEquals(totalLen, 128 * 1024);
|
OldAndroidZipStreamTest.java | 147 int len, totalLen = 0; 151 totalLen += len; 154 assertEquals(128 * 1024, totalLen);
|
/external/chromium/third_party/libevent/ |
buffer.c | 95 (x)->totallen = (y)->totallen; \ 150 assert(buf->totallen >= used); 151 space = buf->totallen - used; 269 if (buf->totallen >= need) 280 size_t length = buf->totallen; 293 buf->totallen = length; 305 if (buf->totallen < need) { 372 if ((size_t)n > buf->totallen << 2) 373 n = buf->totallen << 2 [all...] |
/external/libmtp/src/ |
ptp-pack.c | 286 unsigned int totallen; local 298 totallen=len*2+1; 300 dtoh16a(&data[PTP_di_FunctionalMode+totallen]); 302 PTP_di_OperationsSupported+totallen, 304 totallen=totallen+di->OperationsSupported_len*sizeof(uint16_t)+sizeof(uint32_t); 306 PTP_di_OperationsSupported+totallen, 308 totallen=totallen+di->EventsSupported_len*sizeof(uint16_t)+sizeof(uint32_t); 311 PTP_di_OperationsSupported+totallen, 357 int totallen = 4; local [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarDebugActivity.java | 129 int totalLen = 0; 136 totalLen += len; 140 Log.i(TAG, "bytes read " + totalLen);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/ |
DataExporter.java | 178 int totalLen = 0; 185 totalLen += len; 189 " (" + totalLen + " bytes)");
|
/external/ppp/pppd/plugins/radius/ |
sendserver.c | 399 int totallen; local 403 totallen = ntohs (auth->length); 408 if ((totallen < 20) || (totallen > 4096)) 415 if ((totallen + secretlen) > bufferlen) 430 memcpy ((char *) auth + totallen, secret, secretlen); 431 rc_md5_calc (calc_digest, (char *) auth, totallen + secretlen);
|
/system/core/liblog/ |
fake_log_device.c | 471 int totalLen = 0; 476 totalLen += prefixLen; 484 totalLen += p-start; 491 totalLen += suffixLen; 514 if (cc == totalLen) break; 524 fprintf(stderr, "+++ LOG: write partial (%d of %d)\n", cc, totalLen);
|
logprint.c | 901 size_t totalLen; 904 sizeof(defaultBuffer), entry, &totalLen); 910 ret = write(fd, outBuffer, totalLen); 919 if (((size_t)ret) < totalLen) { 921 (int)totalLen);
|
/external/jpeg/ |
jdmarker.c | 591 INT32 totallen = (INT32) datalen + remaining; local 623 totallen -= APP0_DATA_LEN; 624 if (totallen != 626 TRACEMS1(cinfo, 1, JTRC_JFIF_BADTHUMBNAILSIZE, (int) totallen); 639 TRACEMS1(cinfo, 1, JTRC_THUMB_JPEG, (int) totallen); 642 TRACEMS1(cinfo, 1, JTRC_THUMB_PALETTE, (int) totallen); 645 TRACEMS1(cinfo, 1, JTRC_THUMB_RGB, (int) totallen); 649 GETJOCTET(data[5]), (int) totallen); 654 TRACEMS1(cinfo, 1, JTRC_APP0, (int) totallen); [all...] |
/external/qemu/distrib/jpeg-6b/ |
jdmarker.c | 591 INT32 totallen = (INT32) datalen + remaining; local 623 totallen -= APP0_DATA_LEN; 624 if (totallen != 626 TRACEMS1(cinfo, 1, JTRC_JFIF_BADTHUMBNAILSIZE, (int) totallen); 639 TRACEMS1(cinfo, 1, JTRC_THUMB_JPEG, (int) totallen); 642 TRACEMS1(cinfo, 1, JTRC_THUMB_PALETTE, (int) totallen); 645 TRACEMS1(cinfo, 1, JTRC_THUMB_RGB, (int) totallen); 649 GETJOCTET(data[5]), (int) totallen); 654 TRACEMS1(cinfo, 1, JTRC_APP0, (int) totallen); [all...] |
/frameworks/base/core/java/android/gesture/ |
GestureUtils.java | 388 float totalLen = computeTotalLength(points); 391 return (float) Math.sqrt(dx * dx + dy * dy) / totalLen; 394 static float computeStraightness(float[] points, float totalLen) { 397 return (float) Math.sqrt(dx * dx + dy * dy) / totalLen;
|
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/lib/ |
liblog.so | |
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/lib/ |
liblog.so | |
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/lib/ |
liblog.so | |
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/lib/ |
liblog.so | |
/prebuilts/ndk/5/platforms/android-3/arch-arm/usr/lib/ |
liblog.so | |
/prebuilts/ndk/6/platforms/android-3/arch-arm/usr/lib/ |
liblog.so | |
/external/ipsec-tools/src/racoon/ |
privsep.c | 291 size_t totallen; local 306 totallen = sizeof(*combuf); 310 totallen += combuf->bufs.buflen[i]; 313 if (totallen > len) {
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
OpenSSLCipher.java | 201 final int totalLen = inputLen + buffered + modeBlockSize; 202 return totalLen - (totalLen % modeBlockSize);
|
/external/apache-xml/src/main/java/org/apache/xpath/compiler/ |
XPathParser.java | 749 int totalLen = m_ops.getOp(OpMap.MAPINDEX_LENGTH); 751 for (int i = totalLen - 1; i >= pos; i--) 757 m_ops.setOp(OpMap.MAPINDEX_LENGTH,totalLen + length); 771 int totalLen = m_ops.getOp(OpMap.MAPINDEX_LENGTH); 773 m_ops.setOp(totalLen, op); 774 m_ops.setOp(totalLen + OpMap.MAPINDEX_LENGTH, length); 775 m_ops.setOp(OpMap.MAPINDEX_LENGTH, totalLen + length); [all...] |
/frameworks/compile/libbcc/tests/ |
test.py | 138 totalLen = len(a1) + len(a2) + len(b1) + len(b2) 146 if newTotalLen == totalLen:
|