Home
last modified time | relevance | path

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

123

/AliOS-Things-master/components/py_engine/tests/basics/
A Dlexer.py4 eval
27 print(eval("1"))
28 print(eval("12"))
29 print(eval("123"))
30 print(eval("1\n"))
31 print(eval("12\n"))
32 print(eval("123\n"))
33 print(eval("1\r"))
34 print(eval("12\r"))
35 print(eval("123\r"))
[all …]
A Dbuiltin_eval.py4 eval
9 eval('1 + 2')
10 eval('1 + 2\n')
11 eval('1 + 2\n\n#comment\n')
14 eval('x')
16 eval('lambda x: x + 10')(-5)
19 eval('lambda: y * 2')()
A Dbuiltin_eval_buffer.py4 eval
11 print(eval(bytearray(b'1 + 1')))
12 print(eval(memoryview(b'2 + 2')))
A Dbuiltin_eval_error.py4 eval
10 print(eval("[1,,]"))
A Dassign_expr_syntaxerror.py5 print(eval(code))
A Dbuiltin_compile.py30 print(eval(compile("10 + 3", "file", "eval")))
A Dspecial_comparisons.py28 print(eval(s))
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/tests/
A Dtest_closure.js127 return (() => eval("this"))();
130 return (() => eval("new.target"))();
144 return (() => eval("super.f()"))();
155 eval('var z="var_obj";');
159 assert(eval("x") === "o1");
166 assert(eval("x") === "o2");
167 assert(eval("y") === "o1");
168 assert(eval("z") === "var_obj");
169 assert(eval('eval("x")') === "o2");
182 eval("tab.push(function g1() { return i; })");
[all …]
A Dtest_builtin.js279 assert(eval('"\0"'), "\0");
342 return eval(b);
346 r = eval("1+1;");
349 r = eval("var my_var=2; my_var;");
353 assert(eval("if (1) 2; else 3;"), 2);
354 assert(eval("if (0) 2; else 3;"), 3);
359 assert(eval("a"), 2);
361 eval("a = 3");
505 a = eval("/\0a/");
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/
A Dtest262_errors.txt7 test262/test/language/expressions/arrow-function/eval-var-scope-syntax-err.js:47: Test262Error: Exp…
8 test262/test/language/expressions/async-arrow-function/eval-var-scope-syntax-err.js:49: TypeError: …
9 test262/test/language/expressions/async-function/named-eval-var-scope-syntax-err.js:33: TypeError: …
10 test262/test/language/expressions/async-function/nameless-eval-var-scope-syntax-err.js:33: TypeErro…
15 test262/test/language/expressions/dynamic-import/usage-from-eval.js:26: TypeError: $DONE() not call…
16 test262/test/language/expressions/dynamic-import/usage-from-eval.js:26: strict mode: TypeError: $DO…
17 test262/test/language/expressions/function/eval-var-scope-syntax-err.js:48: Test262Error: Expected …
18 test262/test/language/expressions/generators/eval-var-scope-syntax-err.js:49: Test262Error: Expecte…
20 test262/test/language/expressions/object/method-definition/async-meth-eval-var-scope-syntax-err.js:…
25 test262/test/language/statements/async-function/eval-var-scope-syntax-err.js:33: TypeError: $DONE()…
[all …]
/AliOS-Things-master/components/py_engine/tests/misc/
A Dnon_compliant_lexer.py16 eval("1and 0")
20 eval("1or 0")
24 eval("1if 1else 0")
28 eval("1if 0else 0")
/AliOS-Things-master/components/py_engine/tests/cpydiff/
A Dsyntax_spaces.py8 print(eval("1and 0"))
12 print(eval("1or 0"))
16 print(eval("1if 1else 0"))
A Dcore_locals_eval.py13 eval("print(val)")
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/experimental/microfrontend/python/kernel_tests/
A Daudio_microfrontend_op_test.py56 self.assertAllEqual(filterbanks.eval(),
76 self.assertAllEqual(filterbanks.eval(),
97 self.assertAllEqual(filterbanks.eval(),
139 self.assertAllEqual(filterbanks.eval(),
/AliOS-Things-master/components/py_engine/engine/tools/mpremote/
A DREADME.md19 mpremote eval <string> -- evaluate and print the string
53 "double x=4": "eval x*2",
64 mpremote eval 1/2 eval 3/4
/AliOS-Things-master/components/amp/jslib/src/
A Dlocation.js12 std.eval('import * as NETMGR from \'NETMGR\'; globalThis.NETMGR = NETMGR');
15 std.eval('import * as CELLULAR from \'CELLULAR\'; globalThis.CELLULAR = CELLULAR');
A Dnetwork.js25 std.eval('import * as NETMGR from \'NETMGR\'; globalThis.NETMGR = NETMGR')
31 std.eval('import * as NETMGR from \'NETMGR\'; globalThis.NETMGR = NETMGR')
39 std.eval('import * as CELLULAR from \'CELLULAR\'; globalThis.CELLULAR = CELLULAR')
/AliOS-Things-master/components/SDL2/acinclude/
A Dax_check_compiler_flags.m466 eval AS_TR_SH(ax_cv_[]_AC_LANG_ABBREV[]_flags_[$1])=yes,
67 eval AS_TR_SH(ax_cv_[]_AC_LANG_ABBREV[]_flags_[$1])=no)
69 eval ax_check_compiler_flags=$AS_TR_SH(ax_cv_[]_AC_LANG_ABBREV[]_flags_[$1])
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/gemmlowp/fixedpoint/
A Dfixedpoint_neon.h287 static int32x4_t eval(int32x4_t x) { return vqshlq_n_s32(x, Exponent); }
292 static int32x4_t eval(int32x4_t x) {
301 static int16x8_t eval(int16x8_t x) { return vqshlq_n_s16(x, Exponent); }
306 static int16x8_t eval(int16x8_t x) {
/AliOS-Things-master/components/py_engine/tests/net_inet/
A Dgetaddrinfo.py52 eval(f + "()")
/AliOS-Things-master/components/py_engine/tests/esp32/
A Dresolve_on_connect.py59 eval(f + "()")
/AliOS-Things-master/components/py_engine/tests/unicode/
A Dunicode.py27 eval('"\\U00110000"')
/AliOS-Things-master/components/SDL2/src/image/autom4te.cache/
A Doutput.0376 eval $1+=\$2
381 eval $1=\$$1\$2
1843 eval "$3=yes"
1845 eval "$3=no"
1849 eval ac_res=\$$3
1988 eval "$3=yes"
1990 eval "$3=no"
1995 eval ac_res=\$$3
2054 eval ac_res=\$$3
2119 eval ac_res=\$$3
[all …]
A Doutput.1376 eval $1+=\$2
381 eval $1=\$$1\$2
1843 eval "$3=yes"
1845 eval "$3=no"
1849 eval ac_res=\$$3
1988 eval "$3=yes"
1990 eval "$3=no"
1995 eval ac_res=\$$3
2054 eval ac_res=\$$3
2119 eval ac_res=\$$3
[all …]
A Doutput.2384 eval $1+=\$2
389 eval $1=\$$1\$2
1711 eval "$3=yes"
1713 eval "$3=no"
1717 eval ac_res=\$$3
1856 eval "$3=yes"
1858 eval "$3=no"
1863 eval ac_res=\$$3
1922 eval ac_res=\$$3
1987 eval ac_res=\$$3
[all …]

Completed in 185 milliseconds

123