Home
last modified time | relevance | path

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

12345678910>>...12

/external/clang/include/clang/Driver/
DOptions.td162 def ccc_pch_is_pch : Flag<["-"], "ccc-pch-is-pch">, InternalDriverOpt,
164 def ccc_pch_is_pth : Flag<["-"], "ccc-pch-is-pth">, InternalDriverOpt,
171 def ccc_print_phases : Flag<["-"], "ccc-print-phases">, InternalDebugOpt,
173 def ccc_print_bindings : Flag<["-"], "ccc-print-bindings">, InternalDebugOpt,
176 def ccc_arcmt_check : Flag<["-"], "ccc-arcmt-check">, InternalDriverOpt,
178 def ccc_arcmt_modify : Flag<["-"], "ccc-arcmt-modify">, InternalDriverOpt,
184 def arcmt_migrate_emit_arc_errors : Flag<["-"], "arcmt-migrate-emit-errors">,
188 def _migrate : Flag<["--"], "migrate">, Flags<[DriverOption]>,
194 def objcmt_migrate_literals : Flag<["-"], "objcmt-migrate-literals">, Flags<[CC1Option]>,
196 def objcmt_migrate_subscripting : Flag<["-"], "objcmt-migrate-subscripting">, Flags<[CC1Option]>,
[all …]
DCC1Options.td43 def analysis_UnoptimizedCFG : Flag<["-"], "unoptimized-cfg">,
45 def analysis_CFGAddImplicitDtors : Flag<["-"], "cfg-add-implicit-dtors">,
66 def analyzer_opt_analyze_headers : Flag<["-"], "analyzer-opt-analyze-headers">,
68 def analyzer_opt_analyze_nested_blocks : Flag<["-"], "analyzer-opt-analyze-nested-blocks">,
70 def analyzer_display_progress : Flag<["-"], "analyzer-display-progress">,
75 def analyzer_eagerly_assume : Flag<["-"], "analyzer-eagerly-assume">,
77 def trim_egraph : Flag<["-"], "trim-egraph">,
79 def analyzer_viz_egraph_graphviz : Flag<["-"], "analyzer-viz-egraph-graphviz">,
81 def analyzer_viz_egraph_ubigraph : Flag<["-"], "analyzer-viz-egraph-ubigraph">,
93 def analyzer_disable_retry_exhausted : Flag<["-"], "analyzer-disable-retry-exhausted">,
[all …]
/external/webrtc/webrtc/base/
Dflags.cc27 Flag::Flag(const char* file, const char* name, const char* comment, in Flag() function in rtc::Flag
39 void Flag::SetToDefault() { in SetToDefault()
46 case Flag::BOOL: in SetToDefault()
49 case Flag::INT: in SetToDefault()
52 case Flag::FLOAT: in SetToDefault()
55 case Flag::STRING: in SetToDefault()
63 static const char* Type2String(Flag::Type type) { in Type2String()
65 case Flag::BOOL: return "bool"; in Type2String()
66 case Flag::INT: return "int"; in Type2String()
67 case Flag::FLOAT: return "float"; in Type2String()
[all …]
Dflags.h72 class Flag {
77 Flag(const char* file, const char* name, const char* comment,
134 Flag* next() const { return next_; } in next()
149 Flag* next_;
160 static rtc::Flag Flag_##name(__FILE__, #name, (comment), \
161 rtc::Flag::type, &FLAG_##name, \
195 static Flag* list() { return list_; } in list()
203 static Flag* Lookup(const char* name);
240 static void Register(Flag* flag);
243 static Flag* list_;
/external/llvm/include/llvm/Support/
DARMWinEH.h113 RuntimeFunctionFlag Flag() const { in Flag() function
118 assert(Flag() == RuntimeFunctionFlag::RFF_Unpacked && in ExceptionInformationRVA()
124 assert((Flag() == RuntimeFunctionFlag::RFF_Packed || in PackedUnwindData()
125 Flag() == RuntimeFunctionFlag::RFF_PackedFragment) && in PackedUnwindData()
130 assert((Flag() == RuntimeFunctionFlag::RFF_Packed || in FunctionLength()
131 Flag() == RuntimeFunctionFlag::RFF_PackedFragment) && in FunctionLength()
136 assert((Flag() == RuntimeFunctionFlag::RFF_Packed || in Ret()
137 Flag() == RuntimeFunctionFlag::RFF_PackedFragment) && in Ret()
143 assert((Flag() == RuntimeFunctionFlag::RFF_Packed || in H()
144 Flag() == RuntimeFunctionFlag::RFF_PackedFragment) && in H()
[all …]
DScopedPrinter.h121 for (const auto &Flag : Flags) { variable
122 if (Flag.Value == 0)
126 if (Flag.Value & EnumMask1)
128 else if (Flag.Value & EnumMask2)
130 else if (Flag.Value & EnumMask3)
132 bool IsEnum = (Flag.Value & EnumMask) != 0;
133 if ((!IsEnum && (Value & Flag.Value) == Flag.Value) ||
134 (IsEnum && (Value & EnumMask) == Flag.Value)) {
135 SetFlags.push_back(Flag);
142 for (const auto &Flag : SetFlags) { variable
[all …]
/external/llvm/include/llvm/IR/
DInlineAsm.h316 static bool isRegDefKind(unsigned Flag){ return getKind(Flag) == Kind_RegDef;} in isRegDefKind() argument
317 static bool isImmKind(unsigned Flag) { return getKind(Flag) == Kind_Imm; } in isImmKind() argument
318 static bool isMemKind(unsigned Flag) { return getKind(Flag) == Kind_Mem; } in isMemKind() argument
319 static bool isRegDefEarlyClobberKind(unsigned Flag) { in isRegDefEarlyClobberKind() argument
320 return getKind(Flag) == Kind_RegDefEarlyClobber; in isRegDefEarlyClobberKind()
322 static bool isClobberKind(unsigned Flag) { in isClobberKind() argument
323 return getKind(Flag) == Kind_Clobber; in isClobberKind()
326 static unsigned getMemoryConstraintID(unsigned Flag) { in getMemoryConstraintID() argument
327 assert(isMemKind(Flag)); in getMemoryConstraintID()
328 return (Flag >> Constraints_ShiftAmount) & 0x7fff; in getMemoryConstraintID()
[all …]
/external/v8/src/
Dflags.cc36 struct Flag { struct
188 Flag flags[] = {
198 static const char* Type2String(Flag::FlagType type) { in Type2String()
200 case Flag::TYPE_BOOL: return "bool"; in Type2String()
201 case Flag::TYPE_MAYBE_BOOL: return "maybe_bool"; in Type2String()
202 case Flag::TYPE_INT: return "int"; in Type2String()
203 case Flag::TYPE_UINT: in Type2String()
205 case Flag::TYPE_FLOAT: return "float"; in Type2String()
206 case Flag::TYPE_STRING: return "string"; in Type2String()
207 case Flag::TYPE_ARGS: return "arguments"; in Type2String()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/
DInlineAsm.h253 static bool isRegDefKind(unsigned Flag){ return getKind(Flag) == Kind_RegDef;}
254 static bool isImmKind(unsigned Flag) { return getKind(Flag) == Kind_Imm; }
255 static bool isMemKind(unsigned Flag) { return getKind(Flag) == Kind_Mem; }
256 static bool isRegDefEarlyClobberKind(unsigned Flag) {
257 return getKind(Flag) == Kind_RegDefEarlyClobber;
259 static bool isClobberKind(unsigned Flag) {
260 return getKind(Flag) == Kind_Clobber;
265 static unsigned getNumOperandRegisters(unsigned Flag) {
266 return (Flag & 0xffff) >> 3;
271 static bool isUseOperandTiedToDef(unsigned Flag, unsigned &Idx) {
[all …]
/external/toolchain-utils/bestflags/
Dflags_test.py15 from flags import Flag
38 test_flag = Flag(spec)
57 assert Flag(str(test), test) == Flag(str(test), test)
61 flag = Flag(str(test), test)
64 assert flag != Flag(str(other_test), other_test)
79 test_flag = Flag(spec, value)
91 test_flag = Flag('flag', value)
114 assert FlagSet([Flag(spec)]) == FlagSet([Flag(spec)])
119 flag_set = FlagSet([Flag(spec)])
123 assert flag_set != FlagSet([Flag(other_spec)])
[all …]
Dflags_util.py12 from flags import Flag
50 results[climb_spec] = Flag(climb_spec,
54 results[climb_spec] = Flag(climb_spec)
79 neighbor[climb_spec] = Flag(climb_spec, value + 1)
86 neighbor[climb_spec] = Flag(climb_spec, value - 1)
Dtesting_batch.py20 from flags import Flag
67 flag_set.append(Flag(spec, value))
71 flag_set.append(Flag(spec))
98 flag_set.append(Flag(spec, value))
124 new_flag = FlagSet([Flag(spec) for spec in specs if random.randint(0, 1)])
169 flag_set.append(flags.Flag(other_spec, end - 2))
177 flag_set.append(flags.Flag(other_spec, end - 1))
181 flag_set.append(flags.Flag(other_spec))
216 flag_set.append(flags.Flag(spec, end_value - 1))
220 flag_set.append(flags.Flag(spec))
/external/clang/lib/Driver/
DMultilib.cpp93 for (StringRef Flag : Flags) { in print() local
94 if (Flag.front() == '+') in print()
95 OS << "@" << Flag.substr(1); in print()
102 StringRef Flag(Flags[I]); in isValid() local
103 llvm::StringMap<int>::iterator SI = FlagSet.find(Flag.substr(1)); in isValid()
105 assert(StringRef(Flag).front() == '+' || StringRef(Flag).front() == '-'); in isValid()
108 FlagSet[Flag.substr(1)] = I; in isValid()
119 for (const auto &Flag : Flags) in operator ==() local
120 MyFlags.insert(Flag); in operator ==()
122 for (const auto &Flag : Other.Flags) in operator ==() local
[all …]
/external/libbrillo/brillo/
Dflag_helper.h69 class Flag {
71 Flag(const char* name,
75 virtual ~Flag() = default;
89 class BRILLO_EXPORT BoolFlag final : public Flag {
106 class BRILLO_EXPORT Int32Flag final : public Flag {
121 class BRILLO_EXPORT Int64Flag final : public Flag {
136 class BRILLO_EXPORT UInt64Flag final : public Flag {
151 class BRILLO_EXPORT DoubleFlag final : public Flag {
166 class BRILLO_EXPORT StringFlag final : public Flag {
189 brillo::FlagHelper::GetInstance()->AddFlag(std::unique_ptr<brillo::Flag>( \
[all …]
Dflag_helper.cc21 Flag::Flag(const char* name, in Flag() function in brillo::Flag
31 class HelpFlag : public brillo::Flag {
33 HelpFlag() : Flag("help", "false", "Show this help message", true) {} in HelpFlag()
45 : Flag(name, default_value, help, visible), in BoolFlag()
76 : Flag(name, default_value, help, visible), value_(value) { in Int32Flag()
92 : Flag(name, default_value, help, visible), value_(value) { in Int64Flag()
108 : Flag(name, default_value, help, visible), value_(value) { in UInt64Flag()
124 : Flag(name, default_value, help, visible), value_(value) { in DoubleFlag()
140 : Flag(name, default_value, help, visible), value_(value) { in StringFlag()
158 AddFlag(std::unique_ptr<Flag>(new HelpFlag())); in FlagHelper()
[all …]
/external/libchrome/base/memory/
Dweak_ptr.cc10 WeakReference::Flag::Flag() : is_valid_(true) { in Flag() function in base::internal::WeakReference::Flag
17 void WeakReference::Flag::Invalidate() { in Invalidate()
25 bool WeakReference::Flag::IsValid() const { in IsValid()
31 WeakReference::Flag::~Flag() { in ~Flag()
37 WeakReference::WeakReference(const Flag* flag) : flag_(flag) { in WeakReference()
59 flag_ = new WeakReference::Flag(); in GetRef()
Dweak_ptr.h95 class BASE_EXPORT Flag : public RefCountedThreadSafe<Flag> {
97 Flag();
103 friend class base::RefCountedThreadSafe<Flag>;
105 ~Flag();
112 explicit WeakReference(const Flag* flag);
123 scoped_refptr<const Flag> flag_;
140 mutable scoped_refptr<WeakReference::Flag> flag_;
/external/libchrome/base/synchronization/
Dwaitable_event_watcher_posix.cc32 class Flag : public RefCountedThreadSafe<Flag> { class
34 Flag() { flag_ = false; } in Flag() function in base::Flag
47 friend class RefCountedThreadSafe<Flag>;
48 ~Flag() {} in ~Flag()
53 DISALLOW_COPY_AND_ASSIGN(Flag);
64 Flag* flag) in AsyncWaiter()
90 scoped_refptr<Flag> flag_;
98 void AsyncCallbackHelper(Flag* flag, in AsyncCallbackHelper()
146 cancel_flag_ = new Flag; in StartWatching()
/external/clang/include/clang/Lex/
DToken.h233 void setFlag(TokenFlags Flag) { in setFlag() argument
234 Flags |= Flag; in setFlag()
238 bool getFlag(TokenFlags Flag) const { in getFlag() argument
239 return (Flags & Flag) != 0; in getFlag()
243 void clearFlag(TokenFlags Flag) { in clearFlag() argument
244 Flags &= ~Flag; in clearFlag()
256 void setFlagValue(TokenFlags Flag, bool Val) { in setFlagValue() argument
258 setFlag(Flag); in setFlagValue()
260 clearFlag(Flag); in setFlagValue()
/external/mksh/src/
Dmain.c290 Flag(FNOHUP) = 1; in main_init()
296 Flag(FBRACEEXPAND) = 1; in main_init()
301 Flag(FXTRACEREC) = 1; in main_init()
310 Flag(FAS_BUILTIN) = 1; in main_init()
312 if (!Flag(FAS_BUILTIN)) { in main_init()
396 Flag(FVITABCOMPLETE) = 1; in main_init()
473 Flag(FPRIVILEGED) = (kshuid != ksheuid || kshgid != kshegid) ? 2 : 0; in main_init()
477 Flag(FMONITOR) = 127; in main_init()
482 if (!Flag(FAS_BUILTIN)) { in main_init()
492 if (Flag(FAS_BUILTIN)) { in main_init()
[all …]
Djobs.c160 bool mflagset = Flag(FMONITOR) != 127; in j_init()
162 Flag(FMONITOR) = 0; in j_init()
180 if (!mflagset && Flag(FTALKING)) in j_init()
181 Flag(FMONITOR) = 1; in j_init()
189 if (Flag(FMONITOR) || Flag(FTALKING)) { in j_init()
205 if (Flag(FMONITOR)) in j_init()
209 if (Flag(FTALKING)) { in j_init()
289 (Flag(FLOGIN) && !Flag(FNOHUP) && procpid == kshpid))))) { in j_exit()
322 if (Flag(FMONITOR)) { in j_exit()
323 Flag(FMONITOR) = 0; in j_exit()
[all …]
/external/clang/tools/diagtool/
DListWarnings.cpp33 llvm::StringRef Flag; member
36 : DiagName(diagN), Flag(flag) {} in Entry()
46 if (!it->Flag.empty()) in printEntries()
47 out << " [-W" << it->Flag << "]"; in printEntries()
72 if (entry.Flag.empty()) in run()
76 flagHistogram[entry.Flag].push_back(diagID); in run()
/external/llvm/unittests/Option/
DOpts.td7 def A : Flag<["-"], "A">, HelpText<"The A option">, Flags<[OptFlag1]>;
18 def H : Flag<["-"], "H">, Flags<[HelpHidden]>;
21 def I : Flag<["-"], "I">, Alias<H>, Group<my_group>;
23 def J : Flag<["-"], "J">, Alias<B>, AliasArgs<["foo"]>;
24 def Joo : Flag<["-"], "Joo">, Alias<B>, AliasArgs<["bar"]>;
26 def K : Flag<["-"], "K">, Alias<B>;
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DMachineInstr.h141 bool getAsmPrinterFlag(CommentFlag Flag) const {
142 return AsmPrinterFlags & Flag;
147 void setAsmPrinterFlag(CommentFlag Flag) {
148 AsmPrinterFlags |= (uint8_t)Flag;
157 bool getFlag(MIFlag Flag) const {
158 return Flags & Flag;
162 void setFlag(MIFlag Flag) {
163 Flags |= (uint8_t)Flag;
172 void clearAsmPrinterFlag(CommentFlag Flag) {
173 AsmPrinterFlags &= ~Flag;
/external/elfutils/tests/
Drun-readelf-macro.sh68 Flag: 0x2
81 Flag: 0x0
317 Flag: 0x0
332 Flag: 0x2

12345678910>>...12