/external/openssh/ |
groupaccess.c | 41 static int ngroups; variable 58 if (ngroups > 0) 61 ngroups = NGROUPS_MAX; 63 ngroups = MAX(NGROUPS_MAX, sysconf(_SC_NGROUPS_MAX)); 66 groups_bygid = xcalloc(ngroups, sizeof(*groups_bygid)); 67 groups_byname = xcalloc(ngroups, sizeof(*groups_byname)); 69 if (getgrouplist(user, base, groups_bygid, &ngroups) == -1) 71 for (i = 0, j = 0; i < ngroups; i++) 75 return (ngroups = j); 88 for (i = 0; i < ngroups; i++ [all...] |
/external/openssh/openbsd-compat/ |
getgrouplist.c | 49 int i, ngroups; local 54 ngroups = 0; 60 if (ngroups >= maxgroups) { 61 *grpcnt = ngroups; 64 groups[ngroups++] = agroup; 73 for (bail = 0, i = 0; bail == 0 && i < ngroups; i++) 80 if (ngroups >= maxgroups) { 84 groups[ngroups++] = grp->gr_gid; 91 *grpcnt = ngroups;
|
bsd-nextstep.h | 34 /* NGROUPS_MAX is behind -lposix. Use the BSD version which is NGROUPS */ 36 #define NGROUPS_MAX NGROUPS
|
port-aix.c | 438 int ret = 0, ngroups = 0, maxgroups; local 453 groups[ngroups++] = pgid; 458 if (ngroups >= maxgroups || l == LONG_MIN || l == LONG_MAX) { 465 groups[ngroups++] = gid; 469 *grpcnt = ngroups;
|
/external/harfbuzz_ng/src/hb-icu-le/ |
cmaps.cpp | 94 return new CMAPGroupMapper(cmap, encoding->groups, SWAPL(encoding->nGroups)); 164 CMAPGroupMapper::CMAPGroupMapper(const CMAPTable *cmap, const CMAPGroup *groups, le_uint32 nGroups) 167 le_uint8 bit = highBit(nGroups); 169 fRangeOffset = nGroups - fPower;
|
cmaps.h | 60 CMAPGroupMapper(const CMAPTable *cmap, const CMAPGroup *groups, le_uint32 nGroups);
|
sfnt.h | 212 le_uint32 nGroups; 221 le_uint32 nGroups; 251 le_uint32 nGroups; 259 le_uint32 nGroups;
|
/external/icu4c/samples/layout/ |
cmaps.cpp | 100 return new CMAPGroupMapper(cmap, encoding->groups, SWAPL(encoding->nGroups)); 170 CMAPGroupMapper::CMAPGroupMapper(const CMAPTable *cmap, const CMAPGroup *groups, le_uint32 nGroups) 173 le_uint8 bit = highBit(nGroups); 175 fRangeOffset = nGroups - fPower;
|
sfnt.h | 121 le_uint32 nGroups; 134 le_uint32 nGroups;
|
cmaps.h | 62 CMAPGroupMapper(const CMAPTable *cmap, const CMAPGroup *groups, le_uint32 nGroups);
|
/external/icu4c/test/letest/ |
cmaps.cpp | 94 return new CMAPGroupMapper(cmap, encoding->groups, SWAPL(encoding->nGroups)); 164 CMAPGroupMapper::CMAPGroupMapper(const CMAPTable *cmap, const CMAPGroup *groups, le_uint32 nGroups) 167 le_uint8 bit = highBit(nGroups); 169 fRangeOffset = nGroups - fPower;
|
cmaps.h | 58 CMAPGroupMapper(const CMAPTable *cmap, const CMAPGroup *groups, le_uint32 nGroups);
|
sfnt.h | 209 le_uint32 nGroups; 218 le_uint32 nGroups; 248 le_uint32 nGroups; 256 le_uint32 nGroups;
|
/external/bzip2/ |
compress.c | 25 0.9.0c -- changed setting of nGroups in sendMTFValues() 243 Int32 nGroups, nBytes; 273 if (s->nMTF < 200) nGroups = 2; else 274 if (s->nMTF < 600) nGroups = 3; else 275 if (s->nMTF < 1200) nGroups = 4; else 276 if (s->nMTF < 2400) nGroups = 5; else 277 nGroups = 6; 283 nPart = nGroups; 296 && nPart != nGroups && nPart != 1 297 && ((nGroups-nPart) % 2 == 1)) [all...] |
decompress.c | 118 Int32 nGroups; 172 nGroups = s->save_nGroups; 287 GET_BITS(BZ_X_SELECTOR_1, nGroups, 3); 288 if (nGroups < 2 || nGroups > 6) RETURN(BZ_DATA_ERROR); 297 if (j >= nGroups) RETURN(BZ_DATA_ERROR); 305 for (v = 0; v < nGroups; v++) pos[v] = v; 317 for (t = 0; t < nGroups; t++) { 332 for (t = 0; t < nGroups; t++) { 619 s->save_nGroups = nGroups; [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/sys/ |
param.h | 29 #ifndef NGROUPS 30 # define NGROUPS NGROUPS_MAX
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sys/ |
param.h | 29 #ifndef NGROUPS 30 # define NGROUPS NGROUPS_MAX
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sys/ |
param.h | 29 #ifndef NGROUPS 30 # define NGROUPS NGROUPS_MAX
|
/external/elfutils/libasm/ |
asm_newscngrp.c | 89 if (ctx->ngroups == 0) 99 ++ctx->ngroups;
|
/system/extras/tests/bionic/libc/bionic/ |
test_getgrouplist.c | 47 fprintf(stderr, "getgrouplist() returned %d (expecting 1), ngroups=%d\n",
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/ |
grp.h | 180 /* Store at most *NGROUPS members of the group set for USER into 182 returned in *NGROUPS. Return -1 if the if *NGROUPS is too small.
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/ |
grp.h | 180 /* Store at most *NGROUPS members of the group set for USER into 182 returned in *NGROUPS. Return -1 if the if *NGROUPS is too small.
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/ |
grp.h | 180 /* Store at most *NGROUPS members of the group set for USER into 182 returned in *NGROUPS. Return -1 if the if *NGROUPS is too small.
|
/external/tcpdump/ |
print-igmp.c | 156 u_int group, nsrcs, ngroups; local 165 ngroups = EXTRACT_16BITS(&bp[6]); 166 (void)printf(", %d group record(s)", ngroups); 170 for (i=0; i<ngroups; i++) {
|
/bionic/libc/bionic/ |
stubs.cpp | 372 int getgrouplist(const char* /*user*/, gid_t group, gid_t* groups, int* ngroups) { 373 if (*ngroups < 1) { 374 *ngroups = 1; 378 return (*ngroups = 1);
|