Home
last modified time | relevance | path

Searched refs:gen (Results 1 – 17 of 17) sorted by relevance

/libcore/dom/src/test/java/org/w3c/domts/level1/core/
Delementremoveattributenomodificationallowederr.java72 Node gen; in runTest() local
80 gen = genList.item(0); in runTest()
81 assertNotNull("genNotNull", gen); in runTest()
82 nodeType = (int) gen.getNodeType(); in runTest()
85 gen = doc.createEntityReference("ent4"); in runTest()
86 assertNotNull("createdEntRefNotNull", gen); in runTest()
88 gList = gen.getChildNodes(); in runTest()
Delementremoveattributenodenomodificationallowederr.java72 Node gen; in runTest() local
83 gen = genList.item(0); in runTest()
84 assertNotNull("genNotNull", gen); in runTest()
85 nodeType = (int) gen.getNodeType(); in runTest()
88 gen = doc.createEntityReference("ent4"); in runTest()
89 assertNotNull("createdEntRefNotNull", gen); in runTest()
91 gList = gen.getChildNodes(); in runTest()
Dattrsetvaluenomodificationallowederr.java78 Node gen; in runTest() local
88 gen = genList.item(0); in runTest()
89 assertNotNull("genderFirstChildNotNull", gen); in runTest()
90 gList = gen.getChildNodes(); in runTest()
/libcore/luni/src/test/java/libcore/java/security/
DOldAlgorithmParameterGeneratorTest.java30 AlgorithmParameterGenerator gen = AlgorithmParameterGenerator in test_initI() local
35 gen.init(valid[i]); in test_initI()
48 AlgorithmParameterGenerator gen = AlgorithmParameterGenerator in test_initILjava_security_SecureRandom() local
53 gen.init(valid[i], new SecureRandom()); in test_initILjava_security_SecureRandom()
54 gen.init(valid[i], null); in test_initILjava_security_SecureRandom()
DOldDHTest.java31 KeyPairGenerator gen = null; in testDHGen() local
33 gen = KeyPairGenerator.getInstance("DH"); in testDHGen()
45 gen.initialize(dhparameterspec); in testDHGen()
46 KeyPair key = gen.generateKeyPair(); in testDHGen()
/libcore/dom/src/test/java/org/w3c/domts/level2/core/
DsetAttributeNS03.java77 Node gen; in runTest() local
85 gen = genList.item(0); in runTest()
86 nodeType = (int) gen.getNodeType(); in runTest()
89 gen = doc.createEntityReference("ent4"); in runTest()
90 assertNotNull("createdEntRefNotNull", gen); in runTest()
92 gList = gen.getChildNodes(); in runTest()
DremoveAttributeNS01.java80 Node gen; in runTest() local
87 gen = gender.getFirstChild(); in runTest()
88 nodeType = (int) gen.getNodeType(); in runTest()
91 gen = doc.createEntityReference("ent4"); in runTest()
92 assertNotNull("createdEntRefNotNull", gen); in runTest()
94 gList = gen.getChildNodes(); in runTest()
DsetAttributeNodeNS02.java81 Node gen; in runTest() local
92 gen = genList.item(0); in runTest()
94 gen = doc.createEntityReference("ent4"); in runTest()
97 gList = gen.getChildNodes(); in runTest()
/libcore/luni/src/test/java/tests/security/interfaces/
DDSAKeyTest.java38 KeyPairGenerator gen = KeyPairGenerator.getInstance("DSA"); in test_getParams() local
39 gen.initialize((DSAParameterSpec) param); in test_getParams()
43 key = (DSAKey) gen.generateKeyPair().getPrivate(); in test_getParams()
47 key = (DSAKey) gen.generateKeyPair().getPublic(); in test_getParams()
DRSAKeyTest.java36 KeyFactory gen = KeyFactory.getInstance("RSA"); in test_getModulus() local
43 key = (RSAKey) gen.generatePrivate(new RSAPrivateKeySpec(n, d)); in test_getModulus()
47 key = (RSAKey) gen.generatePublic(new RSAPublicKeySpec(n, e)); in test_getModulus()
DRSAPrivateKeyTest.java32 KeyFactory gen = KeyFactory.getInstance("RSA"); in test_getPrivateExponent() local
35 RSAPrivateKey key = (RSAPrivateKey) gen.generatePrivate(new RSAPrivateKeySpec( in test_getPrivateExponent()
DRSAPublicKeyTest.java32 KeyFactory gen = KeyFactory.getInstance("RSA"); in test_getPublicExponent() local
35 RSAPublicKey key = (RSAPublicKey) gen.generatePublic(new RSAPublicKeySpec( in test_getPublicExponent()
DRSAPrivateCrtKeyTest.java29 KeyFactory gen = KeyFactory.getInstance("RSA"); in setUp() local
30 key = (RSAPrivateCrtKey) gen.generatePrivate(Util.rsaCrtParam); in setUp()
/libcore/luni/src/test/java/libcore/java/nio/charset/
DCharset_TestGenerator.java174 CodesGenerator gen = new CodesGenerator1(); in genCodes() local
177 while (!gen.isAccepted(code)) code ++; in genCodes()
178 gen.consume(code); in genCodes()
182 while (!gen.isAccepted(code)) code ++; in genCodes()
183 gen.consume(code); in genCodes()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyPairGenerator4Test.java34 KeyPairGenerator gen = KeyPairGenerator.getInstance("DSA"); in test_genKeyPair() local
35 gen.initialize(1024); in test_genKeyPair()
36 assertNotNull("KeyPair is null", gen.genKeyPair()); in test_genKeyPair()
/libcore/
DAndroid.bp25 name: "notices-for-framework-stubs-gen",
44 ":notices-for-framework-stubs-gen",
/libcore/luni/src/test/java9language/
DAndroid.bp50 name: "core-gen-test-repackaged-java-9-language-features",
65 ":core-gen-test-repackaged-java-9-language-features",