Searched refs:path (Results 276 - 300 of 981) sorted by relevance

<<11121314151617181920>>

/openjdk9/hotspot/test/runtime/libadimalloc.solaris.sparc/
H A DTestlibadimalloc.java49 Path path = Paths.get("/usr/lib/64/libadimalloc.so");
52 if (!(Files.isRegularFile(path) || Files.isSymbolicLink(path))) {
57 // Get the JDK, library and class path properties
58 String libpath = System.getProperty("java.library.path");
62 "-Djava.library.path=" + libpath + ":.", "SEGVOverflow");
/openjdk9/jdk/src/java.base/unix/native/libjli/
H A Djava_md_common.c69 * Retrieves the path to the JRE home by locating the executable file
70 * of the current process and then truncating the path to the executable
86 * Retrieves the path to the JRE home by locating the
87 * shared library and then truncating the path to it.
95 char *path = realpath(info.dli_fname, buf); local
96 if (path == buf) {
116 * Find a command in a directory, returning the path.
133 * Find a path for the executable
139 char *path; local
144 /* absolute path
224 CheckSanity(char *path, char *dir) argument
[all...]
H A Djava_md_solinux.c76 * desired data model path, regardless if data models matched or not. The
78 * LD_LIBRARY_PATH path available, for the runtime linker.
89 * a. if the LD_LIBRARY_PATH's first component is the path to the desired
178 JvmExists(const char *path) { argument
181 JLI_Snprintf(tmp, PATH_MAX, "%s/%s", path, JVM_DLL);
196 char *path; local
200 /* fastest path */
213 * we have a suspicious path component, check if it contains a libjvm.so
216 for (path = JLI_StrTok(envpath, ":"); path !
661 GetJREPath(char *path, jint pathsize, jboolean speculative) argument
[all...]
/openjdk9/jdk/src/jdk.httpserver/share/classes/com/sun/net/httpserver/
H A DHttpServer.java45 * with a root URI path which represents the
58 * whose path is the longest matching prefix of the request URI's path.
63 * <tr><td><i>Context</i></td><td><i>Context path</i></td></tr>
192 * URI path to a exchange handler on this HttpServer. Once created, all requests
193 * received by the server for the path will be handled by calling
194 * the given handler object. The context is identified by the path, and
197 * The path specifies the root URI path for this context. The first character of path mus
207 createContext(String path, HttpHandler handler) argument
227 createContext(String path) argument
238 removeContext(String path) argument
[all...]
/openjdk9/jdk/src/jdk.naming.dns/share/classes/com/sun/jndi/dns/
H A DDnsUrl.java89 domain = path.startsWith("/")
90 ? path.substring(1)
91 : path;
/openjdk9/jdk/test/sanity/client/lib/SwingSet3/src/com/sun/swingset3/demos/
H A DResourceManager.java65 String path = "resources/images/" + filename;
67 URL imageURL = demoClass.getResource(path);
70 logger.log(Level.SEVERE, "unable to access image file: " + path);
/openjdk9/langtools/test/tools/javac/Paths/
H A DDiagnostics.sh29 # @summary Test for proper diagnostics during path manipulation operations
50 output2=`echo "$output" | grep -v "bootstrap class path not set in conjunction with -source"`
99 # No warnings unless -Xlint:path is used
107 Warning "$javac" ${TESTTOOLVMOPTS} -Xlint:path -cp ".${PS}classes" Main.java
108 Warning "$javac" ${TESTTOOLVMOPTS} ${SRCTRG8} -Xlint:path "-Xbootclasspath/p:classes" Main.java
111 Warning "$javac" ${TESTTOOLVMOPTS} ${SRCTRG8} -Xlint:path "-endorseddirs" "classes" Main.java
113 #Warning "$javac" ${TESTTOOLVMOPTS} ${SRCTRG8} -Xlint:path "-Xbootclasspath:classes${PS}${BCP}" Main.java
118 # No Warning "$javac" ${TESTTOOLVMOPTS} -Xlint:path "-J-Djava.endorsed.dirs=classes" Main.java
119 # No Warning "$javac" ${TESTTOOLVMOPTS} -Xlint:path "-J-Djava.ext.dirs=classes" Main.java
120 # No Warning "$javac" ${TESTTOOLVMOPTS} -Xlint:path "
[all...]
/openjdk9/jdk/test/javax/crypto/CryptoPermissions/
H A DCryptoPolicyFallback.java52 Path path = Paths.get(javaHome, "conf", "security", FILENAME);
58 try (Stream<String> lines = Files.lines(path)) {
76 Stream<String> lines = Files.lines(path)) {
/openjdk9/langtools/test/tools/javac/api/file/
H A DSJFM_AsPath.java45 * a file object can encapsulate the path, verify that the underlying
46 * path can be recovered from the file object.
79 Path path = fm.asPath(fo);
82 boolean found = ref.remove(path);
84 error("Unexpected path found: " + path + "; expected one of " + ref);
/openjdk9/jdk/test/sun/tools/jcmd/
H A DTestJcmdDefaults.java101 Path path = Paths.get(TEST_SRC, "usage.out");
102 List<String> fileOutput = Files.readAllLines(path);
105 "The ouput should contain all content of " + path.toAbsolutePath());
/openjdk9/langtools/test/tools/javap/
H A DT4880663.java61 String path = f.getPath();
62 return new File(path.substring(0, path.length() - 5) + ".class");
H A DT4075403.java60 String path = f.getPath();
61 return new File(path.substring(0, path.length() - 5) + ".class");
H A DT6271787.java63 String path = f.getPath();
64 return new File(path.substring(0, path.length() - 5) + ".class");
H A DT6622216.java59 String path = f.getPath();
60 return new File(path.substring(0, path.length() - 5) + ".class");
/openjdk9/langtools/test/tools/javac/processing/6350124/
H A DT6350124.java39 String classpath = System.getProperty("java.class.path");
49 "-d", "aClasses", path(srcDir, "HelloWorldAP.java"));
59 path(srcDir, "Marked.java"));
103 static String path(File dir, String name) { method in class:T6350124
/openjdk9/jdk/src/java.base/share/native/libjimage/
H A DimageFile.cpp103 // NULL. Used to test sections of a path without copying from image string
168 // build path /packages/<package_name>
170 char* path = new char[(int) strlen(radical) + (int) strlen(package_name) + 1]; local
171 assert(path != NULL && "allocation failed");
172 strcpy(path, radical);
173 strcat(path, replaced);
178 bool found = _image_file->find_location(path, location);
180 delete[] path;
437 // Find the location attributes associated with the path. Returns true if
439 bool ImageFileReader::find_location(const char* path, ImageLocatio argument
456 find_location_index(const char* path, u8 *size) const argument
476 location_path(ImageLocation& location, char* path, size_t max) const argument
[all...]
/openjdk9/jdk/src/java.base/windows/native/libjava/
H A DWinNTFileSystem_md.c49 jfieldID path; member in struct:__anon804
66 ids.path = (*env)->GetFieldID(env, fileClass, "path", "Ljava/lang/String;");
67 CHECK_NULL(ids.path);
81 extern int wcanonicalize(const WCHAR *path, WCHAR *out, int len);
85 * Retrieves the fully resolved (final) path for the given path or NULL
88 static WCHAR* getFinalPath(JNIEnv *env, const WCHAR *path) argument
94 /* Need Windows Vista or newer to get the final path */
98 h = CreateFileW(path,
184 getFileInformation(const WCHAR *path, BY_HANDLE_FILE_INFORMATION *finfo) argument
210 getFinalAttributesIfReparsePoint(WCHAR *path, DWORD a) argument
226 getFinalAttributes(WCHAR *path) argument
343 isReservedDeviceNameW(WCHAR* path) argument
547 Java_java_io_WinNTFileSystem_createFileExclusively(JNIEnv *env, jclass cls, jstring path) argument
588 removeFileOrDirectory(const jchar *path) argument
[all...]
H A Djni_util_md.c34 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);
/openjdk9/jdk/src/java.base/share/classes/java/nio/channels/
H A DFileChannel.java256 * @param path
257 * The path of the file to open or create
269 * If the {@code path} is associated with a provider that does not
286 public static FileChannel open(Path path, argument
291 FileSystemProvider provider = path.getFileSystem().provider();
292 return provider.newFileChannel(path, options, attrs);
309 * @param path
310 * The path of the file to open or create
319 * If the {@code path} is associated with a provider that does not
335 public static FileChannel open(Path path, OpenOptio argument
[all...]
/openjdk9/jdk/src/jdk.jlink/share/classes/jdk/tools/jlink/internal/
H A DJmodArchive.java50 JmodEntry(String path, String name, EntryType type, argument
52 super(JmodArchive.this, path, name, type);
152 String path = prefix + "/" + name;
155 // The resource name represents the path of ResourcePoolEntry
156 // and its subpath defines the ultimate path to be written
172 resourceName = path;
175 return new JmodEntry(path, resourceName, type, entry);
H A DImageResourcesTree.java46 public static boolean isTreeInfoResource(String path) { argument
47 return path.startsWith("/packages") || path.startsWith("/modules");
89 String path = buildPath(item.parent);
90 if (path == null) {
93 return path + "/" + item.getName();
282 String path = removeRadical(node);
284 path = path.substring(1);
285 int i = path
310 removeRadical(String path, String str) argument
[all...]
/openjdk9/jdk/test/java/lang/Runtime/exec/
H A DExecCommand.java134 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);
/openjdk9/jdk/test/java/net/httpclient/http2/
H A DServerPush.java68 // use multi-level path
77 Path path = Paths.get(dir.toString(), u.getPath());
79 Files.createDirectories(path.getParent());
83 return Optional.of(BodyHandler.asFile(path));
110 public FileVisitResult visitFile(Path path, BasicFileAttributes attrs) {
111 path.toFile().delete();
/openjdk9/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/
H A DMessages.java78 * @param path a path identifying the position to be included with
83 public void error(DocTreePath path, String key, Object... args) { argument
84 report(ERROR, path, resources.getText(key, args));
102 * @param path a path identifying the position to be included with
107 public void warning(DocTreePath path, String key, Object... args) { argument
108 if (configuration.showMessage(path, key))
109 report(WARNING, path, resources.getText(key, args));
/openjdk9/jdk/test/java/security/cert/CertPathValidator/nameConstraintsRFC822/
H A DValidateCertPath.java46 * 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...]

Completed in 328 milliseconds

<<11121314151617181920>>