Home
last modified time | relevance | path

Searched refs:num_values (Results 1 – 21 of 21) sorted by relevance

/netbsd-src/sys/external/bsd/drm2/dist/drm/
H A Ddrm_property.c104 int num_values) in drm_property_create() argument
121 if (num_values) { in drm_property_create()
122 property->values = kcalloc(num_values, sizeof(uint64_t), in drm_property_create()
133 property->num_values = num_values; in drm_property_create()
171 int num_values) in drm_property_create_enum() argument
178 property = drm_property_create(dev, flags, name, num_values); in drm_property_create_enum()
182 for (i = 0; i < num_values; i++) { in drm_property_create_enum()
224 int num_values = hweight64(supported_bits); in drm_property_create_bitmask() local
228 property = drm_property_create(dev, flags, name, num_values); in drm_property_create_bitmask()
423 if (WARN_ON(index >= property->num_values)) in drm_property_add_enum()
[all …]
H A Ddrm_client_modeset.c966 for (i = 0; i < plane->rotation_property->num_values; i++) in drm_client_rotation()
/netbsd-src/external/bsd/libarchive/dist/test_utils/
H A Dtest_utils.c59 size_t num_values; in fill_with_pseudorandom_data_seed() local
78 num_values = (size - unaligned_prefix) / sizeof(uint64_t); in fill_with_pseudorandom_data_seed()
80 size - unaligned_prefix - num_values * sizeof(uint64_t); in fill_with_pseudorandom_data_seed()
81 for (i = 0; i < num_values; i++) { in fill_with_pseudorandom_data_seed()
/netbsd-src/sys/external/bsd/drm2/dist/include/drm/
H A Ddrm_property.h171 uint32_t num_values; member
247 int num_values);
251 int num_values);
/netbsd-src/external/gpl3/gcc/dist/gcc/jit/
H A Dlibgccjit.cc1420 size_t num_values, in gcc_jit_context_new_struct_constructor() argument
1449 if (!num_values) in gcc_jit_context_new_struct_constructor()
1452 RETURN_NULL_IF_FAIL_PRINTF3 (n_fields >= num_values, in gcc_jit_context_new_struct_constructor()
1456 num_values, in gcc_jit_context_new_struct_constructor()
1468 for (size_t i = 0; i < num_values; i++) in gcc_jit_context_new_struct_constructor()
1563 num_values, in gcc_jit_context_new_struct_constructor()
1659 size_t num_values, in gcc_jit_context_new_array_constructor() argument
1672 if (!num_values) in gcc_jit_context_new_array_constructor()
1675 if (num_values) in gcc_jit_context_new_array_constructor()
1687 n_el >= num_values, in gcc_jit_context_new_array_constructor()
[all …]
H A Dlibgccjit.h923 size_t num_values,
999 size_t num_values,
H A Djit-recording.cc1117 size_t num_values, in new_ctor() argument
1124 if (!num_values) in new_ctor()
1136 result->m_values.reserve (num_values, false); in new_ctor()
1138 for (size_t i = 0; i < num_values; i++) in new_ctor()
1145 result->m_values.reserve (num_values, false); in new_ctor()
1146 result->m_fields.reserve (num_values, false); in new_ctor()
1148 for (size_t i = 0; i < num_values; i++) in new_ctor()
1159 result->m_values.reserve (num_values, false); in new_ctor()
1160 result->m_fields.reserve (num_values, false); in new_ctor()
1167 for (size_t i = 0; i < num_values; i++) in new_ctor()
H A Djit-recording.h155 size_t num_values,
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dgenconstants.c71 printf ("#define %s %d\n", value_name, def->num_values); in print_enum_type()
H A Dread-md.c927 def->num_values = 0; in handle_enum()
957 md_decimal_string (def->num_values), def); in handle_enum()
961 def->num_values++; in handle_enum()
H A Dread-md.h92 unsigned int num_values; member
H A Dread-rtl-function.c104 int parse_enum_value (int num_values, const char *const *strings);
975 function_reader::parse_enum_value (int num_values, const char *const *strings) in parse_enum_value() argument
979 for (int i = 0; i < num_values; i++) in parse_enum_value()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dgenconstants.cc71 printf ("#define %s %d\n", value_name, def->num_values); in print_enum_type()
H A Dread-md.cc928 def->num_values = 0; in handle_enum()
932 cur_value = def->num_values; in handle_enum()
973 def->num_values++; in handle_enum()
H A Dread-md.h92 unsigned int num_values; member
H A Dread-rtl-function.cc104 int parse_enum_value (int num_values, const char *const *strings);
976 function_reader::parse_enum_value (int num_values, const char *const *strings) in parse_enum_value() argument
980 for (int i = 0; i < num_values; i++) in parse_enum_value()
/netbsd-src/external/gpl3/gcc/dist/gcc/jit/docs/topics/
H A Dexpressions.rst162 size_t num_values,\
173 ``num_values`` specifies the number of elements in ``values`` and
183 If ``num_values`` is 0, the ``values`` parameter will be
197 size_t num_values,\
210 ``num_values`` specifies the number of elements in ``values``.
233 If ``num_values`` is 0, the array parameters will be
/netbsd-src/external/apache2/llvm/dist/clang/tools/c-index-test/
H A Dc-index-test.c2337 unsigned num_values = (second_line && second_column)? 4 : 2; in parse_file_line_column() local
2341 if (num_values == 4) in parse_file_line_column()
2349 for (i = 0; i != num_values; ++i) { in parse_file_line_column()
2353 values[num_values - i - 1] = strtol(last_colon + 1, &endptr, 10); in parse_file_line_column()
2360 if (i + 1 == num_values) in parse_file_line_column()
/netbsd-src/external/mit/xorg/lib/libxcb/files/
H A Drender.c701 xcb_block_len += _aux->num_values * sizeof(xcb_render_indexvalue_t); in xcb_render_query_pict_index_values_sizeof()
777 return R->num_values; in xcb_render_query_pict_index_values_values_length()
785 i.rem = R->num_values; in xcb_render_query_pict_index_values_values_iterator()
H A Drender.h589 uint32_t num_values; member
/netbsd-src/external/gpl3/gcc/dist/gcc/jit/docs/_build/texinfo/
H A Dlibgccjit.texi6434 … }*ctxt, gcc_jit_location@w{ }*loc, gcc_jit_type@w{ }*type, size_t@w{ }num_values, gcc_jit_rvalue@…
6444 @code{num_values} specifies the number of elements in @code{values} and
6454 If @code{num_values} is 0, the @code{values} parameter will be
6467 … }*ctxt, gcc_jit_location@w{ }*loc, gcc_jit_type@w{ }*type, size_t@w{ }num_values, gcc_jit_field@w…
6477 @code{num_values} specifies the number of elements in @code{values}.
6500 If @code{num_values} is 0, the array parameters will be