Searched refs:groups (Results 1 - 25 of 252) sorted by relevance

1234567891011

/netbsd-current/external/mit/libuv/dist/tools/
H A Dmake_dist_html.py36 <table>{groups}</table>
43 <td>{groups[0]}</td>
44 <td>{groups[1]}</td>
45 <td>{groups[2]}</td>
46 <td>{groups[3]}</td>
85 return list(map(int, re.match('^v(\d+)\.(\d+)\.(\d+)', tag).groups()))
104 # Partition in groups of |n|.
105 def groups_for(groups, n=4):
107 groups = groups[
118 groups = [group_for(list(g)) for _, g in itertools.groupby(tags, major_minor)] variable
119 groups = groups_for(groups) variable
[all...]
/netbsd-current/lib/libc/gen/
H A Dinitgroups.c59 gid_t *groups = groups_list; local
65 if (getgrouplist(uname, agroup, groups, &ngroups) == -1) {
67 groups = calloc((size_t)maxgroups, sizeof *groups);
68 if (groups == NULL)
70 if (getgrouplist(uname, agroup, groups, &ngroups) == -1)
73 rval = setgroups(ngroups, groups);
77 rval = setgroups(ng, groups);
79 if (groups != groups_list)
80 free(groups);
[all...]
H A Dgetgrouplist.c58 getgrouplist(const char *uname, gid_t agroup, gid_t *groups, int *grpcnt)
63 /* groups may be NULL if just sizing when invoked with *grpcnt = 0 */
67 rv = getgroupmembership(uname, agroup, groups, *grpcnt, &groupc);
68 *grpcnt = groupc; /* set groupc to the actual # of groups */
H A Dgetgroupmembership.c69 * Add gid to the groups array (of maxgrp size) at the position
71 * past &groups[maxgrp].
75 __gr_addgid(gid_t gid, gid_t *groups, int maxgrp, int *groupc) argument
80 _DIAGASSERT(groups != NULL);
84 if (groups[dupc] == gid)
90 groups[*groupc] = gid;
105 gid_t *groups = va_arg(ap, gid_t *); local
116 /* groups may be NULL if just sizing when invoked with maxgrp = 0 */
120 (void) __gr_addgid(agroup, groups, maxgrp, groupc);
129 if (! __gr_addgid(grp.gr_gid, groups, maxgr
148 gid_t *groups = va_arg(ap, gid_t *); local
241 gid_t *groups = va_arg(ap, gid_t *); local
282 gid_t *groups; member in struct:__compatggm
323 gid_t *groups = va_arg(ap, gid_t *); local
370 getgroupmembership(const char *uname, gid_t agroup, gid_t *groups, int maxgrp, int *groupc) argument
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.python/
H A Dpy-arch-reg-groups.exp33 # groups.
34 set groups {}
41 lappend groups $expect_out(1,string)
47 gdb_assert {[llength $groups] > 0} \
56 "python groups = list (arch.register_groups ())" \
57 "get register groups" 0
59 "python groups = map (lambda obj: obj.name, groups)" \
60 "convert groups to names" 0
63 gdb_test_multiple "python print (\"\\n\".join (groups))" \
[all...]
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.python/
H A Dpy-arch-reg-groups.exp33 # groups.
34 set groups {}
41 lappend groups $expect_out(1,string)
47 gdb_assert {[llength $groups] > 0} \
56 "python groups = list (arch.register_groups ())" \
57 "get register groups" 0
59 "python groups = map (lambda obj: obj.name, groups)" \
60 "convert groups to names" 0
63 gdb_test_multiple "python print (\"\\n\".join (groups))" \
[all...]
/netbsd-current/external/bsd/openpam/dist/lib/libpam/
H A Dopenpam_cred.h48 gid_t groups[NGROUPS_MAX]; member in struct:pam_saved_cred
/netbsd-current/usr.bin/id/
H A DMakefile5 MAN= id.1 groups.1 whoami.1
6 LINKS= ${BINDIR}/id ${BINDIR}/groups
/netbsd-current/external/bsd/atf/dist/atf-c/detail/
H A Duser.c51 static gid_t groups[NGROUPS_MAX]; local
57 ngroups = getgroups(NGROUPS_MAX, groups);
63 if (groups[i] == gid)
/netbsd-current/usr.bin/newgrp/
H A Dgrutil.c59 free_groups(void *groups) argument
64 free(groups);
69 alloc_groups(int *ngroups, gid_t **groups, int *ngroupsmax) argument
75 *groups = malloc(*ngroupsmax * sizeof(**groups));
76 if (*groups == NULL)
79 *ngroups = getgroups(*ngroupsmax, *groups);
81 free_groups(*groups);
88 addgid(gid_t *groups, int ngroups, int ngroupsmax, gid_t gid, int makespace) argument
93 for (i = 0; i < ngroups && groups[
142 gid_t *groups; local
212 gid_t *groups; local
[all...]
/netbsd-current/crypto/external/bsd/openssl.old/dist/test/ssl-tests/
H A D30-supported-groups.conf6 test-1 = 1-Pass with empty groups with TLS1.2
32 [1-Pass with empty groups with TLS1.2]
33 ssl_conf = 1-Pass with empty groups with TLS1.2-ssl
35 [1-Pass with empty groups with TLS1.2-ssl]
36 server = 1-Pass with empty groups with TLS1.2-server
37 client = 1-Pass with empty groups with TLS1.2-client
39 [1-Pass with empty groups with TLS1.2-server]
44 [1-Pass with empty groups with TLS1.2-client]
/netbsd-current/external/gpl3/gdb.old/dist/gdb/
H A Dreggroups.c31 /* Individual register groups. */
77 /* A linked list of groups for the given architecture. */
96 struct reggroups *groups = OBSTACK_ZALLOC (obstack, struct reggroups); local
98 groups->last = &groups->first;
99 return groups;
106 add_group (struct reggroups *groups, struct reggroup *group, argument
112 (*groups->last) = el;
113 groups->last = &el->next;
119 struct reggroups *groups local
135 struct reggroups *groups; local
166 struct reggroups *groups; local
[all...]
/netbsd-current/external/gpl3/gdb/dist/gdb/
H A Dreggroups.c50 /* A container holding all the register groups for a particular
57 /* Add the default groups. */
69 /* Add GROUP to the list of register groups. */
85 /* The number of register groups. */
93 /* Return a reference to the list of all groups. */
96 groups () const function in struct:reggroups
102 /* The register groups. */
115 struct reggroups *groups = reggroups_data.get (gdbarch); local
116 if (groups == nullptr)
117 groups
126 struct reggroups *groups = get_reggroups (gdbarch); local
138 struct reggroups *groups = get_reggroups (gdbarch); local
[all...]
/netbsd-current/external/bsd/ntp/dist/sntp/libevent/test/
H A Dtinytest.c89 static void usage(struct testgroup_t *groups, int list_groups)
91 static int process_test_option(struct testgroup_t *groups, const char *test);
280 tinytest_set_flag_(struct testgroup_t *groups, const char *arg, int set, unsigned long flag) argument
288 for (i=0; groups[i].prefix; ++i) {
289 for (j=0; groups[i].cases[j].name; ++j) {
290 struct testcase_t *testcase = &groups[i].cases[j];
292 groups[i].prefix, testcase->name);
315 usage(struct testgroup_t *groups, int list_groups) argument
324 tinytest_set_flag_(groups, "..", 1, 0);
330 process_test_alias(struct testgroup_t *groups, cons argument
350 process_test_option(struct testgroup_t *groups, const char *test) argument
383 tinytest_main(int c, const char **v, struct testgroup_t *groups) argument
[all...]
H A Dtinytest.h89 /** Set all tests in 'groups' matching the name 'named' to be skipped. */
90 #define tinytest_skip(groups, named) \
91 tinytest_set_flag_(groups, named, 1, TT_SKIP)
98 /** Run a set of testcases from an END_OF_GROUPS-terminated array of groups,
100 int tinytest_main(int argc, const char **argv, struct testgroup_t *groups);
/netbsd-current/external/bsd/libevent/dist/test/
H A Dtinytest.h91 /** Set all tests in 'groups' matching the name 'named' to be skipped. */
92 #define tinytest_skip(groups, named) \
93 tinytest_set_flag_(groups, named, 1, TT_SKIP)
100 /** Run a set of testcases from an END_OF_GROUPS-terminated array of groups,
102 int tinytest_main(int argc, const char **argv, struct testgroup_t *groups);
/netbsd-current/external/gpl2/diffutils/dist/src/
H A Difdef.c97 struct group groups[2]; local
99 groups[0].file = &files[0];
100 groups[0].from = beg0;
101 groups[0].upto = end0;
102 groups[1].file = &files[1];
103 groups[1].from = beg1;
104 groups[1].upto = end1;
105 format_group (outfile, format, 0, groups);
116 struct group const *groups)
150 value[i] = groups_letter_value (groups, *
115 format_group(register FILE *out, char const *format, char endchar, struct group const *groups) argument
301 do_printf_spec(FILE *out, char const *spec, struct file_data const *file, lin n, struct group const *groups) argument
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/ld/testsuite/ld-elf/
H A Dgroup11.d6 There are no section groups in this file.
H A Dgroup12.d6 There are no section groups in this file.
/netbsd-current/external/mpl/bind/dist/doc/misc/
H A Dcheckgrammar.py72 Return groups of Statement tuples with identical grammars and flags.
79 groups = []
82 groups.append(list(group)) # Store group iterator as a list
83 return groups
88 Return map {statement name: [groups of [Statement]s with identical grammar].
98 groups = groupby_grammar(grammars)
99 out[statement_name] = groups
155 for statementname, groups in diff_statements(grammar, places).items():
156 if len(groups) > 1:
158 for group in groups
[all...]
/netbsd-current/external/bsd/tre/dist/python/
H A Dexample.py19 print m.groups()
/netbsd-current/external/gpl2/xcvs/dist/diff/
H A Difdef.c98 struct group groups[2]; local
100 groups[0].file = &files[0];
101 groups[0].from = beg0;
102 groups[0].upto = end0;
103 groups[1].file = &files[1];
104 groups[1].from = beg1;
105 groups[1].upto = end1;
106 format_group (1, format, '\0', groups);
116 format_group (doit, format, endchar, groups)
120 struct group const *groups;
[all...]
/netbsd-current/usr.sbin/ypserv/revnetgroup/
H A Dhash.h46 struct grouplist *groups; member in struct:member_entry
/netbsd-current/sys/miscfs/umapfs/
H A Dumap_subr.c140 gid_t groups[NGROUPS]; local
173 /* Now we must map each of the set of groups in the cr_groups
179 groups[i] = kauth_cred_group(credp, i);
180 gid = (gid_t) umap_findid(groups[i],
183 groups[i] = gid;
185 groups[i] = NULLGROUP;
188 kauth_cred_setgroups(credp, groups, ngroups, -1, UIO_SYSSPACE);
/netbsd-current/lib/librpcsvc/
H A Dmount.x121 typedef struct groupnode *groups;
124 groups gr_next;
133 groups ex_groups;

Completed in 626 milliseconds

1234567891011