/openjdk7/langtools/test/tools/javac/processing/6350124/ |
H A D | T6350124.java | 37 String classpath = System.getProperty("java.class.path"); 47 "-d", "aClasses", path(srcDir, "HelloWorldAP.java")); 57 path(srcDir, "Marked.java")); 101 static String path(File dir, String name) { method in class:T6350124
|
/openjdk7/langtools/test/tools/javap/ |
H A D | T4075403.java | 59 String path = f.getPath(); 60 return new File(path.substring(0, path.length() - 5) + ".class");
|
H A D | T4880663.java | 60 String path = f.getPath(); 61 return new File(path.substring(0, path.length() - 5) + ".class");
|
H A D | T6271787.java | 62 String path = f.getPath(); 63 return new File(path.substring(0, path.length() - 5) + ".class");
|
H A D | T6622216.java | 58 String path = f.getPath(); 59 return new File(path.substring(0, path.length() - 5) + ".class");
|
/openjdk7/jdk/test/java/nio/file/Path/ |
H A D | PathOps.java | 26 * @summary Unit test for java.nio.file.Path path operations 36 private Path path; field in class:PathOps 43 path = FileSystems.getDefault().getPath(first, more); 44 out.format("%s -> %s", first, path); 52 Path path() { method in class:PathOps 53 return path; 61 if (path == null) { 62 throw new InternalError("path is null"); 86 check(path.getRoot(), expected); 93 check(path [all...] |
/openjdk7/jdk/src/share/classes/java/nio/channels/ |
H A D | FileChannel.java | 251 * @param path 252 * The path of the file to open or create 264 * If the {@code path} is associated with a provider that does not 281 public static FileChannel open(Path path, argument 286 FileSystemProvider provider = path.getFileSystem().provider(); 287 return provider.newFileChannel(path, options, attrs); 303 * @param path 304 * The path of the file to open or create 313 * If the {@code path} is associated with a provider that does not 329 public static FileChannel open(Path path, OpenOptio argument [all...] |
/openjdk7/jdk/src/windows/native/common/ |
H A D | jni_util_md.c | 34 static void getParent(const TCHAR *path, TCHAR *dest) { argument 35 char* lastSlash = max(strrchr(path, '\\'), strrchr(path, '/')); 40 if (path != dest) 41 strcpy(dest, path);
|
/openjdk7/jdk/src/windows/native/java/io/ |
H A D | io_util_md.h | 33 WCHAR* pathToNTPath(JNIEnv *env, jstring path, jboolean throwFNFE); 35 WCHAR* getPrefixed(const WCHAR* path, int pathlen); 37 int currentDirLength(const WCHAR* path, int pathlen); 38 void fileOpen(JNIEnv *env, jobject this, jstring path, jfieldID fid, int flags); 49 * Returns an opaque handle to file named by "path". If an error occurs, 52 jlong winFileHandleOpen(JNIEnv *env, jstring path, int flags);
|
/openjdk7/jdk/test/java/lang/Runtime/exec/ |
H A D | ExecCommand.java | 134 private static void deleteOut(String path) { argument 136 Files.delete(FileSystems.getDefault().getPath(path)); 141 private static void checkOut(String path) throws FileNotFoundException { argument 142 if (Files.notExists(FileSystems.getDefault().getPath(path))) 143 throw new FileNotFoundException(path);
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/file/ |
H A D | SymbolArchive.java | 59 if (!name.startsWith(prefix.path)) { 62 name = name.substring(prefix.path.length()); 78 RelativeDirectory prefix_subdir = new RelativeDirectory(prefix, subdirectory.path); 97 protected String inferBinaryName(Iterable<? extends File> path) { argument 99 String prefix = ((SymbolArchive) zarch).prefix.path;
|
/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/targetConstraints/ |
H A D | ValidateTargetConstraints.java | 54 * path, but adds a requirement that the serial number of the last 63 private static CertPath path; field in class:ValidateTargetConstraints 72 validate(path, params); 87 path = cf.generateCertPath(list); 100 * @param certFilePath path to file containing DER-encoded certificate 126 * @param path CertPath to validate 130 public static void validate(CertPath path, PKIXParameters params) argument 134 CertPathValidatorResult cpvr = validator.validate(path, params);
|
/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/langtools/test/tools/javac/api/ |
H A D | TestTreePath.java | 63 TreePath path = trees.getPath(element); 64 assert path != null; 67 for (Tree tree : path) 71 throw new RuntimeException("found path length is wrong"); 74 Iterator<Tree> iter = path.iterator(); 80 throw new RuntimeException("found path length is wrong"); 82 TreePath curr = path; 90 throw new RuntimeException("found path length is wrong");
|
/openjdk7/jdk/src/share/classes/javax/swing/tree/ |
H A D | VariableHeightLayoutCache.java | 69 * there may be one cached node for each path to a modeled node. 173 * Marks the path <code>path</code> expanded state to 175 * @param path the <code>TreePath</code> of interest 176 * @param isExpanded true if the path should be expanded, otherwise false 178 public void setExpandedState(TreePath path, boolean isExpanded) { argument 179 if(path != null) { 181 ensurePathIsExpanded(path, true); 183 TreeStateNode node = getNodeForPath(path, false, true); 194 * Returns true if the path i 197 getExpandedState(TreePath path) argument 213 getBounds(TreePath path, Rectangle placeIn) argument 247 getRowForPath(TreePath path) argument 272 invalidatePathBounds(TreePath path) argument 344 getVisiblePathsFrom(TreePath path) argument 357 getVisibleChildCount(TreePath path) argument 381 isExpanded(TreePath path) argument 706 getMapping(TreePath path) argument 813 getNodeForPath(TreePath path, boolean onlyIfVisible, boolean shouldCreate) argument 1046 protected TreePath path; field in class:VariableHeightLayoutCache.TreeStateNode [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/dtdparser/ |
H A D | Resolver.java | 271 String path; 276 // "path = file.toURL ().toString ()". 277 path = file.getAbsolutePath(); 279 path = path.replace(File.separatorChar, '/'); 280 if (!path.startsWith("/")) 281 path = "/" + path; 282 if (!path.endsWith("/") && file.isDirectory()) 283 path [all...] |
/openjdk7/jdk/test/java/io/File/ |
H A D | Cons.java | 66 public F(String path) { argument 67 super(path); 68 this.exp = cons(path); 126 String parent, String name, String path) 129 ck(cvt(path), op(f.exp, "getPath"), f.getPath()); 135 String parent, String name, String path) 140 ckpnp(new F(parg[i]), parent, name, path); 144 String parent, String name, String path) 151 ckpnp(new F(parg1[i], parg2[j]), parent, name, path); 155 String parent, String name, String path) 125 ckpnp(F f, String parent, String name, String path) argument 134 ck1(String arg, String parent, String name, String path) argument 143 ck2(String arg1, String arg2, String parent, String name, String path) argument 154 ck2f(String arg1, String arg2, String parent, String name, 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
|
/openjdk7/jdk/src/share/classes/java/io/ |
H A D | FileInputStream.java | 55 /* The path of the referenced file (null if the stream is created with a file descriptor) */ 56 private final String path; field in class:FileInputStream 76 * the file named by the path name <code>name</code> 114 * with the path represented by the <code>file</code> 141 throw new FileNotFoundException("Invalid file path"); 145 this.path = name; 182 path = null; 207 Object traceContext = IoTrace.fileReadBegin(path); 240 Object traceContext = IoTrace.fileReadBegin(path); 269 Object traceContext = IoTrace.fileReadBegin(path); [all...] |
H A D | FileOutputStream.java | 62 * The path of the referenced file (null if the stream is created with a file descriptor) 64 private final String path; field in class:FileOutputStream 152 * method is called with the path represented by the <code>file</code> 182 * method is called with the path represented by the <code>file</code> 215 throw new FileNotFoundException("Invalid file path"); 219 this.path = name; 256 this.path = null; 292 Object traceContext = IoTrace.fileWriteBegin(path); 322 Object traceContext = IoTrace.fileWriteBegin(path); 342 Object traceContext = IoTrace.fileWriteBegin(path); [all...] |
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/gui/ |
H A D | SourceManager.java | 79 * Set path for access to source code. 106 * Get path for access to source code. 134 File path = sourcePath.resolve(full); 135 if (path != null) { 136 sm = sourceForFile(path); 147 * Get source object associated with an absolute file path. 150 public SourceModel sourceForFile(File path) { argument 155 if (candidate.fileName().equals(path)) { 161 if (sm == null && path.exists()) { 162 sm = new SourceModel(env, path); [all...] |
H A D | SourceModel.java | 51 private File path; field in class:SourceModel 93 SourceModel(Environment env, File path) { argument 95 this.path = path; 99 this.path = null; 130 return path; 134 return new BufferedReader(new FileReader(path));
|
/openjdk7/jdk/test/com/sun/net/httpserver/ |
H A D | FileServerHandler.java | 73 String path = uri.getPath(); 77 File f = new File (docroot, path); 79 notfound (t, path); 95 if (path.endsWith (".html") || path.endsWith (".htm")) { 101 if (!path.endsWith ("/")) { 110 p.println ("<h2>Directory listing for: " + path+ "</h2>");
|