| /third_party/abseil-cpp/absl/base/ |
| D | casts.h | 8 // 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/flutter/flutter/packages/flutter_tools/ |
| D | analysis_options.yaml | 7 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/ejdb/src/bindings/ejdb2_dart/ |
| D | analysis_options.yaml | 4 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_flutter/ |
| D | analysis_options.yaml | 4 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/ |
| D | datapiece.h | 1 // 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/ |
| D | conversion.qbk | 11 [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/ |
| D | generated_message_util.h | 1 // 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/boost/doc/html/ |
| D | conversion.html | 1 <!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"><></span></code> to perform implicit casts only 94 (no down-cast, no void*->T*, no U->T if T has only explicit constructors [all …]
|
| /third_party/boost/boost/ |
| D | static_assert.hpp | 23 // "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/mingw-w64/mingw-w64-libraries/winpthreads/tests_pthread/ |
| D | ChangeLog.2010 | 1 2010-06-19 Ross Johnson <Ross dot Johnson at homemail dot com dot au> 8 2010-02-04 Ross Johnson <Ross dot Johnson at homemail dot com dot au> 20 2007-01-04 Ross Johnson <Ross dot Johnson at homemail dot com dot au> 25 2005-06-12 Ross Johnson <rpj@callisto.canberra.edu.au> 28 now works for -INT_MAX <= millisecs <= INT_MAX; not needed for 31 2005-05-18 Ross Johnson <rpj@callisto.canberra.edu.au> 36 2005-05-15 Ross Johnson <rpj@callisto.canberra.edu.au> 40 * join0.c: Remove MSVCRT conditional compile - join should always 46 2005-04-18 Ross Johnson <rpj@callisto.canberra.edu.au> 48 * condvar3.c: Remove locks from around signalling calls - should not [all …]
|
| /third_party/boost/libs/container_hash/doc/ |
| D | changes.qbk | 2 [/ 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/ |
| D | function_cast.hpp | 16 // 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/libjpeg/ |
| D | coderules.txt | 3 Copyright (C) 1991-1996, Thomas G. Lane. 25 then-part; 27 else-part; 32 Multi-word names should be written in lower case with underscores, e.g., 40 transformation to feed prototype-less C compilers. Transformation is done 75 If the code is to work on non-ANSI compilers, we cannot rely on a prototype 77 explicit casts on actual parameters whenever the actual parameter type is not 78 identical to the formal parameter. Beware of implicit conversions to "int". 80 It seems there are some non-ANSI compilers in which the sizeof() operator 82 this is brain-damaged. Always use the SIZEOF() macro in place of sizeof(), [all …]
|
| /third_party/FreeBSD/sys/sys/ |
| D | kernel.h | 1 /*- 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/boost/doc/html/lambda/ |
| D | getting_started.html | 1 <!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/ |
| D | double-conversion-utils.h | 4 // 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/ |
| D | double-conversion-utils.h | 4 // 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 …]
|
| /third_party/icu/icu4c/source/i18n/ |
| D | double-conversion-utils.h | 4 // 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 …]
|
| /third_party/boost/libs/proto/doc/ |
| D | release_notes.qbk | 2 / Copyright (c) 2008-2012 Eric Niebler 34 [note Why the void casts? It's to avoid argument-dependent lookup, which might find an overloaded c… 38 …ied, they would apply the specified domain's generator, resulting in a twice-wrapped expression. T… 69 [*New Feature: Sub-domains] 71 …-domains". This gives you a way to spcify that one domain is compatible with another such that exp… 82 // Define a domain B that is the sub-domain 88 …interfaces), but they can be combined into larger expressions. Without a sub-domain relationship, … 90 The complete description of sub-domains can be found in the reference 93 [*New Feature: Domain-specific as_expr() and as_child()] 95 …pressions post-hoc by specifying a Generator when defining their domain. But it has never allowed … [all …]
|
| /third_party/openssl/include/openssl/ |
| D | asn1t.h | 2 * Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved. 75 -1,\ 86 -1,\ 96 /*- 237 /*- 325 /* implicit and explicit helper macros */ 336 # define ASN1_ADB_OBJECT(tblname) { ASN1_TFLG_ADB_OID, -1, 0, #tblname, (const ASN1_ITEM *)&(tblna… 337 # define ASN1_ADB_INTEGER(tblname) { ASN1_TFLG_ADB_INT, -1, 0, #tblname, (const ASN1_ITEM *)&(tbln… 339 # define ASN1_ADB_OBJECT(tblname) { ASN1_TFLG_ADB_OID, -1, 0, #tblname, tblname##_adb } 340 # define ASN1_ADB_INTEGER(tblname) { ASN1_TFLG_ADB_INT, -1, 0, #tblname, tblname##_adb } [all …]
|
| /third_party/boringssl/src/include/openssl/ |
| D | asn1t.h | 5 * Copyright (c) 2000-2005 The OpenSSL Project. All rights reserved. 96 -1,\ 285 /* implicit and explicit helper macros */ 295 #define ASN1_ADB_OBJECT(tblname) { ASN1_TFLG_ADB_OID, -1, 0, #tblname, (const ASN1_ITEM *)&(tblname… 296 #define ASN1_ADB_INTEGER(tblname) { ASN1_TFLG_ADB_INT, -1, 0, #tblname, (const ASN1_ITEM *)&(tblnam… 303 /* IMPLICIT tagged simple type */ 306 /* IMPLICIT tagged OPTIONAL simple type */ 330 /* Finally compound types of SEQUENCE, SET, IMPLICIT, EXPLICIT and OPTIONAL */ 404 #define ASN1_TEMPLATE_item(t) (t->item_ptr) 405 #define ASN1_TEMPLATE_adb(t) (t->item_ptr) [all …]
|
| /third_party/flutter/skia/third_party/externals/libwebp/ |
| D | ChangeLog | 12 ec1cc40a lossless.c: remove U32 -> S8 conversion warnings 13 1106478f remove conversion U32 -> S8 warnings 23 b9be7e65 vwebp: remove the -fit option (and make it default) 26 32cf8801 predictor_enc,GetBestGreenRedToBlue: quiet implicit conv warnings 27 e1c8acb5 Merge "vwebp: add a -fit option" 28 cbd23dd5 vwebp: add a -fit option 29 2e672351 bit_writer_utils,Flush: quiet implicit conversion warnings 32 17ed1438 Merge "PutLE{16,24}: quiet implicit conversion warnings" 33 24686538 PutLE{16,24}: quiet implicit conversion warnings 34 153bb3a0 fix some clang-7 warnings: [all …]
|
| /third_party/boost/libs/gil/test/core/ |
| D | promote_integral.cpp | 11 // - Rename namespace boost::geometry to boost::gil 12 // - Rename define BOOST_GEOMETRY_TEST_DEBUG to BOOST_GIL_TEST_DEBUG 13 // - Remove use of macro BOOST_GEOMETRY_CONDITION 14 // - Remove support for boost::multiprecision types 15 // - Remove support for 128-bit integer types 16 // - Update and sort includes 17 // - Add explicit conversions to avoid warnings due to implicit integral promotions 46 return static_cast<T>(t < 0 ? -t : t); in apply() 73 // Explicit casts to avoid warning: conversion to short int from int may alter its value in apply() 203 << " -> signed ***" << std::endl; in apply() [all …]
|
| /third_party/boost/boost/smart_ptr/ |
| D | intrusive_ptr.hpp | 197 T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT in operator ->() 203 // implicit conversion to "bool" 300 // pointer casts 356 // in STLport's no-iostreams mode no iostream symbols can be used
|
| /third_party/boringssl/src/ |
| D | PORTING.md | 3 BoringSSL is an OpenSSL derivative and is mostly source-compatible, for the 10 Version checks for OpenSSL should ideally work as-is in BoringSSL. BoringSSL 13 macros where possible, especially when patching third-party projects. Such 17 In some cases, BoringSSL-specific code may be necessary. Use the 34 BoringSSL it was built against. Likewise, Android's system-internal copy of 35 BoringSSL is not exposed by the NDK and must not be used by third-party 45 `long`, and `unsigned`.) For the most part, implicit casts mean that existing 46 code continues to compile. In some cases, this may require BoringSSL-specific 84 Some OpenSSL APIs are implemented with `ioctl`-style functions such as 99 type-checked and may require more care with types. See the end of this [all …]
|