/openjdk7/jdk/src/windows/native/java/io/ |
H A D | FileOutputStream_md.c | 58 jstring path, jboolean append) { 59 fileOpen(env, this, path, fos_fd, 57 Java_java_io_FileOutputStream_open(JNIEnv *env, jobject this, jstring path, jboolean append) argument
|
/openjdk7/jdk/test/java/io/File/ |
H A D | IsHidden.java | 37 private static void ck(String path, boolean ans) throws Exception { argument 38 File f = new File(path); 41 throw new Exception(path + ": expected " + ans + ", got " + x); 42 System.err.println(path + " ==> " + x);
|
/openjdk7/jdk/test/java/net/URLClassLoader/closetest/ |
H A D | Common.java | 58 static void rm_minus_rf (File path) { argument 59 if (!path.exists()) { 62 if (path.isFile()) { 63 if (!path.delete()) { 64 throw new RuntimeException ("Could not delete " + path); 66 } else if (path.isDirectory ()) { 67 String[] names = path.list(); 68 File[] files = path.listFiles(); 70 rm_minus_rf (new File(path, names[i])); 72 if (!path [all...] |
/openjdk7/jdk/test/java/nio/file/PathMatcher/ |
H A D | Basic.java | 52 static void assertMatch(String path, String pattern) { argument 53 match(path, pattern, true); 56 static void assertNotMatch(String path, String pattern) { argument 57 match(path, pattern, false); 60 static void assertBadPattern(String path, String pattern) { argument 71 static void assertRegExMatch(String path, String pattern) { argument 73 Path file = Paths.get(path);
|
/openjdk7/jdk/test/sun/security/provider/PolicyFile/ |
H A D | CanonPath.java | 48 private static void printCanonPath(String label, String path) argument 51 File f = new File(path); 52 System.out.println(label + " path = " + f.getCanonicalPath());
|
/openjdk7/jdk/test/sun/security/tools/jarsigner/ |
H A D | TimestampCheck.java | 66 int path = 0; 68 path = Integer.parseInt( 71 byte[] output = sign(input, path); 87 * @param path different cases to simulate, impl on URL path 99 byte[] sign(byte[] input, int path) throws Exception { argument 126 if (path == 6) alias = "tsbad1"; 127 if (path == 7) alias = "tsbad2"; 128 if (path == 8) alias = "tsbad3"; 133 statusStrings.putUTF8String("Status for " + path); 281 jarsigner(String cmd, int path, boolean expected) argument [all...] |
/openjdk7/langtools/src/share/classes/com/sun/source/util/ |
H A D | JavacTask.java | 79 * Get a type mirror of the tree node determined by the specified path. 81 public abstract TypeMirror getTypeMirror(Iterable<? extends Tree> path); argument
|
/openjdk7/langtools/src/share/classes/javax/tools/ |
H A D | StandardJavaFileManager.java | 98 * {@linkplain java.net.URI#getPath() path component} which 124 * (the first half of the path depends on the current directory, 133 * (the path is not normalized) 214 * Associates the given path with the given location. Any 218 * @param path a list of files, if {@code null} use the default 219 * path for this location 222 * location and path does not contain exactly one element 223 * @throws IOException if location is an output location and path 226 void setLocation(Location location, Iterable<? extends File> path) argument 230 * Gets the path associate [all...] |
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ |
H A D | ZipDirectoryStream.java | 59 private final byte[] path; field in class:ZipDirectoryStream 69 this.path = zipPath.getResolvedPath(); 72 if (!zipfs.isDirectory(path)) 84 itr = zipfs.iteratorOf(path, filter);
|
/openjdk7/jdk/src/share/classes/sun/security/util/ |
H A D | PathList.java | 37 * A utility class for handle path list 42 * Utility method for appending path from pathFrom to pathTo. 44 * @param pathTo the target path 45 * @param pathSource the path to be appended to pathTo 46 * @return the resulting path 59 * Utility method for converting a search path string to an array 62 * @param path the search path string 65 public static URL[] pathToURLs(String path) { argument 66 StringTokenizer st = new StringTokenizer(path, Fil [all...] |
/openjdk7/jdk/test/java/security/cert/CertPathValidator/nameConstraintsRFC822/ |
H A D | ValidateCertPath.java | 46 * ValidateCertPath performs a simple validation of a certification path. 53 * where each argument is the path to a file that contains a 64 private static CertPath path; field in class:ValidateCertPath 71 validate(path, params); 72 throw new Exception("Successfully validated invalid path."); 99 path = cf.generateCertPath(list); 126 * @param certFilePath path to file containing DER-encoded certificate 157 * @param path CertPath to validate 161 public static void validate(CertPath path, PKIXParameters params) argument 165 CertPathValidatorResult cpvr = validator.validate(path, param [all...] |
/openjdk7/jdk/test/java/security/cert/CertPathValidator/trustAnchor/ |
H A D | ValidateNC.java | 57 * ValidateNC performs a validation and build of a certification path, using any 67 private static CertPath path; field in class:ValidateNC 77 validate(path, params); 111 path = cf.generateCertPath(list); 121 * @param certFilePath path to file containing DER-encoded certificate 147 * @param path CertPath to validate 151 public static void validate(CertPath path, PKIXParameters params) argument 155 CertPathValidatorResult cpvr = validator.validate(path, params);
|
/openjdk7/jdk/test/java/security/cert/pkix/nameConstraintsMinMax/ |
H A D | VerifyNameConstraints.java | 53 private static CertPath path; field in class:VerifyNameConstraints 60 validate(path, params); 75 path = cf.generateCertPath(list); 99 * @param certFilePath path to file containing DER-encoded certificate 127 * @param path CertPath to validate 131 public static void validate(CertPath path, PKIXParameters params) argument 135 CertPathValidatorResult cpvr = validator.validate(path, params);
|
/openjdk7/jdk/test/java/security/testlibrary/ |
H A D | CertUtils.java | 62 * @param certFilePath path to file containing DER-encoded certificate 92 * @param crlFilePath path to file containing DER-encoded CRL 131 * @param relPath relative path containing certs (must end in 161 * @param relPath relative path containing certs (must end in 192 * @param relPath relative path containing CRLs (must end in file.separator) 208 * Perform a PKIX path build. On failure, throw an exception. 223 * @param path CertPath to validate 228 (CertPath path, PKIXParameters params) throws Exception { 231 return (PKIXCertPathValidatorResult) validator.validate(path, params); 227 validate(CertPath path, PKIXParameters params) argument
|
/openjdk7/jdk/test/sun/misc/IoTrace/ |
H A D | IoTraceListener.java | 103 * @param path 104 * the path of the file 107 public Object fileReadBegin(String path); argument 123 * @param path 124 * the path of the file 127 public Object fileWriteBegin(String path); argument
|
/openjdk7/jdk/test/sun/net/www/ |
H A D | ParseUtil_4922813.java | 92 // path component of a URI. 94 // These characters are reserved in the path segment as described in 124 * Constructs an encoded version of the specified path string suitable 127 * A path separator is replaced by a forward slash. The string is UTF8 129 * 0x7F or those defined in RFC2396 as reserved or excluded in the path 132 public static String encodePath(String path) { argument 134 int n = path.length(); 136 char c = path.charAt(i);
|
/openjdk7/jdk/test/sun/net/www/ftptest/ |
H A D | FtpFileSystemHandler.java | 33 * @param path the path of the directory to change to, in either relative 37 public boolean cd(String path); argument 45 * working directory full path. 91 * @param name the path of the directory to create, which can be
|
/openjdk7/jdk/src/share/classes/sun/misc/ |
H A D | VMSupport.java | 85 * path is not a JAR file or some other error occurs. 87 public static boolean isClassPathAttributePresent(String path) { argument 89 Manifest man = (new JarFile(path)).getManifest();
|
/openjdk7/jdk/src/share/classes/sun/net/httpserver/ |
H A D | ContextList.java | 47 /* initially contexts are located only by protocol:path. 50 synchronized HttpContextImpl findContext (String protocol, String path) { argument 51 return findContext (protocol, path, false); 54 synchronized HttpContextImpl findContext (String protocol, String path, boolean exact) { argument 63 if (exact && !cpath.equals (path)) { 65 } else if (!exact && !path.startsWith(cpath)) { 76 public synchronized void remove (String protocol, String path) argument 79 HttpContextImpl ctx = findContext (protocol, path, true);
|
/openjdk7/jdk/src/share/classes/sun/reflect/generics/tree/ |
H A D | ClassTypeSignature.java | 36 private List<SimpleClassTypeSignature> path; field in class:ClassTypeSignature 40 path = p; 47 public List<SimpleClassTypeSignature> getPath(){return path;}
|
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/ |
H A D | LinuxFileStore.java | 60 UnixPath path = null; 63 path = new UnixPath(fs, rp); 69 UnixPath parent = path.getParent(); 79 path = parent; 85 byte[] dir = path.asByteArray(); 96 private boolean isExtendedAttributesEnabled(UnixPath path) { argument 98 int fd = path.openForAttributeAccess(false);
|
H A D | LinuxFileSystemProvider.java | 48 LinuxFileStore getFileStore(UnixPath path) throws IOException { argument 49 return new LinuxFileStore(path);
|
H A D | MacOSXFileSystem.java | 52 char[] normalizeNativePath(char[] path) { argument 53 for (char c : path) { 55 return normalizepath(path, kCFStringNormalizationFormD); 57 return path; 60 String normalizeJavaPath(String path) { argument 61 for (int i = 0; i < path.length(); i++) { 62 if (path.charAt(i) > 0x80) 63 return new String(normalizepath(path.toCharArray(), 66 return path;
|
H A D | SolarisFileSystemProvider.java | 48 SolarisFileStore getFileStore(UnixPath path) throws IOException { argument 49 return new SolarisFileStore(path);
|
H A D | UnixFileStoreAttributes.java | 37 static UnixFileStoreAttributes get(UnixPath path) throws UnixException { argument 39 UnixNativeDispatcher.statvfs(path, attrs);
|