/AliOS-Things-master/components/py_engine/tests/basics/ |
A D | string_format.py | 3 def test(fmt, *args): function 6 test("}}{{") 10 test("{:x}", 1) 11 test("{!r}", 2) 12 test("{:x}", 0x10) 13 test("{!r}", "foo") 17 test("{:4b}", 10) 18 test("{:4c}", 48) 19 test("{:4d}", 123) 20 test("{:4n}", 123) [all …]
|
A D | int1.py | 64 test('x', 0) 65 test('1x', 0) 68 test('', 0) 69 test(' ', 0) 71 test('0x', 16) 72 test('0x', 0) 73 test('0o', 8) 74 test('0o', 0) 75 test('0b', 2) 76 test('0b', 0) [all …]
|
A D | assign_expr_syntaxerror.py | 3 def test(code): function 9 test("x := 1") 10 test("((x, y) := 1)") 13 test("([i := i + 1 for i in range(4)])") 14 test("([i := -1 for i, j in [(1, 2)]])") 15 test("([[(i := j) for i in range(2)] for j in range(2)])") 16 test("([[(j := i) for i in range(2)] for j in range(2)])")
|
/AliOS-Things-master/components/py_engine/tests/micropython/ |
A D | viper_error.py | 4 def test(code): function 12 test("@micropython.viper\ndef f(a:1): pass") 13 test("@micropython.viper\ndef f() -> 1: pass") 19 test( 29 test( 40 test( 54 test("@micropython.viper\ndef f(): 1 + []") 58 test("@micropython.viper\ndef f(): 1[0]") 59 test("@micropython.viper\ndef f(): 1[x]") 69 test("@micropython.viper\ndef f(): raise 1") [all …]
|
A D | viper_binop_comp_uint.py | 20 def test(a, b): function 26 test(1, 1) 27 test(2, 1) 28 test(1, 2) 29 test(2, -1) 30 test(-2, 1) 31 test(-2, -1)
|
/AliOS-Things-master/components/py_engine/tests/float/ |
A D | string_format.py | 1 def test(fmt, *args): function 5 test("{:10.4}", 123.456) 6 test("{:10.4e}", 123.456) 7 test("{:10.4e}", -123.456) 8 test("{:10.4f}", 123.456) 10 test("{:10.4g}", 123.456) 13 test("{:e}", 100) 14 test("{:f}", 200) 15 test("{:g}", 300) 28 test("{:f}", False) [all …]
|
A D | string_format_fp30.py | 1 def test(fmt, *args): function 5 test("{:10.4}", 123.456) 6 test("{:10.4e}", 123.456) 7 test("{:10.4e}", -123.456) 10 test("{:10.4g}", 123.456) 11 test("{:10.4g}", -123.456) 12 test("{:10.4n}", 123.456) 13 test("{:e}", 100) 14 test("{:f}", 200) 15 test("{:g}", 300) [all …]
|
A D | math_isclose.py | 10 def test(a, b, **kwargs): function 15 test(a, a, **kwargs) 16 test(a, b, **kwargs) 17 test(b, a, **kwargs) 18 test(b, b, **kwargs) 27 test(1.0, 1.0, rel_tol=0.0, abs_tol=0.0) 32 test(1000.0, 1001.0, rel_tol=1e-3) 33 test(1000.0, 1001.0, rel_tol=1e-4) 34 test(1000, 1001, rel_tol=1e-3) 35 test(1000, 1001, rel_tol=1e-4) [all …]
|
A D | float_divmod_relaxed.py | 8 def test(x, y): function 13 test(1.23456, 0.7) 14 test(-1.23456, 0.7) 15 test(1.23456, -0.7) 16 test(-1.23456, -0.7) 20 test(a, b) 21 test(a, -b) 22 test(-a, b) 23 test(-a, -b) 29 test(x, y)
|
A D | float_divmod.py | 5 def test(x, y): function 11 test(1.23456, 0.7) 12 test(-1.23456, 0.7) 13 test(1.23456, -0.7) 14 test(-1.23456, -0.7) 18 test(a, b) 19 test(a, -b) 20 test(-a, b) 21 test(-a, -b) 27 test(x, y)
|
/AliOS-Things-master/components/ble_host/bt_host/port/include/misc/ |
A D | __assert.h | 91 Z_STRINGIFY(test), \ 96 #define __ASSERT_LOC(test) \ argument 102 #define __ASSERT_LOC(test) \ argument 104 Z_STRINGIFY(test)) 108 #define __ASSERT_LOC(test) \ argument 139 __ASSERT_LOC(test); \ 147 __ASSERT_LOC(test); \ 163 #define __ASSERT(test, fmt, ...) { } argument 165 #define __ASSERT_NO_MSG(test) { } argument 168 #define __ASSERT(test, fmt, ...) { } argument [all …]
|
/AliOS-Things-master/components/jsoncpp/test/data/ |
A D | legacy_test_comment_02.expected | 5 .c-test={} 6 .c-test.a=1 8 .c-test.b=2 10 .cpp-test={} 13 .cpp-test.c=3 15 .cpp-test.d=4.1 17 .cpp-test.e="e-string" 19 .cpp-test.f=true 21 .cpp-test.g=false 23 .cpp-test.h=null
|
A D | legacy_test_comment_01.expected | 3 .test=[] 5 .test[0]={} 6 .test[0].a="aaa" 7 .test[1]={} 8 .test[1].b="bbb" 9 .test[2]={} 10 .test[2].c="ccc"
|
A D | legacy_test_complex_01.expected | 14 .test={} 15 .test.1={} 16 .test.1.2={} 17 .test.1.2.3={} 18 .test.1.2.3.coord=[] 19 .test.1.2.3.coord[0]=1 20 .test.1.2.3.coord[1]=2
|
/AliOS-Things-master/components/SDL2/test/ |
A D | testiconv.c | 47 char *test[2]; in main() local 72 test[0] = SDL_iconv_string(formats[i], "UCS-4", ucs4, len); in main() 73 test[1] = SDL_iconv_string("UCS-4", formats[i], test[0], len); in main() 74 if (!test[1] || SDL_memcmp(test[1], ucs4, len) != 0) { in main() 78 SDL_free(test[0]); in main() 79 SDL_free(test[1]); in main() 81 test[0] = SDL_iconv_string("UTF-8", "UCS-4", ucs4, len); in main() 83 fputs(test[0], stdout); in main() 84 SDL_free(test[0]); in main()
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/ |
A D | test262_errors.txt | 5 test262/test/built-ins/RegExp/named-groups/non-unicode-property-names-valid.js:46: SyntaxError: inv… 6 test262/test/built-ins/RegExp/named-groups/non-unicode-property-names-valid.js:46: strict mode: Syn… 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… 13 test262/test/language/expressions/class/elements/grammar-private-field-optional-chaining.js:26: Syn… 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… 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/hardware/chip/rtl872xd/hal/hal_test/ |
A D | Config.in | 23 source "test/testcase/hal/uart/Config.in" 24 source "test/testcase/hal/flash/Config.in" 25 source "test/testcase/hal/gpio/Config.in" 26 source "test/testcase/hal/i2c/Config.in" 27 source "test/testcase/hal/rng/Config.in" 28 source "test/testcase/hal/rtc/Config.in" 29 source "test/testcase/hal/spi/Config.in" 30 source "test/testcase/hal/timer/Config.in" 31 source "test/testcase/hal/wdg/Config.in" 32 source "test/testcase/hal/adc/Config.in" [all …]
|
/AliOS-Things-master/components/SDL2/src/audio/ |
A D | SDL_audiodev.c | 50 test_device(const int iscapture, const char *fname, int flags, int (*test) (int fd)) in test_device() 56 const int okay = test(audio_fd); in test_device() 75 SDL_EnumUnixAudioDevices_Internal(const int iscapture, const int classic, int (*test)(int)) in SDL_EnumUnixAudioDevices_Internal() 81 if (test == NULL) in SDL_EnumUnixAudioDevices_Internal() 82 test = test_stub; in SDL_EnumUnixAudioDevices_Internal() 102 test_device(iscapture, audiodev, flags, test); in SDL_EnumUnixAudioDevices_Internal() 110 test_device(iscapture, audiopath, flags, test); in SDL_EnumUnixAudioDevices_Internal() 116 SDL_EnumUnixAudioDevices(const int classic, int (*test)(int)) in SDL_EnumUnixAudioDevices() 118 SDL_EnumUnixAudioDevices_Internal(SDL_TRUE, classic, test); in SDL_EnumUnixAudioDevices() 119 SDL_EnumUnixAudioDevices_Internal(SDL_FALSE, classic, test); in SDL_EnumUnixAudioDevices()
|
/AliOS-Things-master/components/SDL2/src/image/ |
A D | configure.in | 54 if test -z "$host_alias"; then 75 if test x$WINDRES != x; then 111 if test x$lib != x; then 167 if (test x$enable_jpg = xyes || test x$enable_tif = xyes) && test x$enable_imageio != xyes; then 296 if test x$enable_bmp = xyes; then 300 if test x$enable_gif = xyes; then 332 if test x$enable_xv = xyes; then 338 if test x$enable_webp_shared = xyes && test x$webp_lib != x; then 347 if test x$enable_tif_shared = xyes && test x$tif_lib != x; then 359 if test x$enable_jpg_shared = xyes && test x$jpg_lib != x; then [all …]
|
/AliOS-Things-master/components/mbedtls/programs/test/ |
A D | selftest.c | 301 const selftest_t *test; in mbedtls_selftest_main() local 363 for( test = selftests; test->name != NULL; test++ ) in mbedtls_selftest_main() 365 if( !strcmp( *argp, test->name ) ) in mbedtls_selftest_main() 367 if( test->function( v ) != 0 ) in mbedtls_selftest_main() 375 if( test->name == NULL ) in mbedtls_selftest_main() 385 for( test = selftests; test->name != NULL; test++ ) in mbedtls_selftest_main() 392 if( !strcmp( *excluded, test->name ) ) in mbedtls_selftest_main() 398 mbedtls_printf( " Skip: %s\n", test->name ); in mbedtls_selftest_main() 402 if( test->function( v ) != 0 ) in mbedtls_selftest_main()
|
/AliOS-Things-master/components/mbedtls/programs/ |
A D | .gitignore | 45 test/benchmark 46 test/ecp-bench 47 test/selftest 48 test/cpp_dummy_build 49 test/ssl_cert_test 50 test/udp_proxy 51 test/zeroize
|
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/libtests/ |
A D | pngunknown.c | 406 const char *test; member 421 d->test = init; in init_display() 433 d->test); in clean_display() 448 if (d->test == init || d->test == cmd) 678 d->test); in check() 688 d->test); in check() 1053 png_uint_32 test; in perform_one_test() local 1081 d->test = test; /* allow use of d->error_return */ in perform_one_test_safe() 1200 d.test = init; in main() 1211 while (*test) in main() [all …]
|
/AliOS-Things-master/components/py_engine/engine/tools/ |
A D | tinytest-codegen.py | 121 tests += [test for test in glob("{}/*.py".format(group)) if test not in exclude_tests] 126 output.extend([test_function.format(**script_to_map(test)) for test in tests]) 127 testcase_members = [testcase_member.format(**chew_filename(test)) for test in tests]
|
/AliOS-Things-master/components/SDL2/ |
A D | sdl2.m4 | 39 if test x$sdl_exec_prefix != x ; then 45 if test x$sdl_prefix != x ; then 53 if test "x$sdl_pc" = xyes ; then 58 if test "x$prefix" != xNONE && test "$cross_compiling" != yes; then 67 if test "x$SDL2_FRAMEWORK" != x; then 77 if test x"$sdl_framework" != x && test -d "$sdl_framework"; then 87 if test "$SDL2_CONFIG" != "no"; then 88 if test "x$sdl_pc" = "xno"; then 175 if test "x$sdl_pc" = "xno"; then 184 if test "x$no_sdl" = x ; then [all …]
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/ |
A D | configure.ac | 19 dnl == test endianness 89 AS_IF([test "$GCC" = "yes" ], [ 106 AS_IF([test "$GCC" = "yes" ], [ 133 AS_IF([test -n "$SSE41_FLAGS"], [ 151 AS_IF([test -n "$SSE2_FLAGS"], [ 215 AS_IF([test -n "$NEON_FLAGS"], [ 424 if test -n "$LIBSDL_CONFIG"; then 486 if test -n "$LIBPNG_CONFIG"; then 591 if test "$gif_support" = "yes" -a \ 596 if test "$gif_support" = "yes" -a \ [all …]
|