/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/ |
D | SAXParserFactoryTest.java | 153 SAXParser sp = spf.newSAXParser(); in test_newSAXParser() local 154 assertTrue(sp instanceof SAXParser); in test_newSAXParser() 155 sp.parse(is1, new MyHandler()); in test_newSAXParser() 163 SAXParser sp = spf.newSAXParser(); in test_newSAXParser() local
|
D | SAXParserTest.java | 124 SAXParserTestSupport sp = new SAXParserTestSupport(); field in SAXParserTest 342 HashMap<String, String> hm = sp.readFile( in testParseFileHandlerBase() 439 HashMap<String, String> hm = sp.readFile(list_out_hb[i].getPath()); in testParseInputSourceHandlerBase() 529 HashMap<String, String> hm = sp.readFile( in test_parseLjava_io_InputStreamLorg_xml_sax_helpers_DefaultHandlerLjava_lang_String() 637 HashMap<String, String> hm = sp.readFile(list_out_hb[i].getPath()); in testParseInputStreamHandlerBase() 678 HashMap<String, String> hm = sp.readFile(list_out_hb[i].getPath()); in testParseInputStreamHandlerBaseString() 755 HashMap<String, String> hm = sp.readFile( in testParseStringHandlerBase()
|
/libcore/luni/src/main/java/java/nio/ |
D | ServerSocketChannelImpl.java | 49 public ServerSocketChannelImpl(SelectorProvider sp) throws IOException { in ServerSocketChannelImpl() argument 50 super(sp); in ServerSocketChannelImpl()
|
/libcore/luni/src/test/java/libcore/xml/ |
D | DomTest.java | 100 private Entity sp; field in DomTest 138 sp = (Entity) doctype.getEntities().item(0); in setUp() 170 if (sp != null) { in setUp() 171 allNodes.add(sp); in setUp() 189 assertNotNull("This implementation does not parse entity declarations", sp); in testEntityDeclarations() 202 if (sp != null) { in testLookupNamespaceURIByPrefix() 203 assertEquals(null, sp.lookupNamespaceURI("a")); in testLookupNamespaceURIByPrefix() 235 if (sp != null) { in testLookupNamespaceURIWithNullPrefix() 236 assertEquals(null, sp.lookupNamespaceURI(null)); in testLookupNamespaceURIWithNullPrefix() 273 if (sp != null) { in testLookupPrefixWithShadowedUri() [all …]
|
/libcore/xml/src/main/java/org/kxml2/io/ |
D | KXmlParser.java | 970 int sp = (depth - 1) * 4; in readEndTag() local 978 if (name.equals(elementStack[sp + 3])) { in readEndTag() 979 namespace = elementStack[sp]; in readEndTag() 980 prefix = elementStack[sp + 1]; in readEndTag() 981 name = elementStack[sp + 2]; in readEndTag() 984 "expected: /" + elementStack[sp + 3] + " read: " + name, this, null); in readEndTag() 1136 int sp = depth++ * 4; in parseStartTag() local 1140 elementStack = ensureCapacity(elementStack, sp + 4); in parseStartTag() 1141 elementStack[sp + 3] = name; in parseStartTag() 1176 elementStack[sp] = namespace; in parseStartTag() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ShortTest.java | 22 private Short sp = new Short((short) 18000); field in ShortTest 134 short sp = Short.parseShort("32746"); in test_parseShortLjava_lang_String2() local 137 assertTrue("Incorrect parse of short", sp == (short) 32746 in test_parseShortLjava_lang_String2() 262 assertTrue("Invalid string returned", sp.toString().equals("18000") in test_toString2()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | Signature2Test.java | 177 String[] sp = {null, ""}; in test_getInstanceLjava_lang_StringLjava_lang_String() local 178 for (int i = 0; i < sp.length; i++) { in test_getInstanceLjava_lang_StringLjava_lang_String() 180 Signature.getInstance("DSA", sp[i]); in test_getInstanceLjava_lang_StringLjava_lang_String() 181 fail(sp[i]); in test_getInstanceLjava_lang_StringLjava_lang_String()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldSystemTest.java | 231 SelectorProvider sp = SelectorProvider.provider(); in test_inheritedChannel() local 233 sp.inheritedChannel(), iChannel); in test_inheritedChannel()
|
/libcore/luni/src/test/java/libcore/java/sql/ |
D | OldConnectionTest.java | 1374 Savepoint sp = conn.setSavepoint(); in testSetSavepoint() local 1499 Savepoint sp = conn.setSavepoint(testSavepoint); in testSetSavepoint_String() local 1617 Savepoint sp = new DummySavePoint(); in testRollback_Savepoint() local 1621 conn.rollback(sp); in testRollback_Savepoint() 1738 Savepoint sp = new DummySavePoint(); in testReleaseSavepoint_Savepoint() local 1742 conn.releaseSavepoint(sp); in testReleaseSavepoint_Savepoint()
|
/libcore/luni/src/main/native/ |
D | libcore_icu_NativeDecimalFormat.cpp | 285 StringPiece sp(chars.c_str()); in NativeDecimalFormat_formatDigitList() local 286 return format(env, addr, javaFieldPositionIterator, sp); in NativeDecimalFormat_formatDigitList()
|
/libcore/luni/src/test/java/tests/java/sql/ |
D | DatabaseMetaDataTest.java | 2354 for (int sp = rp; sp < result.length(); sp++) { in doesMatch() 2355 if (doesMatch(pattern, pp + 1, result, sp)) { in doesMatch()
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | ConcurrentHashMap.java | 2153 TreeNode<K,V> sp = s.parent; in removeTreeNode() local 2154 if ((p.parent = sp) != null) { in removeTreeNode() 2155 if (s == sp.left) in removeTreeNode() 2156 sp.left = p; in removeTreeNode() 2158 sp.right = p; in removeTreeNode()
|