Searched defs:paths (Results 1 - 23 of 23) sorted by relevance

/openjdk7/jdk/test/sun/security/krb5/
H A DParseCAPaths.java74 static void check(String from, String to, String... paths) { argument
76 check2(from, to, paths);
82 static void check2(String from, String to, String... paths) argument
85 System.out.println(" expected: " + Arrays.toString(paths));
89 if (paths.length == 0) {
94 } else if(result.length != paths.length) {
98 if (!result[i].equals(paths[i])) {
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/gui/
H A DSingleLeafTreeSelectionModel.java56 public void setSelectionPaths(TreePath[] paths) { argument
59 if(((TreeNode)(paths[0].getLastPathComponent())).isLeaf()) {
60 super.setSelectionPaths(paths);
72 public void addSelectionPaths(TreePath[] paths) { argument
75 if(((TreeNode)(paths[0].getLastPathComponent())).isLeaf()) {
76 super.addSelectionPaths(paths);
/openjdk7/langtools/test/tools/javac/6917288/
H A DGraphicalInstallerTest.java82 void check(File dir, String... paths) { argument
84 Set<String> expect = new TreeSet<String>(Arrays.asList(paths));
H A DT6917288.java96 void check(File dir, String... paths) { argument
98 Set<String> expect = new TreeSet<String>(Arrays.asList(paths));
/openjdk7/jdk/src/share/classes/javax/swing/event/
H A DTreeSelectionEvent.java33 * selection. The change is based on any number of paths.
55 protected TreePath[] paths; field in class:TreeSelectionEvent
58 /** leadSelectionPath before the paths changed, may be null. */
60 /** leadSelectionPath after the paths changed, may be null. */
65 * paths identifies the paths that have been either added or
69 * @param paths the paths that have changed in the selection
71 public TreeSelectionEvent(Object source, TreePath[] paths, argument
76 this.paths
[all...]
/openjdk7/hotspot/src/os/windows/vm/
H A Ddecoder_windows.cpp74 // set pdb search paths
80 char paths[MAX_PATH]; local
81 int len = sizeof(paths);
82 if (!_pfn_SymGetSearchPath(hProcess, paths, len)) {
83 paths[0] = '\0';
86 len -= (int)strlen(paths);
102 strncat(paths, os::path_separator(), 1);
103 strncat(paths, tmp_path, dwSize);
114 strncat(paths, os::path_separator(), 1);
115 strncat(paths,
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/nio/
H A DPathFileManager.java51 * Get the default file system used to create paths. If no value has been
57 * Set the default file system used to create paths.
58 * @param fs the default file system used to create any new paths.
65 * @param paths a list of paths
67 * @throws IllegalArgumentException if the list of paths includes
71 Iterable<? extends Path> paths);
74 * Get file objects representing the given paths.
78 * getJavaFileObjectsFromPaths({@linkplain java.util.Arrays#asList Arrays.asList}(paths))
81 * @param paths a
70 getJavaFileObjectsFromPaths( Iterable<? extends Path> paths) argument
88 getJavaFileObjects(Path... paths) argument
[all...]
H A DPathFileObject.java76 String inferBinaryName(Iterable<? extends Path> paths) {
90 String inferBinaryName(Iterable<? extends Path> paths) {
104 String inferBinaryName(Iterable<? extends Path> paths) {
118 String inferBinaryName(Iterable<? extends Path> paths) {
120 for (Path p: paths) {
144 abstract String inferBinaryName(Iterable<? extends Path> paths); argument
H A DJavacPathFileManager.java101 * "source path", etc, are generically referred to here as "search paths".
197 Iterable<? extends Path> paths = getLocation(location);
198 return (paths == null ? null : paths.iterator().next());
312 Iterable<? extends Path> paths = getLocation(location);
313 if (paths == null)
317 for (Path path : paths)
398 Iterable<? extends Path> paths) {
400 if (paths instanceof Collection<?>)
401 result = new ArrayList<PathFileObject>(((Collection<?>)paths)
397 getJavaFileObjectsFromPaths( Iterable<? extends Path> paths) argument
410 getJavaFileObjects(Path... paths) argument
[all...]
/openjdk7/langtools/test/tools/javac/4241573/
H A DT4241573.java190 /** Create a set of files from a base directory and a set of relative paths. */
191 Set<File> getFiles(File dir, String... paths) { argument
193 for (String p: paths)
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/util/
H A DClassPath.java75 private PathEntry[] paths; field in class:ClassPath
108 paths = new PathEntry[vec.size()];
109 vec.toArray(paths);
240 for(int i=0; i < paths.length; i++) {
243 if((cf = paths[i].getClassFile(name, suffix)) != null)
/openjdk7/jdk/src/share/demo/jfc/SampleTree/
H A DSampleTree.java461 // of the paths that are going to be removed. They will
464 // 4 - continue until selected contains only null paths.
473 * located in <code>paths</code>.
475 private void removeSiblings(TreePath path, TreePath[] paths) { argument
479 for (int counter = paths.length - 1; counter >= 0; counter--) {
480 paths[counter] = null;
490 // First pass, find paths with a parent TreePath of parent
491 for (int counter = paths.length - 1; counter >= 0; counter--) {
492 if (paths[counter] != null && paths[counte
538 findShallowestPath(TreePath[] paths) argument
[all...]
/openjdk7/langtools/test/tools/javac/api/
H A DT6838467.java68 String[] paths = { "p/A.java", "p/B.java", "p/C.java" }; field in class:T6838467
82 createTestDir(new File("dir"), paths);
83 createTestDir(new File("not_dir"), paths);
84 createTestZip(new File("zip"), paths);
85 createTestZip(new File("not_zip"), paths);
87 createTestDir(new File("DIR"), paths);
88 createTestZip(new File("ZIP"), paths);
126 int expect = (f1.getAbsoluteFile().equals(f2.getAbsoluteFile()) ? paths.length : 0);
188 // create a directory containing a given set of paths
189 void createTestDir(File dir, String[] paths) throw argument
203 createTestZip(File zip, String[] paths) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/tree/
H A DAbstractLayoutCache.java229 Enumeration paths = getVisiblePathsFrom(firstPath);
231 if(paths != null && paths.hasMoreElements()) {
232 Rectangle pBounds = getBounds((TreePath)paths.nextElement(),
244 while (pBounds != null && paths.hasMoreElements()) {
245 pBounds = getBounds((TreePath)paths.nextElement(),
315 * paths starting at the passed in location. The ordering of the
316 * enumeration is based on how the paths are displayed.
446 * @param paths the array of <code>TreePath</code>s being queried
449 * <code>TreePath</code> is displayed; if <code>paths</cod
452 getRowsForPaths(TreePath[] paths) argument
[all...]
H A DTreeSelectionModel.java50 * continguous paths (<code>CONTIGUOUS_TREE_SELECTION</code>) or a number of
51 * discontiguous paths (<code>DISCONTIGUOUS_TREE_SELECTION</code>).
56 * allow any number of paths to be contained in the TreeSelectionModel.
61 * time the paths are changed (<code>setSelectionPath</code>,
73 * TreePath[] paths = new TreePath[] { treePath, treePath };
74 * treeSelectionModel.setSelectionPaths(paths);
134 * the TreeSelectionListeners are notified. If <code>paths</code> is
137 * @param paths new selection
139 void setSelectionPaths(TreePath[] paths); argument
151 * Adds paths t
158 addSelectionPaths(TreePath[] paths) argument
177 removeSelectionPaths(TreePath[] paths) argument
[all...]
H A DDefaultTreeSelectionModel.java43 * the paths in the selection change, not the rows. In order
47 * the selected paths. If you subclass any of these methods to
98 /** Used to make sure the paths are unique, will contain all the paths
192 * Sets the selection. Whether the supplied paths are taken as the
197 * mode is {@code CONTIGUOUS_TREE_SELECTION} and the supplied paths
200 * {@code DISCONTIGUOUS_TREE_SELECTION}, then all paths are used.
202 * All {@code null} paths in {@code pPaths} are ignored.
209 * The paths returned from {@code getSelectionPaths} are in the same
216 TreePath[] paths
328 addSelectionPaths(TreePath[] paths) argument
443 removeSelectionPaths(TreePath[] paths) argument
923 arePathsContiguous(TreePath[] paths) argument
971 canPathsBeAdded(TreePath[] paths) argument
1022 canPathsBeRemoved(TreePath[] paths) argument
[all...]
/openjdk7/jdk/test/java/util/zip/
H A Dzip.java46 List<String> paths = new ArrayList<String>(); field in class:zip
267 paths.add(dir.replace(File.separatorChar, '/'));
382 for (String path : paths) {
/openjdk7/jdk/src/share/instrument/
H A DInvocationAdapter.c519 splitPathList(const char* str, int* pathCount, char*** paths) { argument
543 *paths = segments;
701 char **paths; local
709 splitPathList(pathList, &count, &paths);
722 path = strdup(paths[i]);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/file/
H A DJavacFileManager.java86 /** Encapsulates knowledge of paths
88 private Paths paths; field in class:JavacFileManager
157 if (paths == null) {
158 paths = Paths.instance(context);
162 paths.setContext(context);
182 return paths.isDefaultBootClassPath();
496 if (!ignoreSymbolFile && paths.isDefaultBootClassPathRtJar(zipFileName)) {
783 Iterable<? extends File> path = paths.getPathForLocation(location);
818 paths.lazy();
827 paths
[all...]
/openjdk7/jdk/src/share/classes/sun/tools/jar/
H A DMain.java64 Set<String> paths = new HashSet<String>(); field in class:Main
396 paths.add(dir.replace(File.separatorChar, '/'));
650 for (String path : paths) {
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/
H A DParser.java93 paths = arguments.includePaths;
122 fileEntry.absFilename (Util.getAbsolutePath (file, paths));
3864 Vector paths; field in class:Parser
/openjdk7/jdk/src/share/classes/javax/swing/
H A DJTree.java188 * paths and seeing if they are visible.
297 * True if paths in the selection should be expanded.
490 /** Bound property name for expands selected paths property
1148 * This is useful if you wish to have your selection model maintain paths
1436 TreePath[] paths = getSelectionPaths();
1437 if (paths == null) {
1438 paths = new TreePath[0];
1441 retVal = new TreePath[][] {paths,
1635 * Selects the nodes identified by the specified array of paths.
1636 * If any component in any of the paths i
1643 setSelectionPaths(TreePath[] paths) argument
1754 addSelectionPaths(TreePath[] paths) argument
2619 removeSelectionPaths(TreePath[] paths) argument
3267 setSelectionPaths(TreePath[] paths) argument
3275 addSelectionPaths(TreePath[] paths) argument
3283 removeSelectionPaths(TreePath[] paths) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicTreeUI.java2669 * for. Stops editing, messages super and displays the changed paths.
3207 TreePath[] paths = tree.getSelectionPaths();
3209 if (paths == null || paths.length == 0) {
3220 TreePath[] displayPaths = getDisplayOrderPaths(paths);
3258 * Selection paths are in selection order. The conversion to
3259 * HTML requires display order. This method resorts the paths
3262 TreePath[] getDisplayOrderPaths(TreePath[] paths) { argument
3263 // sort the paths to display order rather than selection order
3265 for (TreePath path : paths) {
[all...]

Completed in 191 milliseconds