Home
last modified time | relevance | path

Searched +full:implicit +full:- +full:casts (Results 1 – 25 of 172) sorted by relevance

1234567

/third_party/skia/third_party/externals/abseil-cpp/absl/base/
Dcasts.h8 // https://www.apache.org/licenses/LICENSE-2.0
16 // -----------------------------------------------------------------------------
17 // File: casts.h
18 // -----------------------------------------------------------------------------
21 // the standard casts provided in the C++ standard. As with all cast operations,
54 // Performs an implicit conversion between types following the language
55 // rules for implicit conversion; if an implicit conversion is otherwise
57 // implicit conversion.
61 // // If the context allows implicit conversion:
71 // indicate a specific implicit conversion is being undertaken.
[all …]
/third_party/abseil-cpp/absl/base/
Dcasts.h8 // https://www.apache.org/licenses/LICENSE-2.0
16 // -----------------------------------------------------------------------------
17 // File: casts.h
18 // -----------------------------------------------------------------------------
21 // the standard casts provided in the C++ standard. As with all cast operations,
54 // Performs an implicit conversion between types following the language
55 // rules for implicit conversion; if an implicit conversion is otherwise
57 // implicit conversion.
61 // // If the context allows implicit conversion:
71 // indicate a specific implicit conversion is being undertaken.
[all …]
/third_party/ltp/tools/sparse/sparse-src/validation/
Dbitwise-cast.c4 /* Implicit casts of 0, legal */
18 /* Implicit casts of nonzero, bad */
39 * check-name: conversions to bitwise types
40 * check-command: sparse -Wbitwise $file
41 * check-error-start
42 bitwise-cast.c:21:20: warning: incorrect type in initializer (different base types)
43 bitwise-cast.c:21:20: expected restricted __be32 [usertype] x
44 bitwise-cast.c:21:20: got int
45 bitwise-cast.c:23:16: warning: incorrect type in return expression (different base types)
46 bitwise-cast.c:23:16: expected restricted __be32
[all …]
/third_party/flutter/flutter/packages/flutter_tools/
Danalysis_options.yaml7 strong-mode:
8 implicit-casts: true
9 implicit-dynamic: false
14 avoid_as: false # Disabled so we can gradually migrate to no implicit dynamic.
/third_party/ltp/tools/sparse/sparse-src/Documentation/
Dannotations.rst9 ---------------------
14 and will warn on casts (implicit or explicit) mixing the address spaces.
21 -------
34 --------------------------------
55 -------
56 This attribute is to be used on a r-value to specify it cannot be
62 ------
64 It warns about explicit or implicit casting to different types.
70 truncated by mistake. For example, a 64-bit integer that you don't want
73 See also `Linus' e-mail about __nocast vs __bitwise
[all …]
/third_party/ejdb/src/bindings/ejdb2_flutter/
Danalysis_options.yaml4 strong-mode:
5 implicit-casts: false
6 implicit-dynamic: true
9 - always_declare_return_types
10 - always_put_required_named_parameters_first
11 - always_require_non_null_named_parameters
12 - annotate_overrides
13 - avoid_bool_literals_in_conditional_expressions
14 - avoid_catching_errors
15 - avoid_classes_with_only_static_members
[all …]
/third_party/ejdb/src/bindings/ejdb2_dart/
Danalysis_options.yaml4 strong-mode:
5 implicit-casts: false
6 implicit-dynamic: true
9 - always_declare_return_types
10 - always_put_required_named_parameters_first
11 - always_require_non_null_named_parameters
12 - annotate_overrides
13 - avoid_bool_literals_in_conditional_expressions
14 - avoid_catching_errors
15 - avoid_classes_with_only_static_members
[all …]
/third_party/protobuf/src/google/protobuf/util/internal/
Ddatapiece.h1 // Protocol Buffers - Google's data interchange format
3 // https://developers.google.com/protocol-buffers/
127 // Parses, casts or converts the value stored in the DataPiece into an int32.
130 // Parses, casts or converts the value stored in the DataPiece into a uint32.
133 // Parses, casts or converts the value stored in the DataPiece into an int64.
136 // Parses, casts or converts the value stored in the DataPiece into a uint64.
139 // Parses, casts or converts the value stored in the DataPiece into a double.
142 // Parses, casts or converts the value stored in the DataPiece into a float.
145 // Parses, casts or converts the value stored in the DataPiece into a bool.
148 // Parses, casts or converts the value stored in the DataPiece into a string.
[all …]
/third_party/boost/libs/conversion/doc/
Dconversion.qbk11 [compatibility-mode 1.5]
15 [copyright 2001 Beman Dawes, 2014-2020 Antony Polukhin]
21 [source-mode c++]
30 otherwise messy conversions. It includes cast-style function templates designed
31 to complement the C++ Standard's built-in casts.
44 …to perform implicit casts only (no down-cast, no void*->T*, no U->T if T has only explicit constru…
46 …t<>`] general literal text conversions, such as an `int` represented as a `string`, or vice-versa.
50 [section Polymorphic casts]
57 Such casts can be done with old-style casts, but this approach is
58 never to be recommended. Old-style casts are sorely lacking in type
[all …]
/third_party/protobuf/src/google/protobuf/
Dgenerated_message_util.h1 // Protocol Buffers - Google's data interchange format
3 // https://developers.google.com/protocol-buffers/
35 // This file contains miscellaneous helper code used by generated code --
36 // including lite types -- but which should not be used directly by users.
58 #include <google/protobuf/stubs/casts.h>
104 for (int i = t.size(); --i >= 0;) { in AllAreInitialized()
110 // "Weak" variant of AllAreInitialized, used to implement implicit weak fields.
115 for (int i = t.size(); --i >= 0;) { in AllAreInitializedWeak()
153 // We specialize GenericSwap for non-lite messages to benefit from reflection.
158 // The casts must be reinterpret_cast<> because T might be a forward-declared in DuplicateIfNonNull()
[all …]
/third_party/ltp/tools/sparse/sparse-src/Documentation/release-notes/
Dv0.5.1.rst1 v0.5.1 (2017-08-18)
30 https://git.kernel.org/pub/scm/devel/sparse/sparse.git/tree/Documentation/project-ideas.md?h=v0.5.1
37 * build: allow use of PKG_CONFIG to override pkg-config
40 * lib.c: skip --param parameters
57 * rename -Werror to -Wsparse-error
61 * Fix warning compiling sparse-llvm
65 * bump sparse's version to 0.5.1-rc4
75 * test-inspect: handle special case iter==NULL
76 * test-inspect: Detect gtk3 then gtk2 package
80 * build: allow use of LLVM_CONFIG to override llvm-config config script
[all …]
Dv0.6.0.rst1 v0.6.0 (2018-12-26)
10 Many thanks to people who have contributed to the 888 non-merge
13 Ramsay Jones, Randy Dunlap, Uwe Kleine-König, Joey Pabalinas,
22 -- Luc Van Oostenryck
25 The changes since the pre-release (v0.6.0-rc1) are:
27 * add -Wbitwise-pointer to warn on casts to/from bitwise pointers
33 * only need includedir from llvm-config
34 * check if sparse-llvm needs libc++
35 * remove -finline-functions from CFLAGS
42 * remove self-assignment of base_type
[all …]
Dv0.5.0.rst1 v0.5.0 (2014-04-01)
21 ---
29 * fix handling of -include
39 * Merge branch 'sparse-llvm' of git://github.com/penberg/sparse-llvm.git
41 * Merge branch 'for-chris' of git://github.com/penberg/sparse-llvm
42 * Merge branch 'llvm/core' of github.com:penberg/sparse-llvm
67 * Revert "Fix mistaken comparison that becomes a no-op."
70 * sparse: Also check bit_offset when checking implicit casts
81 * simplify: conservative handling of casts with pointers
84 * sparse, llvm: if-else code generation
[all …]
/third_party/boost/doc/html/
Dconversion.html1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dt…
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
11 <link rel="next" href="conversion/polymorphic_casts.html" title="Polymorphic casts">
23 <div class="spirit-nav">
45 <div><p class="copyright">Copyright © 2014-2020 Antony Polukhin</p></div>
57 <dt><span class="section"><a href="conversion/polymorphic_casts.html">Polymorphic casts</a></span><…
73 messy conversions. It includes cast-style function templates designed to complement
74 the C++ Standard's built-in casts.
93 …er">implicit_cast</span><span class="special">&lt;&gt;</span></code> to perform implicit casts only
94 (no down-cast, no void*-&gt;T*, no U-&gt;T if T has only explicit constructors
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
DSpirvID.hpp7 // http://www.apache.org/licenses/LICENSE-2.0
25 // SpirvID is a strongly-typed identifier backed by a uint32_t.
27 // ID; instead it is used to prevent implicit casts between identifiers of
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/Debug/
DID.hpp7 // http://www.apache.org/licenses/LICENSE-2.0
23 // ID is a strongly-typed identifier backed by a int.
25 // ID; instead it is used to prevent implicit casts between identifiers of
/third_party/boost/boost/
Dstatic_assert.hpp23 // "anonymous variadic macros were introduced in C99 [-Wvariadic-macros]"
24 // warning that get spewed out otherwise in non-C++11 mode.
41 // workaround for buggy integral-constant expression support:
51 // If the compiler issues warnings about old C style casts,
89 // Implicit instantiation requires that all member declarations be
106 // Note that the argument to the assert is explicitly cast to bool using old-
107 // style casts: too many compilers currently have problems with static_cast
/third_party/boost/libs/container_hash/doc/
Dchanges.qbk2 [/ Copyright 2005-2008 Daniel James.
33 Suppress incorrect 64-bit warning on Visual C++.
40 [@http://lists.boost.org/boost-users/2005/08/13418.php
113 * Add option to prevent implicit conversions when calling `hash_value` by
116 an implicit conversion to a type that does, it would use that
117 implicit conversion to hash it. Which can sometimes go very wrong,
121 it's opt-in for now. This, or something like it, will become the
126 * Avoid warning due with gcc's `-Wconversion` flag.
131 Avoid gcc's `-Wfloat-equal` warning.
140 * `hash_value` now implemented using SFINAE to avoid implicit casts to built
[all …]
/third_party/boost/boost/parameter/aux_/preprocessor/impl/
Dfunction_cast.hpp16 // Handles possible implicit casts. Used by preprocessor.hpp
21 // cast<void(X)>::execute() casts to X
358 // then perform an implicit conversion.
482 // Handles possible implicit casts. Used by preprocessor.hpp
487 // cast<void(X)>::execute() casts to X
709 // Expands to the reference-qualified target type of the argument
722 // Expands to the converted or passed-through value
/third_party/FreeBSD/sys/sys/
Dkernel.h1 /*-
2 * SPDX-License-Identifier: BSD-4-Clause
44 * $FreeBSD: releng/12.2/sys/sys/kernel.h 358962 2020-03-13 16:52:16Z markj $
62 * enumeration values are explicit rather than implicit to provide
98 * to discern SYSINIT's which take non-constant data pointers and
102 * while the non-C_* macros take functions expecting just void * arguments.
104 * With -Wcast-qual on, the compiler issues warnings:
105 * - if we pass non-const data or functions taking non-const data
108 * - if we pass const data to the normal macros
111 * through a normal non-const macro. This is ok because the function is
[all …]
/third_party/skia/third_party/externals/dawn/src/common/
DTypedInteger.h7 // http://www.apache.org/licenses/LICENSE-2.0
25 // - Integers of different (Tag, BaseIntegerType) may not be used interoperably
26 // - Allows casts only to the underlying type.
27 // - Integers of the same (Tag, BaseIntegerType) may be compared or assigned.
47 // created / cast explicitly; there is no implicit conversion.
76 // Construction from non-narrowing integral types.
85 // Allow explicit casts only to the underlying type. If you're casting out of an
89 return static_cast<T>(this->mValue); in T()
92 // Same-tag TypedInteger comparison operators
105 // Increment / decrement operators for for-loop iteration
[all …]
/third_party/boost/doc/html/lambda/
Dgetting_started.html1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dt…
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
23 <div class="spirit-nav">
30 <dt><span class="section"><a href="getting_started.html#id-1.3.21.4.2">Installing the library</a></…
31 <dt><span class="section"><a href="getting_started.html#id-1.3.21.4.3">Conventions used in this doc…
35 <a name="id-1.3.21.4.2"></a>Installing the library</h3></div></div></div>
44 <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
64 …<code class="filename">lambda/casts.hpp</code> provides lambda versions of different casts, as wel…
89 <a name="id-1.3.21.4.3"></a>Conventions used in this document</h3></div></div></div>
91 Implicit using declarations
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Ddouble-conversion-utils.h4 // From the double-conversion library. Original license:
71 // An easy way to test if the floating-point operations are correct is to
72 // evaluate: 89255.0/1e22. If the floating-point stack is 64 bits wide then
73 // the result is equal to 89255e-22.
74 // The best way to test this, is to create a division-function and to compare
77 // On Linux,x86 89255e-22 != Div_double(89255.0/1e22)
103 #error Target architecture was not detected as supported by Double-Conversion.
126 // The following macro works on both 32 and 64-bit platforms.
132 // The expression ARRAY_SIZE(a) is a compile-time constant of type
150 // A macro to disallow all the implicit constructors, namely the
[all …]
/third_party/node/deps/icu-small/source/i18n/
Ddouble-conversion-utils.h4 // From the double-conversion library. Original license:
94 // An easy way to test if the floating-point operations are correct is to
95 // evaluate: 89255.0/1e22. If the floating-point stack is 64 bits wide then
96 // the result is equal to 89255e-22.
97 // The best way to test this, is to create a division-function and to compare
100 // On Linux,x86 89255e-22 != Div_double(89255.0/1e22)
104 // -- in div.c
107 // -- in main.c
111 return Div_double(89255.0, 1e22) == 89255e-22;
145 #error Target architecture was not detected as supported by Double-Conversion.
[all …]
/third_party/icu/icu4c/source/i18n/
Ddouble-conversion-utils.h4 // From the double-conversion library. Original license:
94 // An easy way to test if the floating-point operations are correct is to
95 // evaluate: 89255.0/1e22. If the floating-point stack is 64 bits wide then
96 // the result is equal to 89255e-22.
97 // The best way to test this, is to create a division-function and to compare
100 // On Linux,x86 89255e-22 != Div_double(89255.0/1e22)
104 // -- in div.c
107 // -- in main.c
111 return Div_double(89255.0, 1e22) == 89255e-22;
144 #error Target architecture was not detected as supported by Double-Conversion.
[all …]

1234567