Home
last modified time | relevance | path

Searched +full:native +full:- +full:test (Results 1 – 25 of 1027) sorted by relevance

12345678910>>...42

/third_party/elfutils/tests/
Drun-native-test.sh19 . $srcdir/test-subr.sh
23 # this test if it is missing parts of the backend implementation.
25 # As new backend code is added to satisfy the test, be sure to update
26 # the fixed test cases (run-allregs.sh et al) to test that backend
29 tempfiles native.c native
30 echo 'main () { while (1) pause (); }' > native.c
32 native=0
35 test $native -eq 0 || {
36 kill -9 $native 2> /dev/null || :
37 wait $native 2> /dev/null || :
[all …]
/third_party/mesa3d/.gitlab-ci/meson/
Dbuild.sh3 set -e
4 set -o xtrace
6 CROSS_FILE=/cross_file-"$CROSS".txt
8 # We need to control the version of llvm-config we're using, so we'll
9 # tweak the cross file or generate a native file to do so.
10 if test -n "$LLVM_VERSION"; then
11 LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
12 echo -e "[binaries]\nllvm-config = '`which $LLVM_CONFIG`'" > native.file
13 if [ -n "$CROSS" ]; then
14 sed -i -e '/\[binaries\]/a\' -e "llvm-config = '`which $LLVM_CONFIG`'" $CROSS_FILE
[all …]
/third_party/openssl/
DNOTES-WINDOWS.md4 - [Native builds using Visual C++](#native-builds-using-visual-c++)
5 - [Native builds using Embarcadero C++Builder](
6 #native-builds-using-embarcadero-c++-builder)
7 - [Native builds using MinGW](#native-builds-using-mingw)
8 - [Linking native applications](#linking-native-applications)
9 - [Hosted builds using Cygwin](#hosted-builds-using-cygwin)
13 "Native" OpenSSL uses the Windows APIs directly at run time.
14 To build a native OpenSSL you can either use:
21 run on the GNU-like development environment MSYS2
28 Native builds using Visual C++
[all …]
/third_party/protobuf/php/
DREADME.md2 pure PHP package and a native c extension. The pure PHP package is intended to
5 runtime APIs and share the same generated code. Users don’t need to re-generate
19 - C extension: PHP 5.5, 5.6, or 7.
20 - [PHP package](http://php.net/downloads.php): PHP 5.5, 5.6 or 7.
39 sudo apt-get install -y php-pear php5-dev autoconf automake libtool make gcc
50 sudo pecl install protobuf-{VERSION}.tgz
56 [PECL](https://pecl.php.net/). To use this pre-packaged extension, simply
60 sudo pecl install protobuf-{VERSION}
75 version of `protoc` included in the latest release supports the `--php_out`
78 protoc --php_out=out_dir test.proto
[all …]
/third_party/vk-gl-cts/doc/testspecs/EGL/
Dfunctional.resize.txt1 -------------------------------------------------------------------------
2 drawElements Quality Program Test Specification
3 -----------------------------------------------
11 http://www.apache.org/licenses/LICENSE-2.0
18 -------------------------------------------------------------------------
22 + dEQP-EGL.functional.resize.*
34 Checks for EGL surface behavior when the surface's native window is resized by external means.
36 The surface_size.* tests resize the native window and call
38 that they report the new native window size.
41 a test image on it. The native window is resized, and the back buffer is
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/docs/
DREADME.rst1 Subzero - Fast code generator for PNaCl bitcode
5 ------
11 --------
13 Subzero is set up to be built within the Native Client tree. Follow the
15 <https://sites.google.com/a/chromium.org/dev/nativeclient/pnacl/developing-pnacl>`_
18 Checking out the Native Client project also gets the pre-built clang and LLVM
19 tools in ``native_client/../third_party/llvm-build/Release+Asserts/bin`` which
30 make -f Makefile.standalone
31 make -f Makefile.standalone DEBUG=1
32 make -f Makefile.standalone NOASSERT=1
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/
DREADME.rst1 Subzero - Fast code generator for PNaCl bitcode
5 ------
11 --------
13 Subzero is set up to be built within the Native Client tree. Follow the
15 <https://sites.google.com/a/chromium.org/dev/nativeclient/pnacl/developing-pnacl>`_
18 Checking out the Native Client project also gets the pre-built clang and LLVM
19 tools in ``native_client/../third_party/llvm-build/Release+Asserts/bin`` which
30 make -f Makefile.standalone
31 make -f Makefile.standalone DEBUG=1
32 make -f Makefile.standalone NOASSERT=1
[all …]
/third_party/libwebsockets/test-apps/android/app/src/main/java/org/libwebsockets/client/
DLwsService.java2 * LwsService.java - libwebsockets test service for Android
16 * The test apps are intended to be adapted for use in your code, which
78 * For this test we implement a very long lived task
118 /** Load the native libwebsockets code */
124 Log.e("LwsService", "Warning: Could not load native library: " + ule.getMessage());
127 public native boolean initLws(); in initLws()
128 public native void exitLws(); in exitLws()
129 public native void serviceLws(); in serviceLws()
130 public native void setConnectionParameters(String serverAddress, int serverPort); in setConnectionParameters()
131 public native boolean connectLws(); in connectLws()
/third_party/ltp/
Dbuild.sh2 # Copyright (c) 2017-2021 Petr Vorel <pvorel@suse.cz>
5 set -e
7 CFLAGS="${CFLAGS:--Wformat -Werror=format-security -Werror=implicit-function-declaration -Werror=re…
8 CC="${CC:-gcc}"
10 DEFAULT_PREFIX="$HOME/ltp-install"
11 DEFAULT_BUILD="native"
14 CONFIGURE_OPTS_IN_TREE="--with-open-posix-testsuite --with-realtime-testsuite $CONFIGURE_OPT_EXTRA"
15 # TODO: open posix testsuite is currently broken in out-tree-build. Enable it once it's fixed.
16 CONFIGURE_OPTS_OUT_TREE="--with-realtime-testsuite $CONFIGURE_OPT_EXTRA"
19 BUILD_DIR="$SRC_DIR/../ltp-build"
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DGetBindGroupLayoutValidationTests.cpp7 // http://www.apache.org/licenses/LICENSE-2.0
24 [[stage(vertex)]] fn main() -> [[builtin(position)]] vec4<f32> { in RenderPipelineFromFragmentShader()
40 // Test that GetBindGroupLayout returns the same object for the same index
43 // This test works assuming Dawn Native's object deduplication. in TEST_F()
45 // Native. in TEST_F()
55 [[stage(vertex)]] fn main() -> [[builtin(position)]] vec4<f32> { in TEST_F()
98 // Test that default BindGroupLayouts cannot be used in the creation of a new PipelineLayout
113 // Test that getBindGroupLayout defaults are correct
114 // - shader stage visibility is the stage that adds the binding.
115 // - dynamic offsets is false
[all …]
/third_party/skia/third_party/externals/brotli/java/org/brotli/dec/
Dbuild_defs.bzl4 "-DBROTLI_ENABLE_ASSERTS=true",
8 """test duplication rule that creates 32/64-bit test pair."""
14 test_package = native.package_name().replace("/", ".")
20 native.java_test(
24 jvm_flags = jvm_flags + ["-DBROTLI_32_BIT_CPU=true"],
28 native.java_test(
32 jvm_flags = jvm_flags + ["-DBROTLI_32_BIT_CPU=false"],
/third_party/skia/third_party/externals/dawn/src/tests/
DBUILD.gn7 # http://www.apache.org/licenses/LICENSE-2.0
17 import("${skia_root_dir}/testing/test.gni")
31 # Gtest Gmock - Handle building inside and outside of Chromium.
53 sources = [ "${googletest_dir}/googletest/src/gtest-all.cc" ]
67 sources = [ "${googletest_dir}/googlemock/src/gmock-all.cc" ]
80 # are needed to launch the test in swarming mode.
85 "${skia_root_dir}/base/test:test_support",
130 # sources so that they aren't included in non-test builds.
145 "unittests/native/mocks/BindGroupLayoutMock.h",
146 "unittests/native/mocks/BindGroupMock.h",
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DGetProcAddressTests.cpp7 // http://www.apache.org/licenses/LICENSE-2.0
26 // so we run the tests against both implementations. This enum is used as a test parameters to
27 // know which implementation to test.
29 Native, enumerator
35 case DawnFlavor::Native: in operator <<()
60 case DawnFlavor::Native: { in SetUp()
74 mDevice = wgpu::Device::Acquire(mWireClient->ReserveDevice().device); in SetUp()
103 // Test GetProcAddress with and without devices on some valid examples
115 // Test GetProcAddress with and without devices on nullptr procName
121 // Test GetProcAddress with and without devices on some invalid
[all …]
/third_party/skia/dm/
DDMGpuTestProcs.cpp4 * Use of this source code is governed by a BSD-style license that can be
8 #include "tests/Test.h"
45 void RunWithGPUTestContexts(GrContextTestFn* test, GrContextTypeFilterFn* contextTypeFilter, in RunWithGPUTestContexts() argument
55 // Use "native" instead of explicitly trying OpenGL and OpenGL ES. Do not use GLES on in RunWithGPUTestContexts()
63 // We destroy the factory and its associated contexts after each test. This is due to the in RunWithGPUTestContexts()
64 // fact that the command buffer sits on top of the native GL windowing (cgl, wgl, ...) but in RunWithGPUTestContexts()
66 // native windowing API is used directly outside of the command buffer code. in RunWithGPUTestContexts()
75 (*test)(reporter, ctxInfo); in RunWithGPUTestContexts()
76 // In case the test changed the current context make sure we move it back before in RunWithGPUTestContexts()
78 ctxInfo.testContext()->makeCurrent(); in RunWithGPUTestContexts()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/
DvktWsiSwapchainTests.cpp1 /*-------------------------------------------------------------------------
3 * ------------------------
11 * http://www.apache.org/licenses/LICENSE-2.0
22 *//*--------------------------------------------------------------------*/
121 // 1) Filter out non-core formats to stay within valid usage. in createInstanceWithWsi()
290 // Single-surface shortcut.
332 // Single-surface shortcut.
346 TEST_DIMENSION_MIN_IMAGE_COUNT = 0, //!< Test all supported image counts
347 TEST_DIMENSION_IMAGE_FORMAT, //!< Test all supported formats
348 TEST_DIMENSION_IMAGE_EXTENT, //!< Test various (supported) extents
[all …]
DvktWsiColorSpaceTests.cpp1 /*-------------------------------------------------------------------------
3 * ------------------------
11 * http://www.apache.org/licenses/LICENSE-2.0
22 *//*--------------------------------------------------------------------*/
114 // 1) Filter out non-core formats to stay within valid usage. in createInstanceWithWsi()
230 TEST_DIMENSION_MIN_IMAGE_COUNT = 0, //!< Test all supported image counts
231 TEST_DIMENSION_IMAGE_FORMAT, //!< Test all supported formats
232 TEST_DIMENSION_IMAGE_EXTENT, //!< Test various (supported) extents
400 ….bindBufferMemory(device, *resultBuffer, resultBufferMemory->getMemory(), resultBufferMemory->getO… in getPixel()
412 resultBufferMemory->getHostPtr()); in getPixel()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/wsi/
DvktWsiSwapchainTests.cpp1 /*-------------------------------------------------------------------------
3 * ------------------------
11 * http://www.apache.org/licenses/LICENSE-2.0
22 *//*--------------------------------------------------------------------*/
116 // 1) Filter out non-core formats to stay within valid usage. in createInstanceWithWsi()
285 // Single-surface shortcut.
327 // Single-surface shortcut.
341 TEST_DIMENSION_MIN_IMAGE_COUNT = 0, //!< Test all supported image counts
342 TEST_DIMENSION_IMAGE_FORMAT, //!< Test all supported formats
343 TEST_DIMENSION_IMAGE_EXTENT, //!< Test various (supported) extents
[all …]
DvktWsiColorSpaceTests.cpp1 /*-------------------------------------------------------------------------
3 * ------------------------
11 * http://www.apache.org/licenses/LICENSE-2.0
22 *//*--------------------------------------------------------------------*/
114 // 1) Filter out non-core formats to stay within valid usage. in createInstanceWithWsi()
230 TEST_DIMENSION_MIN_IMAGE_COUNT = 0, //!< Test all supported image counts
231 TEST_DIMENSION_IMAGE_FORMAT, //!< Test all supported formats
232 TEST_DIMENSION_IMAGE_EXTENT, //!< Test various (supported) extents
400 ….bindBufferMemory(device, *resultBuffer, resultBufferMemory->getMemory(), resultBufferMemory->getO… in getPixel()
412 resultBufferMemory->getHostPtr()); in getPixel()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/runner/android/java/src/com/android/angle/test/
DAngleNativeTest.java2 // Use of this source code is governed by a BSD-style license that can be
8 package com.android.angle.test;
66 // https://developer.android.com/training/system-ui/immersive#java in postCreate()
109 appendCommandLineFlags("--gtest_filter=" + gtestFilter); in parseArgumentsFromIntent()
131 // This is needed because NativeActivity processes Looper messages in native code code, in postStart()
132 // which makes invoking the test runner Handler problematic. in postStart()
138 // the test output. See crbug.com/678146 for additional context. in postStart()
165 // Signal a failure of the native test loader to python scripts
170 Log.e(TAG, "[ RUNNER_FAILED ] could not load native library"); in nativeTestFailed()
173 private native void nativeRunTests( in nativeRunTests()
/third_party/skia/third_party/externals/dawn/docs/
Doverview.md3-generation based on the `dawn.json` file that describes the native WebGPU API. It is used to gene…
7 - [`dawn.json`](../dawn.json): contains a description of the native WebGPU in JSON form. It is the …
8 - [`dawn_wire.json`](../dawn_wire.json): contains additional information used to generate `dawn_wir…
9 - [`examples`](../examples): a small collection of samples using the native WebGPU API. They were m…
10 - [`generator`](../generator): directory containg the code generators and their templates. Generato…
11- [`dawn_json_generator.py`](../generator/dawn_json_generator.py): the main code generator that ou…
12- [`templates`](../generator/templates): Jinja2 templates for the generator, with subdirectories f…
13 - [`infra`](../infra): configuration file for the commit-queue infrastructure.
14 - [`scripts`](../scripts): contains a grab-bag of files that are used for building Dawn, in testing…
15 - [`src`](../src):
[all …]
/third_party/python/Tools/msi/test/
Dtest_en-US.wxl1 <?xml version="1.0" encoding="utf-8"?>
2 <WixLocalization Culture="en-us" xmlns="http://schemas.microsoft.com/wix/2006/localization">
3 <String Id="Descriptor">Test Suite</String>
4 <String Id="ShortDescriptor">test</String>
5 <String Id="NativeModulesTitle">!(loc.FullProductName) native libtest</String>
6 <String Id="NativeModulesDescription">!(loc.ProductName) Native Test Modules</String>
/third_party/EGL/extensions/EXT/
DEGL_EXT_buffer_age.txt36 12 - June 13, 2013
54 to re-use the contents of old frames and minimize how much must be
59 buffering and even n-buffering or simply single buffer rendering.
62 currently in-use being freed.
73 that continue to pass the pixel ownership test.
75 For many use-cases this extension can provide an efficient
78 any frame n on frame n - 1 which can affect the pipelining of
79 multiple frames but also implies a costly copy-back of data to
80 initialize the back-buffer at the start of each frame.
96 buffers that are re-cycled instead of redrawing the entire scene.
[all …]
/third_party/skia/third_party/externals/egl-registry/extensions/EXT/
DEGL_EXT_buffer_age.txt36 12 - June 13, 2013
54 to re-use the contents of old frames and minimize how much must be
59 buffering and even n-buffering or simply single buffer rendering.
62 currently in-use being freed.
73 that continue to pass the pixel ownership test.
75 For many use-cases this extension can provide an efficient
78 any frame n on frame n - 1 which can affect the pipelining of
79 multiple frames but also implies a costly copy-back of data to
80 initialize the back-buffer at the start of each frame.
96 buffers that are re-cycled instead of redrawing the entire scene.
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/lite/
Dbuild_lite.sh2 # Copyright 2021-2022 Huawei Technologies Co., Ltd
8 # http://www.apache.org/licenses/LICENSE-2.0
17 set -e
21 echo -e "\e[31mANDROID_NDK=$ANDROID_NDK \e[0m"
23 …echo -e "\e[31mplease set ANDROID_NDK in environment variable for example: export ANDROID_NDK=/roo…
33 cp -r ${HI35XX_SDK_PATH}/third_patry ${BASEPATH}/mindspore/lite/providers/nnie
46 local ms_pack="mindspore-lite-${VERSION_STR}"
49 local linux_x86_path="${cpack_dir}/Linux/TGZ/${ms_pack}/linux-x64"
50 local linux_cortex_path="${cpack_dir}/Linux/TGZ/${ms_pack}/none-cortex-m7"
51 local linux_aarch64_path="${cpack_dir}/Linux/TGZ/${ms_pack}/linux-aarch64"
[all …]
/third_party/skia/platform_tools/android/apps/skqp/src/main/java/org/skia/skqp/
DSkQP.java4 * Use of this source code is governed by a BSD-style license that can be
17 protected native void nInit(AssetManager assetManager, String dataDir); in nInit()
18 protected native long nExecuteGM(int gm, int backend) throws SkQPException; in nExecuteGM()
19 protected native String[] nExecuteUnitTest(int test); in nExecuteUnitTest() argument
20 protected native void nMakeReport(); in nMakeReport()

12345678910>>...42