/libcore/luni/src/test/java/tests/java/sql/ |
D | UpdateFunctionalityTest.java | 111 int num = statement.executeUpdate(updateQuery); in testUpdate1() local 113 numberOfRecords, num); in testUpdate1() 136 int num = statement.executeUpdate(updateQuery); in testUpdate2() local 139 expectedUpdated, num); in testUpdate2() 169 int num = statement.executeUpdate(updateQuery); in testUpdate3() local 171 numberOfRecords, num); in testUpdate3() 199 int num = statement.executeUpdate(updateQuery); in testUpdate4() local 202 expectedUpdated, num); in testUpdate4() 247 int num = statement.executeUpdate(updateQuery); in testUpdate5() local 249 numberOfRecords, num); in testUpdate5() [all …]
|
D | StressTest.java | 247 int num = Support_SQL.sqlMaxConnections; in getConnectionNum() local 251 if (num != mc) { in getConnectionNum() 255 num = mc; in getConnectionNum() 260 return num; in getConnectionNum()
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | SerialNumber.java | 55 public SerialNumber(BigInteger num) { in SerialNumber() argument 56 serialNum = num; in SerialNumber() 64 public SerialNumber(int num) { in SerialNumber() argument 65 serialNum = BigInteger.valueOf(num); in SerialNumber()
|
D | CertificateSerialNumber.java | 62 public CertificateSerialNumber(BigInteger num) { in CertificateSerialNumber() argument 63 this.serial = new SerialNumber(num); in CertificateSerialNumber() 71 public CertificateSerialNumber(int num) { in CertificateSerialNumber() argument 72 this.serial = new SerialNumber(num); in CertificateSerialNumber()
|
D | X509CRLEntryImpl.java | 89 public X509CRLEntryImpl(BigInteger num, Date date) { in X509CRLEntryImpl() argument 90 this.serialNumber = new SerialNumber(num); in X509CRLEntryImpl() 103 public X509CRLEntryImpl(BigInteger num, Date date, in X509CRLEntryImpl() argument 105 this.serialNumber = new SerialNumber(num); in X509CRLEntryImpl()
|
D | X509CRLImpl.java | 884 BigInteger num = numExt.get(CRLNumberExtension.NUMBER); in getCRLNumber() local 885 return num; in getCRLNumber() 913 BigInteger num = dciExt.get(DeltaCRLIndicatorExtension.NUMBER); in getBaseCRLNumber() local 914 return num; in getBaseCRLNumber()
|
D | X509CertInfo.java | 805 Integer num = map.get(name); in attributeMap() local 806 if (num == null) { in attributeMap() 809 return num.intValue(); in attributeMap()
|
/libcore/ojluni/src/lambda/java/java/lang/invoke/ |
D | MethodType.java | 61 public MethodType changeParameterType(int num, Class<?> nptype) { return null; } in changeParameterType() argument 63 public MethodType insertParameterTypes(int num, Class<?>... ptypesToInsert) { return null; } in insertParameterTypes() argument 67 public MethodType insertParameterTypes(int num, List<Class<?>> ptypesToInsert) { return null; } in insertParameterTypes() argument 87 public Class<?> parameterType(int num) { return null; } in parameterType() argument
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | MethodType.java | 195 private static IndexOutOfBoundsException newIndexOutOfBoundsException(Object num) { in newIndexOutOfBoundsException() argument 196 if (num instanceof Integer) num = "bad index: "+num; in newIndexOutOfBoundsException() 197 return new IndexOutOfBoundsException(num.toString()); in newIndexOutOfBoundsException() 377 public MethodType changeParameterType(int num, Class<?> nptype) { in changeParameterType() argument 378 if (parameterType(num) == nptype) return this; in changeParameterType() 381 nptypes[num] = nptype; in changeParameterType() 396 public MethodType insertParameterTypes(int num, Class<?>... ptypesToInsert) { in insertParameterTypes() argument 398 if (num < 0 || num > len) in insertParameterTypes() 399 throw newIndexOutOfBoundsException(num); in insertParameterTypes() 405 System.arraycopy(nptypes, num, nptypes, num+ilen, len-num); in insertParameterTypes() [all …]
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | ObjectIdentifier.java | 180 int num = Integer.parseInt(comp); in ObjectIdentifier() local 182 checkFirstComponent(num); in ObjectIdentifier() 183 first = num; in ObjectIdentifier() 186 checkSecondComponent(first, num); in ObjectIdentifier() 187 num += 40 * first; in ObjectIdentifier() 189 checkOtherComponent(count, num); in ObjectIdentifier() 191 pos += pack7Oid(num, tmp, pos); in ObjectIdentifier() 656 private static void checkOtherComponent(int i, int num) throws IOException { in checkOtherComponent() argument 657 if (num < 0) { in checkOtherComponent() 662 private static void checkOtherComponent(int i, BigInteger num) throws IOException { in checkOtherComponent() argument [all …]
|
/libcore/ojluni/src/test/java/math/BigInteger/ |
D | ProbablePrime.java | 41 BigInteger num = new BigInteger("4"); in testProbablePrime() local 46 boolean b = num.isProbablePrime(certainties[i]); in testProbablePrime()
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/invoke/ |
D | MethodType.annotated.java | 50 public java.lang.invoke.MethodType changeParameterType(int num, java.lang.Class<?> nptype) { throw … in changeParameterType() argument 52 public java.lang.invoke.MethodType insertParameterTypes(int num, java.lang.Class<?>... ptypesToInse… in insertParameterTypes() argument 56 public java.lang.invoke.MethodType insertParameterTypes(int num, java.util.List<java.lang.Class<?>>… in insertParameterTypes() argument 76 public java.lang.Class<?> parameterType(int num) { throw new RuntimeException("Stub!"); } in parameterType() argument
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/ |
D | HttpURLConnectionTest.java | 94 int num = socket.getInputStream().read(buff); in run() local 99 num = socket.getInputStream().read(buff); in run() 100 if (num == -1) { in run() 104 num = socket.getInputStream().read(buff); in run() 106 String request = new String(buff, 0, num); in run()
|
/libcore/ojluni/annotations/hiddenapi/sun/security/x509/ |
D | SerialNumber.java | 33 public SerialNumber(java.math.BigInteger num) { in SerialNumber() argument 37 public SerialNumber(int num) { in SerialNumber() argument
|
D | CertificateSerialNumber.java | 34 public CertificateSerialNumber(java.math.BigInteger num) { in CertificateSerialNumber() argument 39 public CertificateSerialNumber(int num) { in CertificateSerialNumber() argument
|
D | X509CRLEntryImpl.java | 32 public X509CRLEntryImpl(java.math.BigInteger num, java.util.Date date) { in X509CRLEntryImpl() argument 37 java.math.BigInteger num, in X509CRLEntryImpl() argument
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | DecimalFormatTest.java | 182 private void assertFieldPosition4Types(DecimalFormat df, long num, NumberFormat.Field field, in assertFieldPosition4Types() argument 184 assertFieldPosition(df, num, field, expectedStr, expectedBeginIndex, expectedEndIndex); in assertFieldPosition4Types() 185 assertFieldPosition(df, (double) num, field, expectedStr, expectedBeginIndex, in assertFieldPosition4Types() 187 assertFieldPosition(df, BigInteger.valueOf(num), field, expectedStr, expectedBeginIndex, in assertFieldPosition4Types() 189 assertFieldPosition(df, BigDecimal.valueOf(num), field, expectedStr, expectedBeginIndex, in assertFieldPosition4Types() 193 private void assertFieldPosition(DecimalFormat df, long num, NumberFormat.Field field, in assertFieldPosition() argument 197 df.format(num, stringBuffer, fp); in assertFieldPosition() 203 private void assertFieldPosition(DecimalFormat df, double num, NumberFormat.Field field, in assertFieldPosition() argument 207 df.format(num, stringBuffer, fp); in assertFieldPosition() 213 private void assertFieldPosition(DecimalFormat df, BigInteger num, NumberFormat.Field field, in assertFieldPosition() argument [all …]
|
/libcore/luni/src/main/java/libcore/math/ |
D | NativeBN.java | 39 public static native void BN_div(long dv, long rem, long num, long divisor); in BN_div() argument
|
/libcore/ojluni/annotations/hiddenapi/sun/security/util/ |
D | ObjectIdentifier.java | 140 private static void checkOtherComponent(int i, int num) throws java.io.IOException { in checkOtherComponent() argument 144 private static void checkOtherComponent(int i, java.math.BigInteger num) in checkOtherComponent() argument
|
/libcore/luni/src/main/native/ |
D | libcore_math_NativeBN.cpp | 151 static void NativeBN_BN_div(JNIEnv* env, jclass, jlong q, jlong rem, jlong num, jlong divisor) { in NativeBN_BN_div() argument 154 if (!ctxp || !BN_div(toBigNum(q), toBigNum(rem), toBigNum(num), toBigNum(divisor), ctxp)) { in NativeBN_BN_div()
|
/libcore/ojluni/src/main/java/java/math/ |
D | BigDecimal.java | 3034 BigDecimal num = new BigDecimal(intVal, intCompact, newScale, 0); 3035 return num.scale < 0 ? num.setScale(0, ROUND_UNNECESSARY) : num; 3058 BigDecimal num = new BigDecimal(intVal, intCompact, newScale, 0); 3059 return num.scale < 0 ? num.setScale(0, ROUND_UNNECESSARY) : num; 3646 BigDecimal num = this.setScale(0, ROUND_UNNECESSARY); 3647 if (num.precision() >= 19) // need to check carefully 3648 LongOverflow.check(num); 3649 return num.inflated().longValue(); 3659 public static void check(BigDecimal num) { 3660 BigInteger intVal = num.inflated(); [all …]
|
/libcore/ojluni/src/test/java/util/Arrays/ |
D | SortingNearlySortedPrimitive.java | 333 int num = 0; in sortedReversedSortedData() local 335 array[i] = size - num; in sortedReversedSortedData() 336 num++; in sortedReversedSortedData()
|
/libcore/ojluni/src/test/java/lang/invoke/ |
D | MethodTypeTest.java | 305 for (int num = 0; num < ptypes.length; num++) { in testParameterType() 307 Class<?> expResult = ptypes[num]; in testParameterType() 308 Class<?> result = instance.parameterType(num); in testParameterType()
|
/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()
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
D | Proxy.java | 689 long num = nextUniqueNumber.getAndIncrement(); in apply() local 690 String proxyName = proxyPkg + proxyClassNamePrefix + num; in apply()
|