Home
last modified time | relevance | path

Searched refs:ngroups (Results 1 – 24 of 24) sorted by relevance

/external/openssh/
Dgroupaccess.c42 static int ngroups; variable
60 if (ngroups > 0) in ga_init()
63 ngroups = NGROUPS_MAX; in ga_init()
65 ngroups = MAX(NGROUPS_MAX, sysconf(_SC_NGROUPS_MAX)); in ga_init()
68 groups_bygid = xcalloc(ngroups, sizeof(*groups_bygid)); in ga_init()
69 groups_byname = xcalloc(ngroups, sizeof(*groups_byname)); in ga_init()
71 if (getgrouplist(user, base, groups_bygid, &ngroups) == -1) in ga_init()
73 for (i = 0, j = 0; i < ngroups; i++) in ga_init()
77 return (ngroups = j); in ga_init()
90 for (i = 0; i < ngroups; i++) in ga_match()
[all …]
/external/openssh/openbsd-compat/
Dgetgrouplist.c49 int i, ngroups; in getgrouplist() local
54 ngroups = 0; in getgrouplist()
60 if (ngroups >= maxgroups) { in getgrouplist()
61 *grpcnt = ngroups; in getgrouplist()
64 groups[ngroups++] = agroup; in getgrouplist()
73 for (bail = 0, i = 0; bail == 0 && i < ngroups; i++) in getgrouplist()
80 if (ngroups >= maxgroups) { in getgrouplist()
84 groups[ngroups++] = grp->gr_gid; in getgrouplist()
91 *grpcnt = ngroups; in getgrouplist()
Dport-aix.c436 int ret = 0, ngroups = 0, maxgroups; in getgrouplist() local
451 groups[ngroups++] = pgid; in getgrouplist()
456 if (ngroups >= maxgroups || l == LONG_MIN || l == LONG_MAX) { in getgrouplist()
463 groups[ngroups++] = gid; in getgrouplist()
467 *grpcnt = ngroups; in getgrouplist()
/external/strace/tests/
Duid.awk35 ngroups = a[1]
36 if (ngroups == "0")
38 else if (ngroups == "1")
41 list=r_uint "(, " r_uint "){" (ngroups - 1) "}"
43 regexp = "^getgroups" suffix "\\(" ngroups ", \\[" list "\\]\\)[[:space:]]+= " ngroups "$"
/external/toybox/toys/posix/
Did.c86 int flags, i, ngroups; in do_id() local
130 ngroups = username ? getgrouplist(username, gid, groups, &i) in do_id()
132 if (ngroups<0) perror_exit(0); in do_id()
135 for (i = 0; i<ngroups; i++) { in do_id()
/external/tcpdump/
Dprint-igmp.c156 u_int group, nsrcs, ngroups; in print_igmpv3_report() local
165 ngroups = EXTRACT_16BITS(&bp[6]); in print_igmpv3_report()
166 (void)printf(", %d group record(s)", ngroups); in print_igmpv3_report()
170 for (i=0; i<ngroups; i++) { in print_igmpv3_report()
Dprint-pim.c124 int ngroups, njoin, nprune; in pimv1_join_prune_print() local
165 ngroups = bp[3]; in pimv1_join_prune_print()
168 while (ngroups--) { in pimv1_join_prune_print()
Dprint-icmp6.c840 u_int group, nsrcs, ngroups; in mldv2_report_print() local
850 ngroups = EXTRACT_16BITS(&icp->icmp6_data16[1]); in mldv2_report_print()
851 printf(", %d group record(s)", ngroups); in mldv2_report_print()
855 for (i = 0; i < ngroups; i++) { in mldv2_report_print()
/external/elfutils/src/libasm/
Dasm_newscngrp.c92 if (ctx->ngroups == 0)
102 ++ctx->ngroups;
Dasm_begin.c123 result->ngroups = 0; in prepare_binary_output()
DlibasmP.h171 size_t ngroups; member
/external/llvm/test/CodeGen/R600/
Dwork-item-intrinsics.ll15 %0 = call i32 @llvm.r600.read.ngroups.x() #0
30 %0 = call i32 @llvm.r600.read.ngroups.y() #0
45 %0 = call i32 @llvm.r600.read.ngroups.z() #0
216 declare i32 @llvm.r600.read.ngroups.x() #0
217 declare i32 @llvm.r600.read.ngroups.y() #0
218 declare i32 @llvm.r600.read.ngroups.z() #0
/external/jpeg/
Djdmainct.c479 int ci, rgroup, ngroups; in jinit_d_main_controller() local
498 ngroups = cinfo->min_DCT_scaled_size + 2; in jinit_d_main_controller()
500 ngroups = cinfo->min_DCT_scaled_size; in jinit_d_main_controller()
510 (JDIMENSION) (rgroup * ngroups)); in jinit_d_main_controller()
/external/pdfium/core/src/fxcodec/libjpeg/
Dfpdfapi_jdmainct.c480 int ci, rgroup, ngroups; in jinit_d_main_controller() local
499 ngroups = cinfo->min_DCT_scaled_size + 2; in jinit_d_main_controller()
501 ngroups = cinfo->min_DCT_scaled_size; in jinit_d_main_controller()
511 (JDIMENSION) (rgroup * ngroups)); in jinit_d_main_controller()
/external/ppp/pppd/
Dmain.c203 int ngroups; /* How many groups valid in groups */ variable
344 ngroups = getgroups(NGROUPS_MAX, groups);
Dpppd.h232 extern int ngroups; /* How many groups valid in groups */
Doptions.c1126 for (i = 0; i < ngroups; ++i)
Dauth.c486 for (i = 0; i < ngroups; ++i) {
/external/regex-re2/re2/
Dparse.cc1407 UGroup *groups, int ngroups) { in LookupGroup() argument
1409 for (int i = 0; i < ngroups; i++) in LookupGroup()
/external/elfutils/src/src/
Dreadelf.c8633 size_t ngroups = 1; in handle_core_items() local
8637 groups[ngroups++] = &sorted_items[i]; in handle_core_items()
8638 qsort (groups, ngroups, sizeof groups[0], &compare_core_item_groups); in handle_core_items()
8644 for (size_t i = 0; i < ngroups; ++i) in handle_core_items()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.osgi_3.6.2.R36x_v20101103.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.osgi_3.6.1.R36x_v20100806.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...