Home
last modified time | relevance | path

Searched refs:num (Results 1 – 20 of 20) sorted by relevance

/libcore/luni/src/test/java/tests/java/sql/
DUpdateFunctionalityTest.java111 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 …]
DStressTest.java227 int num = Support_SQL.sqlMaxConnections; in getConnectionNum() local
231 if (num != mc) { in getConnectionNum()
235 num = mc; in getConnectionNum()
240 return num; in getConnectionNum()
/libcore/ojluni/src/main/java/sun/security/x509/
DSerialNumber.java55 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()
DCertificateSerialNumber.java62 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()
DX509CRLEntryImpl.java89 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()
DX509CRLImpl.java884 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()
DX509CertInfo.java805 Integer num = map.get(name); in attributeMap() local
806 if (num == null) { in attributeMap()
809 return num.intValue(); in attributeMap()
/libcore/ojluni/src/main/java/java/lang/invoke/
DMethodType.java192 private static IndexOutOfBoundsException newIndexOutOfBoundsException(Object num) { in newIndexOutOfBoundsException() argument
193 if (num instanceof Integer) num = "bad index: "+num; in newIndexOutOfBoundsException()
194 return new IndexOutOfBoundsException(num.toString()); in newIndexOutOfBoundsException()
374 public MethodType changeParameterType(int num, Class<?> nptype) { in changeParameterType() argument
375 if (parameterType(num) == nptype) return this; in changeParameterType()
378 nptypes[num] = nptype; in changeParameterType()
393 public MethodType insertParameterTypes(int num, Class<?>... ptypesToInsert) { in insertParameterTypes() argument
395 if (num < 0 || num > len) in insertParameterTypes()
396 throw newIndexOutOfBoundsException(num); in insertParameterTypes()
402 System.arraycopy(nptypes, num, nptypes, num+ilen, len-num); in insertParameterTypes()
[all …]
/libcore/ojluni/src/lambda/java/java/lang/invoke/
DMethodType.java61 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/sun/security/util/
DObjectIdentifier.java181 int num = Integer.parseInt(comp); in ObjectIdentifier() local
183 checkFirstComponent(num); in ObjectIdentifier()
184 first = num; in ObjectIdentifier()
187 checkSecondComponent(first, num); in ObjectIdentifier()
188 num += 40 * first; in ObjectIdentifier()
190 checkOtherComponent(count, num); in ObjectIdentifier()
192 pos += pack7Oid(num, tmp, pos); in ObjectIdentifier()
657 private static void checkOtherComponent(int i, int num) throws IOException { in checkOtherComponent() argument
658 if (num < 0) { in checkOtherComponent()
663 private static void checkOtherComponent(int i, BigInteger num) throws IOException { in checkOtherComponent() argument
[all …]
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/
DHttpURLConnectionTest.java94 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/
DSerialNumber.java33 public SerialNumber(java.math.BigInteger num) { in SerialNumber() argument
37 public SerialNumber(int num) { in SerialNumber() argument
DCertificateSerialNumber.java34 public CertificateSerialNumber(java.math.BigInteger num) { in CertificateSerialNumber() argument
39 public CertificateSerialNumber(int num) { in CertificateSerialNumber() argument
DX509CRLEntryImpl.java35 public X509CRLEntryImpl(java.math.BigInteger num, java.util.Date date) { in X509CRLEntryImpl() argument
40 java.math.BigInteger num, in X509CRLEntryImpl() argument
/libcore/ojluni/annotations/hiddenapi/sun/security/util/
DObjectIdentifier.java140 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/support/src/test/java/org/apache/harmony/security/tests/support/
DTestCertUtils.java753 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/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
DHttpsURLConnectionTest.java981 int num = 0; in executeClientRequest() local
983 while ((num < buff.length) && ((byt = is.read()) != -1)) { in executeClientRequest()
984 buff[num++] = (byte) byt; in executeClientRequest()
986 String message = new String(buff, 0, num); in executeClientRequest()
/libcore/ojluni/src/main/java/java/lang/reflect/
DProxy.java689 long num = nextUniqueNumber.getAndIncrement(); in apply() local
690 String proxyName = proxyPkg + proxyClassNamePrefix + num; in apply()
/libcore/luni/src/main/native/
Dlibcore_icu_NativeConverter.cpp354 int32_t num = ucnv_countAvailable(); in NativeConverter_getAvailableCharsetNames() local
355 jobjectArray result = env->NewObjectArray(num, JniConstants::GetStringClass(env), NULL); in NativeConverter_getAvailableCharsetNames()
359 for (int i = 0; i < num; ++i) { in NativeConverter_getAvailableCharsetNames()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DLinkedHashMapTest.java435 assertEquals(1, cloneMap.num); in test_clone_Mock()
442 int num; field in LinkedHashMapTest.MockMap
445 num++; in put()
450 return num > 1; in removeEldestEntry()