| /external/harfbuzz_ng/src/wasm/sample/c/ |
| D | Makefile | 3 all: test-fallback.wasm.ttf test-ot.wasm.ttf 5 %.wasm: %.cc ../../../hb-wasm-api.h 7 --target=wasm32-unknown-wasi \ 8 -Wl,--no-entry \ 9 -fvisibility=hidden \ 10 -Wl,--allow-undefined \ 11 -nostdlib \ 12 -I ../../.. \ 14 -o $@ 16 test-fallback.wasm.ttf: test.ttf shape-fallback.wasm $(ADD_TABLE) [all …]
|
| /external/XNNPACK/scripts/ |
| D | generate-f32-vbinary.sh | 4 # This source code is licensed under the BSD-style license found in the 8 ### Generic C micro-kernels 9 …ngen src/f32-vbinary/vop-scalar.c.in -D OP=ADD -D BATCH_TILE=1 -D WASM=0 -D ACTIVATION=MINMAX … 10 …ngen src/f32-vbinary/vop-scalar.c.in -D OP=ADD -D BATCH_TILE=2 -D WASM=0 -D ACTIVATION=MINMAX … 11 …ngen src/f32-vbinary/vop-scalar.c.in -D OP=ADD -D BATCH_TILE=4 -D WASM=0 -D ACTIVATION=MINMAX … 12 …ngen src/f32-vbinary/vop-scalar.c.in -D OP=ADD -D BATCH_TILE=8 -D WASM=0 -D ACTIVATION=MINMAX … 13 …ngen src/f32-vbinary/vop-scalar.c.in -D OP=DIV -D BATCH_TILE=1 -D WASM=0 -D ACTIVATION=MINMAX … 14 …ngen src/f32-vbinary/vop-scalar.c.in -D OP=DIV -D BATCH_TILE=2 -D WASM=0 -D ACTIVATION=MINMAX … 15 …ngen src/f32-vbinary/vop-scalar.c.in -D OP=DIV -D BATCH_TILE=4 -D WASM=0 -D ACTIVATION=MINMAX … 16 …ngen src/f32-vbinary/vop-scalar.c.in -D OP=DIV -D BATCH_TILE=8 -D WASM=0 -D ACTIVATION=MINMAX … [all …]
|
| D | generate-f32-vlrelu.sh | 4 # This source code is licensed under the BSD-style license found in the 8 tools/xngen src/f32-vlrelu/scalar.c.in -D BATCH_TILE=1 -D WASM=0 -o src/f32-vlrelu/gen/vlrelu-scala… 9 tools/xngen src/f32-vlrelu/scalar.c.in -D BATCH_TILE=2 -D WASM=0 -o src/f32-vlrelu/gen/vlrelu-scala… 10 tools/xngen src/f32-vlrelu/scalar.c.in -D BATCH_TILE=4 -D WASM=0 -o src/f32-vlrelu/gen/vlrelu-scala… 12 ##################################### WAsm #################################### 13 tools/xngen src/f32-vlrelu/wasm.c.in -D BATCH_TILE=1 -D WASM=1 -o src/f32-vlrelu/gen/vlrelu-wasm-x1… 14 tools/xngen src/f32-vlrelu/wasm.c.in -D BATCH_TILE=2 -D WASM=1 -o src/f32-vlrelu/gen/vlrelu-wasm-x2… 15 tools/xngen src/f32-vlrelu/wasm.c.in -D BATCH_TILE=4 -D WASM=1 -o src/f32-vlrelu/gen/vlrelu-wasm-x4… 17 ################################## WAsm SIMD ################################## 18 tools/xngen src/f32-vlrelu/wasmsimd-bitselect.c.in -D BATCH_TILE=4 -o src/f32-vlrelu/gen/vlrelu-was… [all …]
|
| D | generate-f32-vclamp.sh | 4 # This source code is licensed under the BSD-style license found in the 8 ### Generic C micro-kernels 9 tools/xngen src/f32-vclamp/scalar.c.in -D BATCH_TILE=1 -D WASM=0 -o src/f32-vclamp/gen/vclamp-scala… 10 tools/xngen src/f32-vclamp/scalar.c.in -D BATCH_TILE=2 -D WASM=0 -o src/f32-vclamp/gen/vclamp-scala… 11 tools/xngen src/f32-vclamp/scalar.c.in -D BATCH_TILE=4 -D WASM=0 -o src/f32-vclamp/gen/vclamp-scala… 13 ### WAsm-specific micro-kernels 14 tools/xngen src/f32-vclamp/scalar.c.in -D BATCH_TILE=1 -D WASM=1 -o src/f32-vclamp/gen/vclamp-wasm-… 15 tools/xngen src/f32-vclamp/scalar.c.in -D BATCH_TILE=2 -D WASM=1 -o src/f32-vclamp/gen/vclamp-wasm-… 16 tools/xngen src/f32-vclamp/scalar.c.in -D BATCH_TILE=4 -D WASM=1 -o src/f32-vclamp/gen/vclamp-wasm-… 18 ################################## WAsm SIMD ################################## [all …]
|
| D | generate-f32-vhswish.sh | 4 # This source code is licensed under the BSD-style license found in the 8 ### Generic C micro-kernels 9 tools/xngen src/f32-vhswish/scalar.c.in -D BATCH_TILE=1 -D WASM=0 -o src/f32-vhswish/gen/vhswish-sc… 10 tools/xngen src/f32-vhswish/scalar.c.in -D BATCH_TILE=2 -D WASM=0 -o src/f32-vhswish/gen/vhswish-sc… 11 tools/xngen src/f32-vhswish/scalar.c.in -D BATCH_TILE=4 -D WASM=0 -o src/f32-vhswish/gen/vhswish-sc… 13 ### WAsm-specific micro-kernels 14 tools/xngen src/f32-vhswish/scalar.c.in -D BATCH_TILE=1 -D WASM=1 -o src/f32-vhswish/gen/vhswish-wa… 15 tools/xngen src/f32-vhswish/scalar.c.in -D BATCH_TILE=2 -D WASM=1 -o src/f32-vhswish/gen/vhswish-wa… 16 tools/xngen src/f32-vhswish/scalar.c.in -D BATCH_TILE=4 -D WASM=1 -o src/f32-vhswish/gen/vhswish-wa… 18 ################################## WAsm SIMD ################################## [all …]
|
| D | generate-f32-vrelu.sh | 4 # This source code is licensed under the BSD-style license found in the 8 ### Generic C micro-kernels 9 tools/xngen src/f32-vrelu/scalar.c.in -D BATCH_TILE=1 -o src/f32-vrelu/gen/vrelu-scalar-x1.c & 10 tools/xngen src/f32-vrelu/scalar.c.in -D BATCH_TILE=2 -o src/f32-vrelu/gen/vrelu-scalar-x2.c & 11 tools/xngen src/f32-vrelu/scalar.c.in -D BATCH_TILE=4 -o src/f32-vrelu/gen/vrelu-scalar-x4.c & 12 tools/xngen src/f32-vrelu/scalar.c.in -D BATCH_TILE=8 -o src/f32-vrelu/gen/vrelu-scalar-x8.c & 14 ### WAsm-specific micro-kernels 15 tools/xngen src/f32-vrelu/wasm.c.in -D BATCH_TILE=1 -o src/f32-vrelu/gen/vrelu-wasm-x1.c & 16 tools/xngen src/f32-vrelu/wasm.c.in -D BATCH_TILE=2 -o src/f32-vrelu/gen/vrelu-wasm-x2.c & 17 tools/xngen src/f32-vrelu/wasm.c.in -D BATCH_TILE=4 -o src/f32-vrelu/gen/vrelu-wasm-x4.c & [all …]
|
| /external/skia/modules/pathkit/ |
| D | Makefile | 5 PATHKIT_BAZEL_BIN_DIR=${WORKSPACE_DIR}/bazel-bin/modules/pathkit/pathkit 10 - rm -rf build/ 11 mkdir -p ./build/wasm ./build/asmjs 12 cp ${PATHKIT_GN_BIN_DIR}/pathkit.js ./build/wasm/pathkit.js 13 cp ${PATHKIT_GN_BIN_DIR}/pathkit.wasm ./build/wasm/pathkit.wasm 21 - rm -rf build/ 22 mkdir -p ./build/wasm ./build/asmjs 23 cp ${PATHKIT_GN_BIN_DIR}/pathkit.js ./build/wasm/pathkit.js 24 cp ${PATHKIT_GN_BIN_DIR}/pathkit.wasm ./build/wasm/pathkit.wasm 30 .PHONY: debug-bazel [all …]
|
| /external/skia/modules/canvaskit/ |
| D | Makefile | 2 - rm -rf ../../out/canvaskit_wasm 3 - rm -rf ./npm_build/bin 4 - rm -rf ./build/ 10 - rm -rf build/ 13 cp ../../out/canvaskit_wasm/canvaskit.wasm ./build/ 18 - rm -rf build/ 21 cp ../../out/canvaskit_wasm/canvaskit.wasm ./build/ 26 - rm -rf build/ 29 cp ../../out/canvaskit_wasm/canvaskit.wasm ./build/ 34 - rm -rf build/ [all …]
|
| D | README.md | 4 test dependencies. Recent installations of Node have npm as well. 12 script in `//bin/activate-emsdk` (or `//tools/git-sync-deps` which also calls activate-emsdk). 17 (see `//skia/gn/toolchain/wasm.gni`). For other available arguments, see 25 can fail with errors about SSL certificates. <https://github.com/emscripten-core/emsdk/pull/273> 27 See also <https://github.com/emscripten-core/emscripten/issues/9036#issuecomment-532092743> 38 make local-example 46 For example, building a stripped-down version of CanvasKit with no text support or 51 Such a stripped-down version is about half the size of the default release build. 62 To run unit tests and compute test coverage on a debug gpu build 66 make test-continuous [all …]
|
| /external/rust/crates/tokio/tests/ |
| D | sync_semaphore.rs | 3 #[cfg(all(target_family = "wasm", not(target_os = "wasi")))] 4 use wasm_bindgen_test::wasm_bindgen_test as test; 9 #[test] 15 #[test] 28 #[tokio::test] 41 #[tokio::test] 53 #[test] 66 #[test] 80 #[test] 81 #[cfg(not(target_family = "wasm"))] // No stack unwinding on wasm targets [all …]
|
| /external/skia/infra/bots/recipes/test_pathkit.expected/ |
| D | pathkit_trybot.json | 19 "-u", 21 "--json-output", 23 "ensure-directory", 24 "--mode", 73 "-u", 75 "--json-output", 77 "ensure-directory", 78 "--mode", 80 "[START_DIR]/skia/modules/pathkit/build/wasm" 83 "name": "Docker setup.mkdirs [START_DIR]/skia/modules/pathkit/build/wasm", [all …]
|
| D | Test-Debian10-EMCC-GCE-CPU-AVX2-wasm-Debug-All-PathKit.json | 19 "-u", 21 "--json-output", 23 "ensure-directory", 24 "--mode", 73 "-u", 75 "--json-output", 77 "ensure-directory", 78 "--mode", 80 "[START_DIR]/skia/modules/pathkit/build/wasm" 83 "name": "Docker setup.mkdirs [START_DIR]/skia/modules/pathkit/build/wasm", [all …]
|
| /external/rust/crates/rayon-core/src/thread_pool/ |
| D | test.rs | 1 #![cfg(test)] 9 #[test] 18 #[test] 19 #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] 24 // once we exit this block, thread-pool will be dropped in workers_stop() 35 // once thread-pool is dropped, registry should terminate, which in workers_stop() 42 join(|| join_a_lot(n - 1), || join_a_lot(n - 1)); in join_a_lot() 46 #[test] 47 #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] 54 // once we exit this block, thread-pool will be dropped in sleeper_stop() [all …]
|
| /external/rust/crates/rayon/tests/ |
| D | octillion.rs | 6 fn octillion() -> rayon::range::Iter<u128> { in octillion() 11 fn octillion_inclusive() -> rayon::range_inclusive::Iter<u128> { in octillion_inclusive() 16 fn octillion_flat() -> impl ParallelIterator<Item = u128> { in octillion_flat() 36 // NOTE: `find_first` and `find_last` currently take too long on 32-bit targets, 39 #[test] 46 #[test] 53 #[test] 60 fn two_threads<F: Send + FnOnce() -> R, R: Send>(f: F) -> R { in two_threads() 63 // short-circuiting. We probably don't want testing to wait that long. ;) in two_threads() 70 #[test] [all …]
|
| /external/skia/infra/bots/recipes/ |
| D | test_pathkit.py | 2 # Use of this source code is governed by a BSD-style license that can be 25 DOCKER_IMAGE = 'gcr.io/skia-public/gold-karma-chrome-tests:87.0.4280.88_v2' 35 # The karma script is configured to look in ./npm-(asmjs|wasm)/bin/test/ for 36 # the test files to load, so we must copy them there (see Set up for docker). 38 'build', 'wasm') 44 bundle_name = 'pathkit.wasm' 66 docker_args = ['--env', 'ASM_JS=1'] 69 '--builder', api.vars.builder_name, 70 '--git_hash', api.properties['revision'], 71 '--buildbucket_build_id', api.properties.get('buildbucket_build_id', ''), [all …]
|
| D | perf_pathkit.py | 2 # Use of this source code is governed by a BSD-style license that can be 23 DOCKER_IMAGE = 'gcr.io/skia-public/perf-karma-chrome-tests:87.0.4280.88_v1' 35 # The karma script is configured to look in ./npm-(asmjs|wasm)/bin/ for 36 # the test files to load, so we must copy them there (see Set up for docker). 38 'npm-wasm', 'bin') 41 'npm-asmjs', 'bin') 44 bundle_name = 'pathkit.wasm' 62 docker_args = ['--env', 'ASM_JS=1'] 65 '--builder', api.vars.builder_name, 66 '--git_hash', api.properties['revision'], [all …]
|
| D | test_canvaskit.py | 2 # Use of this source code is governed by a BSD-style license that can be 25 DOCKER_IMAGE = 'gcr.io/skia-public/gold-karma-chrome-tests:87.0.4280.88_v2' 35 # the test files to load, so we must copy them there (see Set up for docker). 46 'src': base_dir.join('canvaskit.wasm'), 47 'dst': copy_dest.join('canvaskit.wasm'), 53 '--builder', api.vars.builder_name, 54 '--git_hash', api.properties['revision'], 55 '--buildbucket_build_id', api.properties.get('buildbucket_build_id', ''), 56 '--browser', 'Chrome', 57 '--config', api.vars.configuration, [all …]
|
| /external/harfbuzz_ng/docs/ |
| D | wasm-shaper.md | 3 …ne in WebAssembly and embed it into your font! Any font which contains a `Wasm` table will be pass… 5 ## What you can and can't do: the WASM shaper's role in shaping 9 …to glyphs and positioning them. This is also all that you can do with the WASM shaper; you can inf… 11 ## The WASM shaper interface 13 …WASM code inside a font is expected to export a function called `shape` which takes five int32 arg… 21 …WASM shaping involves receiving and manipulating a *buffer contents* structure, which is an array … 26 | - | - | - | 34 | - | - | - | 36 | uint32 | mask | Unused in WASM; can be user-defined | 46 | - | - | - | [all …]
|
| /external/skia/modules/canvaskit/external_test/typescript_browser_es6/ |
| D | package-lock.json | 2 "name": "external-typescript-test", 8 "name": "external-typescript-test", 10 "license": "BSD-3-Clause", 12 "canvaskit-wasm": "^0.30.0", 16 "node_modules/canvaskit-wasm": { 18 "resolved": "https://registry.npmjs.org/canvaskit-wasm/-/canvaskit-wasm-0.30.0.tgz", 19 …"integrity": "sha512-iow8oe8NXJ5o16a1yZDp4rhEEhsfzAzmPFIIgIV/++QCPojM+5vXM2mS9GVRzdm2V3EWBc8Wbc7yD… 23 "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.4.tgz", 24 …"integrity": "sha512-DqGhF5IKoBl8WNf8C1gu8q0xZSInh9j1kJJMqT3a94w1JzVaBU4EXOSMrz9yDqMT0xt3selp83fuF… 35 "canvaskit-wasm": { [all …]
|
| /external/skia/modules/canvaskit/external_test/typescript_browser/ |
| D | package-lock.json | 2 "name": "external-typescript-test", 8 "name": "external-typescript-test", 10 "license": "BSD-3-Clause", 12 "canvaskit-wasm": "^0.30.0", 16 "node_modules/canvaskit-wasm": { 18 "resolved": "https://registry.npmjs.org/canvaskit-wasm/-/canvaskit-wasm-0.30.0.tgz", 19 …"integrity": "sha512-iow8oe8NXJ5o16a1yZDp4rhEEhsfzAzmPFIIgIV/++QCPojM+5vXM2mS9GVRzdm2V3EWBc8Wbc7yD… 23 "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.4.tgz", 24 …"integrity": "sha512-DqGhF5IKoBl8WNf8C1gu8q0xZSInh9j1kJJMqT3a94w1JzVaBU4EXOSMrz9yDqMT0xt3selp83fuF… 35 "canvaskit-wasm": { [all …]
|
| /external/kotlinx.serialization/gradle/ |
| D | configure-source-sets.gradle | 2 …* Copyright 2017-2022 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 licen… 17 …is no compatible version of okio for Wasm WASI target, so we need to skip to configure WASI for js… 18 // json-tests uses okio with incorporate with other formatter tests so it is hard and not worth to … 20 …rFormatTests = (project.name == 'kotlinx-serialization-json-okio' || project.name == 'kotlinx-seri… 28 freeCompilerArgs += '-Xjdk-release=1.8' 41 configure([compilations.main, compilations.test]) { 74 api 'org.jetbrains.kotlin:kotlin-stdlib-common' 80 api 'org.jetbrains.kotlin:kotlin-test-common' 81 api 'org.jetbrains.kotlin:kotlin-test-annotations-common' 87 api 'org.jetbrains.kotlin:kotlin-stdlib' [all …]
|
| /external/swiftshader/third_party/subzero/ |
| D | README-wasm.md | 1 # Wasm Prototype Experiment Notes 3 Here's the command I use to test: 6 LD_LIBRARY_PATH=~/nacl/v8/out/native/lib.target make -j48 \ 7 -f Makefile.standalone WASM=1 && \ 8 LD_LIBRARY_PATH=~/nacl/v8/out/native/lib.target ./pnacl-sz -O2 -filetype=asm \ 9 -target=arm32 ./torture-s2wasm-sexpr-wasm/20000112-1.c.s.wast.wasm 18 make -j48 native component=shared_library 21 `wasm-run-torture-tests.py` can be used to run all the tests, or some 23 torture tests from the [WebAssembly waterfall](https://wasm-stat.us/console) or 24 by running `./fetch-torture-tests.sh`. [all …]
|
| /external/kotlinx.serialization/integration-test/ |
| D | build.gradle | 2 …* Copyright 2017-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 licen… 9 …maven { url "https://cache-redirector.jetbrains.com/maven.pkg.jetbrains.space/kotlin/p/kotlin/dev"… 27 …maven { url "https://cache-redirector.jetbrains.com/maven.pkg.jetbrains.space/kotlin/p/kotlin/dev"… 38 apply plugin: 'maven-publish' 44 configure([compilations.main, compilations.test]) { 75 … implementation "org.jetbrains.kotlinx:kotlinx-serialization-core:$serialization_version" 76 … implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:$serialization_version" 77 … implementation "org.jetbrains.kotlinx:kotlinx-serialization-protobuf:$serialization_version" 78 … implementation "org.jetbrains.kotlinx:kotlinx-serialization-cbor:$serialization_version" 83 implementation kotlin('test-common') [all …]
|
| /external/rust/crates/rayon-core/src/ |
| D | test.rs | 1 #![cfg(test)] 7 #[test] 8 #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] 17 #[test] 18 #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] 44 #[test] 45 #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] 74 #[test] 75 #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] 125 #[test] [all …]
|
| /external/rust/crates/rayon-core/src/spawn/ |
| D | test.rs | 9 #[test] 10 #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] 19 #[test] 20 #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] 27 #[test] 56 /// Test what happens when the thread-pool is dropped but there are 57 /// still active asynchronous tasks. We expect the thread-pool to stay 59 #[test] 60 #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] 65 // Create a thread-pool and spawn some code in it, but then drop in termination_while_things_are_executing() [all …]
|