Home
last modified time | relevance | path

Searched refs:db (Results 1 – 13 of 13) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
DDocumentBuilderTest.java125 DocumentBuilder db; field in DocumentBuilderTest
133 db = dbf.newDocumentBuilder(); in setUp()
229 Document d = db.parse(f); in testGetBaseURI()
245 Document d = db.parse(f); in test_parseLjava_io_File()
262 db.parse((File)null); in test_parseLjava_io_File()
274 db.parse(new File("_")); in test_parseLjava_io_File()
285 db.parse(f); in test_parseLjava_io_File()
305 Document d = db.parse(is); in test_parseLjava_io_InputStream()
322 db.parse((InputStream)null); in test_parseLjava_io_InputStream()
334 db.parse(new FileInputStream("_")); in test_parseLjava_io_InputStream()
[all …]
DDocumentBuilderFactoryTest.java320 DocumentBuilder db = dbf.newDocumentBuilder(); in test_newDocumentBuilder() local
321 assertTrue(db instanceof DocumentBuilder); in test_newDocumentBuilder()
322 db.parse(getClass().getResourceAsStream("/simple.xml")); in test_newDocumentBuilder()
330 DocumentBuilder db = dbf.newDocumentBuilder(); in test_newDocumentBuilder() local
/libcore/ojluni/src/main/java/java/util/
DXMLUtils.java102 DocumentBuilder db = dbf.newDocumentBuilder(); in getLoadingDoc() local
103 db.setEntityResolver(new Resolver()); in getLoadingDoc()
104 db.setErrorHandler(new EH()); in getLoadingDoc()
106 return db.parse(is); in getLoadingDoc()
136 DocumentBuilder db = null; in save() local
138 db = dbf.newDocumentBuilder(); in save()
142 Document doc = db.newDocument(); in save()
/libcore/ojluni/src/main/java/java/nio/
DByteBufferAsCharBuffer.java335 CharBuffer db = this.duplicate(); in toString() local
336 db.position(start); in toString()
337 db.limit(end); in toString()
338 cb.put(db); in toString()
DDirect-X-Buffer.java.template200 Direct$Type$Buffer$RW$$BO$(DirectBuffer db, // package-private
213 address = ((Buffer)db).address + off;
217 Object attachment = db.attachment();
218 att = (attachment == null ? db : attachment);
220 super(db, mark, pos, lim, cap, off,
414 CharBuffer db = this.duplicate();
415 db.position(start);
416 db.limit(end);
417 cb.put(db);
DByteBufferAs-X-Buffer.java.template293 ByteBuffer db = bb.duplicate();
294 db.limit(ix(lim));
295 db.position(ix(0));
296 ByteBuffer sb = db.slice();
335 CharBuffer db = this.duplicate();
336 db.position(start);
337 db.limit(end);
338 cb.put(db);
/libcore/luni/src/test/resources/
Dconnection.properties3 sqlCatalog =sqliteTest.db
/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestZoneTextPrinterParser.java293 DateTimeFormatterBuilder db = new DateTimeFormatterBuilder(); in getFormatter() local
295 db = db.parseCaseInsensitive(); in getFormatter()
297 return db.appendZoneText(style) in getFormatter()
/libcore/ojluni/src/main/java/java/util/prefs/
DXmlSupport.java262 DocumentBuilder db = dbf.newDocumentBuilder(); in loadPrefsDoc() local
263 db.setEntityResolver(new Resolver()); in loadPrefsDoc()
264 db.setErrorHandler(new EH()); in loadPrefsDoc()
265 return db.parse(new InputSource(in)); in loadPrefsDoc()
/libcore/ojluni/src/test/java/util/BitSet/stream/
DBitSetStreamTest.java164 SpliteratorOfIntDataBuilder db = new SpliteratorOfIntDataBuilder( in spliteratorOfIntDataProvider() local
167 db.add("BitSet.stream.spliterator() {" + description + "}", () -> in spliteratorOfIntDataProvider()
/libcore/ojluni/src/test/java/nio/Buffer/
DByteBufferViews.java701 bb -> { var db = bb.asDoubleBuffer(); in doubleViewProvider()
702 db = db.slice(1, db.limit() - 1); in doubleViewProvider()
704 return db; }), in doubleViewProvider()
DBasicByte.java302 DoubleBuffer db = b.asDoubleBuffer(); in testViews() local
303 BasicDouble.test(level, db, direct); in testViews()
305 checkInvalidMarkException(db); in testViews()
DBasic-X.java.template302 DoubleBuffer db = b.asDoubleBuffer();
303 BasicDouble.test(level, db, direct);
305 checkInvalidMarkException(db);