/external/chromium_org/base/memory/ |
weak_ptr.cc | 10 WeakReference::Flag::Flag() : is_valid_(true) { 13 // the same Flag take place on the same sequenced thread. 17 void WeakReference::Flag::Invalidate() { 18 // The flag being invalidated with a single ref implies that there are no 25 bool WeakReference::Flag::IsValid() const { 31 WeakReference::Flag::~Flag() { 37 WeakReference::WeakReference(const Flag* flag) : flag_(flag) [all...] |
weak_ptr.h | 84 // Although Flag is bound to a specific thread, it may be deleted from another 86 class BASE_EXPORT Flag : public RefCountedThreadSafe<Flag> { 88 Flag(); 94 friend class base::RefCountedThreadSafe<Flag>; 96 ~Flag(); 103 explicit WeakReference(const Flag* flag); 109 scoped_refptr<const Flag> flag_; 126 mutable scoped_refptr<WeakReference::Flag> flag_ [all...] |
/external/chromium_org/third_party/webrtc/base/ |
flags.cc | 25 // Implementation of Flag 27 Flag::Flag(const char* file, const char* name, const char* comment, 39 void Flag::SetToDefault() { 41 // flag variables are not really of type FlagValue and thus may 43 // of a flag variable for convenient access. Since union members 46 case Flag::BOOL: 49 case Flag::INT: 52 case Flag::FLOAT: 55 case Flag::STRING 193 Flag* flag = Lookup(name); local [all...] |
flags.h | 15 // where xxx is the flag type. Flags are referred to via FLAG_yyy, 16 // where yyy is the flag name. For intialization and iteration of flags, 18 // flag, see the Flag class. 39 // flag is defined via: DEFINE_bool(flag, "false", "some comment");. 71 // Each flag can be accessed programmatically via a Flag object. 72 class Flag { 77 Flag(const char* file, const char* name, const char* comment [all...] |
/external/llvm/include/llvm/IR/ |
InlineAsm.h | 236 /// getFlagWordForMatchingOp - Augment an existing flag word returned by 246 /// getFlagWordForRegClass - Augment an existing flag word returned by 263 static bool isRegDefKind(unsigned Flag){ return getKind(Flag) == Kind_RegDef;} 264 static bool isImmKind(unsigned Flag) { return getKind(Flag) == Kind_Imm; } 265 static bool isMemKind(unsigned Flag) { return getKind(Flag) == Kind_Mem; } 266 static bool isRegDefEarlyClobberKind(unsigned Flag) { 267 return getKind(Flag) == Kind_RegDefEarlyClobber [all...] |
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
ARMWinCOFFStreamer.cpp | 22 void EmitAssemblerFlag(MCAssemblerFlag Flag) override; 26 void ARMWinCOFFStreamer::EmitAssemblerFlag(MCAssemblerFlag Flag) { 27 switch (Flag) {
|
/external/chromium_org/base/synchronization/ |
waitable_event_watcher_posix.cc | 22 // Since the wait can be canceled, we have a thread-safe Flag object which is 24 // flag before going onto the next stage. Since the wait may only be canceled in 29 // A thread-safe, reference-counted, write-once flag. 31 class Flag : public RefCountedThreadSafe<Flag> { 33 Flag() { flag_ = false; } 46 friend class RefCountedThreadSafe<Flag>; 47 ~Flag() {} 52 DISALLOW_COPY_AND_ASSIGN(Flag); 63 Flag* flag [all...] |
waitable_event_watcher.h | 21 class Flag; 102 scoped_refptr<Flag> cancel_flag_;
|
/external/llvm/include/llvm/Support/ |
ARMWinEH.h | 27 RT_POP, /// return via pop {pc} (L flag must be set) 43 /// Flag : 2-bit field with the following meanings: 59 /// H : 1-bit flag indicating whether the function "homes" the integer parameter 67 /// R : 1-bit flag indicating whether the non-volatile registers are integer or 69 /// special case of the R-flag being set and Reg being set to 7 indicates 71 /// L : 1-bit flag indicating whether the function saves/restores the link 73 /// C : 1-bit flag indicating whether the function includes extra instructions 74 /// to setup a frame chain for fast walking. If this flag is set, r11 is 89 /// + L flag must be set since frame chaining requires r11 and lr 92 /// + L flag must be se [all...] |
/external/chromium_org/v8/src/ |
flags.cc | 19 #include "src/flag-definitions.h" // NOLINT 23 #include "src/flag-definitions.h" // NOLINT 27 // This structure represents a single entry in the flag system, with a pointer 28 // to the actual flag, default value, comment, etc. This is designed to be POD 30 struct Flag { 34 FlagType type_; // What type of flag, bool, int, or string. 35 const char* name_; // Name of the flag, ex "my_flag". 36 void* valptr_; // Pointer to the global flag variable. 39 bool owns_ptr_; // Does the flag own its string value? 110 // Compare this flag's current value against the default [all...] |
/external/clang/tools/diagtool/ |
ListWarnings.cpp | 33 llvm::StringRef Flag; 35 Entry(llvm::StringRef diagN, llvm::StringRef flag) 36 : DiagName(diagN), Flag(flag) {} 46 if (!it->Flag.empty()) 47 out << " [-W" << it->Flag << "]"; 72 if (entry.Flag.empty()) 76 flagHistogram.GetOrCreateValue(entry.Flag).getValue().push_back(diagID); 98 out << " Average number of diagnostics per flag: "
|
ShowEnabledWarnings.cpp | 29 StringRef Flag; 32 PrettyDiag(StringRef name, StringRef flag, DiagnosticsEngine::Level level) 33 : Name(name), Flag(flag), Level(level) {} 87 // First check our one flag (--levels). 142 if (!I->Flag.empty()) 143 Out << " [-W" << I->Flag << "]";
|
/external/clang/lib/Driver/ |
Multilib.cpp | 93 for (StringRef Flag : Flags) { 94 if (Flag.front() == '+') 95 OS << "@" << Flag.substr(1); 102 StringRef Flag(Flags[I]); 103 llvm::StringMap<int>::iterator SI = FlagSet.find(Flag.substr(1)); 105 assert(StringRef(Flag).front() == '+' || StringRef(Flag).front() == '-'); 108 FlagSet[Flag.substr(1)] = I; 119 for (const auto &Flag : Flags) 120 MyFlags.insert(Flag); [all...] |
Job.cpp | 33 static int skipArgs(const char *Flag) { 34 // These flags are all of the form -Flag <Arg> and are treated as two 35 // arguments. Therefore, we need to skip the flag and the next argument. 36 bool Res = llvm::StringSwitch<bool>(Flag) 53 // These flags are all of the form -Flag and have no second argument. 54 Res = llvm::StringSwitch<bool>(Flag) 64 StringRef FlagRef(Flag); 72 static bool quoteNextArg(const char *flag) { 73 return llvm::StringSwitch<bool>(flag)
|
/development/tools/mkstubs/src/com/android/mkstubs/sourcer/ |
AccessSourcer.java | 36 private enum Flag { 61 private Flag(int value, int filter) { 90 * e.g. {@link Flag#ACC_SYNTHETIC}. 100 for (Flag f : Flag.values()) {
|
/external/clang/include/clang/Lex/ |
Token.h | 204 /// \brief Set the specified flag. 205 void setFlag(TokenFlags Flag) { 206 Flags |= Flag; 209 /// \brief Unset the specified flag. 210 void clearFlag(TokenFlags Flag) { 211 Flags &= ~Flag; 222 /// \brief Set a flag to either true or false. 223 void setFlagValue(TokenFlags Flag, bool Val) { 225 setFlag(Flag); 227 clearFlag(Flag); [all...] |
/external/llvm/tools/llvm-readobj/ |
StreamWriter.h | 106 for (const auto &Flag : Flags) { 107 if (Flag.Value == 0) 110 bool IsEnum = (Flag.Value & EnumMask) != 0; 111 if ((!IsEnum && (Value & Flag.Value) == Flag.Value) || 112 (IsEnum && (Value & EnumMask) == Flag.Value)) { 113 SetFlags.push_back(Flag); 120 for (const auto &Flag : SetFlags) { 121 startLine() << " " << Flag.Name << " (" << hex(Flag.Value) << ")\n" [all...] |
/external/mksh/src/ |
main.c | 237 Flag(FNOHUP) = 1; 243 Flag(FBRACEEXPAND) = 1; 248 Flag(FXTRACEREC) = 1; 257 Flag(FAS_BUILTIN) = 1; 259 if (!Flag(FAS_BUILTIN)) { 340 Flag(FVITABCOMPLETE) = 1; 387 if (!(vp->flag & ISSET) || 392 vp->flag |= INT_U; 394 vp->flag |= INT_U; 396 vp->flag |= INT_U [all...] |
jobs.c | 52 /* Notify/print flag - j_print() argument */ 160 bool mflagset = Flag(FMONITOR) != 127; 162 Flag(FMONITOR) = 0; 180 if (!mflagset && Flag(FTALKING)) 181 Flag(FMONITOR) = 1; 189 if (Flag(FMONITOR) || Flag(FTALKING)) { 205 if (Flag(FMONITOR)) 209 if (Flag(FTALKING)) { 289 (Flag(FLOGIN) && !Flag(FNOHUP) && procpid == kshpid))))) [all...] |
misc.c | 180 Flag(oi->opts[i]) ? "on" : "off"); 214 if (Flag(i) && OFN(i)[0]) 230 if ((c = OFC(i)) && Flag(i)) 238 /* change a Flag(*) value; takes care of special actions */ 249 oldval = Flag(f); 250 Flag(f) = newval = (newset ? 1 : 0); 264 Flag(FVI) = 266 Flag(FEMACS) = Flag(FGMACS) = 0; 267 Flag(f) = newval 998 const char *arg = argv[go->optind], flag = arg ? *arg : '\\0'; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
R600InstrInfo.h | 118 void addFlag(MachineInstr *MI, unsigned Operand, unsigned Flag) const; 120 ///isFlagSet - Determine if the specified flag is set on this Operand. 121 bool isFlagSet(const MachineInstr &MI, unsigned Operand, unsigned Flag) const; 126 ///clearFlag - Clear the specified flag on the instruction. 127 void clearFlag(MachineInstr *MI, unsigned Operand, unsigned Flag) const;
|
/external/mesa3d/src/gallium/drivers/radeon/ |
R600InstrInfo.h | 118 void addFlag(MachineInstr *MI, unsigned Operand, unsigned Flag) const; 120 ///isFlagSet - Determine if the specified flag is set on this Operand. 121 bool isFlagSet(const MachineInstr &MI, unsigned Operand, unsigned Flag) const; 126 ///clearFlag - Clear the specified flag on the instruction. 127 void clearFlag(MachineInstr *MI, unsigned Operand, unsigned Flag) const;
|
/external/llvm/lib/IR/ |
Module.cpp | 268 for (const MDNode *Flag : ModFlags->operands()) { 269 if (Flag->getNumOperands() >= 3 && isa<ConstantInt>(Flag->getOperand(0)) && 270 isa<MDString>(Flag->getOperand(1))) { 273 ConstantInt *Behavior = cast<ConstantInt>(Flag->getOperand(0)); 274 MDString *Key = cast<MDString>(Flag->getOperand(1)); 275 Value *Val = Flag->getOperand(2); 308 /// addModuleFlag - Add a module-level flag to the module-level flags 326 "Invalid number of operands for module flag!"); 329 "Invalid operand types for module flag!"); [all...] |
/external/llvm/include/llvm/CodeGen/ |
MachineInstr.h | 131 /// getAsmPrinterFlag - Return whether an AsmPrinter flag is set. 133 bool getAsmPrinterFlag(CommentFlag Flag) const { 134 return AsmPrinterFlags & Flag; 137 /// setAsmPrinterFlag - Set a flag for the AsmPrinter. 139 void setAsmPrinterFlag(CommentFlag Flag) { 140 AsmPrinterFlags |= (uint8_t)Flag; 145 void clearAsmPrinterFlag(CommentFlag Flag) { 146 AsmPrinterFlags &= ~Flag; 154 /// getFlag - Return whether an MI flag is set. 155 bool getFlag(MIFlag Flag) const [all...] |
/external/chromium_org/third_party/re2/doc/ |
mksyntaxgo | 12 ,x g/Flag syntax/d 13 ,s/.=(true|false)/flag &/g 14 ,s/^Flags:/ Flag syntax is xyz (set) or -xyz (clear) or xy-z (set xy, clear z). The flags are:\n/ 31 The regular expression syntax understood by this package when parsing with the Perl flag is as follows.
|