/external/apache-commons-bcel/src/examples/Mini/ |
D | ASTFunAppl.java | 50 ASTFunAppl(ASTIdent name, Function function, ASTExpr[] exprs) { in ASTFunAppl() argument 55 this.exprs = exprs; in ASTFunAppl() 71 exprs = new ASTExpr[children.length - 1]; in closeNode() 72 System.arraycopy(children, 1, exprs, 0, children.length - 1); in closeNode() 96 int len = (exprs != null)? exprs.length : 0; in traverse() 110 if(exprs != null) { in traverse() 111 for(int i=0; i < exprs.length; i++) { in traverse() 112 exprs[i] = exprs[i].traverse(env); in traverse() 136 if(exprs != null) { in eval() 137 for(int i=0; i < exprs.length; i++) { // length match checked in previous pass in eval() [all …]
|
D | ASTExpr.java | 54 protected ASTExpr[] exprs; // Sub expressions field in ASTExpr 94 exprs = children; in ASTExpr() 123 exprs = new ASTExpr[children.length]; in closeNode() 124 System.arraycopy(children, 0, exprs, 0, children.length); in closeNode() 138 return exprs[0].traverse(env); // --> Replaced by successor in traverse() 140 for(int i=0; i < exprs.length; i++) { in traverse() 141 exprs[i] = exprs[i].traverse(env); // References may change in traverse() 180 for(int i=0; i < exprs.length; i++) { in eval() 181 t = exprs[i].eval(child_type); in eval() 184 MiniC.addError(exprs[i].getLine(), exprs[i].getColumn(), in eval() [all …]
|
D | ASTLetExpr.java | 37 private ASTExpr[] exprs; field in ASTLetExpr 63 exprs = new ASTExpr[len_2]; in closeNode() 68 exprs[i] = (ASTExpr)children[i * 2 + 1]; in closeNode() 83 for(int i=0; i < exprs.length; i++) { in traverse() 84 exprs[i] = exprs[i].traverse((Environment)env.clone()); in traverse() 117 int t = exprs[i].eval(T_UNKNOWN); in eval() 138 exprs[i].code(buf); in code() 164 exprs[i].byte_code(il, method, cp); in byte_code() 184 exprs[i].dump(prefix + " "); in dump()
|
D | ASTTerm.java | 50 return exprs[0].traverse(env); in traverse() 52 return new ASTExpr(exprs, kind, line, column).traverse(env); in traverse()
|
D | ASTFactor.java | 50 return exprs[0].traverse(env); in traverse() 52 return new ASTExpr(exprs, kind, line, column).traverse(env); in traverse()
|
/external/llvm-project/mlir/lib/IR/ |
D | AffineMap.cpp | 130 for (const auto &exprs : exprsList) { in getMaxDimAndSymbol() local 131 for (auto expr : exprs) { in getMaxDimAndSymbol() 152 for (const auto &exprs : exprsList) in inferFromExprList() local 154 /*symbolCount=*/maxSym + 1, exprs, context)); in inferFromExprList() 263 SmallVector<AffineExpr, 4> exprs; in partialConstantFold() local 264 exprs.reserve(getNumResults()); in partialConstantFold() 271 exprs.push_back( in partialConstantFold() 276 exprs.push_back(expr); in partialConstantFold() 284 return get(getNumDims(), getNumSymbols(), exprs, getContext()); in partialConstantFold() 329 SmallVector<AffineExpr, 8> exprs; in compose() local [all …]
|
/external/rust/crates/rustversion/src/ |
D | expr.rs | 46 Any(exprs) => exprs.iter().any(|e| e.eval(rustc)), in eval() 47 All(exprs) => exprs.iter().all(|e| e.eval(rustc)), in eval() 136 let exprs = parse_comma_separated(inner)?; in parse_any() localVariable 138 Ok(Expr::Any(exprs.into_iter().collect())) in parse_any() 145 let exprs = parse_comma_separated(inner)?; in parse_all() localVariable 147 Ok(Expr::All(exprs.into_iter().collect())) in parse_all() 151 let mut exprs = Vec::new(); in parse_comma_separated() localVariable 155 exprs.push(expr); in parse_comma_separated() 162 Ok(exprs) in parse_comma_separated()
|
/external/bcc/tools/ |
D | argdist.py | 81 for expr in self.exprs: 86 if any(map(lambda expr: "$latency" in expr, self.exprs)) or \ 130 for i in range(0, len(self.exprs)): 131 self.exprs[i] = self.exprs[i].replace( 171 def _parse_exprs(self, exprs): argument 172 if len(exprs) == 0: 174 self.exprs = exprs.split(',') 218 if len(self.exprs) != len(self.expr_types): 227 self.exprs = \ 238 (any(map(check, self.exprs)) or check(self.filter)) [all …]
|
/external/bc/tests/ |
D | other.sh | 194 exprs=$(cat "$f") 199 "$exe" "$@" -e "$exprs" -f "$f" --expression "$exprs" --file "$f" -e "$halt" > "$out2" 225 "$exe" "$@" "-$opt" -e "$exprs" > /dev/null 2> "$out2" 230 "$exe" "$@" "--$lopt" -e "$exprs" > /dev/null 2> "$out2" 235 "$exe" "$@" "-u" -e "$exprs" > /dev/null 2> "$out2" 240 "$exe" "$@" "--uniform" -e "$exprs" > /dev/null 2> "$out2"
|
/external/rust/crates/regex/src/ |
D | compile.rs | 117 pub fn compile(mut self, exprs: &[Hir]) -> result::Result<Program, Error> { in compile() 118 debug_assert!(!exprs.is_empty()); in compile() 119 self.num_exprs = exprs.len(); in compile() 120 if exprs.len() == 1 { in compile() 121 self.compile_one(&exprs[0]) in compile() 123 self.compile_many(exprs) in compile() 154 exprs: &[Hir], in compile_many() 156 debug_assert!(exprs.len() > 1); in compile_many() 159 exprs.iter().all(|e| e.is_anchored_start()); in compile_many() 161 exprs.iter().all(|e| e.is_anchored_end()); in compile_many() [all …]
|
D | exec.rs | 123 exprs: Vec<Hir>, field 230 let mut exprs = Vec::with_capacity(self.options.pats.len()); in parse() localVariable 288 exprs.push(expr); in parse() 291 exprs: exprs, in parse() 321 .compile(&parsed.exprs)?; in build() 326 .compile(&parsed.exprs)?; in build() 332 .compile(&parsed.exprs)?; in build() 360 if parsed.exprs.len() != 1 { in build_aho_corasick() 363 let lits = match alternation_literals(&parsed.exprs[0]) { in build_aho_corasick() 1586 HirKind::Concat(ref exprs) => { in alternation_literals() [all …]
|
/external/bc/src/ |
D | args.c | 77 if (vm.exprs.v == NULL) bc_vec_init(&vm.exprs, sizeof(uchar), NULL); in bc_args_exprs() 78 bc_vec_concat(&vm.exprs, str); in bc_args_exprs() 79 bc_vec_concat(&vm.exprs, "\n"); in bc_args_exprs()
|
/external/llvm-project/lldb/source/Symbol/ |
D | PostfixExpression.cpp | 89 llvm::SmallVector<llvm::StringRef, 4> exprs; in ParseFPOProgram() local 90 prog.split(exprs, '='); in ParseFPOProgram() 91 if (exprs.empty() || !exprs.back().trim().empty()) in ParseFPOProgram() 93 exprs.pop_back(); in ParseFPOProgram() 96 for (llvm::StringRef expr : exprs) { in ParseFPOProgram()
|
/external/rust/crates/structopt-derive/src/ |
D | parse.rs | 225 let exprs = val.parse_with(Punctuated::<Expr, Token![,]>::parse_terminated)?; in raw_method_suggestion() localVariable 226 Ok((name, exprs)) in raw_method_suggestion() 236 if let Ok((name, exprs)) = do_parse() { in raw_method_suggestion() 237 let suggestion = if exprs.len() == 1 { in raw_method_suggestion() 238 let val = to_string(&exprs[0]); in raw_method_suggestion() 241 let val = exprs in raw_method_suggestion()
|
/external/python/setuptools/setuptools/_vendor/ |
D | pyparsing.py | 3219 def __init__( self, exprs, savelist = False ): argument 3221 if isinstance( exprs, _generatorType ): 3222 exprs = list(exprs) 3224 if isinstance( exprs, basestring ): 3225 self.exprs = [ ParserElement._literalStringClass( exprs ) ] 3226 elif isinstance( exprs, collections.Iterable ): 3227 exprs = list(exprs) 3229 if all(isinstance(expr, basestring) for expr in exprs): 3230 exprs = map(ParserElement._literalStringClass, exprs) 3231 self.exprs = list(exprs) [all …]
|
/external/python/setuptools/pkg_resources/_vendor/ |
D | pyparsing.py | 3219 def __init__( self, exprs, savelist = False ): argument 3221 if isinstance( exprs, _generatorType ): 3222 exprs = list(exprs) 3224 if isinstance( exprs, basestring ): 3225 self.exprs = [ ParserElement._literalStringClass( exprs ) ] 3226 elif isinstance( exprs, collections.Iterable ): 3227 exprs = list(exprs) 3229 if all(isinstance(expr, basestring) for expr in exprs): 3230 exprs = map(ParserElement._literalStringClass, exprs) 3231 self.exprs = list(exprs) [all …]
|
/external/llvm-project/clang/test/Index/ |
D | boxed-exprs.m | 2 #include "boxed-exprs.h" 17 // RUN: c-index-test -cursor-at=%S/boxed-exprs.h:9:19 -target x86_64-apple-macosx10.7 %s | FileChec… 18 // RUN: env CINDEXTEST_EDITING=1 c-index-test -cursor-at=%S/boxed-exprs.h:9:19 -target x86_64-apple…
|
/external/clang/test/Index/ |
D | boxed-exprs.m | 2 #include "boxed-exprs.h" 17 // RUN: c-index-test -cursor-at=%S/boxed-exprs.h:9:19 -target x86_64-apple-macosx10.7 %s | FileChec… 18 // RUN: env CINDEXTEST_EDITING=1 c-index-test -cursor-at=%S/boxed-exprs.h:9:19 -target x86_64-apple…
|
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/ |
D | Transforms.cpp | 408 auto exprs = llvm::to_vector<4>(map.getResults()); in substitute() local 409 for (AffineExpr &expr : exprs) { in substitute() 444 auto map = AffineMap::get(dims.size(), symbols.size(), exprs, in substitute() 445 exprs.front().getContext()); in substitute() 455 exprs.assign(map.getResults().begin(), map.getResults().end()); in substitute() 462 assert(!exprs.empty() && "Unexpected empty exprs"); in substitute() 463 return AffineMap::get(dims.size(), symbols.size(), exprs, map.getContext()); in substitute()
|
D | DropUnitDims.cpp | 251 ArrayRef<AffineExpr> exprs = indexMap.getResults(); in replaceUnitExtents() local 260 return shape[dim] == 1 && exprs[dim] == zeroExpr; in replaceUnitExtents() 269 newIndexExprs.push_back(exprs[dim]); in replaceUnitExtents() 481 reassociationExprs, [&](ArrayRef<AffineExpr> exprs) -> AffineMap { in matchAndRewrite() argument 482 return AffineMap::get(expandedShape.size(), 0, exprs, in matchAndRewrite()
|
/external/llvm-project/mlir/include/mlir/IR/ |
D | AffineExpr.h | 282 void bindDims(MLIRContext *ctx, AffineExprTy &e, AffineExprTy2 &... exprs) { in bindDims() argument 284 bindDims<N + 1, AffineExprTy2 &...>(ctx, exprs...); in bindDims() 291 void bindDims(MLIRContext *ctx, AffineExprTy &... exprs) { in bindDims() argument 292 detail::bindDims<0>(ctx, exprs...); in bindDims()
|
/external/starlark-go/syntax/ |
D | parse.go | 491 exprs := p.parseExprs([]Expr{x}, inParens) 492 return &TupleExpr{List: exprs} 498 func (p *parser) parseExprs(exprs []Expr, allowTrailingComma bool) []Expr { 507 exprs = append(exprs, p.parseTest()) 509 return exprs 857 exprs := []Expr{x} 860 exprs = p.parseExprs(exprs, true) // allow trailing comma 864 return &ListExpr{Lbrack: lbrack, List: exprs, Rbrack: rbrack}
|
/external/clang/lib/AST/ |
D | Stmt.cpp | 694 StringLiteral **constraints, Expr **exprs, in GCCAsmStmt() argument 706 std::copy(exprs, exprs + NumExprs, Exprs); in GCCAsmStmt() 719 ArrayRef<StringRef> constraints, ArrayRef<Expr*> exprs, in MSAsmStmt() argument 726 initialize(C, asmstr, asmtoks, constraints, exprs, clobbers); in MSAsmStmt() 736 ArrayRef<Expr*> exprs, in initialize() argument 741 assert(exprs.size() == NumOutputs + NumInputs); in initialize() 742 assert(exprs.size() == constraints.size()); in initialize() 746 Exprs = new (C) Stmt*[exprs.size()]; in initialize() 747 std::copy(exprs.begin(), exprs.end(), Exprs); in initialize() 752 Constraints = new (C) StringRef[exprs.size()]; in initialize()
|
/external/llvm-project/mlir/lib/Parser/ |
D | AffineParser.cpp | 562 SmallVector<AffineExpr, 4> exprs; in parseAffineMapOfSSAIds() local 565 exprs.push_back(elt); in parseAffineMapOfSSAIds() 578 exprs, getContext()); in parseAffineMapOfSSAIds() 592 SmallVector<AffineExpr, 4> exprs; in parseAffineMapRange() local 596 exprs.push_back(elt); in parseAffineMapRange() 608 return AffineMap::get(numDims, numSymbols, exprs, getContext()); in parseAffineMapRange()
|
/external/python/pycparser/pycparser/ |
D | c_ast.py | 551 def __init__(self, exprs, coord=None): argument 552 self.exprs = exprs 557 for i, child in enumerate(self.exprs or []): 562 for child in (self.exprs or []): 757 def __init__(self, exprs, coord=None): argument 758 self.exprs = exprs 763 for i, child in enumerate(self.exprs or []): 768 for child in (self.exprs or []):
|