Searched refs:relative (Results 1 - 19 of 19) sorted by relevance

/openjdk7/langtools/test/tools/javac/processing/filer/
H A DTestInvalidRelativeNames.java27 * @summary Invalid relative names for Filer.createResource and Filer.getResource
51 for (String relative: invalidRelativeNames) {
53 test(relative, kind);
60 void test(String relative, Kind kind) { argument
61 System.out.println("test relative path: " + relative + ", kind: " + kind);
66 StandardLocation.SOURCE_OUTPUT, "", relative).openWriter();
72 StandardLocation.SOURCE_OUTPUT, "", relative).openReader(true);
78 StandardLocation.SOURCE_OUTPUT, "", relative).openOutputStream();
84 StandardLocation.SOURCE_OUTPUT, "", relative)
[all...]
H A DTestValidRelativeNames.java27 * @summary Test valid relative names for Filer.createResource and Filer.getResource
68 String relative = getRelative(relativeBase, kind);
69 System.out.println("test create relative path: " + relative + ", kind: " + kind);
74 StandardLocation.CLASS_OUTPUT, "", relative).openWriter()) {
75 writer.write(relative);
81 StandardLocation.CLASS_OUTPUT, "", relative).openOutputStream()) {
82 out.write(relative.getBytes());
88 "relative path: " + relative
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/patterns/
H A DContextMatchStepPattern.java73 * Execute the match pattern step relative to another step.
114 for (int relative = traverser.first(context); DTM.NULL != relative;
115 relative = traverser.next(context, relative))
119 xctxt.pushCurrentNode(relative);
126 // predContext, relative);
134 && (DTM.ELEMENT_NODE == dtm.getNodeType(relative)))
141 for (int arelative = atraverser.first(relative);
143 arelative = atraverser.next(relative, arelativ
[all...]
H A DStepPattern.java184 * @param expr The relative pattern expression.
200 * @return The relative pattern expression.
651 * Execute the match pattern step relative to another step.
677 for (int relative = traverser.first(context); DTM.NULL != relative;
678 relative = traverser.next(context, relative))
682 xctxt.pushCurrentNode(relative);
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/
H A DLdapSearchEnumeration.java61 String relStart; // name relative to starting search context
62 String relHome; // name relative to homeCtx.currentDN
63 boolean relative = true; // whether relative to currentDN
66 // so that is relative to current context (currentDN)
77 relative = false;
84 relative = false;
90 // Name relative to search context
96 // Name relative to homeCtx
122 // rcn is either relative t
[all...]
H A DLdapCtx.java736 // relative to a naming context BEFORE the referral is followed).
1664 * the relative flag tells whether the given name is relative to this
1667 private String getSchemaEntry(Name name, boolean relative) argument
1679 results = searchAux(name, "objectclass=*", constraints, relative,
1796 boolean relative,
1847 answer = doSearch(name, filter, cons, relative, waitForReply);
1929 SearchControls cons, boolean relative) throws NamingException {
1934 LdapResult answer = doSearch(name, filter, cons, relative, true);
1941 boolean relative, boolea
1793 searchAux(Name name, String filter, SearchControls cons, boolean relative, boolean waitForReply, Continuation cont) argument
1928 doSearchOnce(Name name, String filter, SearchControls cons, boolean relative) argument
1940 doSearch(Name name, String filter, SearchControls cons, boolean relative, boolean waitForReply) argument
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/
H A DExtern.java87 final boolean relative; field in class:Extern.Item
97 * @param relative True if path is URL, false if directory path.
99 Item(String packageName, String path, boolean relative) { argument
102 this.relative = relative;
115 return packageName + (relative? " -> " : " => ") + path;
139 * @param relativepath The relative path.
148 if (fnd.relative) { // it's a relative path.
273 * @param relative I
275 readPackageList(InputStream input, String path, boolean relative) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/gui/
H A DContextManager.java193 private int setCurrentFrameIndex(ThreadReference t, int x, boolean relative) throws VMNotInterruptedException { argument
201 int newIndex = relative? oldIndex + x : x;
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/
H A Dstylesheet.css192 position:relative;
245 position:relative;
249 position:relative;
362 position:relative;
389 position:relative;
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/resolver/
H A DCatalogManager.java76 * <td>relative-catalogs</td>
77 * <td>If false, relative catalog URIs are made absolute with respect to the base URI of
416 String allow = resources.getString("relative-catalogs");
429 * interrogated. If true, then relative catalog entry file names
430 * are returned. If false, relative catalog entry file names are
436 * the default list, they are never considered relative. (What would
437 * they be relative to?)</p>
458 public void setRelativeCatalogs (boolean relative) { argument
459 relativeCatalogs = new Boolean(relative);
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/compiler/
H A DXPathParser.java438 * Retrieve a token relative to the current token.
440 * @param i Position relative to current token.
449 int relative = m_queueMark + i;
451 if ((relative > 0) && (relative < m_ops.getTokenQueueSize()))
453 tok = (String) m_ops.m_tokenQueue.elementAt(relative);
2212 // "A relative path pattern was expected."
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DCSS.java56 * <li>font-size (supports relative units)
118 * <p><b>Note: for the time being we do not fully support relative units,
760 * @param baseFontSize size to use for relative units.
1082 * Returns a URL for the given CSS url string. If relative,
1103 // Then relative
1809 * resolve hierarchy if it's relative.
1874 // relative sizes, larger | smaller (adjust from parent by
1897 * relative sizes in the size attribute are relative
2080 // PENDING(prinz) add support for relative value
2445 short relative; field in class:CSS.BackgroundPosition
[all...]
/openjdk7/jdk/src/share/classes/com/sun/rowset/
H A DFilteredRowSetImpl.java253 * crs.relative(4);
280 * same as calling <code>last()</code>. Calling <code>relative(0)</code>
293 public boolean relative(int rows) throws SQLException { method in class:FilteredRowSetImpl
300 throw new SQLException(resBundle.handleGetObject("filteredrowsetimpl.relative").toString());
H A DJoinRowSetImpl.java2057 * crs.relative(4);
2084 * same as calling <code>last()</code>. Calling <code>relative(0)</code>
2099 public boolean relative(int rows) throws SQLException { method in class:JoinRowSetImpl
2100 return crsInternal.relative(rows);
2111 * as calling the method <code>relative(-1)</code>. This is true
2114 * <code>relative</code> may only be called from the current row.
H A DJdbcRowSetImpl.java1981 * Moves the cursor a relative number of rows, either positive or negative.
1984 * the first/last row. Calling <code>relative(0)</code> is valid, but does
1987 * <p>Note: Calling the method <code>relative(1)</code>
2002 public boolean relative(int rows) throws SQLException { method in class:JdbcRowSetImpl
2005 boolean b = rs.relative(rows);
2015 * calling the method <code>relative(-1)</code> because it
4889 * size relative to the driver's limits on <code>NVARCHAR</code> values)
6778 * size relative to the driver's limits on <code>VARCHAR</code> values)
6799 * <code>LONGVARBINARY</code> (depending on the argument's size relative
H A DCachedRowSetImpl.java1484 * <code>next</code>, <code>absolute</code>, and <code>relative</code>,
3561 * crs.relative(4);
3588 * same as calling <code>last()</code>. Calling <code>relative(0)</code>
3603 public boolean relative(int rows) throws SQLException { method in class:CachedRowSetImpl
3606 throw new SQLException(resBundle.handleGetObject("cachedrowsetimpl.relative").toString());
3651 * as calling the method <code>relative(-1)</code>. This is true
3654 * <code>relative</code> may only be called from the current row.
9071 * size relative to the driver's limits on <code>NVARCHAR</code> values)
9855 * size relative to the driver's limits on <code>VARCHAR</code> values)
9876 * <code>LONGVARBINARY</code> (depending on the argument's size relative
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/
H A DXMLEntityScanner.java471 public int getChar(int relative) throws IOException{ argument
472 if(arrangeCapacity(relative + 1, false)){
473 return fCurrentEntity.ch[fCurrentEntity.position + relative];
/openjdk7/jdk/src/share/classes/java/sql/
H A DResultSet.java103 * relative to the current row.
1220 * Moves the cursor a relative number of rows, either positive or negative.
1223 * the first/last row. Calling <code>relative(0)</code> is valid, but does
1226 * <p>Note: Calling the method <code>relative(1)</code>
1228 * calling the method <code>relative(-1)</code> is identical
1243 boolean relative( int rows ) throws SQLException; method in interface:ResultSet
/openjdk7/jdk/src/share/classes/com/sun/rowset/internal/
H A DSyncResolverImpl.java1021 * <code>next</code>, <code>absolute</code>, and <code>relative</code>,
2340 * crs.relative(4);
2367 * same as calling <code>last()</code>. Calling <code>relative(0)</code>
2382 public boolean relative(int rows) throws SQLException { method in class:SyncResolverImpl
2394 * as calling the method <code>relative(-1)</code>. This is true
2397 * <code>relative</code> may only be called from the current row.

Completed in 247 milliseconds