HomeSort by relevance Sort by last modified time
    Searched refs:ngroups (Results 1 - 25 of 45) sorted by null

1 2

  /external/strace/tests/
getgroups.c 62 static long ngroups; variable
68 if (i != ngroups)
72 for (i = 0; i < ngroups; ++i) {
81 printf("]) = %ld\n", ngroups);
90 ngroups = syscall(SYSCALL_NR, 0, 0);
91 printf("%s(0, NULL) = %ld\n", SYSCALL_NAME, ngroups);
92 if (ngroups < 0)
114 tail_alloc(ngroups ? sizeof(*g1) * ngroups : 1);
115 GID_TYPE *const g2 = tail_alloc(sizeof(*g2) * (ngroups + 1))
    [all...]
  /external/strace/tests-m32/
getgroups.c 62 static long ngroups; variable
68 if (i != ngroups)
72 for (i = 0; i < ngroups; ++i) {
81 printf("]) = %ld\n", ngroups);
90 ngroups = syscall(SYSCALL_NR, 0, 0);
91 printf("%s(0, NULL) = %ld\n", SYSCALL_NAME, ngroups);
92 if (ngroups < 0)
114 tail_alloc(ngroups ? sizeof(*g1) * ngroups : 1);
115 GID_TYPE *const g2 = tail_alloc(sizeof(*g2) * (ngroups + 1))
    [all...]
  /external/strace/tests-mx32/
getgroups.c 62 static long ngroups; variable
68 if (i != ngroups)
72 for (i = 0; i < ngroups; ++i) {
81 printf("]) = %ld\n", ngroups);
90 ngroups = syscall(SYSCALL_NR, 0, 0);
91 printf("%s(0, NULL) = %ld\n", SYSCALL_NAME, ngroups);
92 if (ngroups < 0)
114 tail_alloc(ngroups ? sizeof(*g1) * ngroups : 1);
115 GID_TYPE *const g2 = tail_alloc(sizeof(*g2) * (ngroups + 1))
    [all...]
  /external/ltp/testcases/kernel/syscalls/getgroups/
getgroups03.c 50 static int ngroups; variable
51 static GID_T groups_list[NGROUPS];
52 static GID_T groups[NGROUPS];
61 int gidsetsize = NGROUPS;
91 static int readgroups(GID_T groups[NGROUPS])
142 ngroups = readgroups(groups);
149 if (SETGROUPS(cleanup, ngroups, groups) == -1)
175 for (j = 0; j < ngroups; j++) {
178 if (j == ngroups - 1) {
194 for (i = 0; i < ngroups; i++)
    [all...]
  /libcore/ojluni/src/main/java/java/lang/
ThreadGroup.java 75 int ngroups; field in class:ThreadGroup
283 ngroupsSnapshot = ngroups;
358 ngroupsSnapshot = ngroups;
453 ngroupsSnapshot = ngroups;
491 ngroupsSnapshot = ngroups;
577 int ng = ngroups;
586 ngroupsSnapshot = ngroups;
652 ngroupsSnapshot = ngroups;
714 ngroupsSnapshot = ngroups;
756 ngroupsSnapshot = ngroups;
    [all...]
  /prebuilts/go/darwin-x86/src/os/user/
getgrouplist_darwin.go 12 static int mygetgrouplist(const char* user, gid_t group, gid_t* groups, int* ngroups) {
13 int* buf = malloc(*ngroups * sizeof(int));
14 int rv = getgrouplist(user, (int) group, buf, ngroups);
17 for (i = 0; i < *ngroups; i++) {
getgrouplist_unix.go 14 static int mygetgrouplist(const char* user, gid_t group, gid_t* groups, int* ngroups) {
15 return getgrouplist(user, group, groups, ngroups);
  /prebuilts/go/linux-x86/src/os/user/
getgrouplist_darwin.go 12 static int mygetgrouplist(const char* user, gid_t group, gid_t* groups, int* ngroups) {
13 int* buf = malloc(*ngroups * sizeof(int));
14 int rv = getgrouplist(user, (int) group, buf, ngroups);
17 for (i = 0; i < *ngroups; i++) {
getgrouplist_unix.go 14 static int mygetgrouplist(const char* user, gid_t group, gid_t* groups, int* ngroups) {
15 return getgrouplist(user, group, groups, ngroups);
  /system/extras/runconuid/
runconuid.cpp 49 static size_t ngroups = 0; variable
71 if (ngroups && setgroups(ngroups, groups) < 0) {
125 ngroups++;
131 ngroups++;
134 groups = (gid_t*)calloc(ngroups, sizeof(gid_t));
138 for (size_t n = 0; n < ngroups; n++) {
  /external/elfutils/libasm/
asm_newscngrp.c 89 if (ctx->ngroups == 0)
99 ++ctx->ngroups;
libasmP.h 171 size_t ngroups; member in struct:AsmCtx
asm_begin.c 123 result->ngroups = 0;
  /external/jemalloc/src/
bitmap.c 81 binfo->ngroups = BITMAP_BITS2GROUPS(nbits);
89 return (binfo->ngroups);
101 bitmap[binfo->ngroups - 1] >>= extra;
  /external/toybox/toys/posix/
id.c 87 int flags, i, ngroups; local
131 ngroups = username ? getgrouplist(username, gid, groups, &i)
133 if (ngroups<0) perror_exit(0);
136 for (i = 0; i<ngroups; i++) {
  /external/tcpdump/
print-igmp.c 153 u_int group, nsrcs, ngroups; local
162 ngroups = EXTRACT_16BITS(&bp[6]);
163 ND_PRINT((ndo, ", %d group record(s)", ngroups));
167 for (i=0; i<ngroups; i++) {
  /external/libjpeg-turbo/
jdmainct.c 423 int ci, rgroup, ngroups; local
436 * ngroups is the number of row groups we need.
442 ngroups = cinfo->_min_DCT_scaled_size + 2;
444 ngroups = cinfo->_min_DCT_scaled_size;
454 (JDIMENSION) (rgroup * ngroups));
  /external/e2fsprogs/e2fsck/
readahead.c 141 dgrp_t ngroups)
147 dgrp_t end = start + ngroups;
151 start, ngroups);
  /external/libcap/progs/
capsh.c 415 int status, ngroups; local
423 ngroups = MAX_GROUPS;
424 status = getgrouplist(user, pwd->pw_gid, groups, &ngroups);
429 status = setgroups(ngroups, groups);
  /external/jemalloc/include/jemalloc/internal/
bitmap.h 109 size_t ngroups; member in struct:bitmap_info_s
145 for (i = 0; i < binfo->ngroups; i++) {
  /bionic/libc/bionic/
grp_pwd.cpp 561 int getgrouplist(const char* /*user*/, gid_t group, gid_t* groups, int* ngroups) {
562 if (*ngroups < 1) {
563 *ngroups = 1;
567 return (*ngroups = 1);
  /prebuilts/go/darwin-x86/src/syscall/
exec_bsd.go 147 ngroups := uintptr(len(cred.Groups))
149 if ngroups > 0 {
153 _, _, err1 = RawSyscall(SYS_SETGROUPS, ngroups, groups, 0)
exec_solaris.go 149 ngroups := uintptr(len(cred.Groups))
151 if ngroups > 0 {
155 err1 = setgroups1(ngroups, groups)
  /prebuilts/go/linux-x86/src/syscall/
exec_bsd.go 147 ngroups := uintptr(len(cred.Groups))
149 if ngroups > 0 {
153 _, _, err1 = RawSyscall(SYS_SETGROUPS, ngroups, groups, 0)
exec_solaris.go 149 ngroups := uintptr(len(cred.Groups))
151 if ngroups > 0 {
155 err1 = setgroups1(ngroups, groups)

Completed in 465 milliseconds

1 2