Home
last modified time | relevance | path

Searched +full:sometimes +full:- +full:uninitialized (Results 1 – 25 of 330) sorted by relevance

12345678910>>...14

/external/clang/include/clang/Analysis/Analyses/
DUninitializedValues.h1 //= UninitializedValues.h - Finding uses of uninitialized values -*- C++ -*-==//
8 //===----------------------------------------------------------------------===//
10 // This file defines APIs for invoking and reported uninitialized values
13 //===----------------------------------------------------------------------===//
29 /// A use of a variable, which might be uninitialized.
41 /// Is this use uninitialized whenever the function is called?
44 /// Is this use uninitialized whenever the variable declaration is reached?
47 /// Does this use always see an uninitialized value?
50 /// This use is always uninitialized if it occurs after any of these branches
66 /// Get the expression containing the uninitialized use.
[all …]
/external/sdv/vsomeip/third_party/boost/optional/doc/
D17_gotchas.qbk9 [_represents a valid value], unlike the corresponding state of an uninitialized
55 [section Moved-from `optional`]
57 …gnment) it still contains a value and its contained value is left in a moved-from state. This can …
70 you can sometimes get an unexpected runtime result where you would rather expect a compiler error:
72 optional<double> Flight_plan::weight(); // sometimes no weight can be returned
81 [section False positive with -Wmaybe-uninitialized]
83 Sometimes on GCC compilers below version 5.1 you may get an -Wmaybe-uninitialized warning when copi…
103 …tp://stackoverflow.com/questions/21755206/how-to-get-around-gcc-void-b-4-may-be-used-uninitialized…
/external/clang/lib/StaticAnalyzer/Checkers/
DCallAndMessageChecker.cpp1 //===--- CallAndMessageChecker.cpp ------------------------------*- C++ -*--==//
8 //===----------------------------------------------------------------------===//
13 //===----------------------------------------------------------------------===//
104 auto R = llvm::make_unique<BugReport>(*BT, BT->getName(), N); in emitBadCall()
106 R->addRange(BadE->getSourceRange()); in emitBadCall()
107 if (BadE->isGLValue()) in emitBadCall()
121 return "Argument in message expression is an uninitialized value"; in describeUninitializedArgumentInCall()
124 return "Argument for property setter is an uninitialized value"; in describeUninitializedArgumentInCall()
127 return "Argument for subscript setter is an uninitialized value"; in describeUninitializedArgumentInCall()
128 return "Subscript index is an uninitialized value"; in describeUninitializedArgumentInCall()
[all …]
/external/OpenCL-CTS/test_conformance/SVM/
DCMakeLists.txt20 set_gnulike_module_compile_flags("-Wno-sometimes-uninitialized -Wno-sign-compare")
/external/rmi4utils/f54test/
DAndroid.bp2 // See: http://go/android-license-faq
3 // A large-scale-change added 'default_applicable_licenses' to import
6 // SPDX-license-identifier-Apache-2.0
19 "-Wall",
20 "-Werror",
21 "-Wno-sometimes-uninitialized",
22 "-Wno-unused-private-field",
23 "-Wno-unused-parameter",
/external/clang/test/Sema/
Duninit-variables.c1 // RUN: %clang_cc1 -fsyntax-only -Wuninitialized -Wconditional-uninitialized -fsyntax-only -fblocks…
7 int x; // expected-note{{initialize the variable 'x' to silence this warning}} in test1()
8 return x; // expected-warning{{variable 'x' is uninitialized when used here}} in test1()
13 return x; // no-warning in test2()
19 return x; // no-warning in test3()
23 int x; // expected-note{{initialize the variable 'x' to silence this warning}} in test4()
24 ++x; // expected-warning{{variable 'x' is uninitialized when used here}} in test4()
29 int x, y; // expected-note{{initialize the variable 'y' to silence this warning}} in test5()
30 x = y; // expected-warning{{variable 'y' is uninitialized when used here}} in test5()
35 int x; // expected-note{{initialize the variable 'x' to silence this warning}} in test6()
[all …]
/external/OpenCL-CTS/scripts/
Dandroid_bp_head2 default_applicable_licenses: ["external_OpenCL-CTS_license"],
6 name: "external_OpenCL-CTS_license",
9 "SPDX-license-identifier-Apache-2.0",
10 "SPDX-license-identifier-BSD",
11 "SPDX-license-identifier-MIT",
12 "SPDX-license-identifier-Unlicense",
20 name: "ocl-harness-headers",
28 name: "ocl-harness-defaults",
30 "ocl-harness-headers",
33 "ocl-harness-headers",
[all …]
/external/libsrtp2/fuzzer/
DREADME.md3 By Guido Vranken <guidovranken@gmail.com> -- https://guidovranken.wordpress.com/
14 …AGS="-fsanitize=fuzzer-no-link,address,undefined -g -O3" CFLAGS="-fsanitize=fuzzer-no-link,address…
15 LIBFUZZER="-fsanitize=fuzzer" make srtp-fuzzer
26 - rand() is fickle -- its behavior eg. the sequence of numbers that it generates for a given seed, …
27 - C++11 mt19937 is portable, meaning that its behavior will be consistent across platforms. This is…
28 - No need to implement a portable PRNG ourselves, or risk license incompatability by importing it f…
46--no_mmap``` flag is given, the fuzzer will use a special allocation technique for some of the all…
76 if ( end - n > start ) {
82 …ice trick to make MemorySanitizer evaluate this data, and crash if it contains uninitialized bytes.
83 … might be optimized away. Hence, this file must be compiled without optimizations (```-O0``` flag).
/external/rust/crates/num_cpus/
DCHANGELOG.md5 - add support for AIX operating system
9 - update hermit-abi to 0.3.0
15 - update hermit-abi
21 - add support for cgroups v2
22 - Skip reading files in Miri
28 - fix parsing zero or multiple optional fields in cgroup mountinfo.
34 - add Linux cgroups support when calling `get()`.
40 - fix `get` on OpenBSD to ignore offline CPUs
41 - implement `get_physical` on OpenBSD
47 - Use `mem::zeroed` instead of `mem::uninitialized`.
[all …]
/external/cronet/base/debug/
Dstack_trace_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
96 // Note: This will fail if not linked with -rdynamic (aka -export_dynamic) in TEST_F()
103 // Disabled in Official builds, where Link-Time Optimization can result in two
164 // Since Mac's base::debug::StackTrace().Print() is not malloc-free, skip
233 // Regression test for StackDumpSignalHandler async-signal unsafety.
266 EXPECT_EQ("-1", itoa_r_wrapper(-1, 128, 10, 0)); in TEST_F()
270 EXPECT_EQ("ffffffff", itoa_r_wrapper(-1, 128, 16, 0)); in TEST_F()
271 EXPECT_EQ("-2147483648", in TEST_F()
281 EXPECT_EQ("ffffffffffffffff", itoa_r_wrapper(-1, 128, 16, 0)); in TEST_F()
282 EXPECT_EQ("-9223372036854775808", in TEST_F()
[all …]
/external/fdlibm/
DAndroid.bp7 // http://www.apache.org/licenses/LICENSE-2.0
19 // Added automatically by a large-scale-change
24 "SPDX-license-identifier-BSD",
119 // enable floating point expession contraction (e.g: fused multiply-add
127 "-D_IEEE_LIBM",
129 // Android only supports little-endian.
130 "-D__LITTLE_ENDIAN",
135 "-fno-strict-aliasing",
138 "-Werror",
139 "-Wno-sign-compare",
[all …]
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_resource.h7 http://www.apache.org/licenses/LICENSE-2.0
74 // Current type and value of the resource. Uninitialized resources are
81 // Shape of the resource. For an uninitialized resource, this is ignored.
109 // Sets the current value of the resource to an all-zero value.
126 // an XlaCompiler::Argument. For non-TensorArrays or TensorArrays without
133 // non-empty, treats `pack` as a tuple that represents a TensorArray and
145 // kind-specific fields in XlaResource.
148 // We need to store this since sometimes TensorArrays must be initialized
183 int64_t max_array_size_ = -1;
/external/rust/crates/rustix/src/backend/linux_raw/
Dmod.rs7 //! These files performs raw system calls, and sometimes passes them
8 //! uninitialized memory buffers. The signatures in this file are currently
12 //! Some of this could be auto-generated from the Linux header file
14 //! such as which pointers are array slices, out parameters, or in-out
31 not(feature = "use-libc-auxv"),
32 not(feature = "use-explicitly-provided-auxv"),
90 // libc-like definitions in a module called `c`.
103 not(feature = "use-libc-auxv"),
104 not(feature = "use-explicitly-provided-auxv"),
/external/clang/docs/analyzer/
DRegionStore.txt15 keys store both the original region, and the "concrete offset region" -- the
18 since that has a known offset from the start of the top-level `foo` struct.)
45 region is a super-region **or** sub-region of R.* All we know about `foo[i]` is
62 Objective-C instance variables require a bit of special handling. Like struct
65 they have no concrete compile-time offsets (in the modern, "non-fragile"
74 variable. Thus it is not valid to assume that all bindings with non-symbolic
82 contents of a region may have changed---say, because it has been passed to a
96 "ClusterAnalysis" predates the cluster-based organization of bindings, but
105 Most bindings in RegionStore are simple scalar values -- integers and pointers.
112 looks at each super-region in turn to see if there is a Default binding. If so,
[all …]
/external/mesa3d/.gitlab-ci/build/
Dgitlab-ci.yml2 .build-common:
3 extends: .container+build-rules
6 # Build jobs don't take more than 1-3 minutes. 5-8 min max on a fresh runner
18 - _build/meson-logs/*.txt
19 - _build/meson-logs/strace
20 - shader-db
21 - artifacts
24 .build-linux:
25 extends: .build-common
32 - !reference [default, before_script]
[all …]
/external/mesa3d/docs/relnotes/
D22.3.3.rst1 Mesa 22.3.3 Release Notes / 2023-01-11
18 ---------------
22 bed799788bf2bd9ef079d97cd8e09348bf53cb086818578e40773b2b17812922 mesa-22.3.3.tar.xz
26 ------------
28 - None
32 ---------
34 - radeonsi: Broken graphics in game ibb & obb with mesa_glthread=true
35 - Hotline Miami 2 crashes on startup. (\`mesa_glthread` defaults true)
36 - [RadeonSI] Dune: Spice Wars blue/purple screen
37 - iris: assertion failure in iris_resource_from_memobj
[all …]
/external/oj-libjdwp/
DAndroid.bp2 default_applicable_licenses: ["external_oj-libjdwp_license"],
5 // Added automatically by a large-scale-change that took the approach of
18 // See: http://go/android-license-faq
20 name: "external_oj-libjdwp_license",
23 "SPDX-license-identifier-Apache-2.0",
24 "SPDX-license-identifier-GPL-2.0-with-classpath-exception",
42 cmd: "$(location jdwpgen) $(in) -include $(out)",
48 name: "upstream-jdwp-defaults",
52 // Every supported android platform is little-endian.
53 "-D_LITTLE_ENDIAN",
[all …]
/external/perfetto/src/trace_processor/importers/perf/
Dfeatures.cc8 * http://www.apache.org/licenses/LICENSE-2.0
44 if (build_id.data[BuildIdRecord::kMaxSize - i - 1] != 0) { in CountTrailingZeros()
51 // BuildIds are usually SHA-1 hashes (20 bytes), sometimes MD5 (16 bytes),
52 // sometimes 8 bytes long. Simpleperf adds trailing zeros up to 20. Do a best
56 uint8_t len = BuildIdRecord::kMaxSize - CountTrailingZeros(build_id); in GuessBuildIdSize()
73 if (str.at(len - 1) != '\0') { in ParseString()
100 // to a length of 20 and leaves the rest uninitialized :( so we can not read in ParseBuildId()
165 if (!reader.ReadBlob(payload, header.size - sizeof(header))) { in Parse()
221 for (; nr != 0; --nr) { in Parse()
287 for (; nr != 0; --nr) { in ParseCmdline()
/external/llvm/docs/
DGetElementPtr.rst27 -----------------------------------------------
35 .. code-block:: c++
39 X = &Foo->F;
49 .. code-block:: c++
53 Sometimes this question gets rephrased as:
66 .. code-block:: c++
88 .. code-block:: llvm
108 .. code-block:: llvm
110 %MyVar = uninitialized global i32
119 .. code-block:: c++
[all …]
/external/clang/test/SemaCXX/
Duninitialized.cpp1 // RUN: %clang_cc1 -fsyntax-only -Wall -Wuninitialized -Wno-unused-value -std=c++11 -verify %s
21 // Test self-references within initializers which are guaranteed to be
22 // uninitialized.
23 int a = a; // no-warning: used to signal intended lack of initialization.
24 int b = b + 1; // expected-warning {{variable 'b' is uninitialized when used within its own initial…
25 int c = (c + c); // expected-warning 2 {{variable 'c' is uninitialized when used within its own ini…
26 int e = static_cast<long>(e) + 1; // expected-warning {{variable 'e' is uninitialized when used wit…
27 int f = foo(f); // expected-warning {{variable 'f' is uninitialized when used within its own initia…
37 int l = k ? l : l; // expected-warning 2{{variable 'l' is uninitialized when used within its own i…
38 int m = 1 + (k ? m : m); // expected-warning 2{{variable 'm' is uninitialized when used within its…
[all …]
/external/clang/lib/Sema/
DAnalysisBasedWarnings.cpp1 //=- AnalysisBasedWarnings.cpp - Sema warnings based on libAnalysis -*- C++ -*-=//
8 //===----------------------------------------------------------------------===//
14 //===----------------------------------------------------------------------===//
57 //===----------------------------------------------------------------------===//
59 //===----------------------------------------------------------------------===//
103 /// CheckUnreachable - Check for unreachable code.
112 if (!S.getSourceManager().isInMainFile(AC.getDecl()->getLocStart())) in CheckUnreachable()
128 if (E->getExprLoc().isMacroID()) in HasMacroID()
132 for (const Stmt *SubStmt : E->children()) in HasMacroID()
144 SourceRange DiagRange = B->getSourceRange(); in compareAlwaysTrue()
[all …]
/external/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-server/
Dmain.c2 * lws-minimal-secure-streams-server
4 * Written in 2010-2020 by Andy Green <andy@warmcat.com>
22 "\"schema-version\":" "1,"
39 * Need to be in order from root cert... notice sometimes as
44 * cross-signed by an IdenTrust intermediate that's widely
198 * using a 100-y self-signed tls cert
207 "\"mime\": \"Content-Type:\","
243 return -1; in smd_cb()
252 return -1; in smd_cb()
273 memset(&info, 0, sizeof info); /* otherwise uninitialized garbage */ in main()
[all …]
/external/libchrome/base/debug/
Dstack_trace_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
73 // Disabled due to -fvisibility=hidden in build config. in TEST_F()
79 // http://lists.apple.com/archives/darwin-dev/2009/Mar/msg00111.html in TEST_F()
93 // This branch is for gcc-compiled code, but not Mac due to the in TEST_F()
102 // This is the fall-through case; it used to cover Windows. in TEST_F()
118 // Note: This will fail if not linked with -rdynamic (aka -export_dynamic) in TEST_F()
127 // Disabled in Official builds, where Link-Time Optimization can result in two
170 // Regression test for StackDumpingSignalHandler async-signal unsafety.
173 // of re-entering malloc.
198 EXPECT_EQ("-1", itoa_r_wrapper(-1, 128, 10, 0)); in TEST_F()
[all …]
/external/cronet/base/android/java/src/org/chromium/base/library_loader/
DLinker.java2 // Use of this source code is governed by a BSD-style license that can be
31 * memory-mapping this region from different processes. This approach saves a few MiB RAM compared
49 * - The shared RELRO memory region is always forced read-only after creation, which means it is
50 * impossible for a compromised process to map it read-write (e.g. by calling mmap() or
53 * - The common library load addresses are randomized for each instance of the program on the
58 * - The native shared library must be loaded with Linker.loadLibrary(), instead of
61 * - Early on, before the attempt to load the library, the linker needs to be initialized either as
67 * - After loading the native library as a RELRO producer, the putSharedRelrosToBundle() becomes
115 * - UNINITIALIZED: Initial state.
116 * - INITIALIZED: After linker initialization. Required for using the linker.
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math3/ode/events/
DEventFilter.java9 * http://www.apache.org/licenses/LICENSE-2.0
34 * <p>Sometimes, users are only interested in one type of event (say
98 Arrays.fill(transformers, Transformer.UNINITIALIZED); in init()
110 final int last = transformers.length - 1; in g()
139 for (int i = last; i > 0; --i) { in g()
163 System.arraycopy(updates, 0, updates, 1, updates.length - 1); in g()
164 System.arraycopy(transformers, 0, transformers, 1, transformers.length - 1); in g()
178 for (int i = 0; i < updates.length - 1; ++i) { in g()
185 return transformers[updates.length - 1].transformed(rawG); in g()

12345678910>>...14