/libcore/ojluni/src/main/java/sun/nio/fs/ |
UnixUserPrincipals.java | 44 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) { 129 name = Util.toString(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); local 179 return new Group(gid, group) [all...] |
/system/core/libcutils/ |
canned_fs_config.cpp | 32 unsigned gid; member in struct:__anon2781 70 p->gid = atoi(strtok(NULL, " ")); 96 unsigned* uid, unsigned* gid, unsigned* mode, uint64_t* capabilities) { 107 *gid = p->gid; 120 if (c_gid != *gid) printf("%s gid %d %d\n", path, *gid, c_gid);
|
/hardware/libhardware/include/hardware/ |
fingerprint.h | 80 uint32_t gid; member in struct:fingerprint_finger_id 170 * The fingerprint template will be assigned to the group gid. User has a choice 171 * to supply the gid or set it to 0 in which case a unique group id will be generated. 178 uint32_t gid, uint32_t timeout_sec); 241 int (*remove)(struct fingerprint_device *dev, uint32_t gid, uint32_t fid); 252 int (*set_active_group)(struct fingerprint_device *dev, uint32_t gid, 261 int (*authenticate)(struct fingerprint_device *dev, uint64_t operation_id, uint32_t gid);
|
/external/libbrillo/brillo/ |
file_utils.cc | 54 // Checks if a regular file owned by |uid| and |gid| exists at |path|, otherwise 59 gid_t gid) { 71 file_stat.st_gid == gid) { 96 gid_t gid, 98 RegularFileOrDeleteResult result = RegularFileOrDelete(path, uid, gid); 136 gid_t gid) { 144 if (!TouchFileInternal(path, uid, gid, &scoped_fd)) {
|
/frameworks/base/core/java/com/android/internal/os/ |
Zygote.java | 106 * @param gid the UNIX gid that the new process should setgid() to after 133 public static int forkAndSpecialize(int uid, int gid, int[] gids, int runtimeFlags, 140 uid, gid, gids, runtimeFlags, rlimits, mountExternal, seInfo, niceName, fdsToClose, 153 native private static int nativeForkAndSpecialize(int uid, int gid, int[] gids,int runtimeFlags, 170 * @param gid the UNIX gid that the new process should setgid() to after 185 public static int forkSystemServer(int uid, int gid, int[] gids, int runtimeFlags, 191 uid, gid, gids, runtimeFlags, rlimits, permittedCapabilities, effectiveCapabilities); 200 native private static int nativeForkSystemServer(int uid, int gid, int[] gids, int runtimeFlags [all...] |
/hardware/interfaces/biometrics/fingerprint/2.1/default/ |
BiometricsFingerprint.cpp | 162 uint32_t gid, uint32_t timeoutSec) { 165 return ErrorFilter(mDevice->enroll(mDevice, authToken, gid, timeoutSec)); 184 Return<RequestStatus> BiometricsFingerprint::remove(uint32_t gid, uint32_t fid) { 185 return ErrorFilter(mDevice->remove(mDevice, gid, fid)); 188 Return<RequestStatus> BiometricsFingerprint::setActiveGroup(uint32_t gid, 198 return ErrorFilter(mDevice->set_active_group(mDevice, gid, 203 uint32_t gid) { 204 return ErrorFilter(mDevice->authenticate(mDevice, operationId, gid)); 290 ALOGD("onEnrollResult(fid=%d, gid=%d, rem=%d)", 292 msg->data.enroll.finger.gid, [all...] |
BiometricsFingerprint.h | 55 Return<RequestStatus> enroll(const hidl_array<uint8_t, 69>& hat, uint32_t gid, uint32_t timeoutSec) override; 60 Return<RequestStatus> remove(uint32_t gid, uint32_t fid) override; 61 Return<RequestStatus> setActiveGroup(uint32_t gid, const hidl_string& storePath) override; 62 Return<RequestStatus> authenticate(uint64_t operationId, uint32_t gid) override;
|
/bionic/libc/kernel/uapi/linux/ |
ncp_mount.h | 42 __kernel_gid_t gid; member in struct:ncp_mount_data 56 unsigned long gid; member in struct:ncp_mount_data_v4
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
sbixBitmap.py | 19 def __init__(self, glyphName=None, referenceGlyphName=None, usReserved1=0, usReserved2=0, imageFormatTag=None, imageData=None, rawdata=None, gid=0): 20 self.gid = gid 30 self.glyphName = ttFont.getGlyphName(self.gid) 37 #print "Bitmap %i header too short: Expected %x, got %x." % (self.gid, sbixBitmapHeaderFormatSize, len(self.rawdata)) 44 gid, = struct.unpack(">H", self.rawdata[sbixBitmapHeaderFormatSize:]) 45 self.referenceGlyphName = ttFont.getGlyphName(gid) 51 del self.gid 59 self.gid = struct.pack(">H", ttFont.getGlyphID(self.glyphName))
|
/external/kernel-headers/original/uapi/linux/ |
ncp_mount.h | 40 __kernel_gid_t gid; member in struct:ncp_mount_data 64 unsigned long gid; member in struct:ncp_mount_data_v4
|
/external/ltp/testcases/commands/sssd/ |
sssd02 | 28 tst_resm TINFO "test override_gid with gid+1 in [domain/LOCAL]" 32 gid=`id -g $username` 33 gid_add_one=$(( gid+1 )) 40 tst_resm TFAIL "sssd: user GID should be not $gid_add_one." 49 tst_resm TPASS "sssd: user GID is $gid_add_one." 51 tst_resm TFAIL "sssd: user GID should be $gid_add_one."
|
/external/ltp/testcases/kernel/syscalls/utils/ |
compat_16.h | 67 #define GID16_CHECK(gid, sys_name, cleanup) \ 68 if (!GID_SIZE_CHECK(gid)) { \ 70 "gid %d of %s is too large for testing 16-bit version " \ 71 "of %s()", gid, #gid, #sys_name); \ 95 int SETGID(void (cleanup)(void), GID_T gid) 97 LTP_CREATE_SYSCALL(setgid, cleanup, gid); 120 int SETFSGID(void (cleanup)(void), GID_T gid) 122 LTP_CREATE_SYSCALL(setfsgid, cleanup, gid);
|
/external/strace/tests/ |
overflowuid.c | 92 check_overflowgid(const int gid) 94 check_overflow_id(gid, "/proc/sys/kernel/overflowgid");
|
/external/strace/tests-m32/ |
overflowuid.c | 92 check_overflowgid(const int gid) 94 check_overflow_id(gid, "/proc/sys/kernel/overflowgid");
|
/external/strace/tests-mx32/ |
overflowuid.c | 92 check_overflowgid(const int gid) 94 check_overflow_id(gid, "/proc/sys/kernel/overflowgid");
|
/external/swiftshader/third_party/LLVM/lib/Archive/ |
ArchiveInternals.h | 49 char gid[6]; ///< group id in ASCII decimal member in class:llvm::ArchiveMemberHeader 62 memset(gid,' ',6);
|
/external/syslinux/gpxe/src/net/infiniband/ |
ib_smc.c | 140 * port GID and the SM LID. 144 memcpy ( &ibdev->gid.u.half[0], port_info->gid_prefix, 145 sizeof ( ibdev->gid.u.half[0] ) ); 161 /* GUID info gives us the second half of the port GID */ 164 memcpy ( &ibdev->gid.u.half[1], guid_info->guid[0], 165 sizeof ( ibdev->gid.u.half[1] ) ); 172 DBGC ( ibdev, "IBDEV %p port GID is %08x:%08x:%08x:%08x\n", ibdev, 173 htonl ( ibdev->gid.u.dwords[0] ), 174 htonl ( ibdev->gid.u.dwords[1] ), 175 htonl ( ibdev->gid.u.dwords[2] ) [all...] |
/external/syslinux/ |
now.pl | 10 ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,
|
/external/toybox/toys/pending/ |
useradd.c | 39 long gid; 92 if (toys.optflags & FLAG_G) TT.gid = xgetgrnam(TT.u_grp)->gr_gid; 94 // Set the GID for the user, if not specified 95 if (toys.optflags & FLAG_S) TT.gid = CFG_TOYBOX_UID_SYS; 96 else TT.gid = CFG_TOYBOX_UID_USR; 98 //find unused gid 99 while (getgrgid(TT.gid)) TT.gid++; 101 pwd.pw_gid = TT.gid; 144 xmprintf("%lu:%lu", TT.uid, TT.gid), p, 0}) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
ncp_mount.h | 39 __kernel_gid_t gid; member in struct:ncp_mount_data 63 unsigned long gid; member in struct:ncp_mount_data_v4
|
/device/google/cuttlefish_common/common/libs/fs/ |
gce_fs.h | 44 extern int gce_fs_prepare_dir(const char* path, mode_t mode, uid_t uid, gid_t gid);
|
/external/ltp/testcases/kernel/containers/userns/ |
userns02.c | 45 int uid, gid; local 49 gid = getegid(); 51 if (uid == 100 && gid == 100) { 52 printf("Got expected uid and gid.\n"); 55 printf("Got unexpected result of uid=%d gid=%d\n", uid, gid);
|
/external/ltp/testcases/kernel/syscalls/bind/ |
bind02.c | 71 gid_t gid; variable 81 if ((rc = setegid(gid)) == -1) { 82 tst_brkm(TBROK | TERRNO, 0, "setegid(%u) failed", gid); 139 gid = gr->gr_gid;
|
/external/squashfs-tools/squashfs-tools/ |
android.h | 22 unsigned *uid, unsigned *gid, unsigned *mode, uint64_t *capabilities);
|
pseudo.h | 30 unsigned int gid; member in struct:pseudo_dev
|