Home
last modified time | relevance | path

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

/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/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
Dlnstat.c138 for (i = 0; i < lf->num_fields; i++) { in map_field_params()
/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/glsl/
Dglsl_types.cpp81 glsl_type::glsl_type(const glsl_struct_field *fields, unsigned num_fields, in glsl_type() argument
87 length(num_fields) in glsl_type()
535 unsigned num_fields, in get_record_instance() argument
538 const glsl_type key(fields, num_fields, name); in get_record_instance()
546 t = new glsl_type(fields, num_fields, name); in get_record_instance()
552 assert(t->length == num_fields); in get_record_instance()
Dglsl_types.h231 unsigned num_fields,
491 glsl_type(const glsl_struct_field *fields, unsigned 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.cc409 void EnsureFields(int num_fields) { in EnsureFields() argument
410 if (fields_.length() < num_fields) { in EnsureFields()
411 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/e2fsprogs/lib/ext2fs/
Dext2_io.h67 int num_fields; member
Dunix_io.c521 data->io_stats.num_fields = 2; in unix_open_channel()
/external/flatbuffers/src/
Didl_gen_general.cpp1119 int num_fields = 0; in GenStruct() local
1127 num_fields++; in GenStruct()
1130 if (has_no_struct_fields && num_fields) { in GenStruct()
Didl_gen_cpp.cpp1299 auto num_fields = NumToString(struct_def.fields.vec.size()); in GenBuilders() local
1301 code_ += " const auto end = fbb_.EndTable(start_, " + num_fields + ");"; in GenBuilders()
/external/v8/src/
Dbootstrapper.cc1971 static const int num_fields = JSRegExp::kInObjectFieldCount; in InitializeGlobal() local
1972 initial_map->SetInObjectProperties(num_fields); in InitializeGlobal()
1975 num_fields * kPointerSize); in InitializeGlobal()