Home
last modified time | relevance | path

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

1234

/external/llvm-project/lldb/source/Interpreter/
DOptionValueEnumeration.cpp17 const OptionEnumValues &enumerators, enum_type value) in OptionValueEnumeration() argument
20 SetEnumerations(enumerators); in OptionValueEnumeration()
89 const OptionEnumValues &enumerators) { in SetEnumerations() argument
92 for (const auto &enumerator : enumerators) { in SetEnumerations()
/external/python/cffi/c/
Drealize_c_type.c482 PyObject *enumerators = NULL, *enumvalues = NULL, *tmp; in realize_c_type_or_func() local
491 if (*e->enumerators != '\0') { in realize_c_type_or_func()
493 for (p = e->enumerators; *p != '\0'; p++) in realize_c_type_or_func()
496 enumerators = PyTuple_New(n); in realize_c_type_or_func()
497 if (enumerators == NULL) in realize_c_type_or_func()
502 Py_DECREF(enumerators); in realize_c_type_or_func()
506 p = e->enumerators; in realize_c_type_or_func()
514 PyTuple_SET_ITEM(enumerators, i, tmp); in realize_c_type_or_func()
533 args = Py_BuildValue("(sOOO)", name, enumerators, in realize_c_type_or_func()
536 Py_DECREF(enumerators); in realize_c_type_or_func()
Dcdlopen.c303 nenums[i].enumerators = e; in ffiobj_init()
/external/llvm-project/lldb/include/lldb/Interpreter/
DOptionValueEnumeration.h32 OptionValueEnumeration(const OptionEnumValues &enumerators, enum_type value);
76 void SetEnumerations(const OptionEnumValues &enumerators);
/external/clang/utils/ABITest/
DTypeGen.py61 def __init__(self, index, enumerators): argument
63 self.enumerators = enumerators
69 for i, init in enumerate(self.enumerators):
275 for enumerators in combinations(self.values, numEnumerators):
277 return EnumType(n, enumerators)
/external/llvm-project/clang/utils/ABITest/
DTypeGen.py62 def __init__(self, index, enumerators): argument
64 self.enumerators = enumerators
70 for i, init in enumerate(self.enumerators):
277 for enumerators in combinations(self.values, numEnumerators):
279 return EnumType(n, enumerators)
/external/python/pycparser/tests/
Dtest_c_parser.py625 for e2_eval in e2_elist.enumerators:
628 self.assertEqual(e2_elist.enumerators[0].name, 'large')
629 self.assertEqual(e2_elist.enumerators[0].value.value, '20')
630 self.assertEqual(e2_elist.enumerators[2].name, 'medium')
631 self.assertEqual(e2_elist.enumerators[2].value, None)
648 for e3_eval in e3_elist.enumerators:
651 self.assertEqual(e3_elist.enumerators[0].name, 'red')
652 self.assertEqual(e3_elist.enumerators[0].value, None)
653 self.assertEqual(e3_elist.enumerators[1].name, 'blue')
654 self.assertEqual(e3_elist.enumerators[2].name, 'green')
/external/python/cffi/cffi/
Dmodel.py491 def __init__(self, name, enumerators, enumvalues, baseinttype=None): argument
493 self.enumerators = enumerators
513 self.enumerators, self.enumvalues,
Dcparser.py869 enumerators = []
872 for enum in decls.enumerators:
878 enumerators.append(enum.name)
882 enumerators = tuple(enumerators)
884 tp = model.EnumType(explicit_name, enumerators, enumvalues)
Dparse_c_type.h136 const char *enumerators; // comma-delimited string member
Dvengine_gen.py511 for enumerator in tp.enumerators:
520 for enumerator, enumvalue in zip(tp.enumerators, tp.enumvalues):
529 for enumerator in tp.enumerators]
537 for enumerator, enumvalue in zip(tp.enumerators, tp.enumvalues):
Dvengine_cpy.py698 for enumerator in tp.enumerators:
706 for enumerator, enumvalue in zip(tp.enumerators, tp.enumvalues):
720 for enumerator in tp.enumerators]
725 for enumerator, enumvalue in zip(tp.enumerators, tp.enumvalues):
Drecompiler.py1097 for enumerator in tp.enumerators:
1105 for enumerator, enumvalue in zip(tp.enumerators, tp.enumvalues):
1117 allenums = ",".join(tp.enumerators)
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DEnumCastOutOfRangeChecker.cpp73 llvm::transform(ED->enumerators(), DeclValues.begin(), in getDeclValuesForEnum()
/external/python/pycparser/pycparser/
D_c_ast.cfg89 # A list of enumerators
91 EnumeratorList: [enumerators**]
Dc_ast.py533 def __init__(self, enumerators, coord=None): argument
534 self.enumerators = enumerators
539 for i, child in enumerate(self.enumerators or []):
544 for child in (self.enumerators or []):
Dc_generator.py312 members = None if n.values is None else n.values.enumerators
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DClangPersistentVariables.cpp91 for (clang::EnumConstantDecl *enumerator_decl : enum_decl->enumerators()) { in RegisterPersistentDecl()
/external/llvm-project/llvm/include/llvm/BinaryFormat/
DMsgPack.def10 /// Macros for running through MessagePack enumerators.
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
DMsgPack.def10 /// Macros for running through MessagePack enumerators.
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
DPopulateSwitch.cpp146 for (auto *EnumConstant : EnumD->enumerators()) { in REGISTER_TWEAK()
/external/llvm-project/clang/include/clang/Basic/
DDeclNodes.td37 def EnumConstant : DeclNode<Value, "enumerators">;
/external/libabigail/src/
Dabg-default-reporter.cc156 enum_type_decl::enumerators sorted_deleted_enumerators; in report()
158 for (enum_type_decl::enumerators::const_iterator i = in report()
175 enum_type_decl::enumerators sorted_inserted_enumerators; in report()
177 for (enum_type_decl::enumerators::const_iterator i = in report()
/external/clang/lib/AST/
DTemplateBase.cpp44 for (const EnumConstantDecl* ECD : ET->getDecl()->enumerators()) { in printIntegral()
/external/llvm-project/clang/lib/AST/
DTemplateBase.cpp59 for (const EnumConstantDecl* ECD : ET->getDecl()->enumerators()) { in printIntegral()

1234