Home
last modified time | relevance | path

Searched refs:field_names (Results 1 – 18 of 18) sorted by relevance

/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/templates/
Dar_event_h.template67 field_names = protos['events'][name]['field_names']
70 % for i in range(len(field_names)):
71 ${field_types[i]} ${field_names[i]};
81 field_names = protos['events'][name]['field_names']
87 % for i in range(len(field_names)):
88 % if i < len(field_names)-1:
89 ${field_types[i]} ${field_names[i]},
91 % if i == len(field_names)-1:
92 ${field_types[i]} ${field_names[i]}
97 % for i in range(len(field_names)):
[all …]
/external/autotest/client/cros/cellular/mbim_compliance/
Dmbim_message.py201 _, field_names, _ = zip(*fields)
202 message_class = namedtuple(name, field_names)
293 field_names = []
296 field_names.append(field_name)
297 return field_names
319 _, field_names, _ = zip(*cls.get_fields(get_all=get_all))
320 return field_names
407 field_names = self.__class__._find_field_names_of_type(field_type,
409 return {f: getattr(self, f) for f in field_names}
507 def pack(self, format_string, field_names): argument
[all …]
Dmbim_data_transfer.py375 field_names = cls.get_field_names()
376 for field_name in field_names:
410 _, field_names = zip(*fields)
412 header_class = namedtuple(name, field_names)
454 _, field_names = zip(*cls.get_fields())
455 return field_names
501 field_names = cls.get_field_names()
503 field_values = [getattr(self, name) for name in field_names]
Dusb_descriptors.py106 field_formats, field_names = zip(*attrs['_FIELDS'])
157 descriptor_class = namedtuple(name, field_names)
/external/python/cpython2/Lib/
Dcollections.py305 def namedtuple(typename, field_names, verbose=False, rename=False): argument
331 if isinstance(field_names, basestring):
332 field_names = field_names.replace(',', ' ').split()
333 field_names = map(str, field_names)
337 for index, name in enumerate(field_names):
344 field_names[index] = '_%d' % index
346 for name in [typename] + field_names:
359 for name in field_names:
370 field_names = tuple(field_names),
371 num_fields = len(field_names),
[all …]
/external/autotest/client/cros/cellular/mbim_compliance/sequences/
Dopen_sequence.py37 _, field_names = zip(*self._FIELDS)
38 if len(args) != len(field_names):
42 len(field_names),self.__class__.__name__,len(args)))
44 fields = zip(field_names, args)
/external/google-benchmark/test/
Doutput_test_helper.cc175 std::vector< std::string > field_names; member in internal::ResultsChecker
247 field_names = SplitCsv_(csv_header); in SetHeader_()
253 CHECK(!field_names.empty()); in SetValues_()
255 CHECK_EQ(vals.size(), field_names.size()); in SetValues_()
259 entry.values[field_names[i]] = vals[i]; in SetValues_()
267 if(!field_names.empty()) out.reserve(field_names.size()); in SplitCsv_()
/external/devlib/devlib/instrument/
Ddaq.py120 field_names = [c.label for c in self.active_channels]
122 writer.writerow(field_names)
125 row = [raw_row[channel_order.index(f)] for f in field_names]
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/
Dgen_archrast.py48 field_names = []
64 field_names.append(field.group(4))
70 event_dict['field_names'] = field_names
/external/autotest/frontend/tko/
Dmodels.py17 field_names = []
20 field_names.append(extra_select_fields[field][0])
22 field_names.append(self._get_key_unless_is_function(field))
23 return field_names
70 field_names = self._get_column_names(cursor)
71 row_dicts = [dict(zip(field_names, row)) for row in cursor.fetchall()]
/external/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_message.cc93 const std::vector<std::string>& MessageGenerator::field_names() { in field_names() function in google::protobuf::compiler::csharp::MessageGenerator
487 for (int i = 0; i < field_names().size(); i++) { in GetFieldOrdinal()
488 if (field_names()[i] == descriptor->name()) { in GetFieldOrdinal()
Dcsharp_message.h76 const std::vector<std::string>& field_names();
/external/webrtc/webrtc/video/
Dfull_stack_plot.py117 field_names = [name.strip() for name in it.next().split()]
118 field_ids = [name_to_id[name] for name in field_names]
/external/e2fsprogs/ext2ed/
Dgeneral_com.c395 if (strcmp (current_type->field_names [i],variable)==0) { in set()
667 wprintw (show_pad,"%-20s = ",current_type->field_names [i]); in show()
Dext2ed.h91 unsigned char field_names [MAX_FIELDS][80]; member
Dinit.c237 strcpy (ptr->field_names [ptr->fields_num],v_name); in add_new_variable()
/external/protobuf/ruby/tests/
Dbasic.rb700 field_names = o.map{|f| f.name}.sort
701 assert field_names == ["a", "b", "c", "d"]
/external/python/cpython2/Doc/library/
Dcollections.rst564 .. function:: namedtuple(typename, field_names, [verbose=False], [rename=False])
569 helpful docstring (with typename and field_names) and a helpful :meth:`__repr__`
572 The *field_names* are a sequence of strings such as ``['x', 'y']``.
573 Alternatively, *field_names* can be a single string with each fieldname