| /freebsd/contrib/llvm-project/clang/include/clang/Tooling/Syntax/ |
| H A D | Tokens.h | 14 // - "expanded" tokens represent the result of preprocessing, parses consumes 17 // Expanded tokens correspond directly to locations found in the AST, allowing 22 // between expanded and spelled tokens that produced them (macro calls, 102 /// Can represent both expanded and spelled tokens. 149 /// map between the expanded and spelled tokens, i.e. TokenBuffer has 151 /// 1. Expanded tokens: tokens produced by the preprocessor after all macro 160 /// Expanded tokens are {'int','a','=','10',';','eof'}. 162 /// Note that the expanded token stream has a tok::eof token at the end, the 165 /// The full list expanded tokens can be obtained with expandedTokens(). Spelled 168 /// To map between the expanded and spelled tokens use findSpelledByExpanded(). [all …]
|
| /freebsd/contrib/bmake/unit-tests/ |
| H A D | varparse-undef-partial.mk | 3 # When an undefined variable is expanded in a ':=' assignment, only the 6 # a completely different interpretation of the partially expanded text. 15 # (see VarSubstExpr) and the rest of the expression is expanded as usual. 25 # Define the possible outcomes, to see which of them gets expanded. 30 # ${VAR.:Q} is expanded, consisting of the variable name "VAR." and the 38 # defined. It is expanded as usual, interpreting the ":Q" as part of the 47 # subexpressions be expanded already? 54 # expression is expanded early, or whether the whole ${COPTS.${COMPILER}} is 55 # expanded as soon as the variable COPTS.${COMPILER} becomes defined. The 56 # expression ${COMPILER} would be expanded several times, but in this simple
|
| H A D | dep-var.mk | 18 # At the point where the expression ${DEF2} is expanded, the variable DEF2 25 # Try out how many levels of indirection are really expanded in dependency 31 # waiting to be expanded at some later point. 33 # Later, in SuffExpandChildren, that expression is expanded again by calling 36 # This string is not expanded anymore by Var_Parse. But there is another 42 # variable is expanded when the shell command is generated. At that point, 43 # the $I is expanded. Since the variable I is not defined, it expands to 68 # fully expanded before parsing, therefore any ':' in a target or source name 73 # "all" target, that is, the "$$I" is first expanded to "$I", and in a second
|
| H A D | depsrc.mk | 10 # Demonstrate when exactly undefined variables are expanded in a dependency 18 : 'Undefined variables are expanded directly in the dependency' 19 : 'declaration. They are not preserved and maybe expanded later.' 23 : 'Undefined variables are tried to be expanded in a dependency' 25 : 'the expression is preserved and tried to be expanded later.'
|
| H A D | directive-export-gmake.mk | 48 # The right-hand side of the exported variable is expanded exactly once. 49 TWICE= expanded twice 50 ONCE= expanded once, leaving $${TWICE} as-is 52 .if ${:!echo "\$VAR"!} != "expanded once, leaving \${TWICE} as-is" 70 # expect+1: Invalid line "export VAR=${:U1}", expanded to "export VAR=1" 98 # The variable name must be given directly, it is not expanded. The name of
|
| H A D | deptgt-end.exp | 6 : .BEGIN 'Should not be expanded.' deferred 7 : all 'Should not be expanded.' deferred 8 : end-action 'Should not be expanded.' deferred
|
| H A D | parse.mk | 21 # the expanded line's terminating '\0'. 24 # expect+1: Invalid line "one-target ${:U }", expanded to "one-target " 40 # line, which has length 47, and if the memory for the expanded line starts at 44 # The following line has length 4095 after being expanded, so line[4095] ==
|
| H A D | dir.mk | 69 # When the source of the dependency line is expanded later, each of the 70 # expanded words resolves to the same node. 76 # Other than in Bash, the braces are also expanded if there is no comma. 85 # It is expanded only when necessary, that is, when the 'debug' target is
|
| H A D | opt-debug-jobs.exp | 4 echo ": expanded expression" 5 { : expanded expression 20 : expanded expression
|
| H A D | varmod-assign.mk | 127 APPEND.indirect= indirect $${:Unot expanded} 132 .if ${APPEND.var} != "previous indirect \${:Unot expanded}" 148 # expanded its variable name once too often during evaluation. This was only 156 ${VARNAME}= initial-value # Sets 'VAR.${param}' to 'expanded'. 157 .if defined(VAR.twice) # At this point, the '$$' is not expanded. 160 .if ${${VARNAME}::=assigned-value} # Here the variable name gets expanded once 164 . error The variable name in the '::=' modifier is expanded once too often.
|
| H A D | varmod-ifelse.mk | 13 # The variable name of the expression is expanded and then taken as the 19 # word "expression". If the name were expanded lazily, everything would be 42 # ':?' modifier, though, the "variable name" is expanded first, and in that 101 # As of 2020-12-10, the variable "VAR" is first expanded, and the result of 109 # expanded at parse time to their corresponding ${:Uvalue} expressions. 132 # expanded first, before even looking at the modifiers. This happens for the 148 # Ideally, the conditional expression would not be expanded before parsing 190 # Since the condition of the '?:' modifier is expanded before being parsed and 193 # works if the expanded values neither contain quotes nor backslashes. For
|
| H A D | deptgt-end.mk | 6 VAR= Should not be expanded. 12 # Oops: The deferred command must not be expanded twice. 32 # Oops: The deferred command must not be expanded twice.
|
| H A D | varparse-dynamic.mk | 16 # scope, it is not yet ready to be expanded. Therefore the complete 26 # If a dynamic variable is expanded in a non-local scope, the expression 27 # based on this variable is not expanded. But there may be nested
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/ |
| H A D | Tokens.cpp | 57 // Finds the range within FID corresponding to expanded tokens [First, Last]. 71 // - identifying which spelled range covers the expanded tokens in spelledForExpandedSlow() 74 // We do these in order. However as we transform the expanded range into the in spelledForExpandedSlow() 247 // AST. Ranges in AST are token ranges from expanded token stream. in expandedTokens() 271 TokenBuffer::spelledForExpandedToken(const syntax::Token *Expanded) const { in spelledForExpandedToken() 272 assert(Expanded); in spelledForExpandedToken() 273 assert(ExpandedTokens.data() <= Expanded && in spelledForExpandedToken() 274 Expanded < ExpandedTokens.data() + ExpandedTokens.size()); in spelledForExpandedToken() 277 SourceMgr->getFileID(SourceMgr->getExpansionLoc(Expanded->location()))); in spelledForExpandedToken() 278 assert(FileIt != Files.end() && "no file for an expanded token"); in spelledForExpandedToken() [all …]
|
| H A D | ComputeReplacements.cpp | 73 llvm::ArrayRef<syntax::Token> Expanded) { in rangeOfExpanded() argument 77 // Check that \p Expanded actually points into expanded tokens. in rangeOfExpanded() 78 assert(Buffer.expandedTokens().begin() <= Expanded.begin()); in rangeOfExpanded() 79 assert(Expanded.end() < Buffer.expandedTokens().end()); in rangeOfExpanded() 81 if (Expanded.empty()) in rangeOfExpanded() 84 SM, SM.getExpansionLoc(Expanded.begin()->location()), /*Length=*/0); in rangeOfExpanded() 86 auto Spelled = Buffer.spelledForExpanded(Expanded); in rangeOfExpanded() 87 assert(Spelled && "could not find spelled tokens for expanded"); in rangeOfExpanded()
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/raidz/ |
| H A D | raidz_002_pos.ksh | 48 # Using expanded raidz map to test all supported raidz 49 # implementations with expanded map and default reflow offset. 51 log_pass "raidz_test sweep test with expanded map succeeded." 54 # Using expanded raidz map ('-e') to test all supported raidz 55 # implementations with expanded map and zero reflow offset. 57 log_pass "raidz_test sweep test with expanded map succeeded."
|
| /freebsd/contrib/llvm-project/clang/lib/Format/ |
| H A D | Macros.h | 22 /// spelled token streams into expanded token streams when it encounters a 24 /// from the expanded token stream. 25 /// After the expanded unwrapped lines are parsed, the MacroCallReconstructor 27 /// structure of the expanded unwrapped lines. These reconstructed unwrapped 28 /// lines are aliasing the tokens in the expanded token stream, so that token 31 /// When formatting, clang-format annotates and formats the expanded unwrapped 113 /// Returns the expanded stream of format tokens for \p ID, where 136 /// Converts a sequence of UnwrappedLines containing expanded macros into a 139 /// expanded code. 142 /// expanding it we have one expanded UnwrappedLine. In general, macro [all …]
|
| H A D | Format.cpp | 1280 static void expandPresetsBraceWrapping(FormatStyle &Expanded) { in expandPresetsBraceWrapping() argument 1281 if (Expanded.BreakBeforeBraces == FormatStyle::BS_Custom) in expandPresetsBraceWrapping() 1283 Expanded.BraceWrapping = {/*AfterCaseLabel=*/false, in expandPresetsBraceWrapping() 1301 switch (Expanded.BreakBeforeBraces) { in expandPresetsBraceWrapping() 1303 Expanded.BraceWrapping.AfterClass = true; in expandPresetsBraceWrapping() 1304 Expanded.BraceWrapping.AfterFunction = true; in expandPresetsBraceWrapping() 1305 Expanded.BraceWrapping.AfterNamespace = true; in expandPresetsBraceWrapping() 1308 Expanded.BraceWrapping.AfterClass = true; in expandPresetsBraceWrapping() 1309 Expanded.BraceWrapping.AfterEnum = true; in expandPresetsBraceWrapping() 1310 Expanded.BraceWrapping.AfterFunction = true; in expandPresetsBraceWrapping() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Analysis/ |
| H A D | MacroExpansionContext.h | 51 /// // Expanded text is "bar()" 61 /// // Expanded text is "((1,bar(),1,bar(),1" 64 /// \remark Currently we don't respect the whitespaces between expanded tokens, 88 /// If no macro was expanded at that location, returns std::nullopt. 95 /// If no macro was expanded at that location, returns std::nullopt. 110 /// Associates the textual representation of the expanded tokens at the given 123 /// It stores the textual representation of the expanded token sequence for a
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_expand/ |
| H A D | zpool_expand_002_pos.ksh | 49 # 6) Check that the pool size was expanded 125 "expanded size: $expand_size" 138 log_fail "pool $TESTPOOL1 has not expanded " \ 140 "$size_addition/3 vdevs expanded" 148 log_fail "pool $TESTPOOL1 has not expanded " \ 156 log_fail "pool $TESTPOOL1 has not expanded " \ 164 log_fail "pool $TESTPOOL1 has not expanded " \
|
| /freebsd/crypto/openssl/crypto/ec/curve448/ |
| H A D | eddsa.c | 179 uint8_t expanded[EDDSA_448_PRIVATE_BYTES * 2]; in ossl_c448_ed448_sign() local 181 if (!oneshot_hash(ctx, expanded, sizeof(expanded), privkey, in ossl_c448_ed448_sign() 184 clamp(expanded); in ossl_c448_ed448_sign() 185 ossl_curve448_scalar_decode_long(secret_scalar, expanded, in ossl_c448_ed448_sign() 192 expanded + EDDSA_448_PRIVATE_BYTES, in ossl_c448_ed448_sign() 195 OPENSSL_cleanse(expanded, sizeof(expanded)); in ossl_c448_ed448_sign() 198 OPENSSL_cleanse(expanded, sizeof(expanded)); in ossl_c448_ed448_sign()
|
| /freebsd/contrib/openbsm/man/ |
| H A D | audit.log.5 | 111 .Ss Expanded Header Token 113 .Dq expanded header 114 token is an expanded version of the 189 .Ss Expanded in_addr Token 304 .Ss Expanded Process Token 306 .Dq expanded process 312 .Dq expanded process 356 .Dq expanded process 379 .Ss Expanded Subject Token 381 .Dq expanded subject [all …]
|
| /freebsd/usr.sbin/autofs/ |
| H A D | defined.c | 83 char c, *expanded, *name; in defined_expand() local 87 expanded = checked_strdup(string); in defined_expand() 188 ret = asprintf(&expanded, "%.*s%s%s", in defined_expand() 193 //log_debugx("\"%s\" expanded to \"%s\"", string, expanded); in defined_expand() 199 string = expanded; in defined_expand() 211 return (expanded); in defined_expand()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | LegalizeVectorOps.cpp | 17 // expanded. Similarly, suppose we have an ISD::SRA of type v16i8 on PowerPC; 306 // it should actually be expanded. in LegalizeOp() 883 if (SDValue Expanded = ExpandVP_REM(Node)) { in Expand() local 884 Results.push_back(Expanded); in Expand() 922 if (SDValue Expanded = TLI.expandABS(Node, DAG)) { in Expand() local 923 Results.push_back(Expanded); in Expand() 929 if (SDValue Expanded = TLI.expandABD(Node, DAG)) { in Expand() local 930 Results.push_back(Expanded); in Expand() 938 if (SDValue Expanded = TLI.expandAVG(Node, DAG)) { in Expand() local 939 Results.push_back(Expanded); in Expand() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Lex/ |
| H A D | TokenLexer.h | 44 /// defined to, with arguments expanded for function-like macros. If this is 59 /// The source location range where this macro was expanded. 77 /// that the macro expanded from had these properties. 193 /// the just expanded __VA_OPT__ tokens (possibly zero tokens) and transforms 199 /// the tokens just expanded through __VA_OPT__ processing. These (sub) 216 /// source line of the expanded buffer. Handle this by returning the 226 /// tokens to their new expanded locations.
|