Home
last modified time | relevance | path

Searched refs:eval (Results 1 – 25 of 670) sorted by relevance

12345678910>>...27

/external/valgrind/gdbserver_tests/
Dmcvabits.stdinB.gdb23 eval "monitor check_memory addressable 0x%lx 10", $0xundefined
24 eval "monitor check_memory defined 0x%lx 10", $0xundefined
25 eval "monitor get_vbits 0x%lx 10", $0xundefined
26 eval "monitor xb 0x%lx 10", $0xundefined
32 eval "monitor check_memory addressable 0x%lx 10", $0xundefined
33 eval "monitor check_memory defined 0x%lx 10", $0xundefined
34 eval "monitor get_vbits 0x%lx 10", $0xundefined
38 eval "monitor make_memory defined 0x%lx 3", $0xundefined_2
40 eval "monitor check_memory addressable 0x%lx 10", $0xundefined
41 eval "monitor check_memory defined 0x%lx 10", $0xundefined
[all …]
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorSyclExtractAccessor.h46 template<typename Arg> static inline auto getTuple(cl::sycl::handler& cgh, Arg eval)
47 -> decltype(ExtractAccessor<Arg>::getTuple(cgh, eval)) {
48 return ExtractAccessor<Arg>::getTuple(cgh, eval);
59 …l::access::mode AcM, typename Arg> static inline auto getAccessor(cl::sycl::handler& cgh, Arg eval)
60 -> decltype(utility::tuple::make_tuple( eval.device().template get_sycl_accessor<AcM,
61 …ternal::remove_all<typename Arg::CoeffReturnType>::type>(eval.dimensions().TotalSize(), cgh,eval.d…
62eval.device().template get_sycl_accessor<AcM, typename Eigen::internal::remove_all<typename Arg::C…
70 …getTuple(cl::sycl::handler& cgh, const TensorEvaluator<const UnaryCategory<OP, RHSExpr>, Dev> eval)
71 -> decltype(AccessorConstructor::getTuple(cgh, eval.impl())){
72 return AccessorConstructor::getTuple(cgh, eval.impl());
[all …]
/external/python/cpython2/Lib/test/
Dtest_compile.py36 self.assertRaises(SyntaxError, eval, 'lambda a,a:0')
37 self.assertRaises(SyntaxError, eval, 'lambda a,a=1:0')
38 self.assertRaises(SyntaxError, eval, 'lambda a=1,a=1:0')
230 self.assertRaises(SyntaxError, eval, "2e")
231 self.assertRaises(SyntaxError, eval, "2.0e+")
232 self.assertRaises(SyntaxError, eval, "1e-")
233 self.assertRaises(SyntaxError, eval, "3-4e/21")
258 self.assertRaises(SyntaxError, eval, arg)
260 self.assertEqual(eval("0777"), 511)
261 self.assertEqual(eval("0777L"), 511)
[all …]
Dtest_opcodes.py73 f = eval('lambda: None')
74 g = eval('lambda: None')
77 f = eval('lambda a: a')
78 g = eval('lambda a: a')
81 f = eval('lambda a=1: a')
82 g = eval('lambda a=1: a')
85 f = eval('lambda: 0')
86 g = eval('lambda: 1')
89 f = eval('lambda: None')
90 g = eval('lambda a: None')
[all …]
Dtest_unary.py32 self.assertTrue(eval("+" + nines) == eval("+" + nines + "L"))
33 self.assertTrue(eval("-" + nines) == eval("-" + nines + "L"))
34 self.assertTrue(eval("~" + nines) == eval("~" + nines + "L"))
46 self.assertRaises(TypeError, eval, op + "'a'")
48 self.assertRaises(TypeError, eval, op + "u'a'")
50 self.assertRaises(TypeError, eval, "~2j")
51 self.assertRaises(TypeError, eval, "~2.0")
Dtest_compiler.py143 self.assertEqual(eval(c), [(0, 3), (1, 3), (2, 3)])
147 self.assertEqual(eval(c), {1,2,3})
149 self.assertEqual(eval(c), {1,2,3})
153 self.assertEqual(eval(c), {1:2, 2:3, 3:4})
155 self.assertEqual(eval(c), {1:2, 2:3, 3:4})
159 self.assertEqual(eval(c), {1, 2, 3})
164 self.assertEqual(eval(c), {1, 2, 3, 4, 6})
168 self.assertEqual(eval(c), {1:2, 2:3, 3:4})
173 self.assertEqual(eval(c), {(1, 2): 2, (1, 1): 1})
/external/eigen/test/
Dmixingtypes.cpp140 …VERIFY_IS_APPROX((vf * vcf.transpose()).eval(), (vf.template cast<complex<float> >() * vcf.transpo… in mixingtypes()
144 …VERIFY_IS_APPROX((vf * vcf.transpose()).eval(), (vf.template cast<complex<float> >() * vcf.transpo… in mixingtypes()
150 VERIFY_IS_APPROX(sd*md*mcd, (sd*md).template cast<CD>().eval()*mcd); in mixingtypes()
152 VERIFY_IS_APPROX(scd*md*mcd, scd*md.template cast<CD>().eval()*mcd); in mixingtypes()
160 VERIFY_IS_APPROX(sd*md.adjoint()*mcd, (sd*md).template cast<CD>().eval().adjoint()*mcd); in mixingtypes()
162 …VERIFY_IS_APPROX(sd*md.adjoint()*mcd.adjoint(), (sd*md).template cast<CD>().eval().adjoint()*mcd.a… in mixingtypes()
164 VERIFY_IS_APPROX(sd*md*mcd.adjoint(), (sd*md).template cast<CD>().eval()*mcd.adjoint()); in mixingtypes()
167 VERIFY_IS_APPROX(sf*mf.adjoint()*mcf, (sf*mf).template cast<CF>().eval().adjoint()*mcf); in mixingtypes()
169 …VERIFY_IS_APPROX(sf*mf.adjoint()*mcf.adjoint(), (sf*mf).template cast<CF>().eval().adjoint()*mcf.a… in mixingtypes()
171 VERIFY_IS_APPROX(sf*mf*mcf.adjoint(), (sf*mf).template cast<CF>().eval()*mcf.adjoint()); in mixingtypes()
[all …]
Drvalue_types.cpp48 CALL_SUBTEST_1(rvalue_copyassign( MatrixXf::Random(50,50).eval() )); in test_rvalue_types()
49 CALL_SUBTEST_1(rvalue_copyassign( ArrayXXf::Random(50,50).eval() )); in test_rvalue_types()
51 CALL_SUBTEST_1(rvalue_copyassign( Matrix<float,1,Dynamic>::Random(50).eval() )); in test_rvalue_types()
52 CALL_SUBTEST_1(rvalue_copyassign( Array<float,1,Dynamic>::Random(50).eval() )); in test_rvalue_types()
54 CALL_SUBTEST_1(rvalue_copyassign( Matrix<float,Dynamic,1>::Random(50).eval() )); in test_rvalue_types()
55 CALL_SUBTEST_1(rvalue_copyassign( Array<float,Dynamic,1>::Random(50).eval() )); in test_rvalue_types()
57 CALL_SUBTEST_2(rvalue_copyassign( Array<float,2,1>::Random().eval() )); in test_rvalue_types()
58 CALL_SUBTEST_2(rvalue_copyassign( Array<float,3,1>::Random().eval() )); in test_rvalue_types()
59 CALL_SUBTEST_2(rvalue_copyassign( Array<float,4,1>::Random().eval() )); in test_rvalue_types()
61 CALL_SUBTEST_2(rvalue_copyassign( Array<float,2,2>::Random().eval() )); in test_rvalue_types()
[all …]
Dproduct_extra.cpp41 VERIFY_IS_APPROX(m3.noalias() = m1 * m2.adjoint(), m1 * m2.adjoint().eval()); in product_extra()
42 …X(m3.noalias() = m1.adjoint() * square.adjoint(), m1.adjoint().eval() * square.adjoint().eval()); in product_extra()
43 VERIFY_IS_APPROX(m3.noalias() = m1.adjoint() * m2, m1.adjoint().eval() * m2); in product_extra()
44 …VERIFY_IS_APPROX(m3.noalias() = (s1 * m1.adjoint()) * m2, (s1 * m1.adjoint()).eval() * m2… in product_extra()
45 …X(m3.noalias() = ((s1 * m1).adjoint()) * m2, (numext::conj(s1) * m1.adjoint()).eval() * m2); in product_extra()
46 …3.noalias() = (- m1.adjoint() * s1) * (s3 * m2), (- m1.adjoint() * s1).eval() * (s3 * m2).eval()); in product_extra()
47 …VERIFY_IS_APPROX(m3.noalias() = (s2 * m1.adjoint() * s1) * m2, (s2 * m1.adjoint() * s1).eval(… in product_extra()
48 …PROX(m3.noalias() = (-m1*s2) * s1*m2.adjoint(), (-m1*s2).eval() * (s1*m2.adjoint()).eval()); in product_extra()
51 …_APPROX( m1.adjoint() * (s1*m2).conjugate(), (m1.adjoint()).eval() * ((s1*m2).conjugate()).eval()); in product_extra()
57 (-m1.conjugate()*s2).eval() * (s1 * vc2).eval()); in product_extra()
[all …]
Dproduct_syrk.cpp39 … ((s1 * rhs2 * rhs2.adjoint()).eval().template triangularView<Lower>().toDenseMatrix())); in syrk()
42 … ((s1 * rhs2 * rhs22.adjoint()).eval().template triangularView<Lower>().toDenseMatrix())); in syrk()
47 … (s1 * rhs2 * rhs2.adjoint()).eval().template triangularView<Upper>().toDenseMatrix()); in syrk()
50 … (s1 * rhs22 * rhs2.adjoint()).eval().template triangularView<Upper>().toDenseMatrix()); in syrk()
55 … (s1 * rhs1.adjoint() * rhs1).eval().template triangularView<Lower>().toDenseMatrix()); in syrk()
58 … (s1 * rhs11.adjoint() * rhs1).eval().template triangularView<Lower>().toDenseMatrix()); in syrk()
63 … (s1 * rhs1.adjoint() * rhs1).eval().template triangularView<Upper>().toDenseMatrix()); in syrk()
65 … (s1 * rhs1.adjoint() * rhs11).eval().template triangularView<Upper>().toDenseMatrix()); in syrk()
70 … (s1 * rhs3.adjoint() * rhs3).eval().template triangularView<Lower>().toDenseMatrix()); in syrk()
74 … (s1 * rhs3.adjoint() * rhs3).eval().template triangularView<Upper>().toDenseMatrix()); in syrk()
[all …]
Dsparse_permutations.cpp38 typename internal::nested_eval<T,1>::type eval(const T &xpr) in eval() function
79 VERIFY( is_sorted( ::eval(mat*p) )); in sparse_permutations()
81 VERIFY_TRANSPOSITION_COUNT( ::eval(mat*p), 0); in sparse_permutations()
86 VERIFY( is_sorted( ::eval(p*mat) )); in sparse_permutations()
88 VERIFY_TRANSPOSITION_COUNT( ::eval(p*mat), 0); in sparse_permutations()
92 VERIFY( is_sorted( (mat*p).eval() )); in sparse_permutations()
94 VERIFY_TRANSPOSITION_COUNT( ::eval(mat*p.inverse()), 0); in sparse_permutations()
98 VERIFY( is_sorted( (p*mat+p*mat).eval() )); in sparse_permutations()
100 VERIFY_TRANSPOSITION_COUNT( ::eval(p.inverse()*mat), 0); in sparse_permutations()
104 VERIFY( is_sorted( (p * mat * p.inverse()).eval() )); in sparse_permutations()
[all …]
Dgeo_homogeneous.cpp55 VERIFY_IS_APPROX(t1 * (v0.homogeneous().eval()), t1 * v0.homogeneous()); in homogeneous()
56 VERIFY_IS_APPROX(t1 * (m0.colwise().homogeneous().eval()), t1 * m0.colwise().homogeneous()); in homogeneous()
59 VERIFY_IS_APPROX(t2 * (v0.homogeneous().eval()), t2 * v0.homogeneous()); in homogeneous()
60 VERIFY_IS_APPROX(t2 * (m0.colwise().homogeneous().eval()), t2 * m0.colwise().homogeneous()); in homogeneous()
64 VERIFY_IS_APPROX((v0.transpose().rowwise().homogeneous().eval()) * t2, in homogeneous()
66 VERIFY_IS_APPROX((m0.transpose().rowwise().homogeneous().eval()) * t2, in homogeneous()
70 VERIFY_IS_APPROX((v0.transpose().rowwise().homogeneous().eval()) * t3, in homogeneous()
72 VERIFY_IS_APPROX((m0.transpose().rowwise().homogeneous().eval()) * t3, in homogeneous()
115 …VERIFY_IS_APPROX( (t2.template triangularView<Lower>() * v0.homogeneous()).eval(), (t2.template tr… in homogeneous()
Dsparse_basic.cpp201 …VERIFY_IS_APPROX((RealScalar(0.5)*refM4 + RealScalar(0.5)*m3).eval(), RealScalar(0.5)*refM4 + Real… in sparse_basic()
202 …VERIFY_IS_APPROX((RealScalar(0.5)*refM4 + m3*RealScalar(0.5)).eval(), RealScalar(0.5)*refM4 + Real… in sparse_basic()
203 …VERIFY_IS_APPROX((RealScalar(0.5)*refM4 + m3.cwiseProduct(m3)).eval(), RealScalar(0.5)*refM4 + ref… in sparse_basic()
205 …VERIFY_IS_APPROX((RealScalar(0.5)*refM4 + RealScalar(0.5)*m3).eval(), RealScalar(0.5)*refM4 + Real… in sparse_basic()
206 …VERIFY_IS_APPROX((RealScalar(0.5)*refM4 + m3*RealScalar(0.5)).eval(), RealScalar(0.5)*refM4 + Real… in sparse_basic()
207 … VERIFY_IS_APPROX((RealScalar(0.5)*refM4 + (m3+m3)).eval(), RealScalar(0.5)*refM4 + (refM3+refM3)); in sparse_basic()
208 VERIFY_IS_APPROX(((refM3+m3)+RealScalar(0.5)*m3).eval(), RealScalar(0.5)*refM3 + (refM3+refM3)); in sparse_basic()
209 …VERIFY_IS_APPROX((RealScalar(0.5)*refM4 + (refM3+m3)).eval(), RealScalar(0.5)*refM4 + (refM3+refM3… in sparse_basic()
210 …VERIFY_IS_APPROX((RealScalar(0.5)*refM4 + (m3+refM3)).eval(), RealScalar(0.5)*refM4 + (refM3+refM3… in sparse_basic()
238 VERIFY_IS_APPROX((m1 = m1.transpose()), (refM1 = refM1.transpose().eval())); in sparse_basic()
[all …]
/external/libchrome/base/strings/
Dpattern.cc71 static bool MatchPatternT(const CHAR* eval, const CHAR* eval_end, in MatchPatternT() argument
80 EatSameChars(&pattern, pattern_end, &eval, eval_end, next); in MatchPatternT()
84 if (eval == eval_end) { in MatchPatternT()
98 if (MatchPatternT(eval, eval_end, next_pattern, pattern_end, in MatchPatternT()
101 const CHAR* next_eval = eval; in MatchPatternT()
115 while (eval != eval_end) { in MatchPatternT()
116 if (MatchPatternT(eval, eval_end, next_pattern, pattern_end, in MatchPatternT()
119 eval++; in MatchPatternT()
124 if (eval == eval_end) { in MatchPatternT()
157 bool MatchPattern(const StringPiece& eval, const StringPiece& pattern) { in MatchPattern() argument
[all …]
/external/mesa3d/src/mesa/vbo/
Dvbo_exec_eval.c38 assert(attr < ARRAY_SIZE(exec->eval.map1)); in clear_active_eval1()
39 exec->eval.map1[attr].map = NULL; in clear_active_eval1()
44 assert(attr < ARRAY_SIZE(exec->eval.map2)); in clear_active_eval2()
45 exec->eval.map2[attr].map = NULL; in clear_active_eval2()
51 assert(attr < ARRAY_SIZE(exec->eval.map1)); in set_active_eval1()
52 if (!exec->eval.map1[attr].map) { in set_active_eval1()
53 exec->eval.map1[attr].map = map; in set_active_eval1()
54 exec->eval.map1[attr].sz = dim; in set_active_eval1()
61 assert(attr < ARRAY_SIZE(exec->eval.map2)); in set_active_eval2()
62 if (!exec->eval.map2[attr].map) { in set_active_eval2()
[all …]
/external/ply/ply/example/BASIC/
Dbasinterp.py17 'SIN': lambda z: math.sin(self.eval(z)),
18 'COS': lambda z: math.cos(self.eval(z)),
19 'TAN': lambda z: math.tan(self.eval(z)),
20 'ATN': lambda z: math.atan(self.eval(z)),
21 'EXP': lambda z: math.exp(self.eval(z)),
22 'ABS': lambda z: abs(self.eval(z)),
23 'LOG': lambda z: math.log(self.eval(z)),
24 'SQR': lambda z: math.sqrt(self.eval(z)),
25 'INT': lambda z: int(self.eval(z)),
70 def eval(self, expr): member in BasicInterpreter
[all …]
/external/eigen/unsupported/test/
Dcxx11_tensor_forced_eval.cpp35 mat3 = mat3.contract(mat2, dims).eval(); in test_simple()
37 VERIFY_IS_APPROX(mat3(0, 0), (m1*m2).eval()(0,0)); in test_simple()
38 VERIFY_IS_APPROX(mat3(0, 1), (m1*m2).eval()(0,1)); in test_simple()
39 VERIFY_IS_APPROX(mat3(0, 2), (m1*m2).eval()(0,2)); in test_simple()
40 VERIFY_IS_APPROX(mat3(1, 0), (m1*m2).eval()(1,0)); in test_simple()
41 VERIFY_IS_APPROX(mat3(1, 1), (m1*m2).eval()(1,1)); in test_simple()
42 VERIFY_IS_APPROX(mat3(1, 2), (m1*m2).eval()(1,2)); in test_simple()
43 VERIFY_IS_APPROX(mat3(2, 0), (m1*m2).eval()(2,0)); in test_simple()
44 VERIFY_IS_APPROX(mat3(2, 1), (m1*m2).eval()(2,1)); in test_simple()
45 VERIFY_IS_APPROX(mat3(2, 2), (m1*m2).eval()(2,2)); in test_simple()
[all …]
/external/swiftshader/third_party/LLVM/test/Scripts/
Dcoff-dump.py328 def eval(): function
340 return eval() + eval()
342 return eval() - eval()
344 return eval() * eval()
346 return eval() / eval()
348 return eval() & eval()
350 return eval() | eval()
352 return eval() >> eval()
354 return eval() << eval()
368 value = eval()
/external/clang/test/CXX/temp/temp.arg/temp.arg.template/
Dp3-0x.cpp3 template <class T> struct eval; // expected-note 3{{template is declared here}}
6 struct eval<TT<T1, Rest...>> { }; struct
14 eval<A<int>> eA;
15 eval<B<int, float>> eB;
16 eval<C<17>> eC; // expected-error{{implicit instantiation of undefined template 'eval<C<17> >'}}
17 eval<D<int, 17>> eD; // expected-error{{implicit instantiation of undefined template 'eval<D<int, 1…
18 eval<E<int, float>> eE; // expected-error{{implicit instantiation of undefined template 'eval<E<int…
/external/clang/test/SemaCXX/
Dconstant-expression.cpp12 enum Enum { eval = 1 }; enumerator
14 const Enum ceval = eval;
17 static const Enum seval = eval;
23 v2 = eval,
36 b2 : eval,
49 i2 = eval,
63 case 100 + eval: in f()
80 template struct C<1, eval>;
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/univariate/
DBracketFinder.java127 double fA = eval(func, xA); in search()
128 double fB = eval(func, xB); in search()
142 double fC = eval(func, xC); in search()
160 fW = eval(func, w); in search()
177 fW = eval(func, w); in search()
180 fW = eval(func, w); in search()
182 fW = eval(func, w); in search()
191 fW = eval(func, w); in search()
195 fW = eval(func, w); in search()
281 private double eval(UnivariateRealFunction f, double x) in eval() method in BracketFinder
/external/clang/tools/clang-format/
Dclang-format.py38 if vim.eval('exists("g:clang_format_path")') == "1":
39 binary = vim.eval('g:clang_format_path')
47 if vim.eval('exists("g:clang_format_fallback_style")') == "1":
48 fallback_style = vim.eval('g:clang_format_fallback_style')
56 if vim.eval('exists("l:lines")') == '1':
57 lines = vim.eval('l:lines')
62 cursor = int(vim.eval('line2byte(line("."))+col(".")')) - 2
/external/apache-xml/src/main/java/org/apache/xpath/
DXPathAPI.java128 XObject list = eval(contextNode, str, namespaceNode); in selectNodeIterator()
167 XObject list = eval(contextNode, str, namespaceNode); in selectNodeList()
188 public static XObject eval(Node contextNode, String str) in eval() method in XPathAPI
191 return eval(contextNode, str, contextNode); in eval()
214 public static XObject eval(Node contextNode, String str, Node namespaceNode) in eval() method in XPathAPI
266 public static XObject eval( in eval() method in XPathAPI
DCachedXPathAPI.java183 XObject list = eval(contextNode, str, namespaceNode); in selectNodeIterator()
222 XObject list = eval(contextNode, str, namespaceNode); in selectNodeList()
243 public XObject eval(Node contextNode, String str) in eval() method in CachedXPathAPI
246 return eval(contextNode, str, contextNode); in eval()
269 public XObject eval(Node contextNode, String str, Node namespaceNode) in eval() method in CachedXPathAPI
318 public XObject eval( in eval() method in CachedXPathAPI
/external/libevent/
Dlog.c85 event_err(int eval, const char *fmt, ...) in event_err() argument
92 event_exit(eval); in event_err()
106 event_sock_err(int eval, evutil_socket_t sock, const char *fmt, ...) in event_sock_err() argument
114 event_exit(eval); in event_sock_err()
129 event_errx(int eval, const char *fmt, ...) in event_errx() argument
136 event_exit(eval); in event_errx()

12345678910>>...27