Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/drivers/swr/rasterizer/codegen/templates/
Dgen_ar_event.hpp70 field_names = protos['events'][name]['field_names']
73 % for i in range(len(field_names)):
74 ${field_types[i]} ${field_names[i]};
84 field_names = protos['events'][name]['field_names']
90 % for i in range(len(field_names)):
91 % if i < len(field_names)-1:
92 ${field_types[i]} ${field_names[i]},
94 % if i == len(field_names)-1:
95 ${field_types[i]} ${field_names[i]}
100 % for i in range(len(field_names)):
[all …]
/external/tensorflow/tensorflow/contrib/proto/python/kernel_tests/
Dencode_proto_op_test_base.py68 field_names=['double_value']))
78 field_names=['non_existent_field']))
87 field_names=['double_value']))
99 field_names=['double_value']))
108 field_names=['double_value']).eval(feed_dict={
122 field_names=['double_value', 'int32_value']))
131 field_names=['double_value', 'int32_value']).eval(feed_dict={
138 field_names = [f.name for f in fields]
145 field_names=field_names,
152 field_names=field_names)
Ddecode_proto_op_test_base.py176 field_names = [f.name for f in fields]
183 field_names=field_names,
195 np.all(np.array(sizes.shape) == batch_shape + [len(field_names)]))
203 field_dict = dict(zip(field_names, value_tensors))
296 field_names = ['sizes']
306 field_names=field_names,
Ddescriptor_source_test_base.py137 field_names = ['values', 'shapes', 'sizes', 'fields']
144 field_names=field_names,
152 field_names=field_names,
/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/python/cpython3/Lib/collections/
D__init__.py316 def namedtuple(typename, field_names, *, rename=False, defaults=None, module=None): argument
342 if isinstance(field_names, str):
343 field_names = field_names.replace(',', ' ').split()
344 field_names = list(map(str, field_names))
349 for index, name in enumerate(field_names):
354 field_names[index] = f'_{index}'
357 for name in [typename] + field_names:
368 for name in field_names:
379 if len(defaults) > len(field_names):
381 field_defaults = dict(reversed(list(zip(reversed(field_names),
[all …]
/external/google-benchmark/test/
Doutput_test_helper.cc183 std::vector<std::string> field_names; member in internal::ResultsChecker
253 field_names = SplitCsv_(csv_header); in SetHeader_()
259 CHECK(!field_names.empty()); in SetValues_()
261 CHECK_EQ(vals.size(), field_names.size()); in SetValues_()
265 entry.values[field_names[i]] = vals[i]; in SetValues_()
273 if (!field_names.empty()) out.reserve(field_names.size()); in SplitCsv_()
/external/libcxx/utils/google-benchmark/test/
Doutput_test_helper.cc183 std::vector<std::string> field_names; member in internal::ResultsChecker
253 field_names = SplitCsv_(csv_header); in SetHeader_()
259 CHECK(!field_names.empty()); in SetValues_()
261 CHECK_EQ(vals.size(), field_names.size()); in SetValues_()
265 entry.values[field_names[i]] = vals[i]; in SetValues_()
273 if (!field_names.empty()) out.reserve(field_names.size()); in SplitCsv_()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_DecodeProtoV2.pbtxt12 Tensor of int32 with shape `[batch_shape, len(field_names)]`.
32 name: "field_names"
41 List of TF types to use for the respective field in field_names.
68 message into tensors. The fields in `field_names` are decoded and converted
Dapi_def_EncodeProto.pbtxt6 Tensor of int32 with shape `[batch_shape, len(field_names)]`.
28 name: "field_names"
44 fields specified in `field_names`. All the tensors in `values` must
/external/mesa3d/src/gallium/drivers/swr/rasterizer/codegen/
Dgen_archrast.py30 field_names = []
46 field_names.append(field.group(4))
52 event_dict['field_names'] = field_names
/external/tensorflow/tensorflow/core/kernels/
Ddecode_proto_op.cc617 std::vector<string> field_names; in DecodeProtoOp() local
618 OP_REQUIRES_OK(context, context->GetAttr("field_names", &field_names)); in DecodeProtoOp()
622 context, field_names.size() == output_types.size(), in DecodeProtoOp()
632 for (const string& name : field_names) { in DecodeProtoOp()
682 output_indices.reserve(field_names.size()); in DecodeProtoOp()
683 for (int i = 0; i < field_names.size(); i++) { in DecodeProtoOp()
692 for (int i = 0; i < field_names.size(); i++) { in DecodeProtoOp()
/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/tensorflow/tensorflow/contrib/receptive_field/python/util/examples/
Drf_benchmark.py486 field_names = [
491 rf_writer = csv.DictWriter(csv_file, fieldnames=field_names)
/external/tensorflow/tensorflow/contrib/receptive_field/python/util/
Dgraph_compute_order.py48 'NodeInfo', field_names=['order', 'node', 'input_size', 'output_size'])
/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/tensorflow/tensorflow/contrib/rpc/python/kernel_tests/
Drpc_op_test_base.py227 field_names=['values'],
239 field_names=['values'],
/external/python/apitools/apitools/gen/
Dservice_registry.py322 field_names = [x.name for x in message.fields]
326 self.__names.CleanName(param_name) not 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()

12