Home
last modified time | relevance | path

Searched refs:num_fields (Results 1 – 25 of 33) sorted by relevance

12

/external/mesa3d/src/gallium/auxiliary/util/
Du_video.h87 int src_stride, int num_fields, in u_copy_nv12_to_yv12() argument
92 unsigned u_stride = destination_pitches[2] * num_fields; in u_copy_nv12_to_yv12()
93 unsigned v_stride = destination_pitches[1] * num_fields; in u_copy_nv12_to_yv12()
113 int src_stride, int num_fields, in u_copy_yv12_to_nv12() argument
119 unsigned stride = destination_pitches[1] * num_fields; in u_copy_yv12_to_nv12()
173 int src_stride, int num_fields, in u_copy_swap422_packed() argument
178 unsigned stride = destination_pitches[0] * num_fields; in u_copy_swap422_packed()
/external/libmojo/mojo/public/tools/bindings/pylib/mojom_tests/generate/
Dpack_unittest.py48 num_fields = len(ps.packed_fields)
49 self.assertEquals(len(kinds), num_fields)
50 for i in xrange(num_fields):
87 self.assertEquals(0, versions[0].num_fields)
108 self.assertEquals(1, versions[0].num_fields)
112 self.assertEquals(2, versions[1].num_fields)
116 self.assertEquals(4, versions[2].num_fields)
/external/libmojo/mojo/public/tools/bindings/generators/cpp_templates/
Dstruct_declaration.tmpl38 {%- set num_fields = struct.versions[-1].num_fields %}
39 {%- if num_fields > 0 %}
40 {%- set last_field = struct.packed.packed_fields[num_fields - 1] %}
/external/mesa3d/src/compiler/glsl/
Dbuiltin_variables.cpp312 unsigned num_fields; member in __anon5aeafe1e0111::per_vertex_accumulator
318 num_fields(0) in per_vertex_accumulator()
327 assert(this->num_fields < ARRAY_SIZE(this->fields)); in add_field()
328 this->fields[this->num_fields].type = type; in add_field()
329 this->fields[this->num_fields].name = name; in add_field()
330 this->fields[this->num_fields].matrix_layout = GLSL_MATRIX_LAYOUT_INHERITED; in add_field()
331 this->fields[this->num_fields].location = slot; in add_field()
332 this->fields[this->num_fields].offset = -1; in add_field()
333 this->fields[this->num_fields].interpolation = INTERP_MODE_NONE; in add_field()
334 this->fields[this->num_fields].centroid = 0; in add_field()
[all …]
Dlinker.cpp1523 unsigned num_fields = type->length; in resize_interface_members() local
1524 glsl_struct_field *fields = new glsl_struct_field[num_fields]; in resize_interface_members()
1526 num_fields * sizeof(*fields)); in resize_interface_members()
1527 for (unsigned i = 0; i < num_fields; i++) { in resize_interface_members()
1532 if (is_ssbo && i == (num_fields - 1)) in resize_interface_members()
1544 glsl_type::get_interface_instance(fields, num_fields, in resize_interface_members()
1555 unsigned num_fields = ifc_type->length; in fixup_unnamed_interface_type() local
1556 glsl_struct_field *fields = new glsl_struct_field[num_fields]; in fixup_unnamed_interface_type()
1558 num_fields * sizeof(*fields)); in fixup_unnamed_interface_type()
1560 for (unsigned i = 0; i < num_fields; i++) { in fixup_unnamed_interface_type()
[all …]
/external/iproute2/misc/
Dlnstat_util.c44 for (j = 0; j < lf->num_fields; j++) in scan_lines()
59 for (j = 0; j < lf->num_fields; j++) { in scan_lines()
100 i < lf->num_fields; i++, lfi = &lf->fields[i]) { in lnstat_update()
129 lf->num_fields = i+1; in __lnstat_scan_fields()
291 for (i = 0; i < lf->num_fields; i++) in lnstat_dump()
321 for (i = 0; i < lf->num_fields; i++) { in lnstat_find_field()
Dlnstat.h33 unsigned int num_fields; /* number of fields */ member
/external/libmojo/mojo/public/tools/bindings/pylib/mojom/generate/
Dpack.py211 def __init__(self, version, num_fields, num_bytes): argument
213 self.num_fields = num_fields
247 assert len(versions) == 0 or last_num_fields != versions[-1].num_fields
Dpack_tests.py60 num_fields = len(ps.packed_fields)
61 errors += EXPECT_EQ(len(kinds), num_fields)
62 for i in xrange(num_fields):
/external/mesa3d/src/compiler/
Dglsl_types.h278 unsigned num_fields,
285 unsigned num_fields,
808 glsl_type(const glsl_struct_field *fields, unsigned num_fields,
812 glsl_type(const glsl_struct_field *fields, unsigned num_fields,
Dglsl_types.cpp106 glsl_type::glsl_type(const glsl_struct_field *fields, unsigned num_fields, in glsl_type() argument
113 length(num_fields) in glsl_type()
134 glsl_type::glsl_type(const glsl_struct_field *fields, unsigned num_fields, in glsl_type() argument
143 length(num_fields) in glsl_type()
977 unsigned num_fields, in get_record_instance() argument
980 const glsl_type key(fields, num_fields, name); in get_record_instance()
993 const glsl_type *t = new glsl_type(fields, num_fields, name); in get_record_instance()
1000 assert(((glsl_type *) entry->data)->length == num_fields); in get_record_instance()
1011 unsigned num_fields, in get_interface_instance() argument
1016 const glsl_type key(fields, num_fields, packing, row_major, block_name); in get_interface_instance()
[all …]
Dnir_types.cpp325 unsigned num_fields, const char *name) in glsl_struct_type() argument
327 return glsl_type::get_record_instance(fields, num_fields, name); in glsl_struct_type()
Dnir_types.h139 unsigned num_fields, const char *name);
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/
Dgen_archrast.py52 num_fields = 0
65 num_fields += 1
71 event_dict['num_fields'] = num_fields
/external/compiler-rt/lib/asan/
Dasan_stats.cc61 uptr num_fields = sizeof(*this) / sizeof(uptr); in MergeFrom() local
62 for (uptr i = 0; i < num_fields; i++) in MergeFrom()
/external/clang/test/CodeGen/
D2008-08-07-GEPIntToPtr.c5 char num_fields; member
/external/wpa_supplicant_8/wpa_supplicant/
Dwpa_cli.c497 int i, num_fields = ARRAY_SIZE(fields); in wpa_cli_complete_set() local
500 char **res = os_calloc(num_fields + 1, sizeof(char *)); in wpa_cli_complete_set()
503 for (i = 0; i < num_fields; i++) { in wpa_cli_complete_set()
586 int i, num_fields = ARRAY_SIZE(fields); in wpa_cli_complete_get() local
589 char **res = os_calloc(num_fields + 1, sizeof(char *)); in wpa_cli_complete_get()
592 for (i = 0; i < num_fields; i++) { in wpa_cli_complete_get()
1441 int i, num_fields = ARRAY_SIZE(network_fields); in wpa_cli_complete_network() local
1449 res = os_calloc(num_fields + 1, sizeof(char *)); in wpa_cli_complete_network()
1452 for (i = 0; i < num_fields; i++) { in wpa_cli_complete_network()
1492 int i, num_fields = ARRAY_SIZE(network_fields); in wpa_cli_complete_dup_network() local
[all …]
/external/v8/src/crankshaft/
Dhydrogen-load-elimination.cc410 void EnsureFields(int num_fields) { in EnsureFields() argument
411 if (fields_.length() < num_fields) { in EnsureFields()
412 fields_.AddBlock(NULL, num_fields - fields_.length(), zone_); in EnsureFields()
/external/wpa_supplicant_8/hostapd/
Dhostapd_cli.c1064 int i, num_fields = ARRAY_SIZE(fields); in hostapd_complete_set() local
1069 res = os_calloc(num_fields + 1, sizeof(char *)); in hostapd_complete_set()
1072 for (i = 0; i < num_fields; i++) { in hostapd_complete_set()
1109 int i, num_fields = ARRAY_SIZE(fields); in hostapd_complete_get() local
1114 res = os_calloc(num_fields + 1, sizeof(char *)); in hostapd_complete_get()
1117 for (i = 0; i < num_fields; i++) { in hostapd_complete_get()
/external/kernel-headers/original/uapi/linux/
Dhiddev.h68 __u32 num_fields; member
/external/mesa3d/src/amd/common/
Dac_debug.c93 if (!reg->num_fields) { in ac_dump_reg()
98 for (f = 0; f < reg->num_fields; f++) { in ac_dump_reg()
/external/python/cpython2/Modules/
D_csv.c140 int num_fields; /* number of fields in record */ member
972 self->num_fields = 0; in join_reset()
1010 if (self->num_fields > 0) in join_append_data()
1130 self->num_fields++; in join_append()
1371 self->num_fields = 0; in csv_writer()
/external/e2fsprogs/lib/ext2fs/
Dext2_io.h67 int num_fields; member
/external/mesa3d/src/compiler/spirv/
Dspirv_to_nir.c403 unsigned num_fields; member
478 assert(member < ctx->num_fields); in struct_member_decoration_cb()
774 unsigned num_fields = count - 2; in vtn_handle_type() local
775 val->type->members = ralloc_array(b, struct vtn_type *, num_fields); in vtn_handle_type()
776 val->type->offsets = ralloc_array(b, unsigned, num_fields); in vtn_handle_type()
779 for (unsigned i = 0; i < num_fields; i++) { in vtn_handle_type()
790 .num_fields = num_fields, in vtn_handle_type()
799 val->type->type = glsl_struct_type(fields, num_fields, name); in vtn_handle_type()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/templates/
Dar_eventhandlerfile_h.template133 % if protos['events'][name]['num_fields'] == 0:

12