Home
last modified time | relevance | path

Searched refs:enum_member (Results 1 – 7 of 7) sorted by relevance

/external/python/enum34/enum/
D__init__.py226 enum_member = __new__(enum_class)
227 if not hasattr(enum_member, '_value_'):
228 enum_member._value_ = value
230 enum_member = __new__(enum_class, *args)
231 if not hasattr(enum_member, '_value_'):
232 enum_member._value_ = member_type(*args)
233 value = enum_member._value_
234 enum_member._name_ = member_name
235 enum_member.__objclass__ = enum_class
236 enum_member.__init__(*args)
[all …]
/external/python/cpython3/Lib/
Denum.py215 enum_member = __new__(enum_class)
216 if not hasattr(enum_member, '_value_'):
217 enum_member._value_ = value
219 enum_member = __new__(enum_class, *args)
220 if not hasattr(enum_member, '_value_'):
222 enum_member._value_ = value
224 enum_member._value_ = member_type(*args)
225 value = enum_member._value_
226 enum_member._name_ = member_name
227 enum_member.__objclass__ = enum_class
[all …]
/external/tensorflow/tensorflow/tools/common/
Dtraverse.py44 for enum_member in root.__members__.items():
45 if enum_member not in children:
46 children.append(enum_member)
/external/llvm-project/lldb/source/API/
DSBTypeEnumMember.cpp154 void SBTypeEnumMemberList::Append(SBTypeEnumMember enum_member) { in Append() argument
156 (lldb::SBTypeEnumMember), enum_member); in Append()
158 if (enum_member.IsValid()) in Append()
159 m_opaque_up->Append(enum_member.m_opaque_sp); in Append()
DSBType.cpp443 SBTypeEnumMember enum_member( in GetEnumMembers() local
446 sb_enum_member_list.Append(enum_member); in GetEnumMembers()
/external/llvm-project/lldb/test/API/python_api/type/
DTestTypeList.py72 for enum_member in field.type.enum_members:
73 self.assertTrue(enum_member)
74 self.DebugSBType(enum_member.type)
/external/llvm-project/lldb/include/lldb/Symbol/
DType.h515 lldb::TypeEnumMemberImplSP enum_member; in GetTypeEnumMemberAtIndex() local
517 enum_member = m_content[idx]; in GetTypeEnumMemberAtIndex()
518 return enum_member; in GetTypeEnumMemberAtIndex()