HomeSort by relevance Sort by last modified time
    Searched refs:gid (Results 101 - 125 of 810) sorted by null

1 2 3 45 6 7 8 91011>>

  /hardware/libhardware/modules/fingerprint/
fingerprint.c 45 uint32_t __unused gid,
59 uint32_t __unused gid, uint32_t __unused fid) {
64 uint32_t __unused gid, const char __unused *store_path) {
69 uint64_t __unused operation_id, __unused uint32_t gid) {
  /bionic/libc/bionic/
grp_pwd.cpp 203 // AID_APP_START. They exist per user, so a given uid/gid modulo AID_USER_OFFSET will map
384 static void print_app_name_from_gid(const gid_t gid, char* buffer, const int bufferlen) {
385 const uid_t appid = gid % AID_USER_OFFSET;
386 const uid_t userid = gid / AID_USER_OFFSET;
449 static group* oem_id_to_group(gid_t gid, group_state_t* state) {
450 if (!is_oem_id(gid)) {
454 if (vendor_group.FindById(gid, state)) {
459 "oem_%u", gid);
463 gr->gr_gid = gid;
500 // Translate a gid into the corresponding app_<gid
    [all...]
  /external/syslinux/gpxe/src/drivers/net/
ipoib.c 75 .gid.u.bytes = { 0xff, 0x12, 0x40, 0x1b, 0x00, 0x00, 0x00, 0x00,
147 * Store GID and QPN in peer cache
271 memcpy ( &mac->gid.u.half[1], guid, sizeof ( mac->gid.u.half[1] ) );
285 htonl ( mac->flags__qpn ), htonl ( mac->gid.u.dwords[0] ),
286 htonl ( mac->gid.u.dwords[1] ),
287 htonl ( mac->gid.u.dwords[2] ),
288 htonl ( mac->gid.u.dwords[3] ) );
348 const struct ib_gid_half *guid = &ipoib_addr->gid.u.half[1];
442 memcpy ( &av.gid, &dest->mac.gid, sizeof ( av.gid ) )
    [all...]
  /bionic/libc/kernel/uapi/rdma/
ib_user_mad.h 39 __u8 gid[16]; member in struct:ib_user_mad_hdr_old
57 __u8 gid[16]; member in struct:ib_user_mad_hdr
  /bionic/tests/
grp_pwd_file_test.cpp 39 void FindAndCheckPasswdEntry(PasswdFile* file, const char* name, uid_t uid, gid_t gid,
48 EXPECT_EQ(gid, name_passwd.pw_gid);
60 EXPECT_EQ(gid, id_passwd.pw_gid);
66 void FindAndCheckGroupEntry(GroupFile* file, const char* name, gid_t gid) {
73 EXPECT_EQ(gid, name_group.gr_gid);
78 ASSERT_TRUE(file->FindById(gid, &id_group_state)) << gid;
83 EXPECT_EQ(gid, id_group.gr_gid);
grp_pwd_test.cpp 181 // Test the difference between uid and shared gid.
289 static void check_group(const group* grp, const char* group_name, gid_t gid,
295 EXPECT_EQ(gid, grp->gr_gid);
305 static void check_getgrgid(const char* group_name, gid_t gid, bool check_groupname) {
307 group* grp = getgrgid(gid);
310 check_group(grp, group_name, gid, check_groupname);
313 static void check_getgrnam(const char* group_name, gid_t gid, bool check_groupname) {
318 check_group(grp, group_name, gid, check_groupname);
321 static void check_getgrgid_r(const char* group_name, gid_t gid, bool check_groupname) {
327 int result = getgrgid_r(gid, &grp_storage, buf, sizeof(buf), &grp)
    [all...]
  /external/fonttools/Lib/fontTools/ttLib/tables/
C_O_L_R_.py 21 self.getGlyphName = ttFont.getGlyphName # for use in get/set item functions, for access by GID
29 gid, firstLayerIndex, numLayers = struct.unpack(">HHH", data[glyphPos:glyphPos+6])
31 gids.append(gid)
61 gid = ttFont.getGlyphID(glyphName)
64 ordered.append([gid, glyphName, self.ColorLayers[glyphName]])
69 for (gid, glyphName, layers) in ordered:
70 glyphMap.append(struct.pack(">HHH", gid, len(layerMap), len(layers)))
87 gid = ttFont.getGlyphID(glyphName)
90 ordered.append([gid, glyphName, self.ColorLayers[glyphName]])
103 self.getGlyphName = ttFont.getGlyphName # for use in get/set item functions, for access by GID
    [all...]
  /external/kernel-headers/original/uapi/rdma/
ib_user_mad.h 67 * @gid_index - Local GID index to send with (unset on receive)
70 * @gid - Remote GID in GRH
88 __u8 gid[16]; member in struct:ib_user_mad_hdr_old
110 * @gid_index - Local GID index to send with (unset on receive)
113 * @gid - Remote GID in GRH
132 __u8 gid[16]; member in struct:ib_user_mad_hdr
  /external/selinux/libselinux/src/
seusers.c 98 gid_t gid = -1; local
107 gid = pwent->pw_gid;
110 return gid;
113 static int check_group(const char *group, const char *name, const gid_t gid) {
143 if (getgrouplist(name, gid, NULL, &ng) < 0) {
149 if (getgrouplist(name, gid, groups, &ng) < 0)
186 gid_t gid = get_default_gid(name); local
210 check_group(&username[1], name, gid)) {
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/rdma/
ib_user_mad.h 66 * @gid_index - Local GID index to send with (unset on receive)
69 * @gid - Remote GID in GRH
87 __u8 gid[16]; member in struct:ib_user_mad_hdr_old
109 * @gid_index - Local GID index to send with (unset on receive)
112 * @gid - Remote GID in GRH
131 __u8 gid[16]; member in struct:ib_user_mad_hdr
  /prebuilts/go/darwin-x86/src/os/user/
lookup_windows.go 75 func newUser(usid *syscall.SID, gid, dir string) (*User, error) {
94 Gid: gid,
116 gid, e := pg.PrimaryGroup.String()
124 return newUser(u.User.Sid, gid, dir)
128 // Gid and HomeDir fields in the User struct returned on windows.
131 // TODO(brainman): do not know where to get gid and dir fields
132 gid := "unknown"
134 return newUser(usid, gid, dir)
  /prebuilts/go/linux-x86/src/os/user/
lookup_windows.go 75 func newUser(usid *syscall.SID, gid, dir string) (*User, error) {
94 Gid: gid,
116 gid, e := pg.PrimaryGroup.String()
124 return newUser(u.User.Sid, gid, dir)
128 // Gid and HomeDir fields in the User struct returned on windows.
131 // TODO(brainman): do not know where to get gid and dir fields
132 gid := "unknown"
134 return newUser(usid, gid, dir)
  /external/libcap-ng/libcap-ng-0.7/utils/
captest.c 58 gid_t gid, egid, sgid; local
68 getresgid(&gid, &egid, &sgid);
79 getresgid(&gid, &egid, &sgid);
89 printf("Group credentials gid:%d egid:%d sgid:%d\n", gid, egid, sgid);
90 if (uid != euid || gid != egid)
  /external/python/cpython3/Modules/
grpmodule.c 100 gid_t gid; local
103 if (!_Py_Gid_Converter(id, &gid)) {
116 if (!_Py_Gid_Converter(py_int_id, &gid)) {
123 if ((p = getgrgid(gid)) == NULL) {
124 PyObject *gid_obj = _PyLong_FromGid(gid);
127 PyErr_Format(PyExc_KeyError, "getgrgid(): gid not found: %S", gid_obj);
218 The gid is an integer, name and password are strings. (Note that most\n\
  /external/toybox/toys/posix/
id.c 91 gid_t gid = getgid(), egid = getegid(), *groups; local
99 gid = egid = pw->pw_gid;
107 grp = xgetgrgid(i ? gid : egid);
112 showid(" gid=", grp->gr_gid, grp->gr_name);
119 if (gid != egid) {
131 ngroups = username ? getgrouplist(username, gid, groups, &i)
  /external/iproute2/ip/
iptuntap.c 49 static int tap_add_ioctl(struct ifreq *ifr, uid_t uid, gid_t gid)
71 if (gid != -1 && ioctl(fd, TUNSETGROUP, gid)) {
109 struct ifreq *ifr, uid_t *uid, gid_t *gid)
152 } else if (gid && matches(*argv, "group") == 0) {
159 *gid = group;
167 *gid = gr->gr_gid;
208 gid_t gid = -1; local
210 if (parse_args(argc, argv, &ifr, &uid, &gid) < 0)
213 return tap_add_ioctl(&ifr, uid, gid);
    [all...]
  /external/ltp/testcases/network/nfsv4/acl/
random_gen.py 20 """ List of GID than can be used to do the tests """
43 def createGroup(self, grpname, gid):
44 u = commands.getoutput('/usr/sbin/groupadd -g' + gid + " " + grpname)
51 gid = str(500+i)
52 self.createGroup(gName, gid)
80 gid = splitedline[3]
103 gid = splitedline[3]
121 gid = splitedline[2]
124 self.gList.append([groupName,gid])
135 gid = splitedline[2
    [all...]
  /external/syslinux/gpxe/src/net/
infiniband.c 334 * Find queue pair by multicast GID
337 * @v gid Multicast GID
341 struct ib_gid *gid ) {
347 if ( memcmp ( &mgid->gid, gid,
348 sizeof ( mgid->gid ) ) == 0 ) {
649 * @v gid Multicast GID
653 * to the multicast GID; it does not issue the relevant MADs to joi
    [all...]
  /external/tensorflow/tensorflow/contrib/rnn/kernels/
lstm_ops_gpu.cu.cc 65 // 'gid' is the index assigned to this thread for 'icfo' in the 'i' submatrix.
96 const int gid = batch_id * cell_size * 4 + act_id; local
104 i_local = sigmoid_op(icfo[0 * cell_size + gid] + b[0 * cell_size + act_id] +
107 i_local = sigmoid_op(icfo[0 * cell_size + gid] + b[0 * cell_size + act_id]);
112 tanh_op(icfo[1 * cell_size + gid] + b[1 * cell_size + act_id]);
117 f_local = sigmoid_op(icfo[2 * cell_size + gid] + b[2 * cell_size + act_id] +
120 f_local = sigmoid_op(icfo[2 * cell_size + gid] + b[2 * cell_size + act_id] +
136 o_local = sigmoid_op(icfo[3 * cell_size + gid] + b[3 * cell_size + act_id] +
139 o_local = sigmoid_op(icfo[3 * cell_size + gid] + b[3 * cell_size + act_id]);
160 const int gid = blockDim.x * blockIdx.x + threadIdx.x local
259 const int gid = batch_id * cell_size * 4 + act_id; local
    [all...]
  /system/core/init/
service_test.cpp 47 EXPECT_EQ(0U, service_in_old_memory->gid());
67 EXPECT_EQ(0U, service_in_old_memory2->gid());
96 args.push_back("root"); // gid.
98 args.push_back("root"); // Supplementary gid.
105 static void Test_make_temporary_oneshot_service(bool dash_dash, bool seclabel, bool uid, bool gid,
113 if (gid) {
114 args.push_back("shell"); // gid
116 args.push_back("system"); // supplementary gid 0
117 args.push_back("adb"); // supplementary gid 1
142 if (gid) {
    [all...]
ueventd_test.cpp 78 gid_t gid = 0; local
80 std::generate_n(std::back_inserter(files_and_gids), 100, [&gid, &dir]() {
81 gid++;
82 return std::pair(dir.path + "/gid_"s + std::to_string(gid), gid);
85 WriteFromMultipleThreads(files_and_gids, [](gid_t gid) { EXPECT_EQ(0, setegid(gid)); });
  /external/syslinux/gpxe/src/include/gpxe/
infiniband.h 87 /** GID is present */
89 /** GID, if present */
90 struct ib_gid gid; member in struct:ib_address_vector
123 /** An Infiniband multicast GID */
127 /** Multicast GID */
128 struct ib_gid gid; member in struct:ib_multicast_gid
335 * @v gid Multicast GID
340 struct ib_gid *gid );
345 * @v gid Multicast GI
407 struct ib_gid gid; member in struct:ib_device
    [all...]
  /build/make/tools/fs_config/
fs_config.c 32 // filename along with its desired uid, gid, and mode (in octal).
134 unsigned uid = 0, gid = 0, mode = 0; local
136 fs_config(buffer, is_dir, product_out_path, &uid, &gid, &mode, &capabilities);
141 printf("%s %d %d %o", buffer, uid, gid, mode);
  /external/squashfs-tools/squashfs-tools/
android.c 50 unsigned int uid = 0, gid = 0, mode = 0; local
53 &uid, &gid, &mode, capabilities);
55 stat->st_gid = gid;
  /bionic/libc/kernel/uapi/linux/
ipc.h 26 __kernel_gid_t gid; member in struct:__kernel_legacy_ipc_perm

Completed in 524 milliseconds

1 2 3 45 6 7 8 91011>>