Home
last modified time | relevance | path

Searched refs:field_type (Results 1 – 25 of 77) sorted by relevance

1234

/external/protobuf/ruby/ext/google/protobuf_c/
Drepeated_field.c64 int element_size = native_slot_size(self->field_type); in RepeatedField_subarray()
65 upb_fieldtype_t field_type = self->field_type; in RepeatedField_subarray() local
72 VALUE elem = native_slot_get(field_type, field_type_class, mem); in RepeatedField_subarray()
88 upb_fieldtype_t field_type = self->field_type; in RepeatedField_each() local
90 int element_size = native_slot_size(field_type); in RepeatedField_each()
95 VALUE val = native_slot_get(field_type, field_type_class, memory); in RepeatedField_each()
110 int element_size = native_slot_size(self->field_type); in RepeatedField_index()
111 upb_fieldtype_t field_type = self->field_type; in RepeatedField_index() local
126 return native_slot_get(field_type, field_type_class, memory); in RepeatedField_index()
160 upb_fieldtype_t field_type = self->field_type; in RepeatedField_index_set() local
[all …]
/external/tpm2/generator/
Dstructure_generator.py171 def __init__(self, field_type, field_name, argument
185 if not field_type:
193 self.field_type = 'BYTE'
196 self.field_type = field_type
216 self._MARSHAL_FIELD_ARRAY % {'type': self.field_type,
220 typemap[self.field_type].OutputMarshalCall(out_file, self)
235 self._UNMARSHAL_FIELD_ARRAY % {'type': self.field_type,
239 typemap[self.field_type].OutputUnmarshalCall(out_file, self)
349 out_file.write(self._MARSHAL_CALL % {'type': field.field_type,
362 obj_type = field.field_type
[all …]
Dstructure_generator_test.py172 self.assertEqual(tpm_obj.fields[0].field_type, 'UINT16')
174 self.assertEqual(tpm_obj.fields[1].field_type, 'UINT16')
176 self.assertEqual(tpm_obj.fields[2].field_type, 'UINT16')
179 self.assertEqual(tpm_obj.fields[3].field_type, 'UINT16')
182 self.assertEqual(tpm_obj.fields[4].field_type, 'interface_type')
188 self.assertEqual(tpm_obj.fields[0].field_type, 'field1_type')
190 self.assertEqual(tpm_obj.fields[1].field_type, 'field2_type')
Dtpm_table.py388 field_type, field['name'] = row[0], row[1].lstrip('@')
390 if field_type.endswith('+'):
391 field_type = field_type[:-1]
395 field['type'] = field_type
650 body_lines.append([field.field_type, field.field_name])
744 field_type = row[1]
745 if field_type.startswith('+') or field_type.endswith('+'):
746 field_type = field_type.strip('+')
750 if field_type or value:
751 body_fields.append(Field(field_type,
/external/pdfium/third_party/libtiff/
Dtif_print.c77 if(fip->field_type == TIFF_BYTE) in _TIFFPrintField()
79 else if(fip->field_type == TIFF_UNDEFINED) in _TIFFPrintField()
82 else if(fip->field_type == TIFF_SBYTE) in _TIFFPrintField()
84 else if(fip->field_type == TIFF_SHORT) in _TIFFPrintField()
86 else if(fip->field_type == TIFF_SSHORT) in _TIFFPrintField()
88 else if(fip->field_type == TIFF_LONG) in _TIFFPrintField()
91 else if(fip->field_type == TIFF_SLONG) in _TIFFPrintField()
93 else if(fip->field_type == TIFF_IFD) in _TIFFPrintField()
96 else if(fip->field_type == TIFF_RATIONAL in _TIFFPrintField()
97 || fip->field_type == TIFF_SRATIONAL in _TIFFPrintField()
[all …]
Dtif_dirinfo.c344 return (ta->field_type == TIFF_ANY) ? in tagCompare()
345 0 : ((int)tb->field_type - (int)ta->field_type); in tagCompare()
358 return (ta->field_type == TIFF_ANY) ? in tagNameCompare()
359 0 : ((int)tb->field_type - (int)ta->field_type); in tagNameCompare()
419 , fip->field_type in _TIFFPrintFieldInfo()
506 (dt == TIFF_ANY || dt == tif->tif_foundfield->field_type)) in TIFFFindField()
516 key.field_type = dt; in TIFFFindField()
532 && (dt == TIFF_ANY || dt == tif->tif_foundfield->field_type)) in _TIFFFindFieldByName()
542 key.field_type = dt; in _TIFFFindFieldByName()
590 return fip->field_type; in TIFFFieldDataType()
[all …]
/external/v8/src/compiler/
Daccess-info.cc82 MachineRepresentation field_representation, Type* field_type, in DataField() argument
86 field_representation, field_type, field_map, in DataField()
129 Type* field_type, MaybeHandle<Map> field_map, MapList const& receiver_maps) in PropertyAccessInfo() argument
136 field_type_(field_type), in PropertyAccessInfo()
310 Type* field_type = Type::NonInternal(); in ComputePropertyAccessInfo() local
315 field_type = Type::SignedSmall(); in ComputePropertyAccessInfo()
318 field_type = type_cache_.kFloat64; in ComputePropertyAccessInfo()
339 field_type = Type::For(descriptors_field_type->AsClass()); in ComputePropertyAccessInfo()
345 field_type, field_map, holder); in ComputePropertyAccessInfo()
456 Type* field_type = Type::NonInternal(); in LookupSpecialFieldAccessor() local
[all …]
Daccess-info.h75 MachineRepresentation field_representation, Type* field_type,
101 Type* field_type() const { return field_type_; } in field_type() function
116 Type* field_type, MaybeHandle<Map> field_map,
/external/protobuf/src/google/protobuf/
Dextension_set.h288 void* MutableRawRepeatedField(int number, FieldType field_type,
700 static inline void Set(int number, FieldType field_type,
715 static inline void Add(int number, FieldType field_type,
721 MutableRepeated(int number, FieldType field_type,
749 int number, FieldType field_type, TYPE value, ExtensionSet* set) { \
750 set->Set##METHOD(number, field_type, value, NULL); \
762 int number, FieldType field_type, bool is_packed, \
764 set->Add##METHOD(number, field_type, is_packed, value, NULL); \
783 FieldType field_type, \
787 set->MutableRawRepeatedField(number, field_type, is_packed, NULL)); \
[all …]
Ddescriptor.h643 static inline bool IsTypePackable(Type field_type);
1878 inline bool FieldDescriptor::IsTypePackable(Type field_type) { in IsTypePackable() argument
1879 return (field_type != FieldDescriptor::TYPE_STRING && in IsTypePackable()
1880 field_type != FieldDescriptor::TYPE_GROUP && in IsTypePackable()
1881 field_type != FieldDescriptor::TYPE_MESSAGE && in IsTypePackable()
1882 field_type != FieldDescriptor::TYPE_BYTES); in IsTypePackable()
/external/libmtp/examples/
Ddelfile.c63 int field_type = 0; in delfile_command() local
68 field_type = FILENAME; in delfile_command()
71 field_type = ITEMID; in delfile_command()
87 if (field_type == ITEMID) { in delfile_command()
/external/autotest/client/cros/cellular/mbim_compliance/
Dmbim_message.py105 for _, field_name, field_type in fields:
107 if field_type == FIELD_TYPE_TOTAL_LEN:
111 elif field_type == FIELD_TYPE_TRANSACTION_ID:
294 for _, field_name, field_type in fields:
295 if field_type == find_type:
398 def _get_fields_of_type(self, field_type, get_all=False): argument
407 field_names = self.__class__._find_field_names_of_type(field_type,
/external/autotest/tko/
Djob_serializer.py382 for field, field_type in objdict.items():
384 if field_type in (str, int, long):
385 resultdict[field] = field_type(value)
386 elif field_type == datetime:
/external/e2fsprogs/ext2ed/
Dinit.c213 int field_type; member
234 char field_type=FIELD_TYPE_INT; in add_new_variable() local
243 field_type = p->field_type; in add_new_variable()
250 field_type = FIELD_TYPE_CHAR; in add_new_variable()
258 ptr->field_types [ptr->fields_num] = field_type; in add_new_variable()
/external/mesa3d/src/glsl/
Dglsl_types.cpp560 glsl_type::field_type(const char *name) const in field_type() function in glsl_type
727 const struct glsl_type *field_type = this->fields.structure[i].type; in std140_base_alignment() local
729 field_type->std140_base_alignment(row_major)); in std140_base_alignment()
843 const struct glsl_type *field_type = this->fields.structure[i].type; in std140_size() local
844 unsigned align = field_type->std140_base_alignment(row_major); in std140_size()
846 size += field_type->std140_size(row_major); in std140_size()
Dlink_uniform_initializers.cpp91 const glsl_type *field_type = type->fields.structure[i].type; in set_uniform_initializer() local
95 field_type, field_constant); in set_uniform_initializer()
/external/protobuf/python/google/protobuf/internal/
Dwire_format.py259 def IsTypePackable(field_type): argument
268 return field_type not in NON_PACKABLE_TYPES
/external/nanopb-c/generator/google/protobuf/internal/
Dwire_format.py259 def IsTypePackable(field_type): argument
268 return field_type not in NON_PACKABLE_TYPES
Dtype_checkers.py56 def GetTypeChecker(cpp_type, field_type): argument
68 field_type == _FieldDescriptor.TYPE_STRING):
/external/boringssl/src/crypto/ec/
Dec_asn1.c267 CBS params, field_id, field_type, curve, base; in parse_explicit_prime_curve() local
273 !CBS_get_asn1(&field_id, &field_type, CBS_ASN1_OBJECT) || in parse_explicit_prime_curve()
274 CBS_len(&field_type) != sizeof(kPrimeField) || in parse_explicit_prime_curve()
275 OPENSSL_memcmp(CBS_data(&field_type), kPrimeField, sizeof(kPrimeField)) != 0 || in parse_explicit_prime_curve()
/external/autotest/client/cros/
Dpower_status.py38 def read_val(self, file_name, field_type): argument
45 val = field_type(out)
49 return field_type(0)
96 field_type = int
98 field_type = str
99 self.thermal_fields[field] = [field, field_type]
163 def read_val(self, file_name, field_type): argument
168 return field_type(out)
170 return field_type(0)
/external/protobuf/src/google/protobuf/util/internal/
Ddefault_value_objectwriter.cc327 const google::protobuf::Type* field_type = NULL; in PopulateChildren() local
343 field_type = found_type; in PopulateChildren()
347 field_type = GetMapValueType(*found_type, typeinfo); in PopulateChildren()
366 field.json_name(), field_type, kind, in PopulateChildren()
/external/v8/src/ic/
Dhandler-compiler.cc556 FieldType* field_type) const { in RequiresFieldTypeChecks()
557 return field_type->IsClass(); in RequiresFieldTypeChecks()
565 FieldType* field_type = *it->GetFieldType(); in CompileStoreField() local
567 if (RequiresFieldTypeChecks(field_type)) { in CompileStoreField()
573 GenerateFieldTypeChecks(field_type, value(), &miss); in CompileStoreField()
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_helpers.cc200 JavaType GetJavaType(FieldDescriptor::Type field_type) { in GetJavaType() argument
201 switch (field_type) { in GetJavaType()
/external/clang/docs/tools/
Ddump_format_style.py139 field_type, field_name = re.match(r'([<>:\w(,\s)]+)\s+(\w+);',
141 option = Option(str(field_name), str(field_type), comment)

1234