/dalvik/libcore/support/src/test/java/tests/support/ |
D | Support_PortManager.java | 62 public static synchronized int[] getNextPortsForUDP(int num) { in getNextPortsForUDP() argument 63 if (num <= 0) { in getNextPortsForUDP() 64 throw new IllegalArgumentException("Invalid ports number: " + num); in getNextPortsForUDP() 66 DatagramSocket[] dss = new DatagramSocket[num]; in getNextPortsForUDP() 67 int[] ports = new int[num]; in getNextPortsForUDP() 70 for (int i = 0; i < num; ++i) { in getNextPortsForUDP() 75 throw new Error("Unable to get " + num + " ports for UDP: " + ex); in getNextPortsForUDP() 77 for (int i = 0; i < num; ++i) { in getNextPortsForUDP()
|
/dalvik/vm/ |
D | Misc.c | 271 bool dvmSetBit(BitVector* pBits, int num) in dvmSetBit() argument 273 assert(num >= 0); in dvmSetBit() 274 if (num >= pBits->storageSize * (int)sizeof(u4) * 8) { in dvmSetBit() 278 int newSize = (num + 31) >> 5; in dvmSetBit() 286 pBits->storage[num >> 5] |= 1 << (num & 0x1f); in dvmSetBit() 293 void dvmClearBit(BitVector* pBits, int num) in dvmClearBit() argument 295 assert(num >= 0 && num < (int) pBits->storageSize * (int)sizeof(u4) * 8); in dvmClearBit() 297 pBits->storage[num >> 5] &= ~(1 << (num & 0x1f)); in dvmClearBit() 312 bool dvmIsBitSet(const BitVector* pBits, int num) in dvmIsBitSet() argument 314 assert(num >= 0 && num < (int) pBits->storageSize * (int)sizeof(u4) * 8); in dvmIsBitSet() [all …]
|
D | Misc.h | 159 bool dvmSetBit(BitVector* pBits, int num); 160 void dvmClearBit(BitVector* pBits, int num); 162 bool dvmIsBitSet(const BitVector* pBits, int num);
|
/dalvik/libcore/sql/src/test/java/tests/java/sql/ |
D | UpdateFunctionalityTest.java | 131 int num = statement.executeUpdate(updateQuery); in testUpdate1() local 133 numberOfRecords, num); in testUpdate1() 170 int num = statement.executeUpdate(updateQuery); in testUpdate2() local 173 expectedUpdated, num); in testUpdate2() 217 int num = statement.executeUpdate(updateQuery); in testUpdate3() local 219 numberOfRecords, num); in testUpdate3() 261 int num = statement.executeUpdate(updateQuery); in testUpdate4() local 264 expectedUpdated, num); in testUpdate4() 323 int num = statement.executeUpdate(updateQuery); in testUpdate5() local 325 numberOfRecords, num); in testUpdate5() [all …]
|
D | StressTest.java | 259 int num = Support_SQL.sqlMaxConnections; in getConnectionNum() local 263 if (num != mc) { in getConnectionNum() 267 num = mc; in getConnectionNum() 272 return num; in getConnectionNum()
|
/dalvik/tests/050-sync-test/src/ |
D | Main.java | 82 CpuThread(int num) { in CpuThread() argument 83 super("CpuThread " + num); in CpuThread() 84 mNumber = num; in CpuThread() 99 void output(int num) { in output() argument 110 System.out.println(num); in output()
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/modes/ |
D | GOFBBlockCipher.java | 217 int num, in intTobytes() argument 221 out[outOff + 3] = (byte)(num >>> 24); in intTobytes() 222 out[outOff + 2] = (byte)(num >>> 16); in intTobytes() 223 out[outOff + 1] = (byte)(num >>> 8); in intTobytes() 224 out[outOff] = (byte)num; in intTobytes()
|
/dalvik/tests/052-verifier-fun/src/ |
D | Main.java | 95 static void tryBlah(int num) { in tryBlah() argument 98 switch (num) { in tryBlah()
|
/dalvik/tests/004-annotations/src/android/test/anno/ |
D | SubNoted.java | 3 @AnnoFancyType(num=5) // first occurrence of AnnoFancyType
|
D | AnnoFancyType.java | 9 public int num(); in num() method
|
D | FullyNoted.java | 7 @AnnoFancyType(num=5, name="full")
|
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
D | HttpsURLConnectionTest.java | 1344 int num; in run() local 1357 num = is.read(buff); in run() 1358 String message = new String(buff, 0, num); in run() 1367 num = is.read(buff); in run() 1368 message = new String(buff, 0, num); in run() 1390 num = is.read(buff); in run() 1391 if (num == -1) { in run() 1400 num = is.read(buff); in run() 1402 message = new String(buff, 0, num); in run() 1436 num = is.read(buff); in run() [all …]
|
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/ |
D | HttpURLConnectionTest.java | 103 int num = socket.getInputStream().read(buff); in run() local 108 num = socket.getInputStream().read(buff); in run() 109 if (num == -1) { in run() 113 num = socket.getInputStream().read(buff); in run() 115 String request = new String(buff, 0, num); in run()
|
/dalvik/tests/072-precise-gc/src/ |
D | Main.java | 61 static String generateString(String base, int num) { in generateString() argument 62 return base + num; in generateString()
|
/dalvik/docs/ |
D | prettify.js | 289 var num = html.substring(pos + 3, end); 291 if (num && num.charAt(0) === 'x') { 292 num = num.substring(1); 295 var codePoint = parseInt(num, radix);
|
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/ |
D | HexStringParser.java | 255 private void discardTrailingBits(long num) { in discardTrailingBits() argument 256 long mask = ~(-1L << num); in discardTrailingBits() 258 mantissa >>= num; in discardTrailingBits() local
|
/dalvik/libcore/luni/src/main/java/java/net/ |
D | URI.java | 644 int num; in isValidIPv4Address() local 646 num = Integer.parseInt(host.substring(0, index)); in isValidIPv4Address() 647 if (num < 0 || num > 255) { in isValidIPv4Address() 651 num = Integer.parseInt(host.substring(index + 1, index2)); in isValidIPv4Address() 652 if (num < 0 || num > 255) { in isValidIPv4Address() 656 num = Integer.parseInt(host.substring(index2 + 1, index)); in isValidIPv4Address() 657 if (num < 0 || num > 255) { in isValidIPv4Address() 660 num = Integer.parseInt(host.substring(index + 1)); in isValidIPv4Address() 661 if (num < 0 || num > 255) { in isValidIPv4Address()
|
D | URLClassLoader.java | 991 URLHandler getHandler(int num) { in getHandler() argument 992 if (num < handlerList.size()) { in getHandler() 993 return handlerList.get(num); in getHandler() 996 if (num < handlerList.size()) { in getHandler() 997 return handlerList.get(num); in getHandler()
|
/dalvik/libcore/luni/src/test/java/tests/api/java/io/ |
D | SerializationStressTest5.java | 196 private void initClass(Class thrC, int num) { in initClass() argument 200 Throwable obj = (Throwable) cons[i].newInstance(args[num]); in initClass() 201 t_Class(obj, num); in initClass()
|
/dalvik/vm/arch/arm/ |
D | CallEABI.S | 394 .macro SQUEAK num 395 common_squeak\num: 398 mov r1, #\num
|
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x509/ |
D | Extensions.java | 396 int num = 1; in dumpValue() local 399 .append('[').append(num++).append("]: "); //$NON-NLS-1$ in dumpValue()
|
/dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | TestCertUtils.java | 753 private static boolean inc(int[] num, int base) { in inc() argument 754 for (int i = 0; i < num.length; i++) { in inc() 755 if ((++num[i]) >= base) { in inc() 756 num[i] = 0; in inc()
|
/dalvik/tests/004-annotations/ |
D | expected.txt | 44 @android.test.anno.AnnoFancyType(name=unknown, num=5) 58 @android.test.anno.AnnoFancyType(name=full, num=5)
|
/dalvik/libcore/icu/src/main/native/ |
D | ConverterInterface.c | 791 int32_t num = ucnv_countAvailable(); in getAvailable() local 795 ret= (jobjectArray)(*env)->NewObjectArray( env,num, in getAvailable() 799 for(i=0;i<num;i++) { in getAvailable() 823 jint num =0; in countAliases() local 827 num = ucnv_countAliases(encName,&error); in countAliases() 832 return num; in countAliases()
|
/dalvik/libcore/luni/src/test/java/tests/api/java/util/ |
D | LinkedHashMapTest.java | 543 assertEquals(1, cloneMap.num); in test_clone_Mock() 550 int num; field in LinkedHashMapTest.MockMap 553 num++; in put() 558 return num > 1; in removeEldestEntry()
|