Home
last modified time | relevance | path

Searched refs:num_groups (Results 1 – 25 of 51) sorted by relevance

123

/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_auth_authunix_create/
Drpc_authunix_create.c63 int num_groups; in main() local
69 num_groups = getgroups(NGROUPS_MAX, groups); in main()
70 if (num_groups == -1) { in main()
81 authUnx = authunix_create(hostname, uid, gid, num_groups, aup_gids); in main()
/third_party/ltp/testcases/kernel/sched/cfs-scheduler/
Dhackbench.c295 unsigned int i, j, num_groups = 10, total_children; in main() local
308 if (argc >= 2 && (num_groups = atoi(argv[1])) == 0) in main()
312 num_groups, num_groups * 40); in main()
328 pth_tab = malloc(num_fds * 2 * num_groups * sizeof(pthread_t)); in main()
329 snd_ctx_tab = malloc(num_groups * sizeof(void *)); in main()
330 rev_ctx_tab = malloc(num_groups * num_fds * sizeof(void *)); in main()
338 for (i = 0; i < num_groups; i++) in main()
365 for (i = 0; i < num_groups; i++) { in main()
/third_party/libxkbcommon/src/xkbcomp/
Dkeymap.c140 for (group = 0; group < key->num_groups; group++) { in ApplyInterpsToKey()
206 for (i = 0; i < key->num_groups; i++) in UpdateDerivedKeymapFields()
217 keymap->num_groups = MAX(keymap->num_groups, key->num_groups); in UpdateDerivedKeymapFields()
Dkeymap-dump.c504 for (group = 0; group < key->num_groups; group++) { in write_key()
517 for (group = 0; group < key->num_groups; group++) { in write_key()
562 if (key->num_groups > 1 || show_actions) in write_key()
574 for (group = 0; group < key->num_groups; group++) { in write_key()
622 if (key->num_groups > 0) in write_symbols()
/third_party/skia/third_party/externals/freetype/src/sfnt/
Dttcmap.c1809 FT_UInt32 num_groups; in FT_CALLBACK_DEF() local
1821 num_groups = TT_NEXT_ULONG( p ); in FT_CALLBACK_DEF()
1824 if ( num_groups > (FT_UInt32)( valid->limit - p ) / 12 ) in FT_CALLBACK_DEF()
1832 for ( n = 0; n < num_groups; n++ ) in FT_CALLBACK_DEF()
1909 FT_UInt32 num_groups = TT_NEXT_ULONG( p ); in tt_cmap8_char_index() local
1913 for ( ; num_groups > 0; num_groups-- ) in tt_cmap8_char_index()
1945 FT_UInt32 num_groups = TT_NEXT_ULONG( p ); in tt_cmap8_char_next() local
1956 for ( ; num_groups > 0; num_groups-- ) in tt_cmap8_char_next()
2250 FT_ULong num_groups; member
2262 cmap->num_groups = FT_PEEK_ULONG( table ); in tt_cmap12_init()
[all …]
/third_party/freetype/src/sfnt/
Dttcmap.c1799 FT_UInt32 num_groups; in FT_CALLBACK_DEF() local
1811 num_groups = TT_NEXT_ULONG( p ); in FT_CALLBACK_DEF()
1814 if ( num_groups > (FT_UInt32)( valid->limit - p ) / 12 ) in FT_CALLBACK_DEF()
1822 for ( n = 0; n < num_groups; n++ ) in FT_CALLBACK_DEF()
1899 FT_UInt32 num_groups = TT_NEXT_ULONG( p ); in tt_cmap8_char_index() local
1903 for ( ; num_groups > 0; num_groups-- ) in tt_cmap8_char_index()
1935 FT_UInt32 num_groups = TT_NEXT_ULONG( p ); in tt_cmap8_char_next() local
1946 for ( ; num_groups > 0; num_groups-- ) in tt_cmap8_char_next()
2240 FT_ULong num_groups; member
2252 cmap->num_groups = FT_PEEK_ULONG( table ); in tt_cmap12_init()
[all …]
/third_party/flutter/skia/third_party/externals/freetype/src/sfnt/
Dttcmap.c1800 FT_UInt32 num_groups; in FT_CALLBACK_DEF() local
1812 num_groups = TT_NEXT_ULONG( p ); in FT_CALLBACK_DEF()
1815 if ( num_groups > (FT_UInt32)( valid->limit - p ) / 12 ) in FT_CALLBACK_DEF()
1823 for ( n = 0; n < num_groups; n++ ) in FT_CALLBACK_DEF()
1900 FT_UInt32 num_groups = TT_NEXT_ULONG( p ); in tt_cmap8_char_index() local
1904 for ( ; num_groups > 0; num_groups-- ) in tt_cmap8_char_index()
1936 FT_UInt32 num_groups = TT_NEXT_ULONG( p ); in tt_cmap8_char_next() local
1947 for ( ; num_groups > 0; num_groups-- ) in tt_cmap8_char_next()
2241 FT_ULong num_groups; member
2253 cmap->num_groups = FT_PEEK_ULONG( table ); in tt_cmap12_init()
[all …]
/third_party/uboot/u-boot-2020.01/drivers/pinctrl/meson/
Dpinctrl-meson.h21 unsigned int num_groups; member
31 unsigned int num_groups; member
110 .num_groups = ARRAY_SIZE(fn ## _groups), \
Dpinctrl-meson-gx-pmx.c22 for (i = 0; i < priv->data->num_groups; i++) { in meson_gx_pinmux_disable_other_groups()
89 for (i = 0; i < priv->data->num_groups; i++) { in meson_gx_pinmux_get()
/third_party/flutter/skia/third_party/externals/sdl/src/video/x11/
DSDL_x11keyboard.c215 int num_groups = XkbKeyNumGroups(data->xkb, keycode); in X11_KeyCodeToSym() local
218 if (num_groups && group >= num_groups) { in X11_KeyCodeToSym()
223 if ((group = XkbOutOfRangeGroupNumber(info)) >= num_groups) { in X11_KeyCodeToSym()
227 group = num_groups - 1; in X11_KeyCodeToSym()
229 group %= num_groups; in X11_KeyCodeToSym()
/third_party/libxkbcommon/src/
Dkeymap.c75 for (unsigned i = 0; i < key->num_groups; i++) { in xkb_keymap_unref()
302 return keymap->num_groups; in xkb_keymap_num_layouts()
347 return key->num_groups; in xkb_keymap_num_layouts_for_key()
362 layout = XkbWrapGroupIntoRange(layout, key->num_groups, in xkb_keymap_num_levels_for_key()
424 layout = XkbWrapGroupIntoRange(layout, key->num_groups, in xkb_keymap_key_get_mods_for_level()
488 layout = XkbWrapGroupIntoRange(layout, key->num_groups, in xkb_keymap_key_get_syms_by_level()
Dstate.c151 if (!key || layout >= key->num_groups) in xkb_state_key_get_level()
164 xkb_layout_index_t num_groups, in XkbWrapGroupIntoRange() argument
168 if (num_groups == 0) in XkbWrapGroupIntoRange()
171 if (group >= 0 && (xkb_layout_index_t) group < num_groups) in XkbWrapGroupIntoRange()
176 if (out_of_range_group_number >= num_groups) in XkbWrapGroupIntoRange()
184 return num_groups - 1; in XkbWrapGroupIntoRange()
193 return ((int) num_groups + (group % (int) num_groups)); in XkbWrapGroupIntoRange()
195 return group % num_groups; in XkbWrapGroupIntoRange()
211 return XkbWrapGroupIntoRange(state->components.group, key->num_groups, in xkb_state_key_get_layout()
693 state->keymap->num_groups, in xkb_state_update_derived()
[all …]
Dkeymap.h346 xkb_layout_index_t num_groups; member
388 xkb_layout_index_t num_groups; member
475 xkb_layout_index_t num_groups,
/third_party/gstreamer/gstreamer/gst/
Dgstpreset.c311 gsize i, j, num_groups, num_keys; in preset_merge() local
320 groups = g_key_file_get_groups (user, &num_groups); in preset_merge()
321 for (i = 0; i < num_groups; i++) { in preset_merge()
519 gsize i, num_groups; in gst_preset_default_get_preset_names() local
527 if (!(groups = g_key_file_get_groups (presets, &num_groups))) in gst_preset_default_get_preset_names()
531 for (i = 0; i < num_groups; i++) { in gst_preset_default_get_preset_names()
536 num_groups--; in gst_preset_default_get_preset_names()
538 groups[i] = groups[num_groups]; in gst_preset_default_get_preset_names()
539 groups[num_groups] = NULL; in gst_preset_default_get_preset_names()
542 if (!num_groups) { in gst_preset_default_get_preset_names()
[all …]
/third_party/ffmpeg/libavcodec/
Dpsymodel.c33 int num_groups, const uint8_t *group_map) in ff_psy_init() argument
39 ctx->group = av_mallocz_array(sizeof(ctx->group[0]), num_groups); in ff_psy_init()
53 for (i = 0; i < num_groups; i++) { in ff_psy_init()
Dpsymodel.h95 int num_groups; ///< number of channel groups member
159 int num_groups, const uint8_t *group_map);
/third_party/libxkbcommon/src/x11/
Dkeymap.c420 key->num_groups = wire_sym_map->groupInfo & 0x0f; in get_sym_maps()
421 FAIL_UNLESS(key->num_groups <= ARRAY_SIZE(wire_sym_map->kt_index)); in get_sym_maps()
422 ALLOC_OR_FAIL(key->groups, key->num_groups); in get_sym_maps()
424 for (unsigned j = 0; j < key->num_groups; j++) { in get_sym_maps()
433 FAIL_UNLESS(key->out_of_range_group_number <= key->num_groups); in get_sym_maps()
446 FAIL_UNLESS((unsigned) syms_length == wire_sym_map->width * key->num_groups); in get_sym_maps()
448 for (xkb_layout_index_t group = 0; group < key->num_groups; group++) { in get_sym_maps()
495 FAIL_UNLESS((unsigned) syms_length == wire_sym_map->width * key->num_groups); in get_actions()
499 for (xkb_layout_index_t group = 0; group < key->num_groups; group++) { in get_actions()
566 key->num_groups > 0) in get_explicits()
[all …]
/third_party/python/Modules/
D_posixsubprocess.c634 Py_ssize_t arg_num, num_groups = 0; in subprocess_fork_exec() local
763 num_groups = PySequence_Size(groups_list); in subprocess_fork_exec()
765 if (num_groups < 0) in subprocess_fork_exec()
768 if (num_groups > MAX_GROUPS) { in subprocess_fork_exec()
773 if ((groups = PyMem_RawMalloc(num_groups * sizeof(gid_t))) == NULL) { in subprocess_fork_exec()
779 for (i = 0; i < num_groups; i++) { in subprocess_fork_exec()
865 call_setgid, gid, call_setgroups, num_groups, groups, in subprocess_fork_exec()
/third_party/uboot/u-boot-2020.01/arch/arm/mach-tegra/
Dxusb-padctl-common.c200 for (i = 0; i < config->num_groups; i++) { in tegra_xusb_padctl_config_apply()
230 group = &config->groups[config->num_groups]; in tegra_xusb_padctl_config_parse_dt()
238 config->num_groups++; in tegra_xusb_padctl_config_parse_dt()
Dxusb-padctl-common.h75 unsigned int num_groups; member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dmesh.c140 int num_groups; in wpas_mesh_copy_groups() local
143 for (num_groups = 0; wpa_s->conf->sae_groups[num_groups] > 0; in wpas_mesh_copy_groups()
144 num_groups++) in wpas_mesh_copy_groups()
147 groups_size = (num_groups + 1) * sizeof(wpa_s->conf->sae_groups[0]); in wpas_mesh_copy_groups()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dmesh.c140 int num_groups; in wpas_mesh_copy_groups() local
143 for (num_groups = 0; wpa_s->conf->sae_groups[num_groups] > 0; in wpas_mesh_copy_groups()
144 num_groups++) in wpas_mesh_copy_groups()
147 groups_size = (num_groups + 1) * sizeof(wpa_s->conf->sae_groups[0]); in wpas_mesh_copy_groups()
/third_party/openssl/ssl/statem/
Dextensions_clnt.c176 size_t num_groups = 0, i; in tls_construct_ctos_supported_groups() local
185 tls1_get_supported_groups(s, &pgroups, &num_groups); in tls_construct_ctos_supported_groups()
197 for (i = 0; i < num_groups; i++) { in tls_construct_ctos_supported_groups()
648 size_t i, num_groups = 0; in tls_construct_ctos_key_share() local
663 tls1_get_supported_groups(s, &pgroups, &num_groups); in tls_construct_ctos_key_share()
672 for (i = 0; i < num_groups; i++) { in tls_construct_ctos_key_share()
1817 size_t i, num_groups; in tls_parse_stoc_key_share() local
1836 tls1_get_supported_groups(s, &pgroups, &num_groups); in tls_parse_stoc_key_share()
1837 for (i = 0; i < num_groups; i++) { in tls_parse_stoc_key_share()
1841 if (i >= num_groups in tls_parse_stoc_key_share()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/
Dp2p_group.c55 groups = os_realloc_array(p2p->groups, p2p->num_groups + 1, in p2p_group_init()
61 groups[p2p->num_groups++] = group; in p2p_group_init()
108 for (g = 0; g < p2p->num_groups; g++) { in p2p_group_deinit()
110 while (g + 1 < p2p->num_groups) { in p2p_group_deinit()
114 p2p->num_groups--; in p2p_group_deinit()
1087 for (i = 0; i < p2p->num_groups; i++) { in p2p_loop_on_all_groups()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/
Dp2p_group.c55 groups = os_realloc_array(p2p->groups, p2p->num_groups + 1, in p2p_group_init()
61 groups[p2p->num_groups++] = group; in p2p_group_init()
108 for (g = 0; g < p2p->num_groups; g++) { in p2p_group_deinit()
110 while (g + 1 < p2p->num_groups) { in p2p_group_deinit()
114 p2p->num_groups--; in p2p_group_deinit()
1087 for (i = 0; i < p2p->num_groups; i++) { in p2p_loop_on_all_groups()

123