Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/python/
Dcreate_custom_op.py82 default_type = types_pb2.DT_FLOAT
87 output_dtypes=[default_type for _ in outputs],
/external/python/cpython3/Tools/clinic/
Dclinic.py2268 default_type = None variable in CConverter
2347 if self.default_type and not isinstance(default, (self.default_type, Unknown)):
2348 if isinstance(self.default_type, type):
2349 types_str = self.default_type.__name__
2351 types_str = ', '.join((cls.__name__ for cls in self.default_type))
2540 default_type = bool variable in bool_converter
2555 default_type = (bytes, bytearray) variable in char_converter
2560 if isinstance(self.default, self.default_type) and (len(self.default) != 1):
2567 default_type = int variable in unsigned_char_converter
2579 default_type = int variable in short_converter
[all …]
/external/e2fsprogs/e2fsck/
De2fsck.h643 unsigned int default_type,
648 int default_type,
653 int default_type,
658 int default_type,
Dutil.c798 void e2fsck_set_bitmap_type(ext2_filsys fs, unsigned int default_type, in e2fsck_set_bitmap_type() argument
807 default_type, &type); in e2fsck_set_bitmap_type()
809 fs->default_bitmap_type = type ? type : default_type; in e2fsck_set_bitmap_type()
/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dquantization_util.h39 ArrayDataType default_type);
Dquantization_util.cc57 ArrayDataType default_type) { in GetQuantizedDataType() argument
70 return default_type; in GetQuantizedDataType()
/external/fonttools/Lib/fontTools/varLib/
Dcff.py253 def __init__(self, point_type, pt_index, m_index, default_type, glyphName): argument
261 m_index=m_index, default_type=default_type)
/external/libxkbcommon/xkbcommon/src/xkbcomp/
Dsymbols.c97 xkb_atom_t default_type; member
405 into->default_type = from->default_type; in MergeKeys()
817 keyi->default_type = val; in SetSymbolsField()
1362 if (keyi->default_type != XKB_ATOM_NONE) { in FindTypeForGroup()
1363 type_name = keyi->default_type; in FindTypeForGroup()
/external/tensorflow/tensorflow/java/src/gen/cc/
Dop_generator.cc219 Type default_type = Type::ForDataType(attr.default_value()->type()); in RenderFactoryMethods() local
220 if (!default_type.wildcard()) { in RenderFactoryMethods()
221 default_types.insert(std::make_pair(attr.type().name(), default_type)); in RenderFactoryMethods()
/external/selinux/checkpolicy/
Dpolicy_scan.l249 default_type |
Dpolicy_define.c452 if (cladatum->default_type && cladatum->default_type != which) { in define_default_type()
456 cladatum->default_type = which; in define_default_type()
/external/selinux/libsepol/src/
Dlink.c226 if (olddatum->default_type) { in class_copy_default_new_object()
227 if (newdatum->default_type && olddatum->default_type != newdatum->default_type) { in class_copy_default_new_object()
231 newdatum->default_type = olddatum->default_type; in class_copy_default_new_object()
Dexpand.c395 if (olddatum->default_type) { in class_copy_default_new_object()
396 if (newdatum->default_type && olddatum->default_type != newdatum->default_type) { in class_copy_default_new_object()
400 newdatum->default_type = olddatum->default_type; in class_copy_default_new_object()
Dkernel_to_cil.c662 switch (class->default_type) { in write_default_type_to_cil()
670 sepol_log_err("Unknown default type value: %i", class->default_type); in write_default_type_to_cil()
741 if (class->default_type != 0) { in write_default_rules_to_cil()
Dkernel_to_conf.c633 switch (class->default_type) { in write_default_type_to_conf()
641 sepol_log_err("Unknown default type value: %i", class->default_type); in write_default_type_to_conf()
712 if (class->default_type != 0) { in write_default_rules_to_conf()
Dmodule_to_cil.c2035 if (class->default_type != 0) { in class_to_cil()
2036 switch (class->default_type) { in class_to_cil()
2040 log_err("Unknown default type value: %i", class->default_type); in class_to_cil()
Dwrite.c1047 buf[0] = cpu_to_le32(cladatum->default_type); in class_write()
Dpolicydb.c2321 cladatum->default_type = le32_to_cpu(buf[0]); in class_read()
/external/libtextclassifier/actions/
Dactions-suggestions.h252 const ActionSuggestionSpec* action, const std::string& default_type = "",
Dactions-suggestions.cc568 const ActionSuggestionSpec* action, const std::string& default_type, in SuggestionFromSpec() argument
578 : default_type; in SuggestionFromSpec()
/external/python/cpython2/Objects/stringlib/
Dformatter.h172 char default_type, in parse_internal_render_format_spec() argument
192 format->type = default_type; in parse_internal_render_format_spec()
/external/python/cpython3/Python/
Dformatter_unicode.c167 char default_type, in parse_internal_render_format_spec() argument
188 format->type = default_type; in parse_internal_render_format_spec()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h125 char default_type; member
/external/selinux/libsepol/cil/src/
Dcil_binary.c3628 if (!sepol_class->default_type) { in cil_default_to_policydb()
3629 sepol_class->default_type = def->object; in cil_default_to_policydb()
3630 } else if (sepol_class->default_type != (char)def->object) { in cil_default_to_policydb()
/external/selinux/python/sepolgen/tests/test_data/
Dhttpd.log8314 …66:13409): avc: denied { read } for pid=15841 comm="newrole" name="default_type" dev=dm-0 ino=9…
8316 …13410): avc: denied { getattr } for pid=15841 comm="newrole" name="default_type" dev=dm-0 ino=9…
8318 type=AVC_PATH msg=audit(1163778643.866:13410): path="/etc/selinux/strict/contexts/default_type"