/external/tensorflow/tensorflow/core/framework/ |
D | op_def_util.cc | 456 bool MoreRestrictive(const OpDef::AttrDef& old_attr, in MoreRestrictive() argument 461 if (!old_attr.has_allowed_values()) return true; in MoreRestrictive() 464 if (!IsSubsetOf(old_attr.allowed_values().list().type(), in MoreRestrictive() 468 if (!IsSubsetOf(old_attr.allowed_values().list().s(), in MoreRestrictive() 485 bool HigherMinimum(const OpDef::AttrDef& old_attr, in HigherMinimum() argument 490 if (!old_attr.has_minimum()) return true; in HigherMinimum() 493 return new_attr.minimum() > old_attr.minimum(); in HigherMinimum() 544 const OpDef::AttrDef* old_attr = in ComputeArgSignature() local 546 if (old_attr) { in ComputeArgSignature() 573 const OpDef::AttrDef* old_attr = in ComputeArgSignature() local [all …]
|
/external/python/cpython2/Lib/lib2to3/fixes/ |
D | fix_renames.py | 24 for old_attr, new_attr in replace.items(): 25 LOOKUP[(module, old_attr)] = new_attr 35 """ % (module, old_attr, old_attr) 38 """ % (module, old_attr)
|
/external/python/cpython3/Lib/lib2to3/fixes/ |
D | fix_renames.py | 24 for old_attr, new_attr in list(replace.items()): 25 LOOKUP[(module, old_attr)] = new_attr 35 """ % (module, old_attr, old_attr) 38 """ % (module, old_attr)
|
/external/python/six/ |
D | six.py | 141 def __init__(self, name, old_mod, new_mod, old_attr=None, new_attr=None): argument 148 if old_attr is None: 151 new_attr = old_attr 155 if old_attr is None: 156 old_attr = name 157 self.attr = old_attr
|
/external/llvm-project/lldb/third_party/Python/module/six/ |
D | six.py | 141 def __init__(self, name, old_mod, new_mod, old_attr=None, new_attr=None): argument 148 if old_attr is None: 151 new_attr = old_attr 155 if old_attr is None: 156 old_attr = name 157 self.attr = old_attr
|
/external/python/parse_type/tasks/_vendor/ |
D | six.py | 141 def __init__(self, name, old_mod, new_mod, old_attr=None, new_attr=None): argument 148 if old_attr is None: 151 new_attr = old_attr 155 if old_attr is None: 156 old_attr = name 157 self.attr = old_attr
|
/external/python/setuptools/pkg_resources/_vendor/ |
D | six.py | 141 def __init__(self, name, old_mod, new_mod, old_attr=None, new_attr=None): argument 148 if old_attr is None: 151 new_attr = old_attr 155 if old_attr is None: 156 old_attr = name 157 self.attr = old_attr
|
/external/python/setuptools/setuptools/_vendor/ |
D | six.py | 141 def __init__(self, name, old_mod, new_mod, old_attr=None, new_attr=None): argument 148 if old_attr is None: 151 new_attr = old_attr 155 if old_attr is None: 156 old_attr = name 157 self.attr = old_attr
|
/external/scapy/scapy/modules/ |
D | six.py | 146 def __init__(self, name, old_mod, new_mod, old_attr=None, new_attr=None): argument 153 if old_attr is None: 156 new_attr = old_attr 160 if old_attr is None: 161 old_attr = name 162 self.attr = old_attr
|
/external/arm-trusted-firmware/lib/xlat_tables_v2/ |
D | xlat_tables_utils.c | 525 uint32_t old_attr = 0U, new_attr; in xlat_change_mem_attributes_ctx() local 530 (void) xlat_get_mem_attributes_internal(ctx, base_va, &old_attr, in xlat_change_mem_attributes_ctx() 540 new_attr = old_attr & ~(MT_RW | MT_EXECUTE_NEVER | MT_USER); in xlat_change_mem_attributes_ctx()
|
/external/rust/crates/nix/test/ |
D | test_mq.rs | 80 let old_attr = mq_setattr(mqd, &new_attr).unwrap(); in test_mq_setattr() localVariable 81 assert_eq!(old_attr, initial_attr); in test_mq_setattr()
|
/external/python/six/documentation/ |
D | index.rst | 845 .. class:: MovedAttribute(name, old_mod, new_mod, old_attr=None, new_attr=None) 850 defaults to *old_attr*. If neither is given, they both default to *name*.
|