Home
last modified time | relevance | path

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

1234

/external/bcc/src/cc/frontends/clang/
Dtp_frontend_action.cc60 string& field_type, in _get_field_kind() argument
96 field_type = field.substr(0, pos); in _get_field_kind()
98 if (field_type.find("__data_loc") != string::npos) in _get_field_kind()
110 if (field_type == "char" || field_type == "int8_t") in _get_field_kind()
111 field_type = "s16"; in _get_field_kind()
112 if (field_type == "unsigned char" || field_type == "uint8_t") in _get_field_kind()
113 field_type = "u16"; in _get_field_kind()
115 if (field_type == "char" || field_type == "short" || in _get_field_kind()
116 field_type == "int8_t" || field_type == "int16_t") in _get_field_kind()
117 field_type = "s32"; in _get_field_kind()
[all …]
/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/syzkaller/tools/syz-headerparser/headerlib/
Dcontainer.py93 … rows.append((field.field_identifier, _get_syzkaller_type(field.field_type), field.field_type))
127 def __init__(self, field_type, field_identifier): argument
128 self._field_type = field_type
133 def field_type(self): member in FieldRepr
136 @field_type.setter
137 def field_type(self, field_type): argument
138 self._field_type = field_type
218 if field.field_type in self:
219 field.field_extra = self[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.c352 return (ta->field_type == TIFF_ANY) ? in tagCompare()
353 0 : ((int)tb->field_type - (int)ta->field_type); in tagCompare()
366 return (ta->field_type == TIFF_ANY) ? in tagNameCompare()
367 0 : ((int)tb->field_type - (int)ta->field_type); in tagNameCompare()
427 , fip->field_type in _TIFFPrintFieldInfo()
514 (dt == TIFF_ANY || dt == tif->tif_foundfield->field_type)) in TIFFFindField()
524 key.field_type = dt; in TIFFFindField()
540 && (dt == TIFF_ANY || dt == tif->tif_foundfield->field_type)) in _TIFFFindFieldByName()
550 key.field_type = dt; in _TIFFFindFieldByName()
598 return fip->field_type; in TIFFFieldDataType()
[all …]
/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 …]
/external/v8/src/compiler/
Daccess-info.cc91 Type field_type, MaybeHandle<Map> field_map, MaybeHandle<JSObject> holder, in DataField() argument
96 field_representation, field_type, field_map, in DataField()
140 Type field_type, MaybeHandle<Map> field_map, in PropertyAccessInfo() argument
148 field_type_(field_type), in PropertyAccessInfo()
376 Type field_type = Type::NonInternal(); in ComputePropertyAccessInfo() local
381 field_type = Type::SignedSmall(); in ComputePropertyAccessInfo()
384 field_type = type_cache_.kFloat64; in ComputePropertyAccessInfo()
403 field_type = Type::For(js_heap_broker(), map); in ComputePropertyAccessInfo()
409 field_representation, field_type, field_map, holder); in ComputePropertyAccessInfo()
626 Type field_type = Type::NonInternal(); in LookupSpecialFieldAccessor() local
[all …]
Daccess-info.h79 Type field_type, MaybeHandle<Map> field_map = MaybeHandle<Map>(),
109 Type field_type() const { return field_type_; } in field_type() function
125 Type field_type, MaybeHandle<Map> field_map,
Dproperty-access-builder.cc231 Type const field_type = access_info.field_type(); in BuildLoadDataField() local
245 field_type, in BuildLoadDataField()
/external/libmtp/examples/
Ddelfile.c63 int field_type = 0; in delfile_command() local
69 field_type = FILENAME; in delfile_command()
72 field_type = ITEMID; in delfile_command()
87 if (field_type == ITEMID) { in delfile_command()
/external/python/apitools/apitools/gen/
Dextended_descriptor.py324 field_type = messages.Field.lookup_field_type_by_variant(
329 if field_type in (messages.EnumField, messages.MessageField):
335 if field_type in [messages.BytesField, messages.StringField]:
337 elif field_type is messages.BooleanField:
510 field_type = message_field
513 field_type = apitools_base.DateField
515 field_type = messages.Field.lookup_field_type_by_variant(
518 if field_type in (messages.EnumField, messages.MessageField):
526 if field_type.DEFAULT_VARIANT != field.variant:
531 if field_type in [messages.BytesField, messages.StringField]:
[all …]
/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/bcc/tools/
Dtrace.py295 field_type = self.types[idx]
296 if field_type == "s":
299 ptype = Probe.p_type[field_type]
335 field_type = self.types[idx]
336 if field_type == "s":
338 if field_type in Probe.fmt_types:
339 return "%s v%d;\n" % (Probe.c_type[field_type], idx)
340 self._bail("unrecognized format specifier %s" % field_type)
352 for i, field_type in enumerate(self.types):
383 field_type = self.types[idx]
[all …]
Dtplist.py44 field_type = " ".join(parts[:-1])
47 print(" %s %s;" % (field_type, field_name))
/external/grpc-grpc/tools/gcp/utils/
Dbig_query_utils.py66 'type': field_type,
68 } for (field_name, field_type, field_description) in table_schema]
86 'type': field_type,
88 } for (field_name, field_type, field_description) in table_schema]
/external/perfetto/src/protozero/
Dproto_decoder.cc69 auto field_type = static_cast<uint8_t>(preamble & kFieldTypeMask); in ParseOneField() local
74 switch (field_type) { in ParseOneField()
126 PERFETTO_DLOG("Invalid proto field type: %u", field_type); in ParseOneField()
135 res.field.initialize(static_cast<uint16_t>(field_id), field_type, int_value, in ParseOneField()
/external/pdfium/core/fpdfdoc/
Dcpdf_annotlist.cpp86 ByteString field_type = pFieldTypeObj->GetString(); in GenerateAP() local
87 if (field_type == "Tx") { in GenerateAP()
95 if (field_type == "Ch") { in GenerateAP()
103 if (field_type != "Btn") in GenerateAP()
/external/libtextclassifier/utils/
Dlua-utils.cc110 const reflection::BaseType field_type = field->type()->base_type(); in GetField() local
111 switch (field_type) { in GetField()
150 const reflection::Object *field_type = in GetField() local
152 PushFlatbuffer(field->name()->c_str(), schema, field_type, field_table, in GetField()
157 TC3_LOG(ERROR) << "Unsupported type: " << field_type; in GetField()
/external/perfetto/src/perfetto_cmd/
Dpbtxt_to_pb.cc167 const auto& field_type = field->type(); in NumericField() local
168 switch (field_type) { in NumericField()
212 const auto& field_type = field->type(); in StringField() local
213 PERFETTO_CHECK(field_type == FieldDescriptorProto::TYPE_STRING || in StringField()
214 field_type == FieldDescriptorProto::TYPE_BYTES); in StringField()
283 const auto& field_type = field->type(); in IdentifierField() local
284 if (field_type == FieldDescriptorProto::TYPE_BOOL) { in IdentifierField()
297 } else if (field_type == FieldDescriptorProto::TYPE_ENUM) { in IdentifierField()
/external/autotest/tko/
Djob_serializer.py383 for field, field_type in objdict.items():
385 if field_type in (str, int, long):
386 resultdict[field] = field_type(value)
387 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/apache-commons-bcel/src/main/java/org/apache/bcel/verifier/statics/
DPass2Verifier.java925 …final Type field_type = Type.getType(((ConstantUtf8) (cp.getConstant(f.getSignatureIndex()))).getB… in visitConstantValue() local
933 if (CONST_Long.isInstance(c) && field_type.equals(Type.LONG)) { in visitConstantValue()
936 if (CONST_Float.isInstance(c) && field_type.equals(Type.FLOAT)) { in visitConstantValue()
939 if (CONST_Double.isInstance(c) && field_type.equals(Type.DOUBLE)) { in visitConstantValue()
942 …if (CONST_Integer.isInstance(c) && (field_type.equals(Type.INT) || field_type.equals(Type.SHORT) || in visitConstantValue()
943field_type.equals(Type.CHAR) || field_type.equals(Type.BYTE) || field_type.equals(Type.BOOLEAN))) { in visitConstantValue()
946 if (CONST_String.isInstance(c) && field_type.equals(Type.STRING)) { in visitConstantValue()
951 … "'. It is referenced by field '"+tostring(f)+"' expecting a different type: '"+field_type+"'."); in visitConstantValue()
/external/mesa3d/src/compiler/
Dglsl_types.cpp1319 glsl_type::field_type(const char *name) const in field_type() function in glsl_type
1668 const struct glsl_type *field_type = this->fields.structure[i].type; in std140_base_alignment() local
1670 field_type->std140_base_alignment(field_row_major)); in std140_base_alignment()
1792 const struct glsl_type *field_type = this->fields.structure[i].type; in std140_size() local
1793 unsigned align = field_type->std140_base_alignment(field_row_major); in std140_size()
1796 if (field_type->is_unsized_array()) in std140_size()
1800 size += field_type->std140_size(field_row_major); in std140_size()
1804 if (field_type->is_record() && (i + 1 < this->length)) in std140_size()
1914 const struct glsl_type *field_type = this->fields.structure[i].type; in std430_base_alignment() local
1916 field_type->std430_base_alignment(field_row_major)); in std430_base_alignment()
[all …]
/external/tensorflow/tensorflow/core/util/proto/
Dproto_utils.cc30 bool IsCompatibleType(FieldDescriptor::Type field_type, DataType dtype) { in IsCompatibleType() argument
31 switch (field_type) { in IsCompatibleType()
/external/protobuf/python/google/protobuf/internal/
Dwire_format.py259 def IsTypePackable(field_type): argument
268 return field_type not in NON_PACKABLE_TYPES

1234