| /external/clang/test/SemaCXX/ |
| D | warn-unused-variables.cpp | 1 // RUN: %clang_cc1 -fsyntax-only -Wunused-variable -Wunused-label -Wno-c++1y-extensions -verify %s 46 static int y = 0; // expected-warning{{unused variable 'y'}} in unused_local_static() 47 #pragma unused(x) in unused_local_static() 52 // We expect a warning in the definition only for non-dependent variables, and 57 int a; // expected-warning {{unused variable 'a'}} in f() 58 T b; // expected-warning 2{{unused variable 'b'}} in f() 64 int a; // expected-warning {{unused variable 'a'}} in f() 65 T b; // expected-warning 2{{unused variable 'b'}} in f() 69 S<int>().f(); // expected-note {{here}} in g() 70 S<char>().f(); // expected-note {{here}} in g() [all …]
|
| D | warn-unused-label-error.cpp | 1 // RUN: %clang_cc1 -fsyntax-only -Wunused-variable -Wunused-label -verify %s 7 A: // expected-warning {{unused label 'A'}} in f() 8 __attribute__((unused)) int i; // attribute applies to variable in f() 10 __attribute__((unused)); int j; // expected-warning {{unused variable 'j'}} in f() 14 C: // unused label 'C' will not appear here because an error has occurred in g() 15 __attribute__((unused)) in g() 16 #pragma weak unused_local_static // expected-error {{expected ';' after __attribute__}} in g() 21 D: // expected-warning {{unused label 'D'}} in h() 23 __attribute__((unused)) // expected-warning {{declaration does not declare anything}} in h()
|
| D | warn-unused-filescoped.cpp | 1 // RUN: %clang_cc1 -fsyntax-only -verify -Wunused -Wunused-member-function -Wno-unused-local-typede… 2 // RUN: %clang_cc1 -fsyntax-only -verify -Wunused -Wunused-member-function -Wno-unused-local-typede… 6 static void headerstatic() {} // expected-warning{{unused}} in headerstatic() 10 void headeranon() {} // expected-warning{{unused}} in headeranon() 19 // This should not emit an unused-function warning since it inherits 44 #include "warn-unused-filescoped.cpp" 46 static void f1(); // expected-warning{{unused}} 49 void f2(); // expected-warning{{unused}} 51 void f3() { } // expected-warning{{unused}} in f3() 54 void m1() { } // expected-warning{{unused}} in m1() [all …]
|
| /external/clang/test/Sema/ |
| D | pragma-unused.c | 1 // RUN: %clang_cc1 -fsyntax-only -Wunused-parameter -Wused-but-marked-unused -Wunused -verify %s 5 #pragma unused(x) in f1() 6 #pragma unused(y, z) in f1() 8 int w; // expected-warning {{unused}} in f1() 9 #pragma unused w // expected-warning{{missing '(' after '#pragma unused' - ignoring}} in f1() 13 int x, y; // expected-warning {{unused}} expected-warning {{unused}} in f2() 14 #pragma unused(x,) // expected-warning{{expected '#pragma unused' argument to be a variable name}} in f2() 15 #pragma unused() // expected-warning{{expected '#pragma unused' argument to be a variable name}} in f2() 19 …#pragma unused(x) // expected-warning{{undeclared variable 'x' used as an argument for '#pragma un… in f3() 23 int w; // expected-warning {{unused}} in f4() [all …]
|
| D | attr-unused.c | 1 // RUN: %clang_cc1 -verify -Wunused -Wused-but-marked-unused -Wunused-parameter -Wunused -fsyntax-o… 3 static void (*fp0)(void) __attribute__((unused)); 5 static void __attribute__((unused)) f0(void); 8 int f1() __attribute__((unused)); 10 int g0 __attribute__((unused)); 12 int f2() __attribute__((unused(1, 2))); // expected-error {{'unused' attribute takes no arguments}} 14 struct Test0_unused {} __attribute__((unused)); 16 typedef int Int_unused __attribute__((unused)); 20 int x; // expected-warning {{unused variable}} in test0() 22 Int_not_unused i0; // expected-warning {{unused variable}} in test0() [all …]
|
| /external/clang/test/Analysis/ |
| D | dead-stores.c | 1 …ng_cc1 -Wunused-variable -analyze -analyzer-checker=core,deadcode.DeadStores -fblocks -verify -Wno… 2 …-Wunused-variable -analyze -analyzer-checker=core,deadcode.DeadStores -analyzer-store=region -anal… 5 int k, y; // expected-warning{{unused variable 'k'}} expected-warning{{unused variable 'y'}} in f1() 7 long idx=abc+3*5; // expected-warning {{never read}} expected-warning{{unused variable 'idx'}} in f1() 11 char *c = (char*)b; // no-warning in f2() 12 char *d = b+1; // expected-warning {{never read}} expected-warning{{unused variable 'd'}} in f2() 13 …printf("%s", c); // expected-warning{{implicitly declaring library function 'printf' with type 'in… in f2() 14 // expected-note{{include the header <stdio.h> or explicitly provide a declaration for 'printf'}} in f2() 21 if ((r = f()) != 0) { // no-warning in f3() 22 int y = r; // no-warning in f3() [all …]
|
| /external/angle/ |
| D | Android.bp | 1 // GENERATED FILE - DO NOT EDIT. 5 // Use of this source code is governed by a BSD-style license that can be 50 "-O2", 51 "-Wno-unknown-warning-option", 52 "-fno-stack-protector", 53 "-fno-unwind-tables", 60 "-DANDROID", 61 "-DANDROID_NDK_VERSION_ROLL=r26b_1", 62 "-DCR_CLANG_REVISION=\"llvmorg-19-init-10646-g084e2b53-57\"", 63 "-DDYNAMIC_ANNOTATIONS_ENABLED=0", [all …]
|
| /external/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
| D | fuzzer_pass_add_image_sample_unused_components.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 36 // SPIR-V module to help understand the transformation. in Apply() 45 // OpDecorate %12 Location 0 ; Input color variable location in Apply() 46 // OpDecorate %13 DescriptorSet 0 ; Image coordinate variable in Apply() 48 // variable binding OpDecorate %14 Location 0 ; Fragment color in Apply() 49 // variable location in Apply() 64 // %12 = OpVariable %9 Input ; Input image coordinate variable in Apply() 65 // %13 = OpVariable %10 UniformConstant ; Image variable in Apply() 66 // %14 = OpVariable %11 Output ; Fragment color variable in Apply() 78 GetIRContext()->module()->ForEachInst([this](opt::Instruction* instruction) { in Apply() [all …]
|
| /external/angle/third_party/spirv-tools/src/source/fuzz/ |
| D | fuzzer_pass_add_image_sample_unused_components.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 36 // SPIR-V module to help understand the transformation. in Apply() 45 // OpDecorate %12 Location 0 ; Input color variable location in Apply() 46 // OpDecorate %13 DescriptorSet 0 ; Image coordinate variable in Apply() 48 // variable binding OpDecorate %14 Location 0 ; Fragment color in Apply() 49 // variable location in Apply() 64 // %12 = OpVariable %9 Input ; Input image coordinate variable in Apply() 65 // %13 = OpVariable %10 UniformConstant ; Image variable in Apply() 66 // %14 = OpVariable %11 Output ; Fragment color variable in Apply() 78 GetIRContext()->module()->ForEachInst([this](opt::Instruction* instruction) { in Apply() [all …]
|
| /external/deqp-deps/SPIRV-Tools/source/fuzz/ |
| D | fuzzer_pass_add_image_sample_unused_components.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 36 // SPIR-V module to help understand the transformation. in Apply() 45 // OpDecorate %12 Location 0 ; Input color variable location in Apply() 46 // OpDecorate %13 DescriptorSet 0 ; Image coordinate variable in Apply() 48 // variable binding OpDecorate %14 Location 0 ; Fragment color in Apply() 49 // variable location in Apply() 64 // %12 = OpVariable %9 Input ; Input image coordinate variable in Apply() 65 // %13 = OpVariable %10 UniformConstant ; Image variable in Apply() 66 // %14 = OpVariable %11 Output ; Fragment color variable in Apply() 78 GetIRContext()->module()->ForEachInst([this](opt::Instruction* instruction) { in Apply() [all …]
|
| /external/vulkan-validation-layers/build-android/jni/ |
| D | Android.mk | 8 # http://www.apache.org/licenses/LICENSE-2.0 16 LOCAL_PATH := $(call my-dir) 25 LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 35 LOCAL_CPPFLAGS += -std=c++11 -Wall -Werror -Wno-unused-function -Wno-unused-const-variable 36 LOCAL_CPPFLAGS += -DVK_USE_PLATFORM_ANDROID_KHR -DVK_PROTOTYPES -fvisibility=hidden 41 LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 62 LOCAL_STATIC_LIBRARIES += layer_utils glslang SPIRV-Tools SPIRV-Tools-opt 63 LOCAL_CPPFLAGS += -std=c++11 -Wall -Werror -Wno-unused-function -Wno-unused-const-variable 64 …-DVK_USE_PLATFORM_ANDROID_KHR -DVK_PROTOTYPES -fvisibility=hidden -DBUILD_KHRONOS_VALIDATION -DBUI… 65 LOCAL_LDLIBS := -llog -landroid [all …]
|
| /external/pigweed/docs/ |
| D | embedded_cpp_guide.rst | 1 .. _docs-embedded-cpp: 21 expression, such as a template parameter, constexpr variable initialization, or 28 likely to inline it than other functions. Marking non-trivial functions as 35 constexpr-constructible unless it actually needs to be used in a constant 41 can be used in any constant expression, such as a non-type template argument, 42 ``static_assert`` statement, or another constexpr variable initialization. 47 the ``const`` qualifier when declaring a constexpr variable. 52 .. code-block:: cpp 68 .. code-block:: cpp 81 The above code works seamlessly with values of any type -- float, int, or even a [all …]
|
| /external/tensorflow/tensorflow/core/function/integration_test/ |
| D | side_inputs_manual_api_test.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 48 return cglob[-1] + tf.constant(0) 80 x = capture_type(1) # pylint: disable=unused-variable 93 x = tf.constant(100) # pylint: disable=unused-variable 113 x = capture_type(1) # pylint: disable=unused-variable 129 x = capture_type(1) # pylint: disable=unused-variable 137 x = capture_type(1) # pylint: disable=unused-variable 164 x = capture_type(1) # pylint: disable=unused-variable 181 x = tf.constant(0) # pylint: disable=unused-variable 201 x = capture_type(0) # pylint: disable=unused-variable
|
| /external/libffi/testsuite/libffi.bhaible/ |
| D | bhaible.exp | 17 dg-init 18 libffi-init 27 …set warning_options "-Wno-unused-variable -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-… 30 # -wd4996 suggest use of vsprintf_s instead of vsprintf 31 # -wd4116 unnamed type definition 32 # -wd4101 unreferenced local variable 33 # -wd4244 warning about implicit double to float conversion 34 set warning_options "-wd4996 -wd4116 -wd4101 -wd4244"; 37 set warning_options "-Wno-unused-variable -Wno-unused-parameter -Wno-uninitialized"; 41 set tlist [lsort [glob -nocomplain -- $srcdir/$subdir/test-call.c]] [all …]
|
| /external/tensorflow/tensorflow/python/kernel_tests/linalg/ |
| D | linear_operator_algebra_test.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 18 from tensorflow.python.ops.linalg import cholesky_registrations # pylint: disable=unused-import 21 from tensorflow.python.ops.linalg import matmul_registrations # pylint: disable=unused-import 22 from tensorflow.python.ops.linalg import solve_registrations # pylint: disable=unused-import 25 # pylint: disable=protected-access 36 # pylint: enable=protected-access 56 def _adjoint(a): # pylint: disable=unused-argument,unused-variable 98 def _cholesky(a): # pylint: disable=unused-argument,unused-variable 148 def _matmul(a, b): # pylint: disable=unused-argument,unused-variable 197 def _solve(a, b): # pylint: disable=unused-argument,unused-variable [all …]
|
| /external/apache-commons-bcel/src/main/java/org/apache/bcel/classfile/ |
| D | LocalVariable.java | 9 * http://www.apache.org/licenses/LICENSE-2.0 28 * This class represents a local variable within a method. It contains its 36 private int start_pc; // Range in which the variable is valid 38 private int name_index; // Index in constant pool of variable name 39 private int signature_index; // Index of variable signature 40 private int index; /* Variable is `index'th local variable on 70 * @param start_pc Range in which the variable 72 * @param name_index Index in constant pool of variable name 73 * @param signature_index Index of variable's signature 74 * @param index Variable is `index'th local variable on the method's frame [all …]
|
| /external/doclava/doclet_adapter/src/main/java/com/sun/javadoc/ |
| D | TypeVariable.java | 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 29 import com.google.doclava.annotation.Unused; 33 * Represents a type variable. 35 * type variable {@code E}. 36 * A type variable may have explicit bounds, as in 45 * Return the bounds of this type variable. 49 * @return the bounds of this type variable. 56 * which this type variable is declared. 59 * which this type variable is declared. 61 @Unused [all …]
|
| /external/tensorflow/tensorflow/python/kernel_tests/distributions/ |
| D | kullback_leibler_test.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 23 # pylint: disable=protected-access 27 # pylint: enable=protected-access 39 def _kl(a, b, name=None): # pylint: disable=unused-argument,unused-variable 53 # pylint: disable=unused-argument,unused-variable 57 # pylint: disable=unused-argument,unused-variable 112 # pylint: disable=unused-argument,unused-variable 115 return "sub1-1" 119 return "sub1-2" 123 return "sub2-1" [all …]
|
| /external/tensorflow/tensorflow/python/data/experimental/service/ |
| D | server_lib_test.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 28 import portpicker # pylint: disable=g-import-not-at-top 29 except ImportError as _error: # pylint: disable=invalid-name 38 """Returns an unused and unassigned local port.""" 41 raise _portpicker_import_error # pylint: disable=raising-bad-type 72 dispatcher = server_lib.DispatchServer( # pylint: disable=unused-variable 79 dispatcher = server_lib.DispatchServer( # pylint: disable=unused-variable 86 dispatcher = server_lib.DispatchServer( # pylint: disable=unused-variable 155 worker1 = server_lib.WorkerServer( # pylint: disable=unused-variable 158 worker2 = server_lib.WorkerServer( # pylint: disable=unused-variable
|
| /external/cpu_features/ |
| D | Android.bp | 8 // Added automatically by a large-scale-change that took the approach of 18 // For unused files, consider creating a 'fileGroup' with "//visibility:private" 21 // See: http://go/android-license-faq 26 "SPDX-license-identifier-Apache-2.0", 27 "SPDX-license-identifier-BSD", 35 name: "cpu_features-defaults", 42 "-DSTACK_LINE_READER_BUFFER_SIZE=1024", 43 "-Wno-gnu-designator", 49 name: "libcpu_features-utils", 50 defaults: ["cpu_features-defaults"], [all …]
|
| /external/openscreen/third_party/abseil/src/absl/copts/ |
| D | copts.py | 20 "-Wno-c99-extensions", 21 "-Wno-deprecated-declarations", 22 "-Wno-missing-noreturn", 23 "-Wno-missing-prototypes", 24 "-Wno-missing-variable-declarations", 25 "-Wno-null-conversion", 26 "-Wno-shadow", 27 "-Wno-shift-sign-overflow", 28 "-Wno-sign-compare", 29 "-Wno-unused-function", [all …]
|
| /external/tensorflow/tensorflow/python/tools/ |
| D | freeze_graph.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 18 variable values stored in a checkpoint file, and output a GraphDef with all of 19 the variable ops converted into const ops containing the values of the 26 An example of command-line usage is: 28 bazel-bin/tensorflow/python/tools/freeze_graph \ 29 --input_graph=some_graph_def.pb \ 30 --input_checkpoint=model.ckpt-8361242 \ 31 --output_graph=/tmp/frozen_graph.pb --output_node_names=softmax 68 if op.type.startswith("Variable") or op.type.endswith("VariableOp"): 95 `tf.train.latest_checkpoint()`, regardless of sharded/non-sharded or [all …]
|
| /external/webrtc/third_party/abseil-cpp/absl/copts/ |
| D | copts.py | 20 "-Wno-c99-extensions", 21 "-Wno-deprecated-declarations", 22 "-Wno-implicit-int-conversion", 23 "-Wno-missing-noreturn", 24 "-Wno-missing-prototypes", 25 "-Wno-missing-variable-declarations", 26 "-Wno-null-conversion", 27 "-Wno-shadow", 28 "-Wno-shift-sign-overflow", 29 "-Wno-shorten-64-to-32", [all …]
|
| /external/tensorflow/third_party/absl/abseil-cpp/absl/copts/ |
| D | copts.py | 20 "-Wno-c99-extensions", 21 "-Wno-deprecated-declarations", 22 "-Wno-missing-noreturn", 23 "-Wno-missing-prototypes", 24 "-Wno-missing-variable-declarations", 25 "-Wno-null-conversion", 26 "-Wno-shadow", 27 "-Wno-shift-sign-overflow", 28 "-Wno-sign-compare", 29 "-Wno-unused-function", [all …]
|
| /external/skia/src/sksl/tracing/ |
| D | SkSLDebugTracePriv.h | 4 * Use of this source code is governed by a BSD-style license that can be 29 kLine, /** data: line number, (unused) */ 31 kEnter, /** data: function index, (unused) */ 32 kExit, /** data: function index, (unused) */ 33 kScope, /** data: scope delta, (unused) */ 40 /** The full name of this variable (without component), e.g. `myArray[3].myStruct.myVector` */ 42 /** The dimensions of this variable: 1x1 is a scalar, Nx1 is a vector, NxM is a matrix. */ 44 /** Which component of the variable is this slot? (e.g. `vec4.z` is component 2) */ 50 /** Where is this variable located in the program? */ 53 /** If this slot holds a function's return value, contains 1; if not, -1. */ [all …]
|