/cts/tests/tests/database/src/android/database/sqlite/cts/ |
D | DatabaseStatementTest.java | 144 long num = c.getLong(numCol); in testStatementLongBinding() local 145 assertEquals(i, num); in testStatementLongBinding() 166 String num = c.getString(numCol); in testStatementStringBinding() local 167 assertEquals(Long.toHexString(i), num); in testStatementStringBinding() local 211 String num = c.getString(numCol); in testSimpleStringBinding() local 212 assertEquals(Integer.toHexString(0), num); in testSimpleStringBinding() 237 long num = c.getLong(numCol); in testStatementMultipleBindings() local 239 assertEquals(i, num); in testStatementMultipleBindings() 272 long num = c.getLong(numCol); in run() local 274 assertEquals(i, num); in run() [all …]
|
/cts/hostsidetests/security/securityPatch/CVE-2016-8448/ |
D | mtkfb.h | 36 #define MTK_IOW(num, dtype) _IOW('O', num, dtype) argument 37 #define MTK_IOR(num, dtype) _IOR('O', num, dtype) argument 38 #define MTK_IOWR(num, dtype) _IOWR('O', num, dtype) argument 39 #define MTK_IO(num) _IO('O', num) argument
|
/cts/tests/tests/media/libmediandkjni/ |
D | codec-utils-jni.cpp | 442 int64_t num = rawStats[0]; // #Y,U,V in Raw2YUVStats() local 449 if (num > 0) { in Raw2YUVStats() 450 stats[0] = sum_x[0] / (float)num; // y average in Raw2YUVStats() 451 stats[1] = sum_x[1] / (float)num; // u average in Raw2YUVStats() 452 stats[2] = sum_x[2] / (float)num; // v average in Raw2YUVStats() 456 stats[3] = sqrtf((sum_xx[0] + 1) * num - sum_x[0] * sum_x[0]) / num; // y stdev in Raw2YUVStats() 457 stats[4] = sqrtf((sum_xx[1] + 1) * num - sum_x[1] * sum_x[1]) / num; // u stdev in Raw2YUVStats() 458 stats[5] = sqrtf((sum_xx[2] + 1) * num - sum_x[2] * sum_x[2]) / num; // v stdev in Raw2YUVStats() 461 stats[6] = (float)(sum_xy[0] + 1 - sum_x[0] * sum_x[1] / num) / num / stats[3] / stats[4]; in Raw2YUVStats() 463 stats[7] = (float)(sum_xy[1] + 1 - sum_x[0] * sum_x[2] / num) / num / stats[3] / stats[5]; in Raw2YUVStats() [all …]
|
/cts/tests/tests/media/src/android/media/cts/ |
D | PresentationSyncTest.java | 388 private void drawFrame(int num, float mult) { in drawFrame() argument 389 num %= 64; in drawFrame() 399 startX = (num % 16) * (mWidth / 16); in drawFrame() 400 startY = (num / 16) * (mHeight / 4); in drawFrame() 401 if ((num >= 16 && num < 32) || (num >= 48)) { in drawFrame()
|
/cts/tools/dasm/src/dasm/ |
D | Scanner.java | 464 Number num; in readNumber() 466 num = Utils.stringToNumber(str); in readNumber() 473 if (num instanceof Integer) { in readNumber() 474 return new int_token(sym.Int, num.intValue()); in readNumber() 477 return new number_token(sym.Num, num); in readNumber()
|
/cts/tests/tests/database/src/android/database/cts/ |
D | AbstractCursorTest.java | 530 Number num = (Number) mRows[mPos].get(columnIndex); in getShort() local 531 return num.shortValue(); in getShort() 536 Number num = (Number) mRows[mPos].get(columnIndex); in getInt() local 537 return num.intValue(); in getInt() 542 Number num = (Number) mRows[mPos].get(columnIndex); in getLong() local 543 return num.longValue(); in getLong() 548 Number num = (Number) mRows[mPos].get(columnIndex); in getFloat() local 549 return num.floatValue(); in getFloat() 554 Number num = (Number) mRows[mPos].get(columnIndex); in getDouble() local 555 return num.doubleValue(); in getDouble()
|
/cts/hostsidetests/security/securityPatch/CVE-2016-8449/ |
D | poc.c | 52 static int set_affinity(int num) in set_affinity() argument 57 CPU_SET(num, &mask); in set_affinity()
|
/cts/hostsidetests/security/securityPatch/CVE-2016-8425/ |
D | poc.c | 50 static int set_affinity(int num) in set_affinity() argument 55 CPU_SET(num, &mask); in set_affinity()
|
/cts/hostsidetests/security/securityPatch/CVE-2016-8426/ |
D | poc.c | 50 static int set_affinity(int num) in set_affinity() argument 55 CPU_SET(num, &mask); in set_affinity()
|
/cts/hostsidetests/security/securityPatch/CVE-2016-6732/ |
D | poc.c | 84 static int set_affinity(int num) in set_affinity() argument 89 CPU_SET(num, &mask); in set_affinity()
|
/cts/hostsidetests/security/securityPatch/CVE-2016-6733/ |
D | poc.c | 83 static int set_affinity(int num) in set_affinity() argument 88 CPU_SET(num, &mask); in set_affinity()
|
/cts/hostsidetests/security/securityPatch/CVE-2016-6734/ |
D | poc.c | 89 static int set_affinity(int num) in set_affinity() argument 94 CPU_SET(num, &mask); in set_affinity()
|
/cts/hostsidetests/security/securityPatch/CVE-2016-6735/ |
D | poc.c | 90 static int set_affinity(int num) in set_affinity() argument 95 CPU_SET(num, &mask); in set_affinity()
|
/cts/hostsidetests/security/securityPatch/CVE-2016-6730/ |
D | poc.c | 92 static int set_affinity(int num) in set_affinity() argument 97 CPU_SET(num, &mask); in set_affinity()
|
/cts/hostsidetests/security/securityPatch/CVE-2016-6731/ |
D | poc.c | 92 static int set_affinity(int num) in set_affinity() argument 97 CPU_SET(num, &mask); in set_affinity()
|
/cts/hostsidetests/security/securityPatch/CVE-2016-6736/ |
D | poc.c | 104 static int set_affinity(int num) in set_affinity() argument 109 CPU_SET(num, &mask); in set_affinity()
|
/cts/hostsidetests/security/securityPatch/CVE-2016-8432/ |
D | poc.c | 46 static int set_affinity(int num) in set_affinity() argument 51 CPU_SET(num, &mask); in set_affinity()
|
/cts/hostsidetests/security/securityPatch/CVE-2017-0429/ |
D | poc.c | 58 static int set_affinity(int num) in set_affinity() argument 63 CPU_SET(num, &mask); in set_affinity()
|
/cts/tools/cts-media/ |
D | get_achievable_rates.py | 32 num = False 34 if num: 38 num = not num 248 …for dev, build, codec, size, num, std, avg, p0, p5, p10, p20, p30, p40, p50, p60, p70, p80, p90, p… 256 nice(dict(config=dict(dev=dev, codec=codec, size=str(size), N=num),
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | XmlUtils.java | 988 int num; in readThisIntArrayXml() local 990 num = Integer.parseInt(parser.getAttributeValue(null, "num")); in readThisIntArrayXml() 1000 int[] array = new int[num]; in readThisIntArrayXml() 1057 int num; in readThisLongArrayXml() local 1059 num = Integer.parseInt(parser.getAttributeValue(null, "num")); in readThisLongArrayXml() 1067 long[] array = new long[num]; in readThisLongArrayXml() 1117 int num; in readThisDoubleArrayXml() local 1119 num = Integer.parseInt(parser.getAttributeValue(null, "num")); in readThisDoubleArrayXml() 1127 double[] array = new double[num]; in readThisDoubleArrayXml() 1177 int num; in readThisStringArrayXml() local [all …]
|
/cts/tests/tests/content/src/android/content/cts/util/ |
D | XmlUtils.java | 1015 int num; in readThisIntArrayXml() local 1017 num = Integer.parseInt(parser.getAttributeValue(null, "num")); in readThisIntArrayXml() 1027 int[] array = new int[num]; in readThisIntArrayXml() 1084 int num; in readThisLongArrayXml() local 1086 num = Integer.parseInt(parser.getAttributeValue(null, "num")); in readThisLongArrayXml() 1094 long[] array = new long[num]; in readThisLongArrayXml() 1144 int num; in readThisDoubleArrayXml() local 1146 num = Integer.parseInt(parser.getAttributeValue(null, "num")); in readThisDoubleArrayXml() 1154 double[] array = new double[num]; in readThisDoubleArrayXml() 1204 int num; in readThisStringArrayXml() local [all …]
|
/cts/tests/tests/view/src/android/view/cts/util/ |
D | XmlUtils.java | 987 int num; in readThisIntArrayXml() local 989 num = Integer.parseInt(parser.getAttributeValue(null, "num")); in readThisIntArrayXml() 999 int[] array = new int[num]; in readThisIntArrayXml() 1056 int num; in readThisLongArrayXml() local 1058 num = Integer.parseInt(parser.getAttributeValue(null, "num")); in readThisLongArrayXml() 1066 long[] array = new long[num]; in readThisLongArrayXml() 1116 int num; in readThisDoubleArrayXml() local 1118 num = Integer.parseInt(parser.getAttributeValue(null, "num")); in readThisDoubleArrayXml() 1126 double[] array = new double[num]; in readThisDoubleArrayXml() 1176 int num; in readThisStringArrayXml() local [all …]
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | MediaPerfUtils.java | 126 int num = statsUs.getNum(); in logPerformanceStats() local 129 log.addValue(prefix + "_num", num, ResultType.NEUTRAL, ResultUnit.COUNT); in logPerformanceStats() 132 message += " num=" + num + " avg=" + avg + " stdev=" + stdev; in logPerformanceStats()
|
/cts/hostsidetests/security/securityPatch/Bug-33452365/ |
D | poc.c | 151 static int set_affinity(int num) in set_affinity() argument 156 CPU_SET(num, &mask); in set_affinity()
|
/cts/hostsidetests/security/securityPatch/CVE-2016-8482/ |
D | poc.c | 69 static int set_affinity(int num) in set_affinity() argument 74 CPU_SET(num, &mask); in set_affinity()
|