Searched refs:path (Results 226 - 250 of 981) sorted by relevance

1234567891011>>

/openjdk9/langtools/test/tools/javac/modules/
H A DModuleInfoTreeAccess.java77 TreePath path = trees.getPath(mdle);
78 assertNotNull("path", path);
80 ModuleElement mdle1 = (ModuleElement) trees.getElement(path);
102 TreePath path = trees.getPath(mdle);
103 assertNotNull("path", path);
105 ModuleElement mdle1 = (ModuleElement) trees.getElement(path);
/openjdk9/langtools/test/tools/jdeps/modules/
H A DDotFileTest.java97 Path path = DOTS_DIR.resolve(name + ".dot");
98 assertTrue(Files.exists(path));
99 Set<String> lines = Files.readAllLines(path).stream()
115 Path path = SPEC_DIR.resolve(name + ".dot");
116 assertTrue(Files.exists(path));
117 Set<String> lines = Files.readAllLines(path).stream()
H A DGenModuleInfo.java96 Path path = msrc.relativize(file);
97 Files.createDirectories(root.resolve(path).getParent());
98 Files.copy(file, root.resolve(path));
206 stream.filter(path -> !path.getFileName().toString().equals(MODULE_INFO) &&
207 path.getFileName().toString().endsWith(".class"))
208 .map(path -> from.relativize(path))
209 .forEach(path -> {
211 Path newFile = dest.resolve(path);
256 toPackageName(Path path) argument
[all...]
/openjdk9/jdk/test/java/util/ResourceBundle/modules/unnamed/
H A Dunnamed.sh50 $JAVAC -g -d mods --module-source-path $TESTSRC/src $CLASSES
66 $JAVA -cp classes --module-path mods --add-modules bundles \
70 $JAVA -cp classes --module-path mods --add-modules bundles \
/openjdk9/jdk/src/java.desktop/share/classes/javax/swing/tree/
H A DFixedHeightLayoutCache.java71 * Used for getting path/row information.
149 public void invalidatePathBounds(TreePath path) { argument
166 public boolean isExpanded(TreePath path) { argument
167 if(path != null) {
168 FHTreeStateNode lastNode = getNodeForPath(path, true, false);
176 * Returns a rectangle giving the bounds needed to draw path.
178 * @param path a TreePath specifying a node
182 public Rectangle getBounds(TreePath path, Rectangle placeIn) { argument
183 if(path == null)
186 FHTreeStateNode node = getNodeForPath(path, tru
224 getRowForPath(TreePath path) argument
263 getVisibleChildCount(TreePath path) argument
276 getVisiblePathsFrom(TreePath path) argument
300 setExpandedState(TreePath path, boolean isExpanded) argument
325 getExpandedState(TreePath path) argument
597 getMapping(TreePath path) argument
685 getNodeForPath(TreePath path, boolean onlyIfVisible, boolean shouldCreate) argument
762 protected TreePath path; field in class:FixedHeightLayoutCache.FHTreeStateNode
[all...]
H A DAbstractLayoutCache.java199 * The region is defined by the path closest to
265 * @param path TreePath to check
268 public abstract boolean isExpanded(TreePath path); argument
271 * Returns a rectangle giving the bounds needed to draw path.
273 * @param path a <code>TreePath</code> specifying a node
278 public abstract Rectangle getBounds(TreePath path, Rectangle placeIn); argument
281 * Returns the path for passed in row. If row is not visible
290 * Returns the row that the last item identified in path is visible
291 * at. Will return -1 if any of the elements in path are not
294 * @param path th
298 getRowForPath(TreePath path) argument
325 getVisiblePathsFrom(TreePath path) argument
333 getVisibleChildCount(TreePath path) argument
342 setExpandedState(TreePath path, boolean isExpanded) argument
350 getExpandedState(TreePath path) argument
371 invalidatePathBounds(TreePath path) argument
[all...]
/openjdk9/jdk/src/jdk.internal.jvmstat/share/classes/sun/jvmstat/monitor/
H A DHostIdentifier.java145 * transform this to scheme://hostname:port. If a path
159 * optional path and fragment components. we assume that
171 * by a path part, fragment part, or both a path and fragment
208 * @param path the {@link URI#getPath} component of a URI.
218 public HostIdentifier(String scheme, String authority, String path, argument
221 uri = new URI(scheme, authority, path, query, fragment);
285 String path = vmid.getPath();
286 if ((path != null) && (path
[all...]
/openjdk9/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/
H A DExtern.java80 * Package name, found in the "package-list" file in the {@link path}.
85 * The URL or the directory path at which the package documentation will be
88 final String path; field in class:Extern.Item
91 * If given path is directory path then true else if it is a URL then false.
101 * @param path URL or Directory path from where the "package-list"
103 * @param relative True if path is URL, false if directory path.
105 Item(String packageName, String path, boolea argument
262 readPackageListFromFile(String path, DocFile pkgListPath) argument
291 readPackageList(InputStream input, String path, boolean relative) argument
[all...]
/openjdk9/langtools/src/jdk.javadoc/share/classes/com/sun/tools/doclets/internal/toolkit/util/
H A DExtern.java78 * Package name, found in the "package-list" file in the {@link path}.
83 * The URL or the directory path at which the package documentation will be
86 final String path; field in class:Extern.Item
89 * If given path is directory path then true else if it is a URL then false.
99 * @param path URL or Directory path from where the "package-list"
101 * @param relative True if path is URL, false if directory path.
103 Item(String packageName, String path, boolea argument
252 readPackageListFromFile(String path, DocFile pkgListPath) argument
280 readPackageList(InputStream input, String path, boolean relative) argument
[all...]
/openjdk9/jdk/src/jdk.rmic/share/classes/sun/tools/java/
H A DClassPath.java48 * This class is used to represent a class path, which can contain both
64 * The original class path string
69 * List of class path entries
71 private ClassPathEntry[] path; field in class:ClassPath
74 * Build a class path from the specified path string
81 * Build a class path from the specified array of class path
86 * manifest entry will contain a path separator, which would cause
87 * incorrect behavior if the expanded path wer
[all...]
/openjdk9/hotspot/src/jdk.aot/share/classes/jdk.tools.jaotc/src/jdk/tools/jaotc/collect/directory/
H A DDirectorySource.java44 for (Path path : finder) {
45 consumer.accept(ClassSource.makeClassName(directoryPath.relativize(path).normalize()), classLoader);
/openjdk9/hotspot/src/jdk.aot/share/classes/jdk.tools.jaotc/src/jdk/tools/jaotc/collect/
H A DClassSource.java34 static String makeClassName(Path path) { argument
35 String fileName = path.toString();
/openjdk9/hotspot/src/jdk.aot/share/classes/jdk.tools.jaotc/src/jdk/tools/jaotc/collect/module/
H A DModuleSource.java44 for (Path path : finder) {
45 consumer.accept(ClassSource.makeClassName(modulePath.relativize(path).normalize()), classLoader);
/openjdk9/hotspot/test/testlibrary_tests/ctw/
H A DJarDirTest.java66 String path = "jars";
67 Files.createDirectory(Paths.get(path));
/openjdk9/jdk/src/java.base/share/classes/sun/net/www/protocol/jrt/
H A DJavaRuntimeURLConnection.java68 String path = url.getPath();
69 if (path.length() == 0 || path.charAt(0) != '/')
70 throw new MalformedURLException(url + " missing path or /");
71 if (path.length() == 1) {
75 int pos = path.indexOf('/', 1);
77 this.module = path.substring(1);
80 this.module = path.substring(1, pos);
81 this.name = ParseUtil.decode(path.substring(pos+1));
/openjdk9/jdk/src/java.base/share/native/libjimage/
H A DosSupport.hpp47 static jint openReadOnly(const char *path);
57 static jlong size(const char *path);
/openjdk9/jdk/src/java.desktop/macosx/classes/com/apple/laf/
H A DAquaMenuUI.java99 final MenuElement path[] = e.getPath();
109 appendPath(path, menu.getPopupMenu());
111 manager.setSelectedPath(path);
126 static void appendPath(final MenuElement[] path, final MenuElement elem) { argument
127 final MenuElement newPath[] = new MenuElement[path.length + 1];
128 System.arraycopy(path, 0, newPath, 0, path.length);
129 newPath[path.length] = elem;
136 * path for the MenuSelectionManager and handles the case
/openjdk9/hotspot/src/jdk.aot/share/classes/jdk.tools.jaotc/src/jdk/tools/jaotc/collect/jar/
H A DJarFileSource.java46 for (Path path : finder) {
47 consumer.accept(ClassSource.makeClassName(jarRootPath.relativize(path).normalize()), classLoader);
/openjdk9/jdk/src/jdk.jlink/share/classes/jdk/tools/jlink/internal/
H A DPathResourcePoolEntry.java45 * @param path The path for the resource content.
49 public PathResourcePoolEntry(String module, String path, Type type, Path file) { argument
50 super(module, path, type);
H A DByteArrayResourcePoolEntry.java45 * @param path The data path identifier.
49 ByteArrayResourcePoolEntry(String module, String path, Type type, byte[] buffer) { argument
50 super(module, path, type);
/openjdk9/jdk/src/jdk.jlink/share/classes/jdk/tools/jlink/plugin/
H A DResourcePool.java59 * Get the ResourcePoolEntry for the passed path.
61 * @param path A data path
64 public Optional<ResourcePoolEntry> findEntry(String path); argument
67 * Get the ModuleEntry for the passed path restricted to supplied context.
69 * @param path A data path
73 public Optional<ResourcePoolEntry> findEntryInContext(String path, ResourcePoolEntry context); argument
/openjdk9/jdk/test/java/lang/instrument/DaemonThread/
H A DTestDaemonThread.java53 String path = u.getPath();
54 String parent = u.getPath().substring(0, path.lastIndexOf('/')+1);
/openjdk9/jdk/test/java/net/httpclient/http2/server/
H A DHttp2TestServer.java107 * Adds the given handler for the given path
109 public void addHandler(Http2Handler handler, String path) { argument
110 handlers.put(path, handler);
113 Http2Handler getHandlerFor(String path) { argument
114 if (path == null || path.equals(""))
115 path = "/";
117 final String fpath = path;
129 throw new RuntimeException("No handler found for path " + path);
[all...]
/openjdk9/jdk/test/java/nio/file/Path/
H A DMacPathTest.java26 * @summary Tests file path with nfc/nfd forms on MacOSX
140 for (Path path: stream) {
141 fname = path.toString();
143 found_dir |= match(dpath, path);
144 found_file_nfc |= match(fpath_nfc, path);
145 found_file_nfd |= match(fpath_nfd, path);
156 for (Path path: stream) {
157 fname = path.toString();
159 globmatched |= match(fpath_nfc, path);
163 //throw new RuntimeException("path matche
[all...]
/openjdk9/langtools/test/jdk/javadoc/tool/6964914/
H A DTest.java46 void javadoc(String path, String expect) { argument
53 new File(testSrc, path).getPath()

Completed in 295 milliseconds

1234567891011>>