Home
last modified time | relevance | path

Searched refs:Expression (Results 1 – 25 of 296) sorted by relevance

12345678910>>...12

/external/libxml2/result/XPath/expr/
Dfloats3 Expression: 1
7 Expression: 123
11 Expression: 1.23
15 Expression: 0.123
19 Expression: 4.
23 Expression: .4
27 Expression: 1.23e3
31 Expression: 1.23e-3
35 Expression: 1 div 0
39 Expression: -1 div 0
[all …]
Dcompare3 Expression: 0<0
7 Expression: 0<=0
11 Expression: 0>0
15 Expression: 0>=0
19 Expression: 0<1
23 Expression: 0<=1
27 Expression: 0>1
31 Expression: 0>=1
35 Expression: 1<0
39 Expression: 1<=0
[all …]
Dfunctions3 Expression: true()
7 Expression: false()
11 Expression: number("1.5")
15 Expression: number('abc')
19 Expression: -number('abc')
23 Expression: floor(0.1)
27 Expression: floor(-0.1)
31 Expression: floor(-0)
35 Expression: floor(0)
39 Expression: floor(5.2)
[all …]
Dstrings3 Expression: string(5)
7 Expression: string(0.5)
11 Expression: string(-0.5)
15 Expression: string(true())
19 Expression: string(false())
23 Expression: string(12345678901234567890)
27 Expression: string(-12345678901234567890)
31 Expression: concat("titi","toto")
35 Expression: concat("titi","toto","tata")
39 Expression: concat("titi",'toto')
[all …]
Dequality3 Expression: 1=1
7 Expression: 1!=1
11 Expression: 1=0
15 Expression: 1!=0
19 Expression: true()=true()
23 Expression: true()!=true()
27 Expression: true()=false()
31 Expression: false()!=true()
35 Expression: 'test'='test'
39 Expression: 'test'!='test'
[all …]
Dbase3 Expression: 1
7 Expression: 1+2
11 Expression: 2*3
15 Expression: 1+2*3+4
19 Expression: (1+2)*(3+4)
23 Expression: 1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1
27 Expression: 0.000000000000000000000000000000000000000000000000001
31 Expression: -0.000000000000000000000000000000000000000000000000001
35 Expression: 1e2147483648
39 Expression: 1e4294967296
[all …]
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DReflectionUtil.cs61 ParameterExpression parameter = Expression.Parameter(typeof(IMessage), "p"); in CreateFuncIMessageObject()
62 Expression downcast = Expression.Convert(parameter, method.DeclaringType); in CreateFuncIMessageObject()
63 Expression call = Expression.Call(downcast, method); in CreateFuncIMessageObject()
64 Expression upcast = Expression.Convert(call, typeof(object)); in CreateFuncIMessageObject()
65 return Expression.Lambda<Func<IMessage, object>>(upcast, parameter).Compile(); in CreateFuncIMessageObject()
74 ParameterExpression parameter = Expression.Parameter(typeof(IMessage), "p"); in CreateFuncIMessageT()
75 Expression downcast = Expression.Convert(parameter, method.DeclaringType); in CreateFuncIMessageT()
76 Expression call = Expression.Call(downcast, method); in CreateFuncIMessageT()
77 Expression upcast = Expression.Convert(call, typeof(T)); in CreateFuncIMessageT()
78 return Expression.Lambda<Func<IMessage, T>>(upcast, parameter).Compile(); in CreateFuncIMessageT()
[all …]
/external/skia/src/sksl/
DSkSLIRGenerator.h74 std::unique_ptr<Expression> constantFold(const Expression& left,
76 const Expression& right) const;
101 std::unique_ptr<Expression> convertExpression(const ASTExpression& expression);
106 std::unique_ptr<Expression> call(Position position,
108 std::vector<std::unique_ptr<Expression>> arguments);
110 const std::vector<std::unique_ptr<Expression>>& arguments,
112 std::unique_ptr<Expression> call(Position position, std::unique_ptr<Expression> function,
113 std::vector<std::unique_ptr<Expression>> arguments);
114 std::unique_ptr<Expression> coerce(std::unique_ptr<Expression> expr, const Type& type);
117 std::unique_ptr<Expression> convertNumberConstructor(
[all …]
DSkSLCFGGenerator.cpp86 Expression* e) { in tryRemoveExpressionBefore()
87 if (e->fKind == Expression::kTernary_Kind) { in tryRemoveExpressionBefore()
93 Expression* old = (*iter)->expression()->get(); in tryRemoveExpressionBefore()
127 Expression* lvalue) { in tryRemoveLValueBefore()
129 case Expression::kVariableReference_Kind: in tryRemoveLValueBefore()
131 case Expression::kSwizzle_Kind: in tryRemoveLValueBefore()
133 case Expression::kFieldAccess_Kind: in tryRemoveLValueBefore()
135 case Expression::kIndex_Kind: in tryRemoveLValueBefore()
146 Expression* expr = (*iter)->expression()->get(); in tryRemoveExpression()
148 case Expression::kBinary_Kind: { in tryRemoveExpression()
[all …]
DSkSLIRGenerator.cpp230 std::vector<std::unique_ptr<Expression>> sizes; in convertVarDeclarations()
239 if (size->fKind == Expression::kIntLiteral_Kind) { in convertVarDeclarations()
260 std::unique_ptr<Expression> value; in convertVarDeclarations()
312 std::unique_ptr<Expression> test = this->coerce(this->convertExpression(*s.fTest), in convertIf()
328 if (test->fKind == Expression::kBoolLiteral_Kind) { in convertIf()
355 std::unique_ptr<Expression> test; in convertFor()
362 std::unique_ptr<Expression> next; in convertFor()
381 std::unique_ptr<Expression> test = this->coerce(this->convertExpression(*w.fTest), in convertWhile()
396 std::unique_ptr<Expression> test = this->coerce(this->convertExpression(*d.fTest), in convertDo()
411 std::unique_ptr<Expression> value = this->convertExpression(*s.fValue); in convertSwitch()
[all …]
/external/v8/src/parsing/
Dparser.h142 Parameter(const AstRawString* name, Expression* pattern, in Parameter()
143 Expression* initializer, int initializer_end_position, in Parameter()
151 Expression* pattern;
152 Expression* initializer;
183 typedef v8::internal::Expression* Expression;
187 typedef ZoneList<v8::internal::Expression*>* ExpressionList;
339 Expression* RewriteReturn(Expression* return_value, int pos);
340 Statement* RewriteSwitchStatement(Expression* tag,
362 Expression* value,
373 V8_INLINE Expression* RewriteClassLiteral(const AstRawString* name,
[all …]
Dparser.cc197 ZoneList<Expression*>* args = in DefaultConstructor()
198 new (zone()) ZoneList<Expression*>(1, zone()); in DefaultConstructor()
203 Expression* super_call_ref = NewSuperCallReference(pos); in DefaultConstructor()
204 Expression* call = factory()->NewCall(super_call_ref, args, pos); in DefaultConstructor()
246 bool Parser::ShortcutNumericLiteralBinaryExpression(Expression** x, in ShortcutNumericLiteralBinaryExpression()
247 Expression* y, in ShortcutNumericLiteralBinaryExpression()
316 Expression* Parser::BuildUnaryExpression(Expression* expression, in BuildUnaryExpression()
360 Expression* Parser::BuildIteratorResult(Expression* value, bool done) { in BuildIteratorResult()
365 auto args = new (zone()) ZoneList<Expression*>(2, zone()); in BuildIteratorResult()
373 Expression* Parser::NewThrowError(Runtime::FunctionId id, in NewThrowError()
[all …]
/external/v8/src/ast/
Dast-expression-rewriter.cc40 ZoneList<Expression*>* expressions) { in VisitExpressions()
47 AST_REWRITE_LIST_ELEMENT(Expression, expressions, i); in VisitExpressions()
74 AST_REWRITE_PROPERTY(Expression, node, expression); in VisitExpressionStatement()
90 AST_REWRITE_PROPERTY(Expression, node, condition); in VisitIfStatement()
107 AST_REWRITE_PROPERTY(Expression, node, expression); in VisitReturnStatement()
112 AST_REWRITE_PROPERTY(Expression, node, expression); in VisitWithStatement()
118 AST_REWRITE_PROPERTY(Expression, node, tag); in VisitSwitchStatement()
127 AST_REWRITE_PROPERTY(Expression, node, cond); in VisitDoWhileStatement()
133 AST_REWRITE_PROPERTY(Expression, node, cond); in VisitWhileStatement()
143 AST_REWRITE_PROPERTY(Expression, node, cond); in VisitForStatement()
[all …]
Dast.h120 class Expression; variable
289 class Expression : public AstNode {
365 Expression(int pos, NodeType type) in Expression() function
480 class DoExpression final : public Expression {
496 : Expression(pos, kDoExpression), in DoExpression()
503 static int parent_num_ids() { return Expression::num_ids(); } in parent_num_ids()
604 void Initialize(Expression* cond, Statement* body) { in Initialize()
609 Expression* cond() const { return cond_; } in cond()
610 void set_cond(Expression* e) { cond_ = e; } in set_cond()
625 Expression* cond_;
[all …]
Dast.cc91 bool Expression::IsSmiLiteral() const { in IsSmiLiteral()
95 bool Expression::IsNumberLiteral() const { in IsNumberLiteral()
99 bool Expression::IsStringLiteral() const { in IsStringLiteral()
103 bool Expression::IsPropertyName() const { in IsPropertyName()
107 bool Expression::IsNullLiteral() const { in IsNullLiteral()
112 bool Expression::IsUndefinedLiteral() const { in IsUndefinedLiteral()
124 bool Expression::ToBooleanIsTrue() const { in ToBooleanIsTrue()
128 bool Expression::ToBooleanIsFalse() const { in ToBooleanIsFalse()
132 bool Expression::IsValidReferenceExpression() const { in IsValidReferenceExpression()
141 bool Expression::IsValidReferenceExpressionOrThis() const { in IsValidReferenceExpressionOrThis()
[all …]
/external/deqp/framework/randomshaders/
DrsgExpression.hpp50 class Expression class
53 virtual ~Expression (void);
56 virtual Expression* createNextChild (GeneratorState& state) = DE_NULL;
64 static Expression* createRandom (GeneratorState& state, ConstValueRangeAccess valueRange);
65 static Expression* createRandomLValue (GeneratorState& state, ConstValueRangeAccess valueRange);
68 class VariableAccess : public Expression
73Expression* createNextChild (GeneratorState& state) { DE_UNREF(state); return DE_NULL; … in createNextChild()
106 class FloatLiteral : public Expression
112 Expression* createNextChild (GeneratorState& state) { DE_UNREF(state); return DE_NULL; } in createNextChild()
124 class IntLiteral : public Expression
[all …]
/external/skia/src/sksl/ir/
DSkSLVariableReference.h28 struct VariableReference : public Expression {
81 static std::unique_ptr<Expression> copy_constant(const IRGenerator& irGenerator, in copy_constant()
82 const Expression* expr) { in copy_constant()
85 case Expression::kIntLiteral_Kind: in copy_constant()
86 return std::unique_ptr<Expression>(new IntLiteral( in copy_constant()
90 case Expression::kFloatLiteral_Kind: in copy_constant()
91 return std::unique_ptr<Expression>(new FloatLiteral( in copy_constant()
95 case Expression::kBoolLiteral_Kind: in copy_constant()
96 return std::unique_ptr<Expression>(new BoolLiteral(irGenerator.fContext, in copy_constant()
99 case Expression::kConstructor_Kind: { in copy_constant()
[all …]
DSkSLConstructor.h27 struct Constructor : public Expression {
29 std::vector<std::unique_ptr<Expression>> arguments) in Constructor()
33 std::unique_ptr<Expression> constantPropagate(const IRGenerator& irGenerator, in constantPropagate()
35 if (fArguments.size() == 1 && fArguments[0]->fKind == Expression::kIntLiteral_Kind) { in constantPropagate()
39 return std::unique_ptr<Expression>(new FloatLiteral(irGenerator.fContext, in constantPropagate()
45 return std::unique_ptr<Expression>(new IntLiteral(irGenerator.fContext, in constantPropagate()
84 bool compareConstant(const Context& context, const Expression& other) const override { in compareConstant()
85 ASSERT(other.fKind == Expression::kConstructor_Kind && other.fType == fType); in compareConstant()
101 const Expression* zero; in compareConstant()
110 const Expression* component1 = getMatComponent(col, row); in compareConstant()
[all …]
DSkSLTernaryExpression.h19 struct TernaryExpression : public Expression {
20 TernaryExpression(Position position, std::unique_ptr<Expression> test, in TernaryExpression()
21 std::unique_ptr<Expression> ifTrue, std::unique_ptr<Expression> ifFalse) in TernaryExpression()
38 std::unique_ptr<Expression> fTest;
39 std::unique_ptr<Expression> fIfTrue;
40 std::unique_ptr<Expression> fIfFalse;
42 typedef Expression INHERITED;
/external/apache-xml/src/main/java/org/apache/xpath/operations/
DOperation.java23 import org.apache.xpath.Expression;
32 public class Operation extends Expression implements ExpressionOwner
38 protected Expression m_left;
42 protected Expression m_right;
86 public void setLeftRight(Expression l, Expression r) in setLeftRight()
137 public Expression getLeftOperand(){ in getLeftOperand()
143 public Expression getRightOperand(){ in getRightOperand()
152 public Expression getExpression() in getExpression()
160 public void setExpression(Expression exp) in setExpression()
182 public Expression getExpression() in getExpression()
[all …]
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorExecutor.h26 template<typename Expression, typename Device, bool Vectorizable>
30 typedef typename Expression::Index Index;
32 static inline void run(const Expression& expr, const Device& device = Device())
34 TensorEvaluator<Expression, Device> evaluator(expr, device);
48 template<typename Expression>
49 class TensorExecutor<Expression, DefaultDevice, true>
52 typedef typename Expression::Index Index;
54 static inline void run(const Expression& expr, const DefaultDevice& device = DefaultDevice())
56 TensorEvaluator<Expression, DefaultDevice> evaluator(expr, device);
61 …const int PacketSize = unpacket_traits<typename TensorEvaluator<Expression, DefaultDevice>::Packet…
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/functions/
DFuncExtFunction.java26 import org.apache.xpath.Expression;
94 Expression arg = (Expression) m_argVec.elementAt(i); in fixupVariables()
137 public Expression getArg(int n) { in getArg()
139 return (Expression) m_argVec.elementAt(n); in getArg()
197 Expression arg = (Expression) m_argVec.elementAt(i); in execute()
232 public void setArg(Expression arg, int argNum) in setArg()
253 Expression m_exp;
255 ArgExtOwner(Expression exp) in ArgExtOwner()
263 public Expression getExpression() in getExpression()
272 public void setExpression(Expression exp) in setExpression()
[all …]
/external/libxml2/result/XPath/tests/
Dsimplebase3 Expression: /child::*
15 Expression: /child::EXAMPLE
27 Expression: /child::EXAMPLE/child::head
33 Expression: /child::EXAMPLE/child::*
40 Expression: /child::EXAMPLE/child::head/child::title
46 Expression: /child::EXAMPLE/child::head/child::title/child::text()
53 Expression: /child::EXAMPLE/child::head/node()
63 Expression: /child::EXAMPLE/attribute::prop1/self::node()
71 Expression: /child::EXAMPLE/attribute::prop1/self::*
76 Expression: /child::EXAMPLE/attribute::prop1/descendant-or-self::node()
[all …]
Dchaptersbase3 Expression: /child::EXAMPLE
15 Expression: /child::*
27 Expression: /child::EXAMPLE/child::head
33 Expression: /child::EXAMPLE/child::*
59 Expression: /child::EXAMPLE/child::head/child::title
65 Expression: /child::EXAMPLE/child::head/child::title/child::text()
72 Expression: /child::EXAMPLE/child::head/node()
82 Expression: /descendant::title
93 Expression: /descendant::p/ancestor::chapter
118 Expression: //p[1]
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/compiler/
DCompiler.java34 import org.apache.xpath.Expression;
114 public Expression compile(int opPos) throws TransformerException in compile()
119 Expression expr = null; in compile()
209 private Expression compileOperation(Operation operation, int opPos) in compileOperation()
231 private Expression compileUnary(UnaryOperation unary, int opPos) in compileUnary()
251 protected Expression or(int opPos) throws TransformerException in or()
265 protected Expression and(int opPos) throws TransformerException in and()
279 protected Expression notequals(int opPos) throws TransformerException in notequals()
293 protected Expression equals(int opPos) throws TransformerException in equals()
307 protected Expression lte(int opPos) throws TransformerException in lte()
[all …]

12345678910>>...12