Home
last modified time | relevance | path

Searched +full:enum +full:- +full:name (Results 1 – 25 of 1038) sorted by relevance

12345678910>>...42

/freebsd/lib/libifconfig/
H A Dlibifconfig_sfp_tables.tpl.h1 /*-
42 local enum = ent
43 local name = "sfp_"..enum.name
46 /** {*enum.description*} */
47 enum {*name*} {
49 for _, item in ipairs(enum.values) do
51 local symbol = string.upper(name).."_"..sym
59 /** Get the symbolic name of a given {*name*} value */
60 const char *ifconfig_{*name*}_symbol(enum {*name*});
62 /** Get a brief description of a given {*name*} value */
[all …]
H A Dlibifconfig_sfp_tables.tpl.c1 /*-
33 const char *symbol; /* symbolic name */
35 const char *display; /* shortened display name */
41 while (table->value != value && table->symbol != NULL) in find_metadata()
43 return (table->symbol != NULL ? table : NULL); in find_metadata()
56 local enum = ent
57 local name = "sfp_"..enum.name
60 static const struct sfp_enum_metadata {*name*}_table_[] = {
62 for _, item in ipairs(enum.values) do
64 local symbol = string.upper(name).."_"..sym
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DOpenMPKinds.h1 //===--- OpenMPKinds.h - OpenMP enums ---------------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 /// Defines some OpenMP-specific enums and functions.
12 //===----------------------------------------------------------------------===//
30 enum OpenMPScheduleClauseKind {
31 #define OPENMP_SCHEDULE_KIND(Name) \ argument
32 OMPC_SCHEDULE_##Name,
38 enum OpenMPScheduleClauseModifier {
40 #define OPENMP_SCHEDULE_MODIFIER(Name) \ argument
[all …]
H A DTypeTraits.h1 //===--- TypeTraits.h - C++ Type Traits Support Enumerations ----*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
21 enum TypeTrait {
22 #define TYPE_TRAIT_1(Spelling, Name, Key) UTT_##Name, argument
24 UTT_Last = -1 // UTT_Last == last UTT_XX in the enum.
25 #define TYPE_TRAIT_1(Spelling, Name, Key) +1 argument
28 #define TYPE_TRAIT_2(Spelling, Name, Key) BTT_##Name, argument
30 BTT_Last = UTT_Last // BTT_Last == last BTT_XX in the enum.
[all …]
H A DLangOptions.h1 //===- LangOptions.h - C Language Family Language Options -------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
35 enum class MSVtorDispMode { Never, ForVBaseOverride, ForVFTable };
39 /// Triple Environment enum in llvm::Triple. The ordering is enforced in
41 enum class ShaderStage {
60 enum class PointerAuthenticationMode : unsigned {
77 enum GCMode { NonGC, GCOnly, HybridGC };
78 enum StackProtectorMode { SSPOff, SSPOn, SSPStrong, SSPReq };
[all …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DSearchableTableEmitter.cpp1 //===- SearchableTableEmitter.cpp - Generate efficiently searchable tables -==//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
14 //===----------------------------------------------------------------------===//
32 #define DEBUG_TYPE "searchable-table-emitter"
38 B->convertInitializerTo(IntRecTy::get(B->getRecordKeeper()))) in getAsInt()
39 ->getValue(); in getAsInt()
42 return getAsInt(R->getValueInit(Field)); in getInt()
48 std::string Name; member
56 std::string Name; member
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVSupport.h1 //===-- LVSupport.h ---------------------------------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
51 // FAMILY: instance name.
52 // ENUM: enumeration instance.
55 #define BOOL_BIT(FAMILY, ENUM, FIELD) \ argument
56 bool get##FIELD() const { return FAMILY.get(ENUM::FIELD); } \
57 void set##FIELD() { FAMILY.set(ENUM::FIELD); } \
58 void reset##FIELD() { FAMILY.reset(ENUM::FIELD); }
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DDwarf.h1 //===-- llvm/BinaryFormat/Dwarf.h ---Dwarf Constants-------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
15 /// file often includes support for non-released standard features.
17 //===----------------------------------------------------------------------===//
36 //===----------------------------------------------------------------------===//
44 enum LLVMConstants : uint32_t {
55 DW_LENGTH_DWARF64 = 0xffffffff, ///< Indicator of 64-bit DWARF format.
91 enum DwarfFormat : uint8_t { DWARF32, DWARF64 };
94 /// Not inside an enum because a 64-bit value is needed.
[all …]
H A DCOFF.h1 //===-- llvm/BinaryFormat/COFF.h --------------------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
15 // Revision 8.1 - February 15, 2008
20 //===----------------------------------------------------------------------===//
54 enum {
75 enum : uint16_t { MinBigObjectVersion = 2 };
92 enum MachineTypes : unsigned {
137 enum Characteristics : unsigned {
177 enum ResourceTypeID : unsigned {
[all …]
H A DWasm.h1 //===- Wasm.h - Wasm object file format -------------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
34 enum : unsigned {
35 WASM_SEC_CUSTOM = 0, // Custom / User-defined section
53 enum : unsigned {
83 enum : unsigned {
92 enum : unsigned {
117 // Opcodes in the GC-prefixed space (0xfb)
[all …]
/freebsd/contrib/unbound/sldns/
H A Drrdef.c7 * (c) NLnet Labs, 2004-2006
245 {(enum sldns_enum_rr_type)0, NULL, 0, 1, type_0_wireformat, LDNS_RDF_TYPE_NONE, LDNS_RR_NO_COMPRESS, 0 },
291 {LDNS_RR_TYPE_NSAP_PTR, "NSAP-PTR", 1, 1, type_nsap_ptr_wireformat, LDNS_RDF_TYPE_NONE, LDNS_RR_NO_COMPRESS, 0 },
353 {(enum sldns_enum_rr_type)0, "TYPE54", 1, 1, type_0_wireformat, LDNS_RDF_TYPE_NONE, LDNS_RR_NO_COMPRESS, 0 },
367 {(enum sldns_enum_rr_type)0, "TYPE56", 1, 1, type_0_wireformat, LDNS_RDF_TYPE_NONE, LDNS_RR_NO_COMPRESS, 0 },
368 {(enum sldns_enum_rr_type)0, "TYPE57", 1, 1, type_0_wireformat, LDNS_RDF_TYPE_NONE, LDNS_RR_NO_COMPRESS, 0 },
387 {(enum sldns_enum_rr_type)0, "TYPE66", 1, 1, type_0_wireformat, LDNS_RDF_TYPE_NONE, LDNS_RR_NO_COMPRESS, 0 },
388 {(enum sldns_enum_rr_type)0, "TYPE67", 1, 1, type_0_wireformat, LDNS_RDF_TYPE_NONE, LDNS_RR_NO_COMPRESS, 0 },
389 {(enum sldns_enum_rr_type)0, "TYPE68", 1, 1, type_0_wireformat, LDNS_RDF_TYPE_NONE, LDNS_RR_NO_COMPRESS, 0 },
390 {(enum sldns_enum_rr_typ
697 sldns_get_rr_type_by_name(const char * name) sldns_get_rr_type_by_name() argument
741 sldns_get_rr_class_by_name(const char * name) sldns_get_rr_class_by_name() argument
[all...]
H A Drrdef.h8 * (c) NLnet Labs, 2005-2006
49 enum sldns_enum_rr_class
64 LDNS_RR_CLASS_COUNT = LDNS_RR_CLASS_LAST - LDNS_RR_CLASS_FIRST + 1
66 typedef enum sldns_enum_rr_class sldns_rr_class;
71 enum sldns_enum_rr_compress
77 typedef enum sldns_enum_rr_compress sldns_rr_compress;
82 enum sldns_enum_rr_type
86 /** an authoritative name server */
88 /** a mail destination (Obsolete - use MX) */
90 /** a mail forwarder (Obsolete - us
[all...]
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Ddma-mapping.h1 /*-
35 #include <linux/dma-attrs.h>
51 enum dma_data_direction {
64 unsigned long offset, size_t size, enum dma_data_direction dir,
67 size_t size, enum dma_data_direction dir, unsigned long attrs);
69 int nents, enum dma_data_direction dir, unsigned long attrs);
71 enum dma_data_direction dir, unsigned long attrs);
73 size_t size, enum dma_data_direction dir);
75 dma_addr_t dma_handle, size_t size, enum dma_data_direction dir);
78 enum dma_data_direction dir);
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeView.h1 //===- CodeView.h -----------------------------------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
27 enum class TypeRecordKind : uint16_t {
28 #define TYPE_RECORD(lf_ename, value, name) name = value, argument
32 /// Duplicate copy of the above enum, but using the official CV names. Useful
34 enum TypeLeafKind : uint16_t {
35 #define CV_TYPE(name, val) name = val, argument
41 enum class SymbolRecordKind : uint16_t {
[all …]
/freebsd/sys/dev/qlnx/qlnxe/
H A Decore.h2 * Copyright (c) 2017-2018 Cavium, Inc.
66 enum ecore_coalescing_mode {
71 enum ecore_nvm_cmd {
110 #define SET_FIELD(value, name, flag) \ argument
112 (value) &= ~(name##_MASK << name##_SHIFT); \
113 (value) |= ((((u64)flag) & (u64)name##_MASK) << (name##_SHIFT));\
116 #define GET_FIELD(value, name) \ argument
117 (((value) >> (name##_SHIFT)) & name##_MASK)
119 #define GET_MFW_FIELD(name, field) \ argument
120 (((name) & (field ## _MASK)) >> (field ## _OFFSET))
[all …]
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_error.h2 * kmp_error.h -- PTS functions for error checking at runtime.
5 //===----------------------------------------------------------------------===//
9 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
11 //===----------------------------------------------------------------------===//
18 /* ------------------------------------------------------------------------ */
23 void __kmp_error_construct(kmp_i18n_id_t id, enum cons_type ct,
25 void __kmp_error_construct2(kmp_i18n_id_t id, enum cons_type ct,
32 void __kmp_push_workshare(int gtid, enum cons_type ct, ident_t const *ident);
34 void __kmp_push_sync(int gtid, enum cons_type ct, ident_t const *ident,
35 kmp_user_lock_p name, kmp_uint32);
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DSearchableTable.td1 //===- SearchableTable.td ----------------------------------*- tablegen -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // This file defines the key top-level classes needed to produce a reasonably
10 // generic table that can be binary-searched. Three types of objects can be
13 // 1. (Generic) Enums. By instantiating the GenericEnum class once, an enum with
14 // the name of the def is generated. It is guarded by the preprocessor define
15 // GET_name_DECL, where name is the name of the def.
18 // class once, a table with the name of the instantiating def is generated and
24 // GET_name_IMPL, respectively, where name is the name of the underlying table.
[all …]
/freebsd/sys/kern/
H A Dsubr_power.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
42 enum power_stype power_standby_stype = POWER_STYPE_UNKNOWN;
43 enum power_stype power_suspend_stype = POWER_STYPE_UNKNOWN;
44 enum power_stype power_hibernate_stype = POWER_STYPE_UNKNOWN;
52 enum power_stype
53 power_name_to_stype(const char *name) in power_name_to_stype() argument
55 enum power_stype stype; in power_name_to_stype()
58 if (strcasecmp(name, power_stype_names[stype]) == 0) in power_name_to_stype()
65 power_stype_to_name(enum power_stype stype) in power_stype_to_name()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/Directive/
H A DDirectiveBase.td1 //===-- DirectiveBase.td - Base directive definition file --*- tablegen -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
16 // Name of the directive language such as omp or acc.
17 string name = ?;
22 // By default, uses the name of the directive language as the only namespace.
25 // `namespace A { namespace B { <directives-clauses> } }`.
26 string cppNamespace = name;
29 // enum.
[all …]
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DTypeTraits.cpp1 //===--- TypeTraits.cpp - Type Traits Support -----------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
20 #define TYPE_TRAIT_1(Spelling, Name, Key) #Name, argument
22 #define TYPE_TRAIT_2(Spelling, Name, Key) #Name, argument
24 #define TYPE_TRAIT_N(Spelling, Name, Key) #Name, argument
29 #define TYPE_TRAIT_1(Spelling, Name, Key) #Spelling, argument
31 #define TYPE_TRAIT_2(Spelling, Name, Key) #Spelling, argument
33 #define TYPE_TRAIT_N(Spelling, Name, Key) #Spelling, argument
[all …]
/freebsd/sys/contrib/openzfs/include/os/linux/kernel/linux/
H A Dmod_compat.h1 // SPDX-License-Identifier: CDDL-1.0
10 * or https://opensource.org/licenses/CDDL-1.0.
18 * information: Portions Copyright [yyyy] [name of copyright owner]
39 enum scope_prefix_types {
76 * U64 name to keep many existing tunables working without issue.
96 * (currently a no-op on Linux)
97 * "name_prefix" the part of the variable name that will be excluded from the
99 * "name" the part of the variable that will be exposed on platforms with a
100 * hierarchical namespace, or as name_prefix ## name on Linux
107 * ZMOD_RW, "Rotating media load increment for non-seeking I/O's");
[all …]
/freebsd/contrib/bsnmp/gensnmptree/
H A Dgensnmptree.c2 * Copyright (c) 2001-2003
6 * Copyright (c) 2004-2006,2018
33 * $Begemot: gensnmptree.c 383 2006-05-30 07:40:49Z brandt_h $
38 * ---------
51 * type := BASETYPE | BASETYPE '|' subtype | enum | bits
55 * enum := ENUM '(' value ')'
61 * optminus := '-' | EMPTY
113 usage: gensnmptree [-dEeFfhlt] [-I directory] [-i infile] [-p prefix]\n\
114 [name]...\n\
116 -d debug mode\n\
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/BTF/
H A DBTF.h1 //===-- BTF.h --------
96 HANDLE_BTF_KIND(ID,NAME) global() argument
[all...]
/freebsd/sys/dev/mmc/
H A Dbridge.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
33 * Group. This Simplified Specification is provided on a non-confidential
36 * Association, SD Group, SD-3C LLC or other third parties.
42 * is provided "AS-IS" without any representations or warranties of any
43 * kind. No responsibility is assumed by the SD Group, SD-3C LLC or the SD
45 * right of the SD Group, SD-3C LLC, the SD Card Association or any third
48 * SD Group, SD-3C LLC, the SD Card Association or any third party. Nothing
49 * herein shall be construed as an obligation by the SD Group, the SD-3C LLC
51 * information, know-how or other confidential information to any third party.
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Bitcode/
H A DLLVMBitCodes.h1 //===- LLVMBitCodes.h - Enum values for the LLVM bitcode format -*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // This header defines Bitcode enum values for LLVM IR bitcode files.
11 // The enum values defined in this file should be considered permanent. If
15 //===----------------------------------------------------------------------===//
27 // The only top-level block types are MODULE, IDENTIFICATION, STRTAB and SYMTAB.
28 enum BlockIDs {
32 // Module sub-block id's.
69 /// and an epoch that defines the auto-upgrade capability.
[all …]

12345678910>>...42