Home
last modified time | relevance | path

Searched refs:num_groups (Results 1 - 25 of 52) sorted by relevance

123

/third_party/ltp/testcases/kernel/sched/cfs-scheduler/
H A 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/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_auth_authunix_create/
H A 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/mesa3d/src/gallium/drivers/r600/
H A Dr600_perfcounter.c45 unsigned total = block->num_groups * block->num_selectors; in lookup_counter()
53 *base_gid += block->num_groups; in lookup_counter()
66 if (*index < block->num_groups) in lookup_group()
68 *index -= block->num_groups; in lookup_group()
462 block->group_names = MALLOC(block->num_groups * block->group_name_stride); in r600_init_block_names()
496 block->selector_names = MALLOC(block->num_groups * block->num_selectors * in r600_init_block_names()
503 for (i = 0; i < block->num_groups; ++i) { in r600_init_block_names()
530 pc->blocks[bid].num_groups; in r600_get_perfcounter_info()
551 if (sub > 0 && sub + 1 < block->num_selectors * block->num_groups) in r600_get_perfcounter_info()
567 return pc->num_groups; in r600_get_perfcounter_group_info()
[all...]
H A Dr600_query.h245 unsigned num_groups; member
256 unsigned num_groups; member
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
H A Des31cComputeShaderTests.cpp989 const GLuint num_groups[3] = { 1, 1, 1 }; in RunIteration() local
993 glBufferData(GL_DISPATCH_INDIRECT_BUFFER, sizeof(num_groups), num_groups, GL_STATIC_DRAW); in RunIteration()
1097 std::string GenSource(const uvec3& local_size, const uvec3& num_groups) in GenSource() argument
1099 const uvec3 global_size = local_size * num_groups; in GenSource()
1137 bool RunIteration(const uvec3& local_size, const uvec3& num_groups, bool dispatch_indirect) in RunIteration() argument
1141 m_program = CreateComputeProgram(GenSource(local_size, num_groups)); in RunIteration()
1155 local_size.x() * num_groups.x() * local_size.y() * num_groups.y() * local_size.z() * num_groups in RunIteration()
1285 GenSource(const uvec3& local_size, const uvec3& num_groups) GenSource() argument
1308 RunIteration(const uvec3& local_size, const uvec3& num_groups, bool dispatch_indirect) RunIteration() argument
1461 GenSource(const uvec3& local_size, const uvec3& num_groups) GenSource() argument
1499 RunIteration(const uvec3& local_size, const uvec3& num_groups, bool dispatch_indirect) RunIteration() argument
1685 GenSource(const uvec3& local_size, const uvec3& num_groups) GenSource() argument
1701 RunIteration(const uvec3& local_size, const uvec3& num_groups, bool dispatch_indirect) RunIteration() argument
2030 GenSource(const uvec3& local_size, const uvec3& num_groups) GenSource() argument
2058 RunIteration(const uvec3& local_size, const uvec3& num_groups, bool dispatch_indirect) RunIteration() argument
2640 RunIteration(const GLuint num_groups, bool dispatch_indirect) RunIteration() argument
3548 GenSource(const uvec3& local_size, const uvec3& num_groups) GenSource() argument
3577 RunIteration(const uvec3& local_size, const uvec3& num_groups, bool dispatch_indirect) RunIteration() argument
3760 const GLuint num_groups[3] = { 1, 1, 1 }; RunIteration() local
5613 const GLuint num_groups[6] = { 1, 1, 1, 1, 1, 1 }; Run() local
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cComputeShaderTests.cpp635 const GLuint num_groups[3] = { 1, 1, 1 }; in RunIteration() local
639 glBufferData(GL_DISPATCH_INDIRECT_BUFFER, sizeof(num_groups), num_groups, GL_STATIC_DRAW); in RunIteration()
744 std::string GenSource(const uvec3& local_size, const uvec3& num_groups) in GenSource() argument
746 const uvec3 global_size = local_size * num_groups; in GenSource()
784 bool RunIteration(const uvec3& local_size, const uvec3& num_groups, bool dispatch_indirect) in RunIteration() argument
788 m_program = CreateComputeProgram(GenSource(local_size, num_groups)); in RunIteration()
811 local_size.x() * num_groups.x() * local_size.y() * num_groups.y() * local_size.z() * num_groups in RunIteration()
939 GenSource(const uvec3& local_size, const uvec3& num_groups) GenSource() argument
978 RunIteration(const uvec3& local_size, const uvec3& num_groups, bool dispatch_indirect) RunIteration() argument
1171 GenSource(const uvec3& local_size, const uvec3& num_groups) GenSource() argument
1189 RunIteration(const uvec3& local_size, const uvec3& num_groups, bool dispatch_indirect) RunIteration() argument
1377 GenSource(const uvec3& local_size, const uvec3& num_groups) GenSource() argument
1393 RunIteration(const uvec3& local_size, const uvec3& num_groups, bool dispatch_indirect) RunIteration() argument
2004 GenSource(const uvec3& local_size, const uvec3& num_groups) GenSource() argument
2032 RunIteration(const uvec3& local_size, const uvec3& num_groups, bool dispatch_indirect) RunIteration() argument
2660 RunIteration(const GLuint num_groups, bool dispatch_indirect) RunIteration() argument
3557 GenSource(const uvec3& local_size, const uvec3& num_groups) GenSource() argument
3587 RunIteration(const uvec3& local_size, const uvec3& num_groups, bool dispatch_indirect) RunIteration() argument
3760 const GLuint num_groups[3] = { 1, 1, 1 }; RunIteration() local
6197 const GLuint num_groups[6] = { 1, 1, 1, 1, 1, 1 }; Run() local
[all...]
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
H A Dfd5_compute.c147 const unsigned *num_groups = info->grid; variable
156 A5XX_HLSQ_CS_NDRANGE_1_GLOBALSIZE_X(local_size[0] * num_groups[0]));
159 A5XX_HLSQ_CS_NDRANGE_3_GLOBALSIZE_Y(local_size[1] * num_groups[1]));
162 A5XX_HLSQ_CS_NDRANGE_5_GLOBALSIZE_Z(local_size[2] * num_groups[2]));
/third_party/mesa3d/src/amd/common/
H A Dac_perfcounter.c1035 unsigned total = block->num_groups * block->b->selectors; in ac_lookup_counter()
1043 *base_gid += block->num_groups; in ac_lookup_counter()
1056 if (*index < block->num_groups) in ac_lookup_group()
1058 *index -= block->num_groups; in ac_lookup_group()
1099 block->group_names = MALLOC(block->num_groups * block->group_name_stride); in ac_init_block_names()
1134 MALLOC(block->num_groups * block->b->selectors * block->selector_name_stride); in ac_init_block_names()
1140 for (i = 0; i < block->num_groups; ++i) { in ac_init_block_names()
1211 block->num_groups = block->num_instances; in ac_init_perfcounters()
1213 block->num_groups = 1; in ac_init_perfcounters()
1217 block->num_groups * in ac_init_perfcounters()
[all...]
H A Dac_perfcounter.h140 unsigned num_groups; member
149 unsigned num_groups; member
/third_party/skia/third_party/externals/freetype/src/sfnt/
H A Dttcmap.c1809 FT_UInt32 num_groups; in FT_CALLBACK_DEF() local
1821 num_groups = TT_NEXT_ULONG( p ); in FT_CALLBACK_DEF()
1823 /* p + num_groups * 12 > valid->limit ? */ 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 FT_CALLBACK_DEF() local
1913 for ( ; num_groups > 0; num_groups-- ) in FT_CALLBACK_DEF()
1945 FT_UInt32 num_groups = TT_NEXT_ULONG( p ); in FT_CALLBACK_DEF() local
1956 for ( ; num_groups > in FT_CALLBACK_DEF()
2250 FT_ULong num_groups; global() member
2276 FT_ULong num_groups; FT_CALLBACK_DEF() local
2402 FT_UInt32 num_groups = TT_PEEK_ULONG( p ); tt_cmap12_char_map_binary() local
2603 FT_ULong num_groups; global() member
2629 FT_ULong num_groups; FT_CALLBACK_DEF() local
2733 FT_UInt32 num_groups = TT_PEEK_ULONG( p ); tt_cmap13_char_map_binary() local
[all...]
/third_party/mesa3d/src/freedreno/computerator/
H A Dmain.c123 static unsigned num_groups; variable
132 for (int i = 0; i < num_groups; i++) { in setup_counter()
177 groups = fd_perfcntrs(dev_id, &num_groups); in parse_perfcntrs()
178 enabled_counters = calloc(num_groups, sizeof(enabled_counters[0])); in parse_perfcntrs()
H A Da4xx.c288 const unsigned *num_groups = grid; in a4xx_emit_grid() local
303 A4XX_HLSQ_CL_NDRANGE_1_SIZE_X(local_size[0] * num_groups[0])); in a4xx_emit_grid()
306 A4XX_HLSQ_CL_NDRANGE_3_SIZE_Y(local_size[1] * num_groups[1])); in a4xx_emit_grid()
309 A4XX_HLSQ_CL_NDRANGE_5_SIZE_Z(local_size[2] * num_groups[2])); in a4xx_emit_grid()
H A Da6xx.c414 const unsigned *num_groups = grid; in a6xx_emit_grid() local
429 A6XX_HLSQ_CS_NDRANGE_1_GLOBALSIZE_X(local_size[0] * num_groups[0])); in a6xx_emit_grid()
432 A6XX_HLSQ_CS_NDRANGE_3_GLOBALSIZE_Y(local_size[1] * num_groups[1])); in a6xx_emit_grid()
435 A6XX_HLSQ_CS_NDRANGE_5_GLOBALSIZE_Z(local_size[2] * num_groups[2])); in a6xx_emit_grid()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
H A Dfd6_compute.c153 const unsigned *num_groups = info->grid; variable
162 A6XX_HLSQ_CS_NDRANGE_1_GLOBALSIZE_X(local_size[0] * num_groups[0]));
165 A6XX_HLSQ_CS_NDRANGE_3_GLOBALSIZE_Y(local_size[1] * num_groups[1]));
168 A6XX_HLSQ_CS_NDRANGE_5_GLOBALSIZE_Z(local_size[2] * num_groups[2]));
H A Dfd6_emit.h118 unsigned num_groups; member
136 assert(emit->num_groups < ARRAY_SIZE(emit->groups)); in fd6_emit_take_group()
137 struct fd6_state_group *g = &emit->groups[emit->num_groups++]; in fd6_emit_take_group()
/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/
H A Dpb_slab.c242 unsigned num_groups; in pb_slabs_init() local
260 num_groups = slabs->num_orders * slabs->num_heaps * in pb_slabs_init()
262 slabs->groups = CALLOC(num_groups, sizeof(*slabs->groups)); in pb_slabs_init()
266 for (i = 0; i < num_groups; ++i) { in pb_slabs_init()
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
H A Dfd4_compute.c166 const unsigned *num_groups = info->grid; variable
175 A4XX_HLSQ_CL_NDRANGE_1_SIZE_X(local_size[0] * num_groups[0]));
178 A4XX_HLSQ_CL_NDRANGE_3_SIZE_Y(local_size[1] * num_groups[1]));
181 A4XX_HLSQ_CL_NDRANGE_5_SIZE_Z(local_size[2] * num_groups[2]));
/third_party/ffmpeg/libavcodec/
H A Dpsymodel.c33 int num_groups, const uint8_t *group_map) in ff_psy_init()
39 ctx->group = av_calloc(num_groups, sizeof(ctx->group[0])); in ff_psy_init()
53 for (i = 0; i < num_groups; i++) { in ff_psy_init()
31 ff_psy_init(FFPsyContext *ctx, AVCodecContext *avctx, int num_lens, const uint8_t **bands, const int* num_bands, int num_groups, const uint8_t *group_map) ff_psy_init() argument
H A Dpsymodel.h95 int num_groups; ///< number of channel groups member
152 * @param num_groups number of channel groups
159 int num_groups, const uint8_t *group_map);
/third_party/python/Modules/
H A D_posixsubprocess.c850 Py_ssize_t arg_num, num_groups = 0; in subprocess_fork_exec() local
958 num_groups = PySequence_Size(groups_list); in subprocess_fork_exec()
960 if (num_groups < 0) in subprocess_fork_exec()
963 if (num_groups > MAX_GROUPS) { in subprocess_fork_exec()
968 if ((groups = PyMem_RawMalloc(num_groups * sizeof(gid_t))) == NULL) { in subprocess_fork_exec()
974 for (i = 0; i < num_groups; i++) { in subprocess_fork_exec()
1078 call_setgid, gid, call_setgroups, num_groups, groups, in subprocess_fork_exec()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A 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/node/deps/openssl/openssl/ssl/statem/
H A Dextensions_clnt.c117 size_t num_groups, j; in use_ecc() local
142 tls1_get_supported_groups(s, &pgroups, &num_groups); in use_ecc()
143 for (j = 0; j < num_groups; j++) { in use_ecc()
190 size_t num_groups = 0, i, tls13added = 0, added = 0; in tls_construct_ctos_supported_groups() local
210 tls1_get_supported_groups(s, &pgroups, &num_groups); in tls_construct_ctos_supported_groups()
221 for (i = 0; i < num_groups; i++) { in tls_construct_ctos_supported_groups()
654 size_t i, num_groups = 0; in tls_construct_ctos_key_share() local
668 tls1_get_supported_groups(s, &pgroups, &num_groups); in tls_construct_ctos_key_share()
677 for (i = 0; i < num_groups; i++) { in tls_construct_ctos_key_share()
1799 size_t i, num_groups; in tls_parse_stoc_key_share() local
[all...]
/third_party/openssl/ssl/statem/
H A Dextensions_clnt.c117 size_t num_groups, j; in use_ecc() local
142 tls1_get_supported_groups(s, &pgroups, &num_groups); in use_ecc()
143 for (j = 0; j < num_groups; j++) { in use_ecc()
190 size_t num_groups = 0, i, tls13added = 0, added = 0; in tls_construct_ctos_supported_groups() local
210 tls1_get_supported_groups(s, &pgroups, &num_groups); in tls_construct_ctos_supported_groups()
221 for (i = 0; i < num_groups; i++) { in tls_construct_ctos_supported_groups()
654 size_t i, num_groups = 0; in tls_construct_ctos_key_share() local
668 tls1_get_supported_groups(s, &pgroups, &num_groups); in tls_construct_ctos_key_share()
677 for (i = 0; i < num_groups; i++) { in tls_construct_ctos_key_share()
1784 size_t i, num_groups; in tls_parse_stoc_key_share() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/
H A 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/mesa3d/src/mesa/main/
H A Dperformance_monitor.c358 int num_counters, num_groups; in init_groups() local
365 num_groups = screen->get_driver_query_group_info(screen, 0, NULL); in init_groups()
366 groups = CALLOC(num_groups, sizeof(*groups)); in init_groups()
370 for (gid = 0; gid < num_groups; gid++) { in init_groups()
439 for (gid = 0; gid < num_groups; gid++) { in init_groups()

Completed in 31 milliseconds

123