/openjdk7/jdk/src/share/classes/java/security/ |
H A D | BasicPermission.java | 81 private transient String path; field in class:BasicPermission 107 path = ""; 109 path = name.substring(0, len - 1); 114 path = "exitVM."; 117 path = name; 184 return that.path.startsWith(path); 186 // make sure ap.path is longer so a.b.* doesn't imply a.b 187 return (that.path.length() > this.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/hotspot/src/os/windows/vm/ |
H A D | jvm_windows.h | 82 char *path; member in struct:__anon99
|
H A D | os_windows.inline.hpp | 74 inline int os::readdir_buf_size(const char *path) argument
|
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaMenuUI.java | 99 final MenuElement path[] = e.getPath(); 109 appendPath(path, menu.getPopupMenu()); 111 manager.setSelectedPath(path); 126 static void appendPath(final MenuElement[] path, final MenuElement elem) { argument 127 final MenuElement newPath[] = new MenuElement[path.length + 1]; 128 System.arraycopy(path, 0, newPath, 0, path.length); 129 newPath[path.length] = elem; 136 * path for the MenuSelectionManager and handles the case
|
/openjdk7/jdk/src/macosx/classes/java/util/prefs/ |
H A D | MacOSXPreferences.java | 47 private final String path; field in class:MacOSXPreferences 102 path = isRoot ? absolutePath() : absolutePath() + "/"; 107 newNode = file.addNode(path); 114 String name = path; 144 file.addKeyToNode(path, key, value); 150 return file.getKeyFromNode(path, key); 157 file.removeKeyFromNode(path, key); 169 file.removeNode(path); 176 file.removeChildFromNode(path, child); 184 String[] result = file.getChildrenForNode(path); [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/ |
H A D | TempFiles.java | 105 static File toFile(Object path) throws InvocationTargetException, IllegalAccessException { argument 106 return (File) METHOD_PATH_TO_FILE.invoke(path); 119 Object path = toPath(dir); 120 LOGGER.log(Level.FINEST, "Temp file (path: {0}, prefix:{1}, suffix:{2}) being created using NIO API.", new Object[]{dir.getAbsolutePath(), prefix, suffix}); 121 return toFile(METHOD_FILES_CREATE_TEMP_FILE_WITHPATH.invoke(null, path, prefix, suffix, Array.newInstance(CLASS_FILE_ATTRIBUTE, 0))); 129 LOGGER.log(Level.WARNING, "Error invoking java.nio API, temp file (path: {0}, prefix:{1}, suffix:{2}) being created using old java.io API.", 135 LOGGER.log(Level.WARNING, "Error invoking java.nio API, temp file (path: {0}, prefix:{1}, suffix:{2}) being created using old java.io API.",
|
/openjdk7/jdk/src/solaris/instrument/ |
H A D | FileSystemSupport_md.c | 46 char* basePath(const char* path) { argument 47 char* last = strrchr(path, slash); 49 return (char*)path; 51 int len = last - path; 54 memcpy(str, path, len); 61 int isAbsolute(const char* path) { argument 62 return (path[0] == slash) ? 1 : 0; 148 char* fromURIPath(const char* path) { argument 149 int len = strlen(path); 150 if (len > 1 && path[le [all...] |
/openjdk7/jdk/src/solaris/native/com/sun/management/ |
H A D | SolarisOperatingSystem.c | 164 int get_info(const char *path, void *info, size_t s, off_t o) { argument 167 if ((fd = open(path, O_RDONLY)) < 0) {
|
/openjdk7/jdk/src/solaris/native/com/sun/media/sound/ |
H A D | PLATFORM_API_SolarisOS_Utils.c | 55 /* returns TRUE if the path exists at all */ 56 int addAudioDevice(char* path, AudioDevicePath* adPath, int* count) { argument 64 if (stat(path, &statBuf) == 0) { 78 strncpy(adPath[*count].path, path, MAX_NAME_LENGTH); 79 adPath[*count].path[MAX_NAME_LENGTH] = 0; 81 TRACE1("Added audio device %s\n", path); 132 ret = getAudioDeviceDescription(globalADPaths[index].path, adDesc, getNames); 137 int getAudioDeviceDescription(char* path, AudioDeviceDescription* adDesc, int getNames) { argument 144 strncpy(adDesc->path, pat [all...] |
/openjdk7/jdk/src/solaris/native/sun/nio/fs/ |
H A D | GnomeFileTypeDetector.c | 58 typedef GFile* (*g_file_new_for_path_func)(const char* path); 133 char* path = (char*)jlong_to_ptr(pathAddress); local 138 gfile = (*g_file_new_for_path)(path); 190 char* path = (char*)jlong_to_ptr(pathAddress); local 191 const char* mime = (*gnome_vfs_mime_type_from_name)(path);
|
H A D | LinuxWatchService.c | 87 const char* path = (const char*)jlong_to_ptr(address); local 89 wfd = inotify_add_watch((int)fd, path, mask);
|
/openjdk7/jdk/src/solaris/native/sun/tools/attach/ |
H A D | BsdVirtualMachine.c | 73 (JNIEnv *env, jclass cls, jint fd, jstring path) 76 const char* p = GetStringPlatformChars(env, path, &isCopy); 89 JNU_ReleaseStringPlatformChars(env, path, p); 130 (JNIEnv *env, jclass cls, jstring path) 133 const char* p = GetStringPlatformChars(env, path, &isCopy); 140 * Check that the path is owned by the effective uid/gid of this 154 JNU_ReleaseStringPlatformChars(env, path, p); 250 JNIEXPORT void JNICALL Java_sun_tools_attach_BsdVirtualMachine_createAttachFile(JNIEnv *env, jclass cls, jstring path) argument 256 _path = GetStringPlatformChars(env, path, &isCopy); 258 JNU_ThrowIOException(env, "Must specify a path"); 72 Java_sun_tools_attach_BsdVirtualMachine_connect(JNIEnv *env, jclass cls, jint fd, jstring path) argument 129 Java_sun_tools_attach_BsdVirtualMachine_checkPermissions(JNIEnv *env, jclass cls, jstring path) argument [all...] |
/openjdk7/jdk/src/windows/classes/java/io/ |
H A D | WinNTFileSystem.java | 39 protected native String canonicalize0(String path) argument 65 public native boolean createFileExclusively(String path) argument
|
/openjdk7/jdk/src/windows/native/java/io/ |
H A D | canonicalize_md.c | 42 #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 188 if (*p && (*p != L'\\')) // path element does not end with a dot 191 return 1; // path element does end with a dot - prohibited 199 successfully after copying the rest of the original path to the result path. 234 char path[1024]; /* Working copy of path */ local 411 WCHAR *path; /* Working copy of path */ local 587 getPrefixed(const WCHAR* path, int pathlen) argument [all...] |
/openjdk7/jdk/src/windows/native/sun/management/ |
H A D | FileSystemImpl.c | 44 static jboolean isSecuritySupported(JNIEnv* env, const char* path) { argument 57 root = strdup(path); 123 static SECURITY_DESCRIPTOR* getFileSecurityDescriptor(JNIEnv* env, const char* path) { argument 129 GetFileSecurityA(path, info , 0, 0, &len); 138 if (!(*GetFileSecurityA)(path, info, sd, len, &len)) { 257 const char* path; local 259 path = JNU_GetStringPlatformChars(env, str, &isCopy); 260 if (path != NULL) { 261 res = isSecuritySupported(env, path); 263 JNU_ReleaseStringPlatformChars(env, str, path); 283 const char* path; local [all...] |
/openjdk7/jdk/test/demo/zipfs/ |
H A D | ZipFSTester.java | 64 Path path = fs.getPath(pname); 65 if (!Files.exists(path)) 66 throw new RuntimeException("path existence check failed!"); 67 while ((path = path.getParent()) != null) { 68 if (!Files.exists(path)) 90 // newFileSystem(path...) should not throw exception 231 for (String path : list) { 233 z2zcopy(fs1, fs2, path, 0); 246 for (String path 340 newZipFileSystem(Path path, Map<String, ?> env) argument 354 list(Path path, List<String> files, List<String> dirs ) argument 368 z2zcopy(FileSystem src, FileSystem dst, String path, int method) argument 408 z2zmove(FileSystem src, FileSystem dst, String path) argument 432 walk(Path path) argument 474 mkdirs(Path path) argument 486 rmdirs(Path path) argument 651 channel(FileSystem fs, Path path) argument [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/test/java/io/pathNames/ |
H A D | General.java | 171 throw new RuntimeException("Test path " + fn + " exists"); 220 * answer. If the path names a file that exists and is readable, then 223 public static void check(String answer, String path) throws IOException { argument 225 if (path.length() == 0) return; 226 if (checked.get(path) != null) { 227 System.err.println("DUP " + path); 230 checked.put(path, path); 234 File f = new File(path); 237 InputStream in = new FileInputStream(path); [all...] |
/openjdk7/langtools/src/share/classes/com/sun/source/util/ |
H A D | Trees.java | 124 * Gets the path to tree node within the specified compilation unit. 152 public abstract Element getElement(TreePath path); argument 160 public abstract TypeMirror getTypeMirror(TreePath path); argument 166 public abstract Scope getScope(TreePath path); argument 172 public abstract String getDocComment(TreePath path); argument
|
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/formats/html/markup/ |
H A D | HtmlDocWriter.java | 64 String path, String filename) throws IOException { 66 configuration.destDirName + path, filename, 71 ((path.length() > 0)? path + File.separator: "") + filename)); 63 HtmlDocWriter(Configuration configuration, String path, String filename) argument
|
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/ |
H A D | Extern.java | 74 * Package name, found in the "package-list" file in the {@link path}. 79 * The URL or the directory path at which the package documentation will be 82 final String path; field in class:Extern.Item 85 * If given path is directory path then true else if it is a URL then false. 95 * @param path URL or Directory path from where the "package-list" 97 * @param relative True if path is URL, false if directory path. 99 Item(String packageName, String path, boolea argument 244 readFileComposeExternPackageList(String path, String pkgListPath) argument 275 readPackageList(InputStream input, String path, boolean relative) argument [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/file/ |
H A D | BaseFileObject.java | 76 protected abstract String inferBinaryName(Iterable<? extends File> path); argument
|
H A D | RegularFileObject.java | 153 protected String inferBinaryName(Iterable<? extends File> path) { argument 156 for (File dir: path) {
|