Home
last modified time | relevance | path

Searched refs:parts (Results 1 – 24 of 24) 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/ojluni/src/test/java/security/Provider/
DProvidersTest.java430 String[] parts = fullAlgorithm.split("\\.", 2); in testRemovedBCAlgorithms() local
432 2, parts.length); in testRemovedBCAlgorithms()
435 String type = parts[0]; in testRemovedBCAlgorithms()
436 String algorithm = parts[1]; in testRemovedBCAlgorithms()
438 switch (parts[0]) { in testRemovedBCAlgorithms()
462 fail("unhandled algorithm type " + parts[0]); in testRemovedBCAlgorithms()
464 … 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/tools/expected_upstream/
Dcommon_util.py246 n_parts = len(input_path_parent_or_self.parts)
252 child = list(path.parts)[n_parts]
376 elif len(path_obj.parts) >= 2 and not is_directory_path:
/libcore/
DExtras.bp16 // Definitions to expose small parts of the core library that are
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/
106 // filegroup for just the parts that contribute to the API.
125 // Some parts of libart are not annotated with @hide so we need this separate
126 // filegroup for just the parts that contribute to the API.
256 // It does not contain other parts of core library like conscrypt, bouncycastle,
258 // other parts of the core library like core-oj, core-libart, conscrypt,
281 // Contains the parts of core library associated with OpenJDK.
341 // Contains parts of core library not associated with OpenJDK. Contains not
418 // Provided solely to contribute information about which hidden parts of the
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.java444 String[] parts = new String[3]; in tokenizeTransformation() local
449 parts[count++] = parser.nextToken().trim(); in tokenizeTransformation()
460 if ((parts[0] == null) || (parts[0].length() == 0)) { in tokenizeTransformation()
465 return parts; in tokenizeTransformation()
/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/lang/
DStringTest.java484 String[] parts = input.split(" "); in hexStringtoBytes() local
485 byte[] bytes = new byte[parts.length]; in hexStringtoBytes()
486 for (int i = 0; i < parts.length; i++) { in hexStringtoBytes()
487 int val = Integer.parseInt(parts[i], 16); in hexStringtoBytes()
/libcore/ojluni/src/test/java/lang/invoke/
DMethodTypeTest.java210 private static String concat(Object... parts) { in concat() argument
213 for (Object part : parts) { in concat()
/libcore/luni/src/test/java/libcore/java/security/
DProviderTest.java150 String[] parts = remainingAlgo.split("/"); in test_Provider_getServices() local
151 if (parts.length == 3 && algorithm.equals(parts[0])) { in test_Provider_getServices()
/libcore/ojluni/src/test/
DLICENSE250 10. If you wish to incorporate parts of the Program into other free
321 parts of the General Public License. Of course, the commands you use may
/libcore/ojluni/src/tools/
DLICENSE250 10. If you wish to incorporate parts of the Program into other free
321 parts of the General Public License. Of course, the commands you use may
/libcore/ojluni/src/test/java/util/Scanner/
Dinput.txt88 # for commentry and a ; for parts of the config file that you
/libcore/ojluni/src/main/
DLICENSE242 10. If you wish to incorporate parts of the Program into other free programs
312 parts of the General Public License. Of course, the commands you use may be