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

12

/openjdk7/jdk/test/com/sun/jndi/ldap/
H A DLdapUnicodeURL.java35 String uid = "uid=\u4e00\u4e01\u4e02";
36 LdapURL ldURL = new LdapURL("ldap://www.example.com/" + uid);
37 if (!ldURL.getDN().equals(uid)) {
38 throw new Exception("uid changed to " + ldURL.getDN());
/openjdk7/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");
/openjdk7/jdk/src/share/classes/java/rmi/activation/
H A DActivationGroupID.java57 private UID uid = new UID(); field in class:ActivationGroupID
90 return uid.hashCode();
110 return (uid.equals(id.uid) && system.equals(id.system));
H A DActivationID.java79 private transient UID uid = new UID(); field in class:ActivationID
136 return uid.hashCode();
154 return (uid.equals(id.uid) && activator.equals(id.activator));
208 out.writeObject(uid);
267 uid = (UID)in.readObject();
/openjdk7/jdk/src/share/classes/com/sun/security/auth/module/
H A DSolarisSystem.java38 protected long uid; field in class:SolarisSystem
70 return uid;
H A DUnixSystem.java38 protected long uid; field in class:UnixSystem
70 return uid;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/xmlschema/bindinfo/
H A DBISerializable.java43 public Long uid; field in class:BISerializable
/openjdk7/jdk/src/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 result.append(uid.toString());
/openjdk7/jdk/src/solaris/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 = new String(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 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...]
H A DUnixFileAttributeViews.java233 final void setOwners(int uid, int gid) throws IOException { argument
237 chown(file, uid, gid);
239 lchown(file, uid, gid);
263 int uid = ((UnixUserPrincipals.User)owner).uid();
264 setOwners(uid, -1);
291 private static final String UID_NAME = "uid";
348 builder.add(UID_NAME, attrs.uid());
H A DUnixNativeDispatcher.java332 static void chown(UnixPath path, int uid, int gid) throws UnixException { argument
335 chown0(buffer.address(), uid, gid);
340 private static native void chown0(long pathAddress, int uid, int gid) argument
346 static void lchown(UnixPath path, int uid, int gid) throws UnixException { argument
349 lchown0(buffer.address(), uid, gid);
354 private static native void lchown0(long pathAddress, int uid, int gid) argument
360 static native void fchown(int fd, int uid, int gid) throws UnixException; argument
457 * struct passwd *getpwuid(uid_t uid);
461 static native byte[] getpwuid(int uid) throws UnixException; argument
H A DUnixCopyFile.java163 fchown(dfd, attrs.uid(), attrs.gid());
166 chown(target, attrs.uid(), attrs.gid());
258 fchown(fo, attrs.uid(), attrs.gid());
314 lchown(target, attrs.uid(), attrs.gid());
340 chown(target, attrs.uid(), attrs.gid());
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);
/openjdk7/jdk/src/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);
/openjdk7/jdk/src/share/classes/javax/management/
H A DMBeanAttributeInfo.java57 long uid = 8644704819898565848L;
62 uid = 7043855487133450673L;
66 serialVersionUID = uid;
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/gui/
H A DThreadTreeTool.java194 long uid; field in class:ThreadTreeTool.ThreadTreeNode
204 this.uid = -1;
207 this.uid = thread.uniqueID();
208 this.description = name + " (t@" + Long.toHexString(uid) + ")";
226 return "t@" + Long.toHexString(uid);
/openjdk7/jdk/src/solaris/native/sun/tools/attach/
H A DBsdVirtualMachine.c136 uid_t uid, gid; local
140 * Check that the path is owned by the effective uid/gid of this
143 uid = geteuid();
158 if ( (sb.st_uid != uid) || (sb.st_gid != gid) ||
H A DSolarisVirtualMachine.c99 uid_t uid, gid; local
103 * Check that the path is owned by the effective uid/gid of this
106 uid = geteuid();
121 if ( (sb.st_uid != uid) || (sb.st_gid != gid) ||
H A DLinuxVirtualMachine.c354 uid_t uid, gid; local
358 * Check that the path is owned by the effective uid/gid of this
361 uid = geteuid();
376 if ( (sb.st_uid != uid) || (sb.st_gid != gid) ||
/openjdk7/hotspot/src/os/bsd/dtrace/
H A Djvm_dtrace.c146 uid_t uid, gid; local
150 * Check that the path is owned by the effective uid/gid of this
153 uid = geteuid();
162 if ((sb.st_uid != uid) || (sb.st_gid != gid) ||
/openjdk7/hotspot/src/os/solaris/dtrace/
H A Djvm_dtrace.c146 uid_t uid, gid; local
150 * Check that the path is owned by the effective uid/gid of this
153 uid = geteuid();
162 if ((sb.st_uid != uid) || (sb.st_gid != gid) ||
/openjdk7/jdk/src/solaris/native/sun/nio/fs/
H A DUnixNativeDispatcher.c498 jlong pathAddress, jint uid, jint gid)
503 RESTARTABLE(chown(path, (uid_t)uid, (gid_t)gid), err);
510 Java_sun_nio_fs_UnixNativeDispatcher_lchown0(JNIEnv* env, jclass this, jlong pathAddress, jint uid, jint gid) argument
515 RESTARTABLE(lchown(path, (uid_t)uid, (gid_t)gid), err);
522 Java_sun_nio_fs_UnixNativeDispatcher_fchown(JNIEnv* env, jclass this, jint filedes, jint uid, jint gid) argument
526 RESTARTABLE(fchown(filedes, (uid_t)uid, (gid_t)gid), err);
887 Java_sun_nio_fs_UnixNativeDispatcher_getpwuid(JNIEnv* env, jclass this, jint uid) argument
907 RESTARTABLE_RETURN_PTR(getpwuid_r((uid_t)uid, &pwent, pwbuf, (size_t)buflen), p);
909 RESTARTABLE(getpwuid_r((uid_t)uid, &pwent, pwbuf, (size_t)buflen, &p), res);
992 jint uid local
497 Java_sun_nio_fs_UnixNativeDispatcher_chown0(JNIEnv* env, jclass this, jlong pathAddress, jint uid, jint gid) argument
[all...]
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXFileDialogPeer.java121 UIDefaults uid = XToolkit.getUIDefaults();
122 cancelButtonText = uid.getString("FileChooser.cancelButtonText",l);
123 enterFileNameLabelText = uid.getString("FileChooser.enterFileNameLabelText",l);
124 filesLabelText = uid.getString("FileChooser.filesLabelText",l);
125 foldersLabelText = uid.getString("FileChooser.foldersLabelText",l);
126 pathLabelText = uid.getString("FileChooser.pathLabelText",l);
127 filterLabelText = uid.getString("FileChooser.filterLabelText",l);
128 openButtonText = uid.getString("FileChooser.openButtonText",l);
129 saveButtonText = uid.getString("FileChooser.saveButtonText",l);
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/ccache/
H A DFileCredentialsCache.java360 * 2. /tmp/krb5cc_<uid> on unix systems
411 long uid = 0;
421 uid = ((Long)method.invoke(obj)).longValue();
423 File.separator + stdCacheNameComponent + "_" + uid;
431 System.out.println("Exception in obtaining uid " +
442 // we did not get the uid;

Completed in 2465 milliseconds

12