| /freebsd/contrib/llvm-project/libc/src/__support/threads/linux/ |
| H A D | rwlock.h | 47 enum class Role { Reader = 0, Writer = 1 }; enum 75 template <Role role> LIBC_INLINE FutexWordType &pending_count() { in pending_count() 76 if constexpr (role == Role::Reader) in pending_count() 81 template <Role role> LIBC_INLINE FutexWordType &serialization() { in serialization() 82 if constexpr (role == Role::Reader) in serialization() 99 template <Role role> 103 if constexpr (role == Role::Reader) in wait() 109 template <Role role> LIBC_INLINE long notify(bool is_pshared) { in notify() 110 if constexpr (role == Role::Reader) in notify() 186 template <Role role> LIBC_INLINE bool can_acquire(Role preference) const { in can_acquire() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Tooling/Syntax/ |
| H A D | Nodes.td | 52 Role<"OpenParen", Token<"l_paren">>, 53 Role<"SubExpression", Expression>, 54 Role<"CloseParen", Token<"r_paren">>, 67 Role<"LiteralToken", Token<"numeric_constant">>, 79 Role<"LiteralToken", AnyCharacterLiteral>, 87 Role<"LiteralToken", Token<"numeric_constant">>, 102 Role<"LiteralToken", AnyStringLiteral>, 110 Role<"LiteralToken", AnyToken<["kw_false","kw_true"]>>, 118 Role<"LiteralToken", Keyword<"nullptr">>, 136 Role<"LiteralToken", Keyword<"numeric_constant">>, [all …]
|
| H A D | Tree.h | 71 NodeRole getRole() const { return static_cast<NodeRole>(Role); } in getRole() 125 unsigned Role : 8; variable 226 void appendChildLowLevel(Node *Child, NodeRole Role); 228 void prependChildLowLevel(Node *Child, NodeRole Role);
|
| H A D | Syntax.td | 14 // The concrete node defines a Role sequence which identifies the children. 66 class Role<string role_, Syntax syntax_> { 81 // Children must be Role or have a default role derived from the NodeType. 82 list<Role> children;
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/ |
| H A D | Mutations.cpp | 22 static void addAfter(syntax::Node *Anchor, syntax::Node *New, NodeRole Role) { in addAfter() argument 29 assert(Role != NodeRole::Detached); in addAfter() 31 New->setRole(Role); in addAfter() 49 New->Role = Old->Role; in replace()
|
| H A D | Tree.cpp | 38 Kind(static_cast<unsigned>(Kind)), Role(0), Original(false), in Node() 48 this->Role = static_cast<unsigned>(NR); in setRole() 51 void syntax::Tree::appendChildLowLevel(Node *Child, NodeRole Role) { in appendChildLowLevel() argument 53 assert(Role != NodeRole::Detached); in appendChildLowLevel() 55 Child->setRole(Role); in appendChildLowLevel() 75 void syntax::Tree::prependChildLowLevel(Node *Child, NodeRole Role) { in prependChildLowLevel() argument 77 assert(Role != NodeRole::Detached); in prependChildLowLevel() 79 Child->setRole(Role); in prependChildLowLevel()
|
| H A D | BuildTree.cpp | 417 void markStmtChild(Stmt *Child, NodeRole Role); 420 void markExprChild(Expr *Child, NodeRole Role); 579 void assignRole(ArrayRef<syntax::Token> Range, syntax::NodeRole Role) { in assignRole() 589 It->second->setRole(Role); in assignRole() 606 auto Role = KV.second->getRole(); in shrinkToFitList() local 607 return Role == syntax::NodeRole::ListElement || in shrinkToFitList() 608 Role == syntax::NodeRole::ListDelimiter; in shrinkToFitList() 1681 void syntax::TreeBuilder::markChildToken(SourceLocation Loc, NodeRole Role) { in markChildToken() argument 1684 Pending.assignRole(*findToken(Loc), Role); in markChildToken() 1709 void syntax::TreeBuilder::markStmtChild(Stmt *Child, NodeRole Role) { in markStmtChild() argument [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Lex/ |
| H A D | ModuleMap.h | 151 static Module::HeaderKind headerRoleToKind(ModuleHeaderRole Role); 154 static bool isModular(ModuleHeaderRole Role); 163 KnownHeader(Module *M, ModuleHeaderRole Role) : Storage(M, Role) {} in KnownHeader() argument 709 ModuleHeaderRole Role, bool Imported = false);
|
| H A D | HeaderSearch.h | 140 void mergeModuleMembership(ModuleMap::ModuleHeaderRole Role); 567 void MarkFileModuleHeader(FileEntryRef FE, ModuleMap::ModuleHeaderRole Role,
|
| /freebsd/contrib/libxo/doc/ |
| H A D | field-roles.rst | 48 The Color Role ({C:}) 128 The Decoration Role ({D:}) 141 The Gettext Role ({G:}) 176 The Label Role ({L:}) 191 The Note Role ({N:}) 201 The Padding Role ({P:}) 216 The Title Role ({T:}) 241 The Units Role ({U:}) 266 The Value Role ({V:} and {:})
|
| /freebsd/contrib/llvm-project/clang/lib/Lex/ |
| H A D | ModuleMap.cpp | 69 Module::HeaderKind ModuleMap::headerRoleToKind(ModuleHeaderRole Role) { in headerRoleToKind() argument 70 switch ((int)Role) { in headerRoleToKind() 102 bool ModuleMap::isModular(ModuleHeaderRole Role) { in isModular() argument 103 return !(Role & (ModuleMap::TextualHeader | ModuleMap::ExcludedHeader)); in isModular() 346 auto Role = headerKindToRole(Header.Kind); in resolveAsBuiltinHeader() local 347 addHeader(Mod, H, Role); in resolveAsBuiltinHeader() 1297 ModuleHeaderRole Role, bool Imported) { in addHeader() argument 1298 KnownHeader KH(Mod, Role); in addHeader() 1310 Mod->addHeader(headerRoleToKind(Role), std::move(Header)); in addHeader() 1316 HeaderInfo.MarkFileModuleHeader(HeaderEntry, Role, isCompilingModuleHeader); in addHeader() [all …]
|
| H A D | HeaderSearch.cpp | 1269 ModuleMap::ModuleHeaderRole Role) { in moduleMembershipNeedsMerge() argument 1270 if (ModuleMap::isModular(Role)) in moduleMembershipNeedsMerge() 1272 if (!HFI->isModuleHeader && (Role & ModuleMap::TextualHeader)) in moduleMembershipNeedsMerge() 1287 void HeaderFileInfo::mergeModuleMembership(ModuleMap::ModuleHeaderRole Role) { in mergeModuleMembership() argument 1288 mergeHeaderFileInfoModuleBits(*this, ModuleMap::isModular(Role), in mergeModuleMembership() 1289 (Role & ModuleMap::TextualHeader)); in mergeModuleMembership() 1380 ModuleMap::ModuleHeaderRole Role, in MarkFileModuleHeader() argument 1384 if ((Role & ModuleMap::ExcludedHeader)) in MarkFileModuleHeader() 1387 if (HFI && !moduleMembershipNeedsMerge(HFI, Role)) in MarkFileModuleHeader() 1392 HFI.mergeModuleMembership(Role); in MarkFileModuleHeader()
|
| /freebsd/contrib/llvm-project/clang/lib/Index/ |
| H A D | IndexSymbol.cpp | 417 #define APPLY_FOR_ROLE(Role) \ in applyForEachSymbolRoleInterruptible() argument 418 if (Roles & (unsigned)SymbolRole::Role) \ in applyForEachSymbolRoleInterruptible() 419 if (!Fn(SymbolRole::Role)) \ in applyForEachSymbolRoleInterruptible() 459 applyForEachSymbolRole(Roles, [&](SymbolRole Role) { in printSymbolRoles() argument 464 switch (Role) { in printSymbolRoles()
|
| H A D | IndexingAction.cpp | 224 auto Role = DirectiveKind == MacroDirective::MD_Define in indexPreprocessorMacro() local 227 DataConsumer.handleMacroOccurrence(II, MI, static_cast<unsigned>(Role), Loc); in indexPreprocessorMacro()
|
| /freebsd/contrib/llvm-project/clang/lib/Format/ |
| H A D | MacroCallReconstructor.cpp | 99 (Token->MacroCtx->Role != MR_Hidden || in add() 218 if (Token->MacroCtx->Role != MR_Hidden) in reconstruct() 224 if (Token->MacroCtx->Role != MR_Hidden) { in reconstruct() 393 if (Token->MacroCtx->Role == MR_Hidden) in processNextReconstructed()
|
| H A D | FormatToken.h | 280 MacroExpansion(MacroRole Role) : Role(Role) {} in MacroExpansion() 288 MacroRole Role; member 332 std::shared_ptr<TokenRole> Role; member 444 if (MacroCtx && MacroCtx->Role == MR_UnexpandedArg) in setType() 455 if (MacroCtx && MacroCtx->Role == MR_UnexpandedArg) in setFinalizedType() 461 if (MacroCtx && MacroCtx->Role == MR_UnexpandedArg) in overwriteFixedType()
|
| H A D | TokenAnnotator.h | 110 Current->Role.reset(); in ~AnnotatedLine()
|
| H A D | ContinuationIndenter.cpp | 746 if (!Prev->Role) in addTokenOnCurrentLine() 749 const auto *Comma = Prev->Role->lastComma(); in addTokenOnCurrentLine() 1778 if (Current.Role) in moveStateToNextToken() 1779 Current.Role->formatFromToken(State, this, DryRun); in moveStateToNextToken() 1785 if (Previous && Previous->Role) in moveStateToNextToken() 1786 Penalty += Previous->Role->formatAfterToken(State, this, DryRun); in moveStateToNextToken()
|
| H A D | WhitespaceManager.cpp | 57 if (Tok.Finalized || (Tok.MacroCtx && Tok.MacroCtx->Role == MR_ExpandedArg)) in replaceWhitespace() 68 if (Tok.Finalized || (Tok.MacroCtx && Tok.MacroCtx->Role == MR_ExpandedArg)) in addUntouchableToken() 92 if (Tok.Finalized || (Tok.MacroCtx && Tok.MacroCtx->Role == MR_ExpandedArg)) in replaceWhitespaceInToken()
|
| /freebsd/contrib/llvm-project/clang/utils/TableGen/ |
| H A D | ClangSyntaxEmitter.cpp | 221 StringRef Role = C->getValueAsString("role"); in EmitClangSyntaxNodeClasses() local 228 Role, Constraint.NodeType, Const); in EmitClangSyntaxNodeClasses()
|
| H A D | ClangDiagnosticsEmitter.cpp | 487 StringRef Role; member 489 TextPiece(StringRef Text, StringRef Role = "") in TextPiece() 490 : Piece(TextPieceClass), Role(Role), Text(Text.str()) {} in TextPiece() 602 std::vector<std::string> buildForDocumentation(StringRef Role, 886 S += P->Role; in VisitText() 2124 StringRef Role, raw_ostream &OS) { in writeDiagnosticText() argument 2129 std::vector<std::string> Out = Builder.buildForDocumentation(Role, R); in writeDiagnosticText()
|
| /freebsd/release/tools/ |
| H A D | mkami.sh | 54 echo "Launch an AMI-builder instance with an appropriate IAM Role,"
|
| /freebsd/sys/contrib/device-tree/Bindings/usb/ |
| H A D | mediatek,musb.txt | 32 - usb-role-switch : use USB Role Switch to support dual-role switch, see
|
| H A D | generic.txt | 10 - dr_mode: tells Dual-Role USB controllers that we want to work on a
|
| H A D | mediatek,mtu3.txt | 47 - usb-role-switch : use USB Role Switch to support dual-role switch, but
|