Searched refs:gid (Results 1 - 25 of 26) sorted by relevance

12

/openjdk7/jdk/src/share/classes/com/sun/security/auth/module/
H A DSolarisSystem.java39 protected long gid; field in class:SolarisSystem
81 return gid;
H A DUnixSystem.java39 protected long gid; field in class:UnixSystem
81 return gid;
H A DJndiLoginModule.java595 Attribute gid = attributes.get(USER_GID);
596 String gidNumber = (String)gid.get();
613 gid = attributes.get(GROUP_ID);
614 String suppGid = (String)gid.get();
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DUnixUserPrincipals.java44 private final int id; // uid or gid
64 int gid() { method in class:UnixUserPrincipals.User
125 // return GroupPrincipal representing given gid
126 static Group fromGid(int gid) { argument
129 name = new String(getgrgid(gid));
131 name = Integer.toString(gid);
133 return new Group(gid, name);
151 // lookup failed, allow input to be uid or gid
178 int gid = lookupName(group, true);
179 return new Group(gid, grou
[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);
280 int gid = ((UnixUserPrincipals.Group)group).gid();
281 setOwners(-1, gid);
292 private static final String GID_NAME = "gid";
350 builder.add(GID_NAME, attrs.gid());
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
464 * struct group *getgrgid(gid_t gid);
468 static native byte[] getgrgid(int gid) 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);
553 int gid = ((UnixUserPrincipals.Group)group).gid();
554 setOwners(-1, gid);
H A DUnixFileAttributes.java102 int gid() { return st_gid; } method in class:UnixFileAttributes
H A DSolarisAclFileAttributeView.java117 uid = user.gid();
/openjdk7/jdk/src/share/native/sun/font/layout/
H A DStateTableProcessor2.cpp107 LEGlyphID gid = glyphStorage[currGlyph]; local
108 TTGlyphID glyphCode = (TTGlyphID) LE_GET_GLYPH(gid);
113 classCode = SWAPW(lookupTable0->valueArray[gid]);
138 LEGlyphID gid = glyphStorage[currGlyph]; local
139 TTGlyphID glyphCode = (TTGlyphID) LE_GET_GLYPH(gid);
145 lookupTable2->lookupSegment(lookupTable2, lookupTable2->segments, gid, success);
179 LEGlyphID gid = glyphStorage[currGlyph]; local
180 TTGlyphID glyphCode = (TTGlyphID) LE_GET_GLYPH(gid);
185 const LookupSingle *segment = lookupTable6->lookupSingle(lookupTable6, lookupTable6->entries, gid, success);
H A DContextualGlyphSubstProc2.cpp101 TTGlyphID ContextualGlyphSubstitutionProcessor2::lookup(le_uint32 offset, LEGlyphID gid, LEErrorCode &success) argument
116 TTGlyphID glyphCode = (TTGlyphID) LE_GET_GLYPH(gid);
125 const LookupSegment *segment = lookupTable2->lookupSegment(lookupTable2->segments, gid);
141 const LEReferenceTo<LookupSingle> segment = lookupTable6->lookupSingle(lookupTable6->entries, gid);
154 TTGlyphID glyphCode = (TTGlyphID) LE_GET_GLYPH(gid);
H A DLETypes.h242 #define LE_GET_GLYPH(gid) ((gid & LE_GLYPH_MASK) >> LE_GLYPH_SHIFT)
250 #define LE_GET_SUB_FONT(gid) ((gid & LE_SUB_FONT_MASK) >> LE_SUB_FONT_SHIFT)
258 #define LE_GET_CLIENT(gid) ((gid & LE_CLIENT_MASK) >> LE_CLIENT_SHIFT)
267 #define LE_SET_GLYPH(gid, glyph) ((gid & ~LE_GLYPH_MASK) | ((glyph << LE_GLYPH_SHIFT) & LE_GLYPH_MASK))
275 #define LE_SET_SUB_FONT(gid, font) ((gid
[all...]
H A DContextualGlyphSubstProc2.h78 TTGlyphID lookup(le_uint32 offset, LEGlyphID gid, LEErrorCode &success);
/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
144 gid = getegid();
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
107 gid = getegid();
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
362 gid = getegid();
376 if ( (sb.st_uid != uid) || (sb.st_gid != gid) ||
/openjdk7/jdk/test/java/rmi/activation/CommandEnvironment/
H A DSetChildEnv.java126 ActivationGroupID gid = actsys.registerGroup(gdesc);
129 ActivationDesc odesc = new ActivationDesc(gid, // group
203 actsys.unregisterGroup(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
154 gid = getegid();
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
154 gid = getegid();
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);
932 Java_sun_nio_fs_UnixNativeDispatcher_getgrgid(JNIEnv* env, jclass this, jint gid) argument
956 RESTARTABLE_RETURN_PTR(getgrgid_r((gid_t)gid, &grent, grbuf, (size_t)buflen), g);
958 RESTARTABLE(getgrgid_r((gid_t)gid, &grent, grbuf, (size_t)buflen, &g), res);
1033 jint gid local
497 Java_sun_nio_fs_UnixNativeDispatcher_chown0(JNIEnv* env, jclass this, jlong pathAddress, jint uid, jint gid) argument
[all...]
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/
H A DXRBackendNative.c712 Glyph *gid = (Glyph *) malloc(sizeof(Glyph) * glyphCnt); local
714 if (xginfo == NULL || gid == NULL) {
718 if (gid != NULL) {
719 free(gid);
728 free(gid);
738 free(gid);
750 gid[i] = (Glyph) (jginfo->cellInfo);
759 XRenderAddGlyphs(awt_display, glyphSet, &gid[0], &xginfo[0], glyphCnt,
766 free(gid);
/openjdk7/hotspot/src/os/bsd/vm/
H A DattachListener_bsd.cpp362 gid_t pgid = cred_info.gid;
/openjdk7/hotspot/src/os/linux/vm/
H A DattachListener_linux.cpp350 if (cred_info.uid != euid || cred_info.gid != egid) {
/openjdk7/jdk/test/java/nio/file/Files/
H A DFileAttributes.java144 int gid = (Integer)Files.getAttribute(file, "unix:gid");
152 map = Files.readAttributes(file, "unix:size,uid,gid");

Completed in 102 milliseconds

12