Searched refs:uid (Results 1 - 25 of 42) sorted by relevance

12

/openjdk10/jdk/test/com/sun/jndi/ldap/
H A DLdapUnicodeURL.java36 String uid = "uid=\u4e00\u4e01\u4e02";
37 LdapURL ldURL = new LdapURL("ldap://www.example.com/" + uid);
38 if (!ldURL.getDN().equals(uid)) {
39 throw new Exception("uid changed to " + ldURL.getDN());
/openjdk10/jdk/test/javax/swing/plaf/nimbus/
H A DTest7048204.java41 UIDefaults uid = UIManager.getDefaults();
42 uid.putDefaults(new Object[0]);
43 uid.put("what.ever", "else");
/openjdk10/jdk/src/java.rmi/share/classes/java/rmi/activation/
H A DActivationGroupID.java57 private UID uid = new UID(); field in class:ActivationGroupID
92 return uid.hashCode();
112 return (uid.equals(id.uid) && system.equals(id.system));
H A DActivationID.java85 private transient UID uid = new UID(); field in class:ActivationID
158 return uid.hashCode();
176 return (uid.equals(id.uid) && activator.equals(id.activator));
230 out.writeObject(uid);
289 uid = (UID)in.readObject();
/openjdk10/jdk/src/jdk.security.auth/share/classes/com/sun/security/auth/module/
H A DUnixSystem.java37 protected long uid; field in class:UnixSystem
65 return uid;
/openjdk10/jaxws/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/reader/xmlschema/bindinfo/
H A DBISerializable.java43 public Long uid; field in class:BISerializable
/openjdk10/jdk/src/java.rmi/share/classes/java/rmi/dgc/
H A DVMID.java51 private UID uid; field in class:VMID
74 uid = new UID();
92 return uid.hashCode();
102 if (!uid.equals(vmid.uid))
131 sb.append(uid.toString());
/openjdk10/jdk/src/java.base/unix/classes/sun/nio/fs/
H A DUnixUserPrincipals.java44 private final int id; // uid or gid
58 int uid() { method in class:UnixUserPrincipals.User
114 // return UserPrincipal representing given uid
115 static User fromUid(int uid) { argument
118 name = Util.toString(getpwuid(uid));
120 name = Integer.toString(uid);
122 return new User(uid, name);
151 // lookup failed, allow input to be uid or gid
170 int uid = lookupName(name, false);
171 return new User(uid, nam
[all...]
H A DUnixFileAttributeViews.java259 final void setOwners(int uid, int gid) throws IOException { argument
263 chown(file, uid, gid);
265 lchown(file, uid, gid);
289 int uid = ((UnixUserPrincipals.User)owner).uid();
290 setOwners(uid, -1);
317 private static final String UID_NAME = "uid";
374 builder.add(UID_NAME, attrs.uid());
H A DUnixNativeDispatcher.java354 static void chown(UnixPath path, int uid, int gid) throws UnixException { argument
357 chown0(buffer.address(), uid, gid);
362 private static native void chown0(long pathAddress, int uid, int gid) argument
368 static void lchown(UnixPath path, int uid, int gid) throws UnixException { argument
371 lchown0(buffer.address(), uid, gid);
376 private static native void lchown0(long pathAddress, int uid, int gid) argument
382 static native void fchown(int fd, int uid, int gid) throws UnixException; argument
495 * struct passwd *getpwuid(uid_t uid);
499 static native byte[] getpwuid(int uid) throws UnixException; argument
H A DUnixSecureDirectoryStream.java507 private void setOwners(int uid, int gid) throws IOException { argument
518 fchown(fd, uid, gid);
543 int uid = ((UnixUserPrincipals.User)owner).uid();
544 setOwners(uid, -1);
H A DUnixCopyFile.java168 fchown(dfd, attrs.uid(), attrs.gid());
171 chown(target, attrs.uid(), attrs.gid());
263 fchown(fo, attrs.uid(), attrs.gid());
325 lchown(target, attrs.uid(), attrs.gid());
351 chown(target, attrs.uid(), attrs.gid());
/openjdk10/jdk/src/java.rmi/share/classes/java/rmi/server/
H A DUID.java196 UID uid = (UID) obj;
197 return (unique == uid.unique &&
198 count == uid.count &&
199 time == uid.time);
/openjdk10/jdk/src/java.base/solaris/classes/sun/nio/fs/
H A DSolarisAclFileAttributeView.java99 // map UserPrincipal to uid and flags
104 int uid;
106 uid = -1;
117 uid = user.gid();
120 uid = user.uid();
188 unsafe.putInt(offset + OFFSETOF_UID, uid);
205 int uid = unsafe.getInt(offset + OFFSETOF_UID);
210 // map uid and flags to UserPrincipal
219 who = UnixUserPrincipals.fromGid(uid);
[all...]
/openjdk10/jdk/src/java.management/share/classes/javax/management/
H A DMBeanAttributeInfo.java58 long uid = 8644704819898565848L;
63 uid = 7043855487133450673L;
67 serialVersionUID = uid;
/openjdk10/jdk/src/java.security.jgss/share/classes/sun/security/krb5/internal/rcache/
H A DDflCache.java109 private static long uid; field in class:DflCache
112 uid = jdk.internal.misc.VM.geteuid();
135 if (uid != -1) {
136 server += "_" + uid;
275 if (uid != -1 &&
276 (Integer)Files.getAttribute(p, "unix:uid") != uid) {
/openjdk10/jdk/src/java.base/unix/native/libjava/
H A DProcessHandleImpl_unix.h72 extern void unix_getUserInfo(JNIEnv* env, jobject jinfo, uid_t uid);
/openjdk10/jdk/src/jdk.attach/solaris/native/libattach/
H A DVirtualMachineImpl.c105 uid_t uid, gid; local
109 * Check that the path is owned by the effective uid/gid of this
112 uid = geteuid();
124 if (sb.st_uid != uid) {
126 "file should be owned by the current user (which is %d) but is owned by %d", uid, sb.st_uid);
/openjdk10/jdk/src/jdk.attach/linux/native/libattach/
H A DVirtualMachineImpl.c255 uid_t uid, gid; local
259 * Check that the path is owned by the effective uid/gid of this
262 uid = geteuid();
274 if (sb.st_uid != uid) {
276 "file should be owned by the current user (which is %d) but is owned by %d", uid, sb.st_uid);
/openjdk10/jdk/src/jdk.attach/macosx/native/libattach/
H A DVirtualMachineImpl.c144 uid_t uid, gid; local
148 * Check that the path is owned by the effective uid/gid of this
151 uid = geteuid();
163 if (sb.st_uid != uid) {
165 "file should be owned by the current user (which is %d) but is owned by %d", uid, sb.st_uid);
/openjdk10/jdk/src/jdk.attach/aix/native/libattach/
H A DVirtualMachineImpl.c170 uid_t uid, gid; local
176 * Check that the path is owned by the effective uid/gid of this
179 uid = geteuid();
191 if (sb.st_uid != uid) {
193 "file should be owned by the current user (which is %d) but is owned by %d", uid, sb.st_uid);
/openjdk10/jdk/src/java.base/share/classes/jdk/internal/misc/
H A DVM.java319 long uid = getuid();
323 return uid != euid || gid != egid;
/openjdk10/hotspot/src/os/solaris/dtrace/
H A Djvm_dtrace.c144 uid_t uid, gid; local
148 * Check that the path is owned by the effective uid/gid of this
151 uid = geteuid();
160 if ((sb.st_uid != uid) || (sb.st_gid != gid) ||
/openjdk10/hotspot/src/os/bsd/dtrace/
H A Djvm_dtrace.c144 uid_t uid, gid; local
148 * Check that the path is owned by the effective uid/gid of this
151 uid = geteuid();
160 if ((sb.st_uid != uid) || (sb.st_gid != gid) ||
/openjdk10/jdk/src/java.desktop/unix/classes/sun/awt/X11/
H A DXFileDialogPeer.java125 UIDefaults uid = XToolkit.getUIDefaults();
126 cancelButtonText = uid.getString("FileChooser.cancelButtonText",l);
127 enterFileNameLabelText = uid.getString("FileChooser.enterFileNameLabelText",l);
128 filesLabelText = uid.getString("FileChooser.filesLabelText",l);
129 foldersLabelText = uid.getString("FileChooser.foldersLabelText",l);
130 pathLabelText = uid.getString("FileChooser.pathLabelText",l);
131 filterLabelText = uid.getString("FileChooser.filterLabelText",l);
132 openButtonText = uid.getString("FileChooser.openButtonText",l);
133 saveButtonText = uid.getString("FileChooser.saveButtonText",l);

Completed in 137 milliseconds

12