/third_party/ltp/testcases/kernel/syscalls/getgroups/ |
D | getgroups03.c | 50 static int ngroups; variable 142 ngroups = readgroups(groups); in setup() 149 if (SETGROUPS(cleanup, ngroups, groups) == -1) in setup() 175 for (j = 0; j < ngroups; j++) { in verify_groups() 178 if (j == ngroups - 1) { in verify_groups() 194 for (i = 0; i < ngroups; i++) { in verify_groups() 232 ngroups--; in verify_groups() 233 if (ngroups != ret_ngroups) { in verify_groups() 236 "(expected %d)", ret_ngroups, ngroups); in verify_groups()
|
/third_party/libinput/test/ |
D | test-pad.c | 700 int ngroups; in START_TEST() local 703 ngroups = libinput_device_tablet_pad_get_num_mode_groups(device); in START_TEST() 704 ck_assert_int_eq(ngroups, 1); in START_TEST() 706 for (i = 0; i < ngroups; i++) { in START_TEST() 713 group = libinput_device_tablet_pad_get_mode_group(device, ngroups); in START_TEST() 715 group = libinput_device_tablet_pad_get_mode_group(device, ngroups + 1); in START_TEST() 763 int ngroups; in START_TEST() local 766 ngroups = libinput_device_tablet_pad_get_num_mode_groups(device); in START_TEST() 767 ck_assert_int_ge(ngroups, 1); in START_TEST() 784 int ngroups, nbuttons, nrings, nstrips; in START_TEST() local [all …]
|
/third_party/gettext/gettext-runtime/doc/Admin/ |
D | Matrix.java | 173 int ngroups = 0; in main() local 180 ngroups++; in main() 186 ngroups++; in main() 190 int[][] groups = new int[ngroups][]; in main() 207 for (int group = 0; group < ngroups; group++) { in main() 256 if (group == ngroups-1) { in main() 271 if (group == ngroups-1) { in main() 287 if (group == ngroups-1) { in main() 304 if (group == ngroups-1) { in main()
|
/third_party/toybox/toys/posix/ |
D | id.c | 87 int flags, i, ngroups; in do_id() local 131 ngroups = username ? getgrouplist(username, gid, groups, &i) in do_id() 133 if (ngroups<0) perror_exit(0); in do_id() 136 for (i = 0; i<ngroups; i++) { in do_id()
|
/third_party/musl/src/passwd/ |
D | getgrouplist.c | 12 int getgrouplist(const char *user, gid_t gid, gid_t *groups, int *ngroups) in getgrouplist() argument 26 nlim = *ngroups; in getgrouplist() 72 *ngroups = n; in getgrouplist()
|
/third_party/mesa3d/src/freedreno/perfcntrs/ |
D | fdperf.c | 83 unsigned ngroups; member 301 for (unsigned i = 0; i < dev.ngroups; i++) { in resample() 456 for (unsigned i = 0; i < dev.ngroups; i++) { in redraw() 498 for (unsigned i = 0; i < dev.ngroups; i++) { in current_counter() 704 for (unsigned i = 0; i < dev.ngroups; i++) { in restore_counter_groups() 721 for (unsigned i = 0; i < dev.ngroups; i++) { in setup_counter_groups() 763 for (unsigned i = 0; i < dev.ngroups; i++) { in config_save() 806 for (unsigned i = 0; i < dev.ngroups; i++) { in config_restore() 848 groups = fd_perfcntrs(&dev_id, &dev.ngroups); in main() 853 dev.groups = calloc(dev.ngroups, sizeof(struct counter_group)); in main()
|
/third_party/node/src/ |
D | node_credentials.cc | 294 int ngroups = getgroups(0, nullptr); in GetGroups() local 295 if (ngroups == -1) return env->ThrowErrnoException(errno, "getgroups"); in GetGroups() 297 std::vector<gid_t> groups(ngroups); in GetGroups() 299 ngroups = getgroups(ngroups, groups.data()); in GetGroups() 300 if (ngroups == -1) in GetGroups() 303 groups.resize(ngroups); in GetGroups()
|
/third_party/skia/third_party/externals/libjpeg-turbo/ |
D | jdmainct.c | 427 int ci, rgroup, ngroups; in jinit_d_main_controller() local 446 ngroups = cinfo->_min_DCT_scaled_size + 2; in jinit_d_main_controller() 448 ngroups = cinfo->_min_DCT_scaled_size; in jinit_d_main_controller() 458 (JDIMENSION)(rgroup * ngroups)); in jinit_d_main_controller()
|
/third_party/libjpeg-turbo/ |
D | jdmainct.c | 427 int ci, rgroup, ngroups; in jinit_d_main_controller() local 446 ngroups = cinfo->_min_DCT_scaled_size + 2; in jinit_d_main_controller() 448 ngroups = cinfo->_min_DCT_scaled_size; in jinit_d_main_controller() 458 (JDIMENSION)(rgroup * ngroups)); in jinit_d_main_controller()
|
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/ |
D | jdmainct.c | 427 int ci, rgroup, ngroups; in jinit_d_main_controller() local 446 ngroups = cinfo->_min_DCT_scaled_size + 2; in jinit_d_main_controller() 448 ngroups = cinfo->_min_DCT_scaled_size; in jinit_d_main_controller() 458 (JDIMENSION)(rgroup * ngroups)); in jinit_d_main_controller()
|
/third_party/weston/libweston/ |
D | weston-launch.c | 123 read_groups(int *ngroups) in read_groups() argument 147 *ngroups = n; in read_groups() 156 int ngroups; in weston_launch_allowed() local 167 groups = read_groups(&ngroups); in weston_launch_allowed() 168 if (groups && ngroups > 0) { in weston_launch_allowed() 169 while (ngroups--) { in weston_launch_allowed() 170 if (groups[ngroups] == gr->gr_gid) { in weston_launch_allowed()
|
/third_party/e2fsprogs/e2fsck/ |
D | readahead.c | 143 dgrp_t ngroups) in e2fsck_readahead() argument 149 dgrp_t end = start + ngroups; in e2fsck_readahead() 153 start, ngroups); in e2fsck_readahead()
|
D | e2fsck.h | 623 dgrp_t ngroups);
|
/third_party/libinput/tools/ |
D | libinput-list-devices.c | 248 int nbuttons, nrings, nstrips, ngroups, nmodes; in print_pad_info() local 254 ngroups = libinput_device_tablet_pad_get_num_mode_groups(device); in print_pad_info() 263 printf(" Mode groups: %d (%d modes)\n", ngroups, nmodes); in print_pad_info()
|
D | libinput-debug-events.c | 216 int nbuttons, nstrips, nrings, ngroups; in print_device_options() local 221 ngroups = libinput_device_tablet_pad_get_num_mode_groups(dev); in print_device_options() 227 ngroups); in print_device_options()
|
/third_party/openssl/apps/ |
D | s_cb.c | 345 int i, ngroups, *groups, nid; in ssl_print_groups() local 348 ngroups = SSL_get1_groups(s, NULL); in ssl_print_groups() 349 if (ngroups <= 0) in ssl_print_groups() 351 groups = app_malloc(ngroups * sizeof(int), "groups to print"); in ssl_print_groups() 355 for (i = 0; i < ngroups; i++) { in ssl_print_groups() 377 ngroups = SSL_get_shared_group(s, -1); in ssl_print_groups() 378 for (i = 0; i < ngroups; i++) { in ssl_print_groups() 388 if (ngroups == 0) in ssl_print_groups()
|
/third_party/openssl/ssl/ |
D | t1_lib.c | 339 int *groups, size_t ngroups) in tls1_set_groups() argument 349 if (ngroups == 0) { in tls1_set_groups() 353 if ((glist = OPENSSL_malloc(ngroups * sizeof(*glist))) == NULL) { in tls1_set_groups() 357 for (i = 0; i < ngroups; i++) { in tls1_set_groups() 372 *pextlen = ngroups; in tls1_set_groups()
|
/third_party/python/Modules/ |
D | posixmodule.c | 7469 int i, ngroups; in os_getgrouplist_impl() local 7485 ngroups = 1 + MAX_GROUPS; in os_getgrouplist_impl() 7489 groups = PyMem_New(int, ngroups); in os_getgrouplist_impl() 7491 groups = PyMem_New(gid_t, ngroups); in os_getgrouplist_impl() 7497 int old_ngroups = ngroups; in os_getgrouplist_impl() 7498 if (getgrouplist(user, basegid, groups, &ngroups) != -1) { in os_getgrouplist_impl() 7506 if (ngroups > old_ngroups) { in os_getgrouplist_impl() 7513 if (ngroups > INT_MAX / 2) { in os_getgrouplist_impl() 7516 ngroups *= 2; in os_getgrouplist_impl() 7524 __msan_unpoison(&ngroups, sizeof(ngroups)); in os_getgrouplist_impl() [all …]
|
/third_party/re2/re2/ |
D | parse.cc | 1622 const UGroup *groups, int ngroups) { in LookupGroup() argument 1624 for (int i = 0; i < ngroups; i++) in LookupGroup()
|
/third_party/lwip/src/netif/ppp/ |
D | auth.c | 490 for (i = 0; i < ngroups; ++i) {
|
/third_party/python/Misc/NEWS.d/ |
D | 3.9.0a6.rst | 728 glibc implementation of ``getgrouplist()`` sets ``ngroups`` to the total
|
/third_party/mesa3d/src/imgui/ |
D | imstb_truetype.h | 1527 stbtt_uint32 ngroups = ttULONG(data+index_map+12); in stbtt_FindGlyphIndex() local 1529 low = 0; high = (stbtt_int32)ngroups; in stbtt_FindGlyphIndex()
|
/third_party/skia/third_party/externals/imgui/ |
D | imstb_truetype.h | 1527 stbtt_uint32 ngroups = ttULONG(data+index_map+12); in stbtt_FindGlyphIndex() local 1529 low = 0; high = (stbtt_int32)ngroups; in stbtt_FindGlyphIndex()
|
/third_party/flutter/skia/third_party/externals/imgui/ |
D | imstb_truetype.h | 1511 stbtt_uint32 ngroups = ttULONG(data+index_map+12); in stbtt_FindGlyphIndex() local 1513 low = 0; high = (stbtt_int32)ngroups; in stbtt_FindGlyphIndex()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/build/Fuchsia/include/llvm/IR/ |
D | Intrinsics.gen | 4201 r600_read_ngroups_x, // llvm.r600.read.ngroups.x 4202 r600_read_ngroups_y, // llvm.r600.read.ngroups.y 4203 r600_read_ngroups_z, // llvm.r600.read.ngroups.z 10259 "llvm.r600.read.ngroups.x", 10260 "llvm.r600.read.ngroups.y", 10261 "llvm.r600.read.ngroups.z", 18199 1, // llvm.r600.read.ngroups.x 18200 1, // llvm.r600.read.ngroups.y 18201 1, // llvm.r600.read.ngroups.z
|