Home
last modified time | relevance | path

Searched refs:parts (Results 1 – 19 of 19) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/
DNamespaceSupportTest.java240 String[] parts = new String[3]; in testProcessName_Element() local
243 ns.processName("ak:hello", parts, false)); in testProcessName_Element()
244 assertEquals("Test 2: Incorrect namespace URI;", marketUri, parts[0]); in testProcessName_Element()
245 assertEquals("Test 3: Incorrect local name;", "hello", parts[1]); in testProcessName_Element()
246 assertEquals("Test 4: Incorrect raw name;", "ak:hello", parts[2]); in testProcessName_Element()
249 ns.processName("bk:", parts, false)); in testProcessName_Element()
250 assertEquals("Test 6: Incorrect namespace URI;", marketUri, parts[0]); in testProcessName_Element()
251 assertEquals("Test 7: Incorrect local name;", "", parts[1]); in testProcessName_Element()
252 assertEquals("Test 8: Incorrect raw name;", "bk:", parts[2]); in testProcessName_Element()
255 ns.processName("world", parts, false)); in testProcessName_Element()
[all …]
/libcore/luni/src/test/java/libcore/sun/security/x509/
DUtils.java34 String[] parts, in test_toString_bitArrayBasedClass() argument
38 testWithEachSinglePart(parts, objectCreator, prefix, suffix); in test_toString_bitArrayBasedClass()
39 testWithAllParts(parts, objectCreator, prefix, suffix); in test_toString_bitArrayBasedClass()
40 testWithNoParts(parts, objectCreator, prefix, suffix); in test_toString_bitArrayBasedClass()
41 testWithEveryOtherPart(parts, objectCreator, prefix, suffix); in test_toString_bitArrayBasedClass()
45 String[] parts, Function<byte[], Object> objectCreator, String prefix, String suffix) { in testWithEachSinglePart() argument
47 for (int i = 0; i < parts.length; i++) { in testWithEachSinglePart()
56 assertEquals(prefix + parts[i] + suffix, o.toString()); in testWithEachSinglePart()
61 String[] parts, Function<byte[], Object> objectCreator, String prefix, String suffix) { in testWithAllParts() argument
63 int allOnesLength = (parts.length + bitsInAByte - 1) / bitsInAByte; in testWithAllParts()
[all …]
DReasonFlagsTest.java32 String[] parts = new String[] { in testToString() local
46 Utils.test_toString_bitArrayBasedClass(parts, objectCreator, prefix, suffix); in testToString()
DNetscapeCertTypeExtensionTest.java51 String[] parts = new String[] { in testToString() local
70 Utils.test_toString_bitArrayBasedClass(parts, objectCreator, prefix, suffix); in testToString()
DKeyUsageExtensionTest.java36 String[] parts = new String[] { in testToString() local
56 Utils.test_toString_bitArrayBasedClass(parts, objectCreator, prefix, suffix); in testToString()
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
DCDATASectionImpl.java58 String[] parts = getData().split("\\]\\]>"); in split() local
59 parent.insertBefore(new CDATASectionImpl(document, parts[0] + "]]"), this); in split()
60 for (int p = 1; p < parts.length - 1; p++) { in split()
61 parent.insertBefore(new CDATASectionImpl(document, ">" + parts[p] + "]]"), this); in split()
63 setData(">" + parts[parts.length - 1]); in split()
/libcore/luni/src/test/java/libcore/sun/security/jca/
DProvidersTest.java433 String[] parts = fullAlgorithm.split("\\.", 2); in testRemovedBCAlgorithms() local
435 2, parts.length); in testRemovedBCAlgorithms()
438 String type = parts[0]; in testRemovedBCAlgorithms()
439 String algorithm = parts[1]; in testRemovedBCAlgorithms()
441 switch (parts[0]) { in testRemovedBCAlgorithms()
465 fail("unhandled algorithm type " + parts[0]); in testRemovedBCAlgorithms()
467 … fail("getInstance should have thrown for type: " + parts[0] + ", name: " + algorithm); in testRemovedBCAlgorithms()
/libcore/tools/testmapping/
Dsave_logs.py79 parts = []
82 parts.insert(0, tail)
84 return '_'.join(parts)
/libcore/luni/src/main/java/org/xml/sax/helpers/
DNamespaceSupport.java345 public String [] processName (String qName, String parts[], in processName() argument
352 parts[0] = myParts[0]; in processName()
353 parts[1] = myParts[1]; in processName()
354 parts[2] = myParts[2]; in processName()
355 return parts; in processName()
DParserAdapter.java747 String parts[] = nsSupport.processName(qName, nameParts, in processName() local
749 if (parts == null) { in processName()
753 parts = new String[3]; in processName()
754 parts[0] = parts[1] = ""; in processName()
755 parts[2] = qName.intern(); in processName()
757 return parts; in processName()
/libcore/luni/src/test/java/libcore/java/nio/charset/
DStandardCharsetsEncoderTest.java90 String[] parts = expectedInfo.split(DELIMITER); in testCharset() local
91 int codePoint = Integer.parseInt(parts[0]); in testCharset()
/libcore/
DJavaLibrary.bp20 // Android software stack. It is made up of various parts, some of which can be
21 // found in libcore/ and other parts that can be found in various external/
86 // filegroup for just the parts that contribute to the API.
103 // Some parts of libart are not annotated with @hide so we need this separate
104 // filegroup for just the parts that contribute to the API.
200 // It does not contain other parts of core library like conscrypt, bouncycastle,
202 // other parts of the core library like core-oj, core-libart, conscrypt,
220 // Contains the parts of core library associated with OpenJDK.
264 // Contains parts of core library not associated with OpenJDK. Contains not
314 // Provided solely to contribute information about which hidden parts of the
[all …]
DLICENSE234 10. If you wish to incorporate parts of the Program into other free programs
304 parts of the General Public License. Of course, the commands you use may be
/libcore/ojluni/src/main/java/javax/crypto/
DCipher.java425 String[] parts = new String[3]; in tokenizeTransformation() local
430 parts[count++] = parser.nextToken().trim(); in tokenizeTransformation()
441 if ((parts[0] == null) || (parts[0].length() == 0)) { in tokenizeTransformation()
446 return parts; in tokenizeTransformation()
/libcore/luni/src/test/java/libcore/java/lang/
DStringTest.java481 String[] parts = input.split(" "); in hexStringtoBytes() local
482 byte[] bytes = new byte[parts.length]; in hexStringtoBytes()
483 for (int i = 0; i < parts.length; i++) { in hexStringtoBytes()
484 int val = Integer.parseInt(parts[i], 16); in hexStringtoBytes()
/libcore/ojluni/src/main/java/java/net/
DURL.java414 Parts parts = new Parts(file, host); in URL() local
415 path = parts.getPath(); in URL()
416 query = parts.getQuery(); in URL()
423 ref = parts.getRef(); in URL()
/libcore/luni/src/test/java/libcore/java/security/
DProviderTest.java146 String[] parts = remainingAlgo.split("/"); in test_Provider_getServices() local
147 if (parts.length == 3 && algorithm.equals(parts[0])) { in test_Provider_getServices()
/libcore/mmodules/core_platform_api/
DAndroid.bp115 // Core platform APIs are only intended for use of other parts of the platform, not the
/libcore/ojluni/
DNOTICE520 10. If you wish to incorporate parts of the Program into other free programs
590 parts of the General Public License. Of course, the commands you use may be