/openjdk7/langtools/src/share/classes/com/sun/tools/javac/file/ |
H A D | RelativePath.java | 34 * Used to represent a platform-neutral path within a platform-specific 48 path = p; 56 if (path.length() == 0) 58 return new File(directory, path.replace('/', File.separatorChar)); 62 return path.compareTo(other.path); 69 return path.equals(((RelativePath) other).path); 74 return path.hashCode(); 79 return "RelPath[" + path 86 protected final String path; field in class:RelativePath [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/javadoc/ |
H A D | PackageDocImpl.java | 67 public boolean setDocPath = false; //Flag to avoid setting doc path multiple times. 339 * set doc path for an unzipped directory 341 public void setDocPath(FileObject path) { argument 343 if (path == null) 345 if (!path.equals(docPath)) { 346 docPath = path;
|
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ |
H A D | ZipFileAttributeView.java | 70 private final ZipPath path; field in class:ZipFileAttributeView 73 private ZipFileAttributeView(ZipPath path, boolean isZipView) { argument 74 this.path = path; 78 static <V extends FileAttributeView> V get(ZipPath path, Class<V> type) { argument 82 return (V)new ZipFileAttributeView(path, false); 84 return (V)new ZipFileAttributeView(path, true); 88 static ZipFileAttributeView get(ZipPath path, String type) { argument 92 return new ZipFileAttributeView(path, false); 94 return new ZipFileAttributeView(path, tru [all...] |
/openjdk7/jdk/src/share/classes/sun/security/validator/ |
H A D | PKIXValidator.java | 166 * Returns the length of the last certification path that is validated by 169 * path that is being validated. It is necessary since engineValidate() 170 * may modify the length of the path. 172 * @return the length of the last certification path passed to 311 private static X509Certificate[] toArray(CertPath path, TrustAnchor anchor) argument 314 path.getCertificates(); 343 CertPath path = factory.generateCertPath(Arrays.asList(chain)); 346 (PKIXCertPathValidatorResult)validator.validate(path, params); 348 return toArray(path, result.getTrustAnchor()); 351 ("PKIX path validatio [all...] |
/openjdk7/jdk/src/share/demo/jfc/SampleTree/ |
H A D | SampleTree.java | 457 // path is the path with the smallest number of path 472 * Removes the sibling TreePaths of <code>path</code>, that are 475 private void removeSiblings(TreePath path, TreePath[] paths) { argument 477 if (path.getPathCount() == 1) { 484 // Find the siblings of path. 485 TreePath parent = path.getParentPath(); 534 * Returns the TreePath with the smallest path count in
|
/openjdk7/jdk/test/javax/swing/text/html/parser/Parser/7165725/ |
H A D | bug7165725.java | 169 static String getParsedContentOneLine(String path) throws Exception { argument 170 File f = new File(path);
|
/openjdk7/jdk/test/sun/misc/IoTrace/ |
H A D | IoTraceBase.java | 33 private String path; field in class:IoTraceBase 48 path = null; 53 path = p; 65 path = p; 124 if (!path.equals(f.getPath())) { 125 throw new Exception("Incorrect path: " + path + ". Expected: "
|
/openjdk7/jdk/src/share/classes/sun/management/snmp/jvminstr/ |
H A D | JvmRuntimeImpl.java | 59 * boot class path mechanism used by the system class loader 109 static String[] splitPath(String path) { argument 110 final String[] items = path.split(java.io.File.pathSeparator);
|
/openjdk7/jdk/src/share/classes/sun/misc/ |
H A D | JarIndex.java | 336 * the relative path of the current index. 340 * @param path The relative path of the this index to the destination 344 public void merge(JarIndex toIndex, String path) { argument 353 if (path != null) { 354 jarName = path.concat(jarName);
|
/openjdk7/jdk/src/share/classes/sun/nio/fs/ |
H A D | AbstractPoller.java | 78 abstract Object implRegister(Path path, argument 255 Path path = (Path)params[0]; 260 req.release(implRegister(path, events, modifiers));
|
H A D | PollingWatchService.java | 71 WatchKey register(final Path path, argument 130 return doPrivilegedRegister(path, eventSet, s); 143 private PollingWatchKey doPrivilegedRegister(Path path, argument 149 BasicFileAttributes attrs = Files.readAttributes(path, BasicFileAttributes.class); 151 throw new NotDirectoryException(path.toString()); 167 watchKey = new PollingWatchKey(path, this, fileKey);
|
/openjdk7/jdk/src/solaris/bin/ |
H A D | jexec.c | 93 static const char * BAD_PATHNAME_MSG = "invalid path"; 107 /* path to java after popping */ 125 int getJavaPath(const char * path, char * buf, int depth); 127 const char * isJar(const char * path); 144 * name, and the original arg[1], which is presumed to be a path to a JAR file. 154 char java[PATH_MAX + 1]; /* path to java binary */ 165 /* Get the path to the java binary, which is in a known position relative 200 /* the next argument is the path to the JAR file */ 246 * Get the path to the java binary that should be relative to the current path 259 getJavaPath(const char * path, char * buf, int depth) argument 304 isJar(const char * path) argument [all...] |
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/ |
H A D | InheritedChannel.java | 231 private static native int open0(String path, int oflag) throws IOException; argument
|
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/ |
H A D | UnixChannelFactory.java | 103 static FileChannel newFileChannel(int fd, String path, boolean reading, boolean writing) { argument 106 return FileChannelImpl.open(fdObj, path, reading, writing, null); 110 * Constructs a file channel by opening a file using a dfd/path pair 113 UnixPath path, 136 FileDescriptor fdObj = open(dfd, path, pathForPermissionCheck, flags, mode); 137 return FileChannelImpl.open(fdObj, path.toString(), 144 static FileChannel newFileChannel(UnixPath path, argument 149 return newFileChannel(-1, path, null, options, mode); 155 static AsynchronousFileChannel newAsynchronousFileChannel(UnixPath path, argument 173 FileDescriptor fdObj = open(-1, path, nul 112 newFileChannel(int dfd, UnixPath path, String pathForPermissionCheck, Set<? extends OpenOption> options, int mode) argument 181 open(int dfd, UnixPath path, String pathForPermissionCheck, Flags flags, int mode) argument [all...] |
/openjdk7/jdk/src/solaris/classes/sun/tools/attach/ |
H A D | BsdVirtualMachine.java | 50 String path; field in class:BsdVirtualMachine 71 path = findSocketFile(pid); 72 if (path == null) { 86 path = findSocketFile(pid); 88 } while (i <= retries && path == null); 89 if (path == null) { 101 checkPermissions(path); 108 connect(s, path); 119 if (this.path != null) { 120 this.path 283 checkPermissions(String path) argument 287 connect(int fd, String path) argument 295 createAttachFile(String path) argument [all...] |
H A D | LinuxVirtualMachine.java | 51 String path; field in class:LinuxVirtualMachine 72 path = findSocketFile(pid); 73 if (path == null) { 102 path = findSocketFile(pid); 104 } while (i <= retries && path == null); 105 if (path == null) { 117 checkPermissions(path); 124 connect(s, path); 135 if (this.path != null) { 136 this.path 323 checkPermissions(String path) argument 327 connect(int fd, String path) argument [all...] |
H A D | SolarisVirtualMachine.java | 197 String path = tmpdir + "/.java_pid" + pid;; 198 fd = open(path); 203 checkPermissions(path); 217 String path = "/proc/" + pid + "/cwd/" + fn; 218 File f = new File(path); 230 static native int open(String path) throws IOException; argument 236 static native void checkPermissions(String path) throws IOException; argument
|
/openjdk7/langtools/test/tools/javac/api/ |
H A D | T6430241.java | 59 bootClassPath = System.getProperty("sun.boot.class.path"); 159 File writeFile(File dir, String path, String content) throws IOException { argument 160 File f = new File(dir, path);
|
H A D | T6838467.java | 46 FileKind(String path) { argument 47 file = new File(path);
|
/openjdk7/langtools/test/tools/javac/processing/model/type/ |
H A D | TestUnionType.java | 160 void scan(TreePath path) { argument 161 new Scanner().scan(path, null);
|
/openjdk7/langtools/test/tools/javah/compareTest/ |
H A D | CompareTest.java | 240 File file(File dir, String... path) { argument 242 for (String p: path)
|
/openjdk7/jdk/test/sun/reflect/CallerSensitive/ |
H A D | ClassFileReader.java | 37 * ClassFileReader reads ClassFile(s) of a given path that can be 42 * Returns a ClassFileReader instance of a given path. 44 public static ClassFileReader newInstance(File path) throws IOException { argument 45 if (!path.exists()) { 46 throw new FileNotFoundException(path.getAbsolutePath()); 49 if (path.isDirectory()) { 50 return new DirectoryReader(path.toPath()); 51 } else if (path.getName().endsWith(".jar")) { 52 return new JarFileReader(path.toPath()); 54 return new ClassFileReader(path 61 newInstance(Path path, JarFile jf) argument 65 protected final Path path; field in class:ClassFileReader 67 ClassFileReader(Path path) argument 153 DirectoryReader(Path path) argument 233 JarFileReader(Path path) argument 236 JarFileReader(Path path, JarFile jf) argument [all...] |
/openjdk7/corba/src/share/classes/sun/rmi/rmic/iiop/ |
H A D | BatchEnvironment.java | 97 * Create a BatchEnvironment for rmic with the given class path, 100 public BatchEnvironment(OutputStream out, ClassPath path, Main main) { argument 102 super(out,path,main); 134 classPathLoader = new ClassPathLoader(path);
|
/openjdk7/jdk/src/share/classes/javax/swing/filechooser/ |
H A D | FileSystemView.java | 448 * Returns a File object constructed from the given path string. 450 public File createFileObject(String path) { argument 451 File f = new File(path); 649 // Could be looking at the path for Solaris, but wouldn't be reliable. 687 String path = parent.getAbsolutePath(); 688 if (path.length() >= 2 689 && path.charAt(1) == ':' 690 && Character.isLetter(path.charAt(0))) { 692 return createFileObject(path.substring(0, 2) + fileName); 754 String path 766 createFileObject(String path) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/ |
H A D | MetalTreeUI.java | 193 TreePath path = getPathForRow(tree, i); 195 if(path != null && path.getPathCount() == 2) { 209 Insets insets, TreePath path) { 211 super.paintVerticalPartOfLeg(g, clipBounds, insets, path); 217 TreePath path, int row, 223 path, row, isExpanded, 208 paintVerticalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, TreePath path) argument 215 paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) argument
|