Home
last modified time | relevance | path

Searched full:safe (Results 1 – 25 of 5057) sorted by relevance

12345678910>>...203

/third_party/skia/tests/
DSafeMathTest.cpp17 SkSafeMath safe; in DEF_TEST() local
18 REPORTER_ASSERT(r, safe.add(halfMax, halfMax) == 2 * halfMax); in DEF_TEST()
19 REPORTER_ASSERT(r, safe); in DEF_TEST()
20 REPORTER_ASSERT(r, safe.add(halfMax, halfMaxPlus1) == max); in DEF_TEST()
21 REPORTER_ASSERT(r, safe); in DEF_TEST()
22 REPORTER_ASSERT(r, safe.add(max, 1) == 0); in DEF_TEST()
23 REPORTER_ASSERT(r, !safe); in DEF_TEST()
27 SkSafeMath safe; in DEF_TEST() local
28 (void) safe.add(max, max); in DEF_TEST()
29 REPORTER_ASSERT(r, !safe); in DEF_TEST()
[all …]
/third_party/skia/m133/tests/
DSafeMathTest.cpp20 SkSafeMath safe; in DEF_TEST() local
21 REPORTER_ASSERT(r, safe.add(halfMax, halfMax) == 2 * halfMax); in DEF_TEST()
22 REPORTER_ASSERT(r, safe); in DEF_TEST()
23 REPORTER_ASSERT(r, safe.add(halfMax, halfMaxPlus1) == max); in DEF_TEST()
24 REPORTER_ASSERT(r, safe); in DEF_TEST()
25 REPORTER_ASSERT(r, safe.add(max, 1) == 0); in DEF_TEST()
26 REPORTER_ASSERT(r, !safe); in DEF_TEST()
30 SkSafeMath safe; in DEF_TEST() local
31 (void) safe.add(max, max); in DEF_TEST()
32 REPORTER_ASSERT(r, !safe); in DEF_TEST()
[all …]
/third_party/rust/rust/tests/ui/lint/
Dlint-ctypes.stderr1 error: `extern` block uses type `Foo`, which is not FFI-safe
5 | ^^^^^^^^^^ not FFI-safe
20 error: `extern` block uses type `Foo`, which is not FFI-safe
24 | ^^^^^^^^^^ not FFI-safe
34 error: `extern` block uses type `((),)`, which is not FFI-safe
38 | ^^^^^^^^^^^^ not FFI-safe
43 error: `extern` block uses type `[u32]`, which is not FFI-safe
47 | ^^^^^^ not FFI-safe
52 error: `extern` block uses type `str`, which is not FFI-safe
56 | ^^^^ not FFI-safe
[all …]
Dlint-ctypes-fn.stderr1 error: `extern` fn uses type `[u32]`, which is not FFI-safe
5 | ^^^^^^ not FFI-safe
15 error: `extern` fn uses type `str`, which is not FFI-safe
19 | ^^^^ not FFI-safe
24 error: `extern` fn uses type `Box<[u8]>`, which is not FFI-safe
28 | ^^^^^^^^^ not FFI-safe
32 error: `extern` fn uses type `Box<str>`, which is not FFI-safe
36 | ^^^^^^^^ not FFI-safe
40 error: `extern` fn uses type `Box<dyn Trait>`, which is not FFI-safe
44 | ^^^^^^^^^^^^^^ not FFI-safe
[all …]
Dlint-ctypes-94223.stderr1 error: `extern` fn uses type `[u8]`, which is not FFI-safe
5 | ^^^^^^^^^^^^^^^^^^^ not FFI-safe
15 error: `extern` fn uses type `[u8]`, which is not FFI-safe
19 | ^^^^^^^^^^^^^^^^^^^ not FFI-safe
24 error: `extern` fn uses type `[u8]`, which is not FFI-safe
28 | ^^^^^^^^^^^^^^^^^^^ not FFI-safe
33 error: `extern` fn uses type `[u8]`, which is not FFI-safe
37 | ^^^^^^^^^^^^^^^^^^^ not FFI-safe
42 error: `extern` fn uses type `[u8]`, which is not FFI-safe
46 | ^^^^^^^^^^^^^^^^^^^ not FFI-safe
[all …]
Dlint-ctypes-94223.rs5 //~^ ERROR `extern` fn uses type `[u8]`, which is not FFI-safe
8 //~^ ERROR `extern` fn uses type `[u8]`, which is not FFI-safe
9 //~^^ ERROR `extern` fn uses type `[u8]`, which is not FFI-safe
12 //~^ ERROR `extern` fn uses type `[u8]`, which is not FFI-safe
16 //~^ ERROR `extern` fn uses type `[u8]`, which is not FFI-safe
21 //~^ ERROR `extern` fn uses type `[u8]`, which is not FFI-safe
25 //~^ ERROR `extern` fn uses type `[u8]`, which is not FFI-safe
35 //~^ ERROR `extern` fn uses type `FfiUnsafe`, which is not FFI-safe
38 //~^ ERROR `extern` fn uses type `FfiUnsafe`, which is not FFI-safe
39 //~^^ ERROR `extern` fn uses type `FfiUnsafe`, which is not FFI-safe
[all …]
Dlint-ctypes-enum.stderr1 error: `extern` block uses type `U`, which is not FFI-safe
5 | ^ not FFI-safe
20 error: `extern` block uses type `B`, which is not FFI-safe
24 | ^ not FFI-safe
34 error: `extern` block uses type `T`, which is not FFI-safe
38 | ^ not FFI-safe
48 error: `extern` block uses type `u128`, which is not FFI-safe
52 | ^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
56 error: `extern` block uses type `i128`, which is not FFI-safe
60 | ^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
[all …]
Dissue-14309.stderr1 error: `extern` block uses type `A`, which is not FFI-safe
5 | ^ not FFI-safe
20 error: `extern` block uses type `A`, which is not FFI-safe
24 | ^ not FFI-safe
34 error: `extern` block uses type `A`, which is not FFI-safe
38 | ^^ not FFI-safe
48 error: `extern` block uses type `A`, which is not FFI-safe
52 | ^^ not FFI-safe
62 error: `extern` block uses type `A`, which is not FFI-safe
66 | ^ not FFI-safe
/third_party/rust/rust/src/librustdoc/html/templates/
Dpage.html9 …<link rel="preload" as="font" type="font/woff2" crossorigin href="{{static_root_path|safe}}{{files…
10 …<link rel="preload" as="font" type="font/woff2" crossorigin href="{{static_root_path|safe}}{{files…
11 …<link rel="preload" as="font" type="font/woff2" crossorigin href="{{static_root_path|safe}}{{files…
12 …<link rel="preload" as="font" type="font/woff2" crossorigin href="{{static_root_path|safe}}{{files…
13 …<link rel="preload" as="font" type="font/woff2" crossorigin href="{{static_root_path|safe}}{{files…
14 …<link rel="preload" as="font" type="font/woff2" crossorigin href="{{static_root_path|safe}}{{files…
16 href="{{static_root_path|safe}}{{files.normalize_css}}"> {# #}
18 href="{{static_root_path|safe}}{{files.rustdoc_css}}" {#+ #}
28 data-root-path="{{page.root_path|safe}}" {#+ #}
29 data-static-root-path="{{static_root_path|safe}}" {#+ #}
[all …]
/third_party/grpc/templates/tools/dockerfile/
Dgit_config.include4 RUN git config --global --add safe.directory /var/local/jenkins/grpc
5 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git
6 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/bloaty
7 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/xds
8 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/googl…
9 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/googl…
10 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/opent…
11 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/openc…
12 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/borin…
13 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/envoy…
[all …]
/third_party/openssl/external/perl/Text-Template-1.56/t/
Dsafe.t11 unless (eval { require Safe; 1 }) {
12 plan skip_all => 'Safe.pm is required for this test';
32 my $c = Safe->new or die;
43 my $text2 = $template1->fill_in(SAFE => $c);
46 my $text3 = $template2->fill_in(SAFE => $c);
49 # (4) Safe and non-safe fills of different template objects with the
53 # uses package main, while the safe fill uses the secret safe package.
54 # We could alias the secret safe package to be identical to main,
55 # but that wouldn't be safe. If you want the aliasing, you have to
58 # (5) Safe and non-safe fills of the same template object
[all …]
Dsafe2.t10 unless (eval { require Safe; 1 }) {
11 plan skip_all => 'Safe.pm is required for this test';
19 my $c = Safe->new or die;
22 $c->reval('$P = "safe root"');
40 # (3) When no package is specified in safe mode, we should use the
41 # default safe root.
42 $text = $t->fill_in(SAFE => $c);
43 is $text, 'package is safe root';
45 # (4) When a package is specified in safe mode, we should use the
46 # default safe root, after aliasing to the specified package
[all …]
Dsafe3.t9 unless (eval { require Safe; 1 }) {
10 plan skip_all => 'Safe.pm is required for this test';
18 # Test the OUT feature with safe compartments
34 my $c = Safe->new;
40 SAFE => $c) or die;
45 SAFE => $c) or die;
59 # is never undefined after it is used once if you are using the SAFE
70 my $s = Safe->new;
76 my $r = $o->fill_in(SAFE => $s);
/third_party/grpc/src/ruby/
D.rubocop_todo.yml17 # This cop supports safe autocorrection (--autocorrect).
25 # This cop supports safe autocorrection (--autocorrect).
33 # This cop supports safe autocorrection (--autocorrect).
40 # This cop supports safe autocorrection (--autocorrect).
45 # This cop supports safe autocorrection (--autocorrect).
51 # This cop supports safe autocorrection (--autocorrect).
64 # This cop supports safe autocorrection (--autocorrect).
70 # This cop supports safe autocorrection (--autocorrect).
78 # This cop supports safe autocorrection (--autocorrect).
92 # This cop supports safe autocorrection (--autocorrect).
[all …]
/third_party/rust/rust/src/tools/clippy/tests/ui-toml/strict_non_send_fields_in_send_ty/
Dtest.stderr1 error: some fields in `NoGeneric` are not safe to be sent to another thread
7 note: it is not safe to send field `rc_is_not_send` to another thread
12 = help: use a thread-safe type that implements `Send`
15 error: some fields in `MultiField<T>` are not safe to be sent to another thread
21 note: it is not safe to send field `field1` to another thread
27 note: it is not safe to send field `field2` to another thread
33 note: it is not safe to send field `field3` to another thread
40 error: some fields in `MyOption<T>` are not safe to be sent to another thread
46 note: it is not safe to send field `0` to another thread
53 error: some fields in `HeuristicTest` are not safe to be sent to another thread
[all …]
/third_party/rust/rust/src/tools/clippy/tests/ui/
Dnon_send_fields_in_send_ty.stderr1 error: some fields in `RingBuffer<T>` are not safe to be sent to another thread
7 note: it is not safe to send field `data` to another thread
15 error: some fields in `MvccRwLock<T>` are not safe to be sent to another thread
21 note: it is not safe to send field `lock` to another thread
28 error: some fields in `ArcGuard<RC, T>` are not safe to be sent to another thread
34 note: it is not safe to send field `head` to another thread
41 error: some fields in `DeviceHandle<T>` are not safe to be sent to another thread
47 note: it is not safe to send field `context` to another thread
54 error: some fields in `NoGeneric` are not safe to be sent to another thread
60 note: it is not safe to send field `rc_is_not_send` to another thread
[all …]
/third_party/grpc/tools/dockerfile/grpc_artifact_python_manylinux2014_x86/
DDockerfile55 RUN git config --global --add safe.directory /var/local/jenkins/grpc
56 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git
57 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/bloaty
58 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/xds
59 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/googl…
60 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/googl…
61 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/opent…
62 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/openc…
63 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/borin…
64 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/envoy…
[all …]
/third_party/grpc/tools/dockerfile/grpc_artifact_python_manylinux2014_x64/
DDockerfile54 RUN git config --global --add safe.directory /var/local/jenkins/grpc
55 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git
56 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/bloaty
57 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/xds
58 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/googl…
59 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/googl…
60 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/opent…
61 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/openc…
62 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/borin…
63 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/envoy…
[all …]
/third_party/grpc/tools/dockerfile/grpc_artifact_python_musllinux_1_1_x86/
DDockerfile46 RUN git config --global --add safe.directory /var/local/jenkins/grpc
47 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git
48 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/bloaty
49 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/xds
50 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/googl…
51 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/googl…
52 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/opent…
53 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/openc…
54 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/borin…
55 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/envoy…
[all …]
/third_party/grpc/tools/dockerfile/grpc_artifact_python_musllinux_1_1_x64/
DDockerfile46 RUN git config --global --add safe.directory /var/local/jenkins/grpc
47 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git
48 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/bloaty
49 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/xds
50 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/googl…
51 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/googl…
52 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/opent…
53 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/openc…
54 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/borin…
55 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/envoy…
[all …]
/third_party/grpc/tools/dockerfile/grpc_artifact_python_manylinux2014_aarch64/
DDockerfile50 RUN git config --global --add safe.directory /var/local/jenkins/grpc
51 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git
52 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/bloaty
53 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/xds
54 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/googl…
55 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/googl…
56 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/opent…
57 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/openc…
58 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/borin…
59 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/envoy…
[all …]
/third_party/openssl/doc/
Dperlvars.pm14 $OpenSSL::safe::opt_v_synopsis = ""
45 $OpenSSL::safe::opt_v_item = ""
60 $OpenSSL::safe::opt_x_synopsis = ""
67 $OpenSSL::safe::opt_x_item = ""
76 $OpenSSL::safe::opt_name_synopsis = ""
78 $OpenSSL::safe::opt_name_item = ""
85 $OpenSSL::safe::opt_r_synopsis = ""
88 $OpenSSL::safe::opt_r_item = ""
94 $OpenSSL::safe::opt_provider_synopsis = ""
98 $OpenSSL::safe::opt_provider_item = ""
[all …]
/third_party/grpc/tools/dockerfile/grpc_artifact_python_linux_armv7/
DDockerfile72 RUN git config --global --add safe.directory /var/local/jenkins/grpc
73 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git
74 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/bloaty
75 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/xds
76 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/googl…
77 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/googl…
78 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/opent…
79 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/openc…
80 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/borin…
81 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/envoy…
[all …]
/third_party/rust/rust/tests/ui/rfcs/rfc-2008-non-exhaustive/improper_ctypes/
Dextern_crate_improper.stderr1 error: `extern` block uses type `NonExhaustiveEnum`, which is not FFI-safe
5 | ^^^^^^^^^^^^^^^^^ not FFI-safe
14 error: `extern` block uses type `NormalStruct`, which is not FFI-safe
18 | ^^^^^^^^^^^^ not FFI-safe
22 error: `extern` block uses type `UnitStruct`, which is not FFI-safe
26 | ^^^^^^^^^^ not FFI-safe
30 error: `extern` block uses type `TupleStruct`, which is not FFI-safe
34 | ^^^^^^^^^^^ not FFI-safe
38 error: `extern` block uses type `NonExhaustiveVariants`, which is not FFI-safe
42 | ^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
/third_party/curl/docs/libcurl/
Dlibcurl-thread.md19 libcurl is thread safe but has no internal thread synchronization. You may have
35 Note that some items are specifically documented as not thread-safe in the
40 All current TLS libraries libcurl supports are thread-safe.
87 safe. It is important that libcurl can find and use thread safe versions of
89 safe. Some operating systems are known to have faulty thread
97 These functions are thread-safe since libcurl 7.84.0 if
101 If these functions are not thread-safe and you are using libcurl with multiple
105 fail-safe initialization that takes place the first time
112 replacements, must be thread safe. You can use curl_global_init_mem(3)
115 # Non-safe functions
[all …]

12345678910>>...203