Home
last modified time | relevance | path

Searched refs:totalLen (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/utils/
Dmisc.cpp56 int len, totalLen, posn, idx; in concatArgv() local
61 totalLen = idx = 0; in concatArgv()
66 totalLen++; // leave a space between args in concatArgv()
67 totalLen += strlen(argv[idx]); in concatArgv()
74 newStr = new char[totalLen +1]; in concatArgv()
95 assert(posn == totalLen); in concatArgv()
/frameworks/base/libs/utils/tests/
DObbFile_test.cpp42 const int totalLen = strlen(mExternalStorage) + strlen(TEST_FILENAME) + 1; in SetUp() local
43 mFileName = new char[totalLen]; in SetUp()
44 snprintf(mFileName, totalLen, "%s%s", mExternalStorage, TEST_FILENAME); in SetUp()
/frameworks/base/core/java/android/gesture/
DGestureUtils.java388 float totalLen = computeTotalLength(points); in computeStraightness() local
391 return (float) Math.sqrt(dx * dx + dy * dy) / totalLen; in computeStraightness()
394 static float computeStraightness(float[] points, float totalLen) { in computeStraightness() argument
397 return (float) Math.sqrt(dx * dx + dy * dy) / totalLen; in computeStraightness()
/frameworks/compile/libbcc/tests/
Dtest.py138 totalLen = len(a1) + len(a2) + len(b1) + len(b2)
146 if newTotalLen == totalLen: