Searched refs:path (Results 151 - 175 of 974) sorted by relevance

1234567891011>>

/openjdk10/jdk/src/java.desktop/unix/native/libjsound/
H A DPLATFORM_API_SolarisOS_Utils.h64 char path[MAX_NAME_LENGTH]; member in struct:tag_AudioDevicePath
71 char path[MAX_NAME_LENGTH+1]; member in struct:tag_AudioDeviceDescription
89 * fills adDesc from the audio device given in path
91 * if getNames is 0, only path and pathctl are filled
93 int getAudioDeviceDescription(char* path, AudioDeviceDescription* adDesc, int getNames);
/openjdk10/jdk/src/jdk.rmic/share/classes/sun/tools/java/
H A DClassFile.java69 * @param path nio Path object
72 public static ClassFile newClassFile(Path path) { argument
73 return Files.exists(path)? new PathClassFile(path) : null;
102 * Get file path. The path for a zip file entry will also include
/openjdk10/jdk/src/jdk.zipfs/share/classes/jdk/nio/zipfs/
H A DZipFileAttributeView.java54 private final ZipPath path; field in class:ZipFileAttributeView
57 private ZipFileAttributeView(ZipPath path, boolean isZipView) { argument
58 this.path = path;
63 static <V extends FileAttributeView> V get(ZipPath path, Class<V> type) { argument
67 return (V)new ZipFileAttributeView(path, false);
69 return (V)new ZipFileAttributeView(path, true);
73 static ZipFileAttributeView get(ZipPath path, String type) { argument
77 return new ZipFileAttributeView(path, false);
79 return new ZipFileAttributeView(path, tru
[all...]
/openjdk10/jdk/test/java/awt/FileDialog/8003399/
H A Dbug8003399.java26 @summary JFileChooser gives wrong path to selected file when saving to Libraries folder on Windows 7
49 String path = file1.getPath();
50 if(path.startsWith("::{") &&
51 path.toLowerCase().endsWith(".library-ms")) {
/openjdk10/jdk/test/java/net/URL/
H A DRestoreURL.java48 String path = restoredUrl.getPath();
51 if ((path == null) || !path.equals(origUrl.getPath())) {
52 throw new Exception("path not restored");
/openjdk10/jdk/src/jdk.jlink/share/classes/jdk/tools/jlink/internal/
H A DResourcePoolManager.java72 public static boolean isNamedPackageResource(String path) { argument
73 return (path.endsWith(".class") && !path.endsWith("module-info.class")) ||
74 Resources.canEncapsulate(path);
96 public Optional<ResourcePoolEntry> findEntry(String path) { argument
97 if (!path.startsWith("/")) {
98 path = "/" + path;
100 if (!path.startsWith("/" + name + "/")) {
101 path
176 findEntry(String path) argument
181 findEntryInContext(String path, ResourcePoolEntry context) argument
361 findEntry(String path) argument
373 findEntryInContext(String path, ResourcePoolEntry context) argument
424 CompressedModuleData(String module, String path, byte[] content, long uncompressed_size) argument
[all...]
H A DSymLinkResourcePoolEntry.java37 * path to the target file.
46 * @param path The path for the resource content.
51 String path,
54 super(module, path, type);
50 SymLinkResourcePoolEntry(String module, String path, ResourcePoolEntry.Type type, ResourcePoolEntry target) argument
/openjdk10/jdk/test/java/lang/SecurityManager/modules/
H A DCustomSecurityManager.sh54 $JAVAC -d mods --module-source-path ${TESTSRC} `find ${TESTSRC}/m -name "*.java"`
59 $JAVA -cp classes --module-path mods --add-modules m \
62 $JAVA -cp classes --module-path mods --add-modules m \
/openjdk10/jdk/test/tools/jjs/
H A Djjs-modulepathTest.sh29 # @summary Nashorn and jjs should support --module-path and --add-modules options
31 # Tests --module-path option to set the module path for jjs
45 ${JJS} -scripting --module-path ${TESTCLASSES} ${TESTSRC}/modulepath.js
54 # proper usage of --module-path with --add-modules
55 ${JJS} -scripting --module-path ${TESTCLASSES} --add-modules com.greetings ${TESTSRC}/modulepath.js
61 ${JJS} -scripting --module-path ${TESTCLASSES} --add-modules java.base --add-modules com.greetings ${TESTSRC}/addmodulesrepeat.js
/openjdk10/jdk/src/java.base/windows/classes/sun/nio/fs/
H A DWindowsNativeDispatcher.java61 static long CreateFile(String path, argument
69 NativeBuffer buffer = asNativeBuffer(path);
81 static long CreateFile(String path, argument
88 return CreateFile(path, dwDesiredAccess, dwShareMode, 0L,
111 static void DeleteFile(String path) throws WindowsException { argument
112 NativeBuffer buffer = asNativeBuffer(path);
128 static void CreateDirectory(String path, long lpSecurityAttributes) throws WindowsException { argument
129 NativeBuffer buffer = asNativeBuffer(path);
144 static void RemoveDirectory(String path) throws WindowsException { argument
145 NativeBuffer buffer = asNativeBuffer(path);
181 FindFirstFile(String path) argument
210 FindFirstFile(String path, long address) argument
240 FindFirstStream(String path) argument
341 GetFileAttributes(String path) argument
357 SetFileAttributes(String path, int dwFileAttributes) argument
377 GetFileAttributesEx(String path, long address) argument
476 GetDiskFreeSpaceEx(String path) argument
512 GetVolumePathName(String path) argument
552 GetFileSecurity(String path, int requestedInformation, long pSecurityDescriptor, int nLength) argument
577 SetFileSecurity(String path, int securityInformation, long pSecurityDescriptor) argument
941 GetFullPathName(String path) argument
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/java/beans/
H A DPropertyEditorManager.java39 * "Editor" to it and looks in a search-path of packages for a matching
114 * @param path Array of package names.
120 public static void setEditorSearchPath(String[] path) { argument
125 ThreadGroupContext.getContext().getPropertyEditorFinder().setPackages(path);
/openjdk10/jdk/src/java.base/macosx/classes/sun/nio/fs/
H A DUTIFileTypeDetector.java45 protected String implProbeContentType(Path path) throws IOException { argument
46 Path fn = path.getFileName();
/openjdk10/jdk/src/demo/share/jfc/SampleTree/
H A DSampleTreeModel.java70 * Subclassed to message setString() to the changed path item.
73 public void valueForPathChanged(TreePath path, Object newValue) { argument
75 DefaultMutableTreeNode aNode = (DefaultMutableTreeNode) path.
/openjdk10/jdk/src/java.base/share/classes/jdk/internal/module/
H A DResources.java72 * Returns a resource name corresponding to the relative file path
87 * Returns a file path to a resource in a file tree. If the resource
88 * name has a trailing "/" then the file path will locate a directory.
97 Path path = toSafeFilePath(dir.getFileSystem(), name);
98 if (path != null) {
99 Path file = dir.resolve(path);
112 * Map a resource name to a "safe" file path. Returns {@code null} if
113 * the resource name cannot be converted into a "safe" file path.
116 * are rejected, as are resource names that translates to a file path
135 // convert to file path
[all...]
/openjdk10/jdk/test/java/awt/Window/ShapedAndTranslucentWindows/
H A DSetShape.java59 GeneralPath path;
62 path = new GeneralPath();
63 path.moveTo(0, 40);
64 path.lineTo(40, 0);
65 path.lineTo(110, 0);
66 path.lineTo(150, 40);
67 path.lineTo(150, 110);
68 path.lineTo(110, 150);
69 path.lineTo(40, 150);
70 path
[all...]
/openjdk10/jdk/test/java/net/URLClassLoader/
H A DURLParsing.java38 String path = "jar:file:"
42 URL aURL = new URL(path);
/openjdk10/langtools/test/jdk/jshell/
H A DCompiler.java50 public Path getPath(String path) { argument
51 return getPath(Paths.get(path));
54 public Path getPath(Path path) { argument
55 return getClassDir().resolve(path);
86 public void writeToFile(Path path, String...sources) { argument
88 if (path.getParent() != null) {
89 Files.createDirectories(path.getParent());
94 try (BufferedWriter writer = Files.newBufferedWriter(path)) {
/openjdk10/langtools/test/tools/javac/6257443/
H A DT6257443.java63 public static URL find(String path) { argument
64 return T6257443.class.getClassLoader().getSystemResource(path);
/openjdk10/jdk/test/tools/jlink/
H A DResourcePoolTest.java87 String path = outResource.path().replaceAll(SUFFIX + "$", "");
88 if (!input.findEntry(path).isPresent()) {
89 throw new AssertionError("Unknown resource: " + path);
105 return ResourcePoolEntry.create(resource.path() + SUFFIX,
131 test(samples, (resources, module, path) -> {
133 resources.add(ResourcePoolEntry.create(path, new byte[0]));
138 test(samples, (resources, module, path) -> {
141 newCompressedResource(ResourcePoolEntry.create(path, new byte[0]),
161 String path
254 add(ResourcePoolManager resources, String module, String path) argument
[all...]
/openjdk10/nashorn/test/script/basic/
H A Djquery.js65 var path = __DIR__ + "../external/jquery/" + name;
67 load(path);
/openjdk10/nashorn/samples/
H A Ddisassemble.js32 // Usage: jjs disassemble.js -- <.class-file-path>
53 function path(file) { function
59 return Files.readAllBytes(path(file));
/openjdk10/jdk/test/tools/jar/compat/
H A DCLICompatibility.java141 Path path = Paths.get("createJarFile.jar"); // for creating
142 String jn = path.toString();
150 ASSERT_CONTAINS_RES1.accept(Files.newInputStream(path));
151 ASSERT_CONTAINS_MAINFEST.accept(Files.newInputStream(path));
154 FileUtils.deleteFileIfExistsWithRetry(path);
223 Path path = Paths.get("updateReadWriteStdout.jar"); // for updating
224 String jn = path.toString();
230 createJar(path, RES1);
234 ASSERT_CONTAINS_RES1.accept(Files.newInputStream(path));
235 ASSERT_CONTAINS_RES2.accept(Files.newInputStream(path));
473 createJar(Path path, String... entries) argument
[all...]
/openjdk10/jdk/src/java.base/share/classes/java/net/
H A DURLPermission.java44 * scheme : // authority [ / path ]
71 * The <i>path</i> component comprises a sequence of path segments,
72 * separated by '/' characters. <i>path</i> may also be empty. The path is specified
73 * in a similar way to the path in {@link java.io.FilePermission}. There are
86 * other words all resources with the same number of path components, and
87 * which only differ in the final path component, represented by the '*'.
92 * preceding path (eg. http://www.oracle.com/a/b/c/d/e.html matches this
99 * The '*' and '-' may only be specified in the final segment of a path an
148 private transient String path; field in class:URLPermission
[all...]
/openjdk10/jdk/src/java.base/windows/native/libjava/
H A Dcanonicalize_md.c42 #undef DEBUG_PATH /* Define this to debug path code */
155 In the canonicalized form no path element may have dots at its end.
169 if (*p && (*p != '\\')) // path element does not end with a dot
172 return 1; // path element does end with a dot - prohibited
192 if (*p && (*p != L'\\')) // path element does not end with a dot
195 return 1; // path element does end with a dot - prohibited
203 successfully after copying the rest of the original path to the result path.
238 char path[1024]; /* Working copy of path */ local
415 WCHAR *path; /* Working copy of path */ local
591 getPrefixed(const WCHAR* path, int pathlen) argument
[all...]
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/asm/
H A DDisassembler.java64 StringBuilder path = new StringBuilder(System.getProperty("java.home"));
77 path.append(sep + "bin" + sep);
81 path.append(sep + "lib" + sep + "i386" + sep);
84 path.append(sep + "lib" + sep + "amd64" + sep);
87 path.append(sep + "lib" + sep + arch + sep);
92 path.append(sep + "lib" + sep + "i386" + sep);
95 path.append(sep + "lib" + sep + "amd64" + sep);
98 path.append(sep + "lib" + sep + arch + sep);
102 path.append(sep + "lib" + sep);
105 path
[all...]

Completed in 170 milliseconds

1234567891011>>