Home
last modified time | relevance | path

Searched +full:protocol +full:- +full:tests (Results 1 – 25 of 1154) sorted by relevance

12345678910>>...47

/external/protobuf/conformance/
DREADME.md1 Protocol Buffers - Google's data interchange format
6 This directory contains conformance tests for testing completeness and
7 correctness of Protocol Buffers implementations. These tests are designed
8 to be easy to run against any Protocol Buffers implementation.
10 This directory contains the tester process `conformance-test`, which
11 contains all of the tests themselves. Then separate programs written
15 Before running any of these tests, make sure you run `make` in the base
16 directory to build `protoc`, since all the tests depend on it.
20 Running the tests for C++
21 -------------------------
[all …]
/external/cronet/third_party/protobuf/conformance/
DREADME.md1 Protocol Buffers - Google's data interchange format
6 This directory contains conformance tests for testing completeness and
7 correctness of Protocol Buffers implementations. These tests are designed
8 to be easy to run against any Protocol Buffers implementation.
10 This directory contains the tester process `conformance-test`, which
11 contains all of the tests themselves. Then separate programs written
15 Before running any of these tests, make sure you run `make` in the base
16 directory to build `protoc`, since all the tests depend on it.
20 Running the tests for C++
21 -------------------------
[all …]
/external/wayland/tests/
Dmeson.build2 error('-Dtests=true requires -Dlibraries=true')
6 'test-runner',
8 'test-runner.c',
9 'test-helpers.c',
10 'test-compositor.c'
34 tests_protocol_xml = files('../protocol/tests.xml')
37 'test server protocol header',
38 command: [ wayland_scanner_for_build, '-s', 'server-header', '@INPUT@', '@OUTPUT@' ],
40 output: 'tests-server-protocol.h'
44 'test client protocol header',
[all …]
/external/cronet/third_party/boringssl/src/ssl/test/runner/
Drunner.go57 …useRR = flag.Bool("rr-record", false, "If true, run BoringSSL code under `rr record`.…
58 …waitForDebugger = flag.Bool("wait-for-debugger", false, "If true, jobs will run one at a time a…
60 …mallocTest = flag.Int64("malloc-test", -1, "If non-negative, run each test with each mallo…
61 …ol("malloc-test-debug", false, "If true, ask bssl_shim to abort rather than fail a malloc. This ca…
62 jsonOutput = flag.String("json-output", "", "The file to output JSON results to.")
64 … = flag.String("test", "", "Semicolon-separated patterns of tests to run, or empty to run …
65 skipTest = flag.String("skip", "", "Semicolon-separated patterns of tests to skip")
66 …allowHintMismatch = flag.String("allow-hint-mismatch", "", "Semicolon-separated patterns of tests
67 …numWorkersFlag = flag.Int("num-workers", runtime.NumCPU(), "The number of workers to run in pa…
68 …shimPath = flag.String("shim-path", "../../../build/ssl/test/bssl_shim", "The location o…
[all …]
/external/boringssl/src/ssl/test/runner/
Drunner.go58 …useRR = flag.Bool("rr-record", false, "If true, run BoringSSL code under `rr record`.…
59 …waitForDebugger = flag.Bool("wait-for-debugger", false, "If true, jobs will run one at a time a…
61 …mallocTest = flag.Int64("malloc-test", -1, "If non-negative, run each test with each mallo…
62 …ol("malloc-test-debug", false, "If true, ask bssl_shim to abort rather than fail a malloc. This ca…
63 jsonOutput = flag.String("json-output", "", "The file to output JSON results to.")
65 … = flag.String("test", "", "Semicolon-separated patterns of tests to run, or empty to run …
66 skipTest = flag.String("skip", "", "Semicolon-separated patterns of tests to skip")
67 …allowHintMismatch = flag.String("allow-hint-mismatch", "", "Semicolon-separated patterns of tests
68 …numWorkersFlag = flag.Int("num-workers", runtime.NumCPU(), "The number of workers to run in pa…
69 …shimPath = flag.String("shim-path", "../../../build/ssl/test/bssl_shim", "The location o…
[all …]
/external/okhttp/android/src/main/java/com/squareup/okhttp/internal/
DPlatform.java9 * http://www.apache.org/licenses/LICENSE-2.0
20 import com.squareup.okhttp.Protocol;
45 // only tests should extend this class
50 // only for private use and in tests
60 * invocations of {@link #get()}, for use in tests.
86 // apps or third-party TLS providers that might have taken advantage of being able to
87 // duck-type their way into compatibility. For more background, see b/128280837.
115 SSLSocket sslSocket, String hostname, List<Protocol> protocols) { in configureTlsExtensions()
183 return "X-Android"; in getPrefix()
189 * on Android, so this method should never be called outside of OkHttp's tests.
[all …]
/external/okhttp/repackaged/android/src/main/java/com/android/okhttp/internal/
DPlatform.java10 * http://www.apache.org/licenses/LICENSE-2.0
21 import com.android.okhttp.Protocol;
47 // only tests should extend this class
52 // only for private use and in tests
63 * invocations of {@link #get()}, for use in tests.
89 // apps or third-party TLS providers that might have taken advantage of being able to
90 // duck-type their way into compatibility. For more background, see b/128280837.
119 SSLSocket sslSocket, String hostname, List<Protocol> protocols) { in configureTlsExtensions()
187 return "X-Android"; in getPrefix()
193 * on Android, so this method should never be called outside of OkHttp's tests.
[all …]
/external/cronet/third_party/protobuf/js/
DREADME.md1 Protocol Buffers - Google's data interchange format
6 This directory contains the JavaScript Protocol Buffers runtime library.
10 1. CommonJS-style imports (eg. `var protos = require('my-protos');`)
11 2. Closure-style imports (eg. `goog.require('my.package.MyProto');`)
13 Support for ES6-style imports is not implemented yet. Browsers can
17 To use Protocol Buffers with JavaScript, you need two main components:
20 `npm install google-protobuf`, or use the files in this directory.
23 2. The Protocol Compiler `protoc`. This translates `.proto` files
25 npm, but you can download a pre-built binary
27 (look for the `protoc-*.zip` files under **Downloads**).
[all …]
/external/tcpdump/
DCONTRIBUTING.md7 code execution etc) please send an e-mail to security@tcpdump.org, do not use
10 To report a non-security problem (failure to compile, incorrect output in the
11 protocol printout, missing support for a particular protocol etc) please check
15 libpcap. If it does (and it is not a security-related problem, otherwise see
17 [bug tracker](https://github.com/the-tcpdump-group/tcpdump/issues)
21 * tcpdump and libpcap version (`tcpdump --version`)
23 (`uname -a`, compiler name and version, CPU type etc.)
33 [subscribe to the mailing list](https://www.tcpdump.org/#mailing-lists)
42 1) [Fork](https://help.github.com/articles/fork-a-repo/) the Tcpdump
43 [repository](https://github.com/the-tcpdump-group/tcpdump).
[all …]
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
Dflow_dissector.c1 // SPDX-License-Identifier: GPL-2.0
111 struct test tests[] = { variable
117 .iph.protocol = IPPROTO_TCP,
156 .name = "802.1q-ipv4",
161 .iph.protocol = IPPROTO_TCP,
179 .name = "802.1ad-ipv6",
203 .name = "ipv4-frag",
207 .iph.protocol = IPPROTO_TCP,
230 .name = "ipv4-no-frag",
234 .iph.protocol = IPPROTO_TCP,
[all …]
/external/cronet/third_party/protobuf/python/
DREADME.md1 Protocol Buffers - Google's data interchange format
6 This directory contains the Python Protocol Buffers runtime library.
11 https://developers.google.com/protocol-buffers/
14 Protocol Compiler (protoc). If you downloaded this package from PyPI
15 or some other Python-specific source, you may have received only the
17 Protocol Compiler from some other source before you can use this
31 $ python -V
36 … [this page](https://packaging.python.org/en/latest/installing.html#setup-for-installing-packages).
42 $ protoc --version
44 4) Build and run the tests:
[all …]
/external/protobuf/python/
DREADME.md1 Protocol Buffers - Google's data interchange format
6 This directory contains the Python Protocol Buffers runtime library.
11 https://developers.google.com/protocol-buffers/
14 Protocol Compiler (protoc). If you downloaded this package from PyPI
15 or some other Python-specific source, you may have received only the
17 Protocol Compiler from some other source before you can use this
31 $ python -V
36 … [this page](https://packaging.python.org/en/latest/installing.html#setup-for-installing-packages).
42 $ protoc --version
44 4) Build and run the tests:
[all …]
/external/libwebsockets/lib/abstract/
DREADME.md5 Until now protocol implementations in lws have been done directly
6 to the network-related apis inside lws.
9 details from protocol specification, lws now supports
12 ![lws_abstract overview](/doc-assets/abstract-overview.svg)
15 chunks of code hidden behind "ops" structs... the "abstract protocol"
16 implementation is responsible for the logical protocol operation
28 combination of a protocol and a transport.
30 This makes it possible to confidently offer the same protocol on
32 up the protocol implementation to a test jig sending canned
34 any network. The abstract protocol itself has no relationship
[all …]
/external/curl/tests/
Druntests.121 .\" * SPDX-License-Identifier: curl
27 runtests.pl \- run one or more test cases
29 .B runtests.pl [options] [tests]
34 .SH "TESTS"
37 If no test number or keyword is given, all existing tests that the script can
39 by specifying test numbers space-separated, like "1 3 5 7 11", and you can
40 specify a range of tests like "45 to 67".
42 Specify tests to not run with a leading exclamation point, like "!66", which
43 runs all available tests except number 66.
47 It is also possible to specify tests based on a keyword describing the test(s)
[all …]
/external/aws-sdk-java-v2/
D.brazil.json5 "annotations": { "packageName": "AwsJavaSdk-Core-Annotations" },
6 "apache-client": { "packageName": "AwsJavaSdk-HttpClient-ApacheClient" },
7 "arns": { "packageName": "AwsJavaSdk-Core-Arns" },
8 "auth": { "packageName": "AwsJavaSdk-Core-Auth" },
9 "auth-crt": { "packageName": "AwsJavaSdk-Core-AuthCrt" },
10 "aws-cbor-protocol": { "packageName": "AwsJavaSdk-Core-AwsCborProtocol" },
11 "aws-core": { "packageName": "AwsJavaSdk-Core-AwsCore" },
12 "aws-crt-client": { "packageName": "AwsJavaSdk-HttpClient-CrtClient" },
13 "aws-ion-protocol": { "packageName": "AwsJavaSdk-Core-AwsIonProtocol" },
14 "aws-json-protocol": { "packageName": "AwsJavaSdk-Core-AwsJsonProtocol" },
[all …]
/external/autotest/tko/
Djob_serializer.py3 """A script that provides convertion between models.job and a protocol
7 convert it into a protocol buffer object. The class will also be
8 responsible for serializing the job instance via protocol buffers.
33 it with a protocol buffer.
36 protocol buffer to include all the content of the job object. This
37 protocol buffer object will be serialized into a binary file.
42 self.job_type_dict = {'dir':str, 'tests':list, 'user':str,
73 The method first deserialize the binary into a protocol buffer
97 protocol buffer.
99 The method takes a tko job object and constructs a protocol
[all …]
/external/linux-kselftest/tools/testing/selftests/net/
Dsocket.c1 // SPDX-License-Identifier: GPL-2.0
15 int protocol; member
18 * -foo = error foo
22 /* If non-zero, accept EAFNOSUPPORT to handle the case
23 * of the protocol not being configured into the kernel.
28 static struct socket_testcase tests[] = { variable
29 { AF_MAX, 0, 0, -EAFNOSUPPORT, 0 },
31 { AF_INET, SOCK_DGRAM, IPPROTO_TCP, -EPROTONOSUPPORT, 1 },
33 { AF_INET, SOCK_STREAM, IPPROTO_UDP, -EPROTONOSUPPORT, 1 },
45 for (i = 0; i < ARRAY_SIZE(tests); i++) { in run_tests()
[all …]
/external/wayland/patches/
D0004-client-Safe-cast-a-wl_object-to-wl_proxy.diff3 Date: Fri, 11 Mar 2022 18:17:20 -0800
19 Signed-off-by: Lloyd Pique <lpique@google.com>
21 diff --git a/src/wayland-client-core.h b/src/wayland-client-core.h
23 --- a/src/wayland-client-core.h
24 +++ b/src/wayland-client-core.h
25 @@ -222,6 +222,9 @@ wl_proxy_get_class(struct wl_proxy *proxy);
35 diff --git a/src/wayland-client.c b/src/wayland-client.c
37 --- a/src/wayland-client.c
38 +++ b/src/wayland-client.c
39 @@ -2594,6 +2594,28 @@ wl_proxy_wrapper_destroy(void *proxy_wrapper)
[all …]
/external/python/mobly/tests/mobly/controllers/android_device_lib/
Dsnippet_client_test.py7 # http://www.apache.org/licenses/LICENSE-2.0
21 from tests.lib import jsonrpc_client_test_base
22 from tests.lib import mock_android_device
33 """Unit tests for mobly.controllers.android_device_lib.snippet_client."""
95 self.assertEqual('1-0', callback._id)
175 b'SNIPPET START, PROTOCOL 1 0\n',
190 adb_proxy.shell.return_value = b'OK (0 tests)'
197 adb_proxy.shell.return_value = b'OK (0 tests)'
207 adb_proxy.forward.assert_called_once_with(['--remove', 'tcp:1'])
215 adb_proxy.shell.return_value = b'OK (0 tests)'
[all …]
/external/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-testsfail/
Dminimal-secure-streams-testsfail.c2 * lws-minimal-secure-streams
4 * Written in 2010-2020 by Andy Green <andy@warmcat.com>
14 * --amount xxx, the default without that is 12345 bytes.
21 static int interrupted, tests, tests_pass, tests_fail; variable
31 * If the -proxy app is fulfilling our connection, then we don't need to have
36 * ./lws-minimal-secure-streams-proxy test app on the same machine.
44 "\"schema-version\":" "1,"
46 "\"via-socks5\":" "\"127.0.0.1:1080\","
180 "\"protocol\": \"h1\","
203 "\"protocol\": \"h1\","
[all …]
/external/python/pyserial/test/
Dtest_threaded.py3 # This file is part of pySerial - Cross platform serial port support for Python
6 # SPDX-License-Identifier: BSD-3-Clause
18 # on which port should the tests be performed:
36 with serial.threaded.ReaderThread(ser, TestLines) as protocol:
37 protocol.write_line('hello')
38 protocol.write_line('world')
40 self.assertEqual(protocol.received_lines, ['hello', 'world'])
59 with serial.threaded.ReaderThread(ser, TestFramedPacket) as protocol:
60 protocol.send_packet(b'1')
61 protocol.send_packet(b'2')
[all …]
/external/nanopb-c/docs/
Dindex.rst2 Nanopb: Protocol Buffers with small code size
7 Nanopb is an ANSI-C library for encoding and decoding messages in Google's `Protocol Buffers`__ for…
8 It is primarily suitable for 32-bit microcontrollers.
10 __ https://developers.google.com/protocol-buffers/docs/reference/overview
18 The high-level encoding and decoding functions take an array of *pb_field_t* structures, which desc…
25 - pb.h
26 - pb_common.h and pb_common.c (always needed)
27 - pb_decode.h and pb_decode.c (needed for decoding messages)
28 - pb_encode.h and pb_encode.c (needed for encoding messages)
29 2) Protocol description (you can have many):
[all …]
/external/cronet/components/cronet/android/test/smoketests/src/org/chromium/net/smoke/
DChromiumPlatformOnlyTestSupport.java2 // Use of this source code is governed by a BSD-style license that can be
12 import org.chromium.net.smoke.TestSupport.Protocol;
18 * Tests support for Java only Cronet engine tests. This class should not depend on
23 public TestServer createTestServer(Context context, Protocol protocol) { in createTestServer() argument
24 switch (protocol) { in createTestServer()
32 throw new IllegalArgumentException("Unknown server protocol: " + protocol); in createTestServer()
/external/pigweed/pw_transfer/
Ddocs.rst1 .. _module-pw_transfer:
6 ``pw_transfer`` is a reliable data transfer protocol which runs on top of
13 -----
15 -----
21 ---------------
23 required. The transfer thread is used to process all transfer-related events
29 All user-defined transfer callbacks (i.e. the virtual interface of a
35 - The first is a *chunk buffer*. This is used to stage transfer packets received
39 - The second is an *encode buffer*. This is used by the transfer thread to
46 when creating a system thread. Refer to :ref:`module-pw_thread-thread-creation`
[all …]
/external/cronet/third_party/protobuf/ruby/
Dgoogle-protobuf.gemspec2 s.name = "google-protobuf"
4 …git_tag = "v#{s.version.to_s.sub('.rc.', '-rc')}" # Converts X.Y.Z.rc.N to vX.Y.Z-rcN, used …
5 s.licenses = ["BSD-3-Clause"]
6 s.summary = "Protocol Buffers"
7 s.description = "Protocol Buffers are Google's data interchange format."
8 s.homepage = "https://developers.google.com/protocol-buffers"
20 s.add_development_dependency "rake-compiler-dock", "= 1.2.1" end
21 s.test_files = ["tests/basic.rb",
22 "tests/stress.rb",
23 "tests/generated_code_test.rb"]
[all …]

12345678910>>...47