Searched refs:ARRAY_SIZE (Results 1 - 25 of 1412) sorted by relevance

1234567891011>>

/xsrc/external/mit/libdrm/dist/tests/util/
H A Dcommon.h29 #ifndef ARRAY_SIZE
30 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro
/xsrc/external/mit/xf86-video-intel/dist/src/sna/brw/
H A Dbrw_test.h33 #ifndef ARRAY_SIZE
34 #define ARRAY_SIZE(a) (sizeof(a)/sizeof(a[0])) macro
/xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/brw/
H A Dbrw_test.h33 #ifndef ARRAY_SIZE
34 #define ARRAY_SIZE(a) (sizeof(a)/sizeof(a[0])) macro
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/tgsi/
H A Dtgsi_strings.c243 STATIC_ASSERT(ARRAY_SIZE(tgsi_semantic_names) == TGSI_SEMANTIC_COUNT);
244 STATIC_ASSERT(ARRAY_SIZE(tgsi_texture_names) == TGSI_TEXTURE_COUNT);
245 STATIC_ASSERT(ARRAY_SIZE(tgsi_property_names) == TGSI_PROPERTY_COUNT);
246 STATIC_ASSERT(ARRAY_SIZE(tgsi_primitive_names) == PIPE_PRIM_MAX);
247 STATIC_ASSERT(ARRAY_SIZE(tgsi_interpolate_names) == TGSI_INTERPOLATE_COUNT);
248 STATIC_ASSERT(ARRAY_SIZE(tgsi_return_type_names) == TGSI_RETURN_TYPE_COUNT);
260 STATIC_ASSERT(ARRAY_SIZE(tgsi_file_names) == TGSI_FILE_COUNT);
261 if (file < ARRAY_SIZE(tgsi_file_names))
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/tgsi/
H A Dtgsi_strings.c249 STATIC_ASSERT(ARRAY_SIZE(tgsi_semantic_names) == TGSI_SEMANTIC_COUNT);
250 STATIC_ASSERT(ARRAY_SIZE(tgsi_texture_names) == TGSI_TEXTURE_COUNT);
251 STATIC_ASSERT(ARRAY_SIZE(tgsi_property_names) == TGSI_PROPERTY_COUNT);
252 STATIC_ASSERT(ARRAY_SIZE(tgsi_primitive_names) == PIPE_PRIM_MAX);
253 STATIC_ASSERT(ARRAY_SIZE(tgsi_interpolate_names) == TGSI_INTERPOLATE_COUNT);
254 STATIC_ASSERT(ARRAY_SIZE(tgsi_return_type_names) == TGSI_RETURN_TYPE_COUNT);
266 STATIC_ASSERT(ARRAY_SIZE(tgsi_file_names) == TGSI_FILE_COUNT);
267 if (file < ARRAY_SIZE(tgsi_file_names))
/xsrc/external/mit/xorg-server/dist/hw/xquartz/
H A Dkeysym2ucs.h33 #define ARRAY_SIZE(a) (sizeof((a)) / sizeof((a)[0])) macro
/xsrc/external/mit/xorg-server/dist/hw/xfree86/dri2/pci_ids/
H A Dpci_id_driver_map.h6 #ifndef ARRAY_SIZE
7 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro
66 { 0x8086, "i915", i915_chip_ids, ARRAY_SIZE(i915_chip_ids) },
67 { 0x8086, "i965", i965_chip_ids, ARRAY_SIZE(i965_chip_ids) },
70 { 0x1002, "radeon", r100_chip_ids, ARRAY_SIZE(r100_chip_ids) },
71 { 0x1002, "r200", r200_chip_ids, ARRAY_SIZE(r200_chip_ids) },
73 { 0x1002, "r300", r300_chip_ids, ARRAY_SIZE(r300_chip_ids) },
74 { 0x1002, "r600", r600_chip_ids, ARRAY_SIZE(r600_chip_ids) },
77 { 0x1af4, "virtio_gpu", virtio_gpu_chip_ids, ARRAY_SIZE(virtio_gpu_chip_ids) },
78 { 0x15ad, "vmwgfx", vmwgfx_chip_ids, ARRAY_SIZE(vmwgfx_chip_id
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/loader/
H A Dpci_id_driver_map.h6 #ifndef ARRAY_SIZE
7 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro
85 { 0x8086, "i915", i915_chip_ids, ARRAY_SIZE(i915_chip_ids) },
86 { 0x8086, "i965", i965_chip_ids, ARRAY_SIZE(i965_chip_ids) },
87 { 0x8086, "iris", iris_chip_ids, ARRAY_SIZE(iris_chip_ids) },
88 { 0x1002, "radeon", r100_chip_ids, ARRAY_SIZE(r100_chip_ids) },
89 { 0x1002, "r200", r200_chip_ids, ARRAY_SIZE(r200_chip_ids) },
90 { 0x1002, "r300", r300_chip_ids, ARRAY_SIZE(r300_chip_ids) },
91 { 0x1002, "r600", r600_chip_ids, ARRAY_SIZE(r600_chip_ids) },
92 { 0x1002, "radeonsi", radeonsi_chip_ids, ARRAY_SIZE(radeonsi_chip_id
[all...]
/xsrc/external/mit/xorg-server/dist/test/
H A Dtests-common.h6 #define ARRAY_SIZE(a) (sizeof((a)) / sizeof((a)[0])) macro
/xsrc/external/mit/MesaLib/dist/src/loader/
H A Dpci_id_driver_map.h81 { 0x8086, "i830", i830_chip_ids, ARRAY_SIZE(i830_chip_ids) },
82 { 0x8086, "i915", i915_chip_ids, ARRAY_SIZE(i915_chip_ids) },
83 { 0x8086, "i965", i965_chip_ids, ARRAY_SIZE(i965_chip_ids) },
84 { 0x8086, "crocus", crocus_chip_ids, ARRAY_SIZE(crocus_chip_ids) },
86 { 0x1002, "radeon", r100_chip_ids, ARRAY_SIZE(r100_chip_ids) },
87 { 0x1002, "r200", r200_chip_ids, ARRAY_SIZE(r200_chip_ids) },
88 { 0x1002, "r300", r300_chip_ids, ARRAY_SIZE(r300_chip_ids) },
89 { 0x1002, "r600", r600_chip_ids, ARRAY_SIZE(r600_chip_ids) },
93 { 0x1af4, "virtio_gpu", virtio_gpu_chip_ids, ARRAY_SIZE(virtio_gpu_chip_ids) },
94 { 0x15ad, "vmwgfx", vmwgfx_chip_ids, ARRAY_SIZE(vmwgfx_chip_id
[all...]
/xsrc/external/mit/MesaLib/dist/src/freedreno/decode/
H A Dbuffers.h39 #ifndef ARRAY_SIZE
40 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) macro
/xsrc/external/mit/MesaLib.old/dist/src/intel/perf/
H A Dgen_perf_mdapi.c44 for (int i = 0; i < ARRAY_SIZE(mdapi_data->ACounters); i++)
47 for (int i = 0; i < ARRAY_SIZE(mdapi_data->NOACounters); i++) {
49 result->accumulator[1 + ARRAY_SIZE(mdapi_data->ACounters) + i];
65 for (int i = 0; i < ARRAY_SIZE(mdapi_data->OaCntr); i++)
67 for (int i = 0; i < ARRAY_SIZE(mdapi_data->NoaCntr); i++) {
69 result->accumulator[2 + ARRAY_SIZE(mdapi_data->OaCntr) + i];
93 for (int i = 0; i < ARRAY_SIZE(mdapi_data->OaCntr); i++)
95 for (int i = 0; i < ARRAY_SIZE(mdapi_data->NoaCntr); i++) {
97 result->accumulator[2 + ARRAY_SIZE(mdapi_data->OaCntr) + i];
/xsrc/external/mit/MesaLib.old/dist/src/util/
H A Dbigmath.h64 _ubm_add_u32arr(dst, ARRAY_SIZE(dst), a, ARRAY_SIZE(a), b, ARRAY_SIZE(b))
110 _ubm_mul_u32arr(dst, ARRAY_SIZE(dst), a, ARRAY_SIZE(a), b, ARRAY_SIZE(b))
/xsrc/external/mit/MesaLib/dist/src/util/
H A Dbigmath.h64 _ubm_add_u32arr(dst, ARRAY_SIZE(dst), a, ARRAY_SIZE(a), b, ARRAY_SIZE(b))
110 _ubm_mul_u32arr(dst, ARRAY_SIZE(dst), a, ARRAY_SIZE(a), b, ARRAY_SIZE(b))
/xsrc/external/mit/libdrm/dist/tests/amdgpu/
H A Dshader_code.h27 #ifndef ARRAY_SIZE
28 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro
98 {{bufferclear_cs_shader_gfx9, sizeof(bufferclear_cs_shader_gfx9), bufferclear_cs_shader_registers_gfx9, ARRAY_SIZE(bufferclear_cs_shader_registers_gfx9)},
100 {buffercopy_cs_shader_gfx9, sizeof(buffercopy_cs_shader_gfx9), bufferclear_cs_shader_registers_gfx9, ARRAY_SIZE(bufferclear_cs_shader_registers_gfx9)}},
102 {{bufferclear_cs_shader_gfx10, sizeof(bufferclear_cs_shader_gfx10), bufferclear_cs_shader_registers_gfx9, ARRAY_SIZE(bufferclear_cs_shader_registers_gfx9)},
104 {buffercopy_cs_shader_gfx10, sizeof(bufferclear_cs_shader_gfx10), bufferclear_cs_shader_registers_gfx9, ARRAY_SIZE(bufferclear_cs_shader_registers_gfx9)}},
106 {{bufferclear_cs_shader_gfx11, sizeof(bufferclear_cs_shader_gfx11), bufferclear_cs_shader_registers_gfx11, ARRAY_SIZE(bufferclear_cs_shader_registers_gfx11)},
108 {buffercopy_cs_shader_gfx11, sizeof(bufferclear_cs_shader_gfx11), bufferclear_cs_shader_registers_gfx11, ARRAY_SIZE(bufferclear_cs_shader_registers_gfx11)}},
/xsrc/external/mit/MesaLib.old/dist/src/gallium/targets/d3dadapter9/
H A Dgetproc.c41 for (i = 0; i < ARRAY_SIZE(drivers); ++i) {
/xsrc/external/mit/MesaLib.old/dist/src/mesa/main/tests/
H A Dmesa_extensions.cpp44 for (unsigned i = 0; i < ARRAY_SIZE(ext_names) - 1; ++i) {
/xsrc/external/mit/MesaLib/dist/src/gallium/targets/d3dadapter9/
H A Dgetproc.c41 for (i = 0; i < ARRAY_SIZE(drivers); ++i) {
/xsrc/external/mit/MesaLib/dist/src/mesa/main/tests/
H A Dmesa_extensions.cpp44 for (unsigned i = 0; i < ARRAY_SIZE(ext_names) - 1; ++i) {
/xsrc/external/mit/xorg-server/dist/test/sync/
H A Dsync.c30 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) macro
75 xcb_sync_query_counter_cookie_t queries[ARRAY_SIZE(some_values)];
77 for (int i = 0; i < ARRAY_SIZE(some_values); i++) {
83 for (int i = 0; i < ARRAY_SIZE(some_values); i++) {
102 xcb_sync_query_counter_cookie_t queries[ARRAY_SIZE(some_values)];
106 for (int i = 0; i < ARRAY_SIZE(some_values); i++) {
111 for (int i = 0; i < ARRAY_SIZE(some_values); i++) {
172 for (int i = 0; i < ARRAY_SIZE(overflow_args); i++) {
181 for (int i = 0; i < ARRAY_SIZE(overflow_args); i++) {
228 xcb_sync_query_alarm_cookie_t queries[ARRAY_SIZE(some_value
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
H A Dlp_test_arit.c298 {"abs", &lp_build_abs, &fabsf, sgn_values, ARRAY_SIZE(sgn_values), 20.0 },
299 {"neg", &lp_build_negate, &negf, sgn_values, ARRAY_SIZE(sgn_values), 20.0 },
300 {"sgn", &lp_build_sgn, &sgnf, sgn_values, ARRAY_SIZE(sgn_values), 20.0 },
301 {"exp2", &lp_build_exp2, &exp2f, exp2_values, ARRAY_SIZE(exp2_values), 18.0 },
302 {"log2", &lp_build_log2_safe, &log2f, log2_values, ARRAY_SIZE(log2_values), 20.0 },
303 {"exp", &lp_build_exp, &expf, exp2_values, ARRAY_SIZE(exp2_values), 18.0 },
304 {"log", &lp_build_log_safe, &logf, log2_values, ARRAY_SIZE(log2_values), 20.0 },
305 {"rcp", &lp_build_rcp, &rcpf, rcp_values, ARRAY_SIZE(rcp_values), 20.0 },
306 {"rsqrt", &lp_build_rsqrt, &rsqrtf, rsqrt_values, ARRAY_SIZE(rsqrt_values), 20.0 },
307 {"sin", &lp_build_sin, &sinf, sincos_values, ARRAY_SIZE(sincos_value
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_test_arit.c319 {"abs", &lp_build_abs, &fabsf, sgn_values, ARRAY_SIZE(sgn_values), 20.0 },
320 {"neg", &lp_build_negate, &negf, sgn_values, ARRAY_SIZE(sgn_values), 20.0 },
321 {"sgn", &lp_build_sgn, &sgnf, sgn_values, ARRAY_SIZE(sgn_values), 20.0 },
322 {"exp2", &lp_build_exp2, &exp2f, exp2_values, ARRAY_SIZE(exp2_values), 18.0 },
323 {"log2", &lp_build_log2_safe, &log2f, log2_values, ARRAY_SIZE(log2_values), 20.0 },
324 {"exp", &lp_build_exp, &expf, exp2_values, ARRAY_SIZE(exp2_values), 18.0 },
325 {"log", &lp_build_log_safe, &logf, log2_values, ARRAY_SIZE(log2_values), 20.0 },
326 {"rcp", &lp_build_rcp, &rcpf, rcp_values, ARRAY_SIZE(rcp_values), 20.0 },
327 {"rsqrt", &lp_build_rsqrt, &rsqrtf, rsqrt_values, ARRAY_SIZE(rsqrt_values), 20.0 },
328 {"sin", &lp_build_sin, &sinf, sincos_values, ARRAY_SIZE(sincos_value
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_assert.c80 ret_type, arg_types, ARRAY_SIZE(arg_types),
91 LLVMBuildCall(builder, function, args, ARRAY_SIZE(args), "");
/xsrc/external/mit/MesaLib/dist/src/freedreno/common/
H A Dfreedreno_dev_info.c61 for (int i = 0; i < ARRAY_SIZE(fd_dev_recs); i++) {
72 for (int i = 0; i < ARRAY_SIZE(fd_dev_recs); i++) {
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_assert.c80 ret_type, arg_types, ARRAY_SIZE(arg_types),
91 LLVMBuildCall(builder, function, args, ARRAY_SIZE(args), "");

Completed in 25 milliseconds

1234567891011>>