/external/libhevc/encoder/ |
D | ihevce_sys_api.c | 9 * http://www.apache.org/licenses/LICENSE-2.0 58 /* Function Definitions */ 63 * \if Function name : ihevce_printf \endif 66 * This function implements printf 72 UNUSED(pv_handle); in ihevce_printf() 73 UNUSED(format); in ihevce_printf() 79 * \if Function name : ihevce_fopen \endif 82 * This function implements fopen 88 UNUSED(pv_handle); in ihevce_fopen() 89 UNUSED(filename); in ihevce_fopen() [all …]
|
/external/clang/test/SemaTemplate/ |
D | resolve-single-template-id.cpp | 1 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s 8 void two() { } // expected-note 4{{possible target for call}} in two() 9 void two(int) { } // expected-note 4{{possible target for call}} in two() 11 template<class T> void twoT() { } // expected-note 5{{possible target for call}} in twoT() 12 template<class T> void twoT(int) { } // expected-note 5{{possible target for call}} in twoT() 20 a parameter of a function (5.2.2), 21 a parameter of a user-defined operator (13.5), 22 the return value of a function, operator function, or conversion (6.6.3), 24 a non-type template-parameter (14.3.2) 31 one; // expected-warning {{expression result unused}} in main() [all …]
|
/external/clang/test/SemaCXX/ |
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 …]
|
D | warn-unused-local-typedef.cpp | 1 // RUN: %clang_cc1 -fsyntax-only -Wunused-local-typedef -verify -std=c++1y %s 17 typedef int foo0; // expected-warning {{unused typedef 'foo0'}} in f() 18 using foo0alias = int ; // expected-warning {{unused type alias 'foo0alias'}} in f() 20 typedef int foo1 __attribute__((unused)); // no diag in f() 24 typedef int foo2; // expected-warning {{unused typedef 'foo2'}} in f() 26 typedef foo2 foo3; // expected-warning {{unused typedef 'foo3'}} in f() 28 typedef int foo2_2; // expected-warning {{unused typedef 'foo2_2'}} in f() 31 typedef foo2_2 foo3_2; // expected-warning {{unused typedef 'foo3_2'}} in f() 43 typedef int Foo2; // expected-warning {{unused typedef 'Foo2'}} in f() 46 typedef int DeepFoo; // expected-warning {{unused typedef 'DeepFoo'}} in f() [all …]
|
D | undefined-internal.cpp | 1 // RUN: %clang_cc1 -fsyntax-only -verify -Wbind-to-temporary-copy %s 2 // RUN: %clang_cc1 -fsyntax-only -verify -Wbind-to-temporary-copy -std=c++98 %s 3 // RUN: %clang_cc1 -fsyntax-only -verify -Wbind-to-temporary-copy -std=c++11 %s 6 // RUN: %clang_cc1 -emit-llvm-only %s 7 // RUN: %clang_cc1 -emit-llvm-only -std=c++98 %s 8 // RUN: %clang_cc1 -emit-llvm-only -std=c++11 %s 11 …static void foo(); // expected-warning {{function 'test1::foo' has internal linkage but is not def… 12 …template <class T> static void bar(); // expected-warning {{function 'test1::bar<int>' has interna… 15 foo(); // expected-note {{used here}} in test() 16 bar<int>(); // expected-note {{used here}} in test() [all …]
|
/external/clang/test/Sema/ |
D | unused-expr.c | 1 // RUN: %clang_cc1 -fsyntax-only -verify %s -Wno-unreachable-code 5 double sqrt(double X); // implicitly const because of no -fmath-errno! 10 VP < P; // expected-warning {{relational comparison result unused}} in bar() 14 A < foo(1, 2); // expected-warning {{relational comparison result unused}} in bar() 16 foo(1,2)+foo(4,3); // expected-warning {{expression result unused}} in bar() 19 *P; // expected-warning {{expression result unused}} in bar() 21 P[4]; // expected-warning {{expression result unused}} in bar() 24 __real__ C; // expected-warning {{expression result unused}} in bar() 27 // We know this can't change errno because of no -fmath-errno. in bar() 28 sqrt(A); // expected-warning {{ignoring return value of function declared with const attribute}} in bar() [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) 32 LOCAL_CPPFLAGS += -std=c++11 -Wall -Werror -Wno-unused-function -Wno-unused-const-variable 33 LOCAL_CPPFLAGS += -DVK_USE_PLATFORM_ANDROID_KHR -DVK_PROTOTYPES -fvisibility=hidden 50 LOCAL_STATIC_LIBRARIES += layer_utils glslang SPIRV-Tools SPIRV-Tools-opt 51 LOCAL_CPPFLAGS += -std=c++11 -Wall -Werror -Wno-unused-function -Wno-unused-const-variable 52 LOCAL_CPPFLAGS += -DVK_USE_PLATFORM_ANDROID_KHR -DVK_PROTOTYPES -fvisibility=hidden -DBUILD_CORE_VA… 53 LOCAL_LDLIBS := -llog -landroid 54 LOCAL_LDFLAGS += -Wl,-Bsymbolic 55 LOCAL_LDFLAGS += -Wl,--exclude-libs,ALL [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
D | StripDeadPrototypes.cpp | 1 //===-- StripDeadPrototypes.cpp - Remove unused function declarations ----===// 8 //===----------------------------------------------------------------------===// 13 // unused library functions). 15 //===----------------------------------------------------------------------===// 17 #define DEBUG_TYPE "strip-dead-prototypes" 28 /// @brief Pass to remove unused function declarations. 41 INITIALIZE_PASS(StripDeadPrototypesPass, "strip-dead-prototypes", 42 "Strip Unused Function Prototypes", false, false) 47 // Erase dead function prototypes. in runOnModule() 49 Function *F = I++; in runOnModule() [all …]
|
/external/elfutils/tests/ |
D | backtrace-child.c | 18 /* Command line syntax: ./backtrace-child [--ptraceme|--gencore] 19 --ptraceme will call ptrace (PTRACE_TRACEME) in the two threads. 20 --gencore will call abort () at its end. 23 To test getting a signal at the very first instruction of a function: 24 PC will get changed to function 'jmp' by backtrace.c function 25 prepare_thread. Then SIGUSR2 will be signalled to backtrace-child 26 which will invoke function sigusr2. 28 instruction of a function. Properly handled unwind should not slip into 29 the previous unrelated function. 30 The tested functionality is arch-independent but the code reproducing it [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
D | StripDeadPrototypes.cpp | 1 //===-- StripDeadPrototypes.cpp - Remove unused function declarations ----===// 8 //===----------------------------------------------------------------------===// 13 // unused library functions). 15 //===----------------------------------------------------------------------===// 25 #define DEBUG_TYPE "strip-dead-prototypes" 32 // Erase dead function prototypes. in stripDeadPrototypes() 34 Function *F = &*I++; in stripDeadPrototypes() 35 // Function must be a prototype and unused. in stripDeadPrototypes() 36 if (F->isDeclaration() && F->use_empty()) { in stripDeadPrototypes() 37 F->eraseFromParent(); in stripDeadPrototypes() [all …]
|
/external/llvm/lib/Transforms/IPO/ |
D | StripDeadPrototypes.cpp | 1 //===-- StripDeadPrototypes.cpp - Remove unused function declarations ----===// 8 //===----------------------------------------------------------------------===// 13 // unused library functions). 15 //===----------------------------------------------------------------------===// 25 #define DEBUG_TYPE "strip-dead-prototypes" 32 // Erase dead function prototypes. in stripDeadPrototypes() 34 Function *F = &*I++; in stripDeadPrototypes() 35 // Function must be a prototype and unused. in stripDeadPrototypes() 36 if (F->isDeclaration() && F->use_empty()) { in stripDeadPrototypes() 37 F->eraseFromParent(); in stripDeadPrototypes() [all …]
|
/external/v8/src/builtins/ |
D | builtins-arguments-gen.cc | 2 // Use of this source code is governed by a BSD-style license that can be 5 #include "src/builtins/builtins-arguments-gen.h" 8 #include "src/builtins/builtins-utils-gen.h" 10 #include "src/code-factory.h" 11 #include "src/code-stub-assembler.h" 12 #include "src/frame-constants.h" 13 #include "src/interface-descriptors.h" 14 #include "src/objects-inl.h" 23 ArgumentsBuiltinsAssembler::GetArgumentsFrameAndCount(Node* function, in GetArgumentsFrameAndCount() argument 25 CSA_ASSERT(this, HasInstanceType(function, JS_FUNCTION_TYPE)); in GetArgumentsFrameAndCount() [all …]
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | SmoothRateLimiter.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 42 * of the past: it only remembers the last request. What if the RateLimiter was unused for 64 * - stored permits (if available) 65 * - fresh permits (for any remaining permits) 70 * that goes by with the RateLimiter being unused, we increase storedPermits by 1. 71 * Say we leave the RateLimiter unused for 10 seconds (i.e., we expected a request at time 88 * function that translates storedPermits to throtting time. 91 * The underlying model is a continuous function mapping storedPermits 93 * storedPermits. "storedPermits" essentially measure unused time; we spend unused time 96 * function (which is what storedPermitsToWaitTime() computes) correspond to minimum intervals [all …]
|
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/ |
D | trace_event.py | 2 # Use of this source code is governed by a BSD-style license that can be 7 r"""Instrumentation-based profiling for Python. 9 trace_event allows you to hand-instrument your code with areas of interest. 18 if "--trace" in sys.argv: 30 trace_event records trace events to an in-memory buffer. If your application is 32 call trace_flush to write any in-memory events to disk. 60 trace_begin and trace_end, will simply be no-ops. 141 del name # unused. 142 del kwargs # unused. 146 del name # unused. [all …]
|
/external/curl/lib/ |
D | nwlib.c | 8 * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al. 28 /* For native LibC-based NLM we need to register as a real lib. */ 51 NXKey_t perthreadkey; /* if -1, no key obtained... */ 55 int gLibId = -1; 60 /* internal library function prototypes... */ 82 NX_LOCK_INFO_ALLOC(liblock, "Per-Application Data Lock", 0); in _NonAppStart() 85 #pragma unused(cmdLine) in _NonAppStart() 86 #pragma unused(loadDirPath) in _NonAppStart() 87 #pragma unused(uninitializedDataLength) in _NonAppStart() 88 #pragma unused(NLMFileHandle) in _NonAppStart() [all …]
|
/external/selinux/mcstrans/src/ |
D | mcstransd.c | 21 #ifdef UNUSED 23 # define UNUSED(x) UNUSED_ ## x __attribute__((unused)) macro 25 # define UNUSED(x) /*@unused@*/ x macro 27 # define UNUSED(x) x macro 30 #define SETRANS_UNIX_SOCKET "/var/run/setrans/.setrans-unix" 60 static int sockfd = -1; /* socket we are listening on */ 85 send_response(int fd, uint32_t function, char *data, int32_t ret_val) in send_response() argument 97 resp_hdr[0].iov_base = &function; in send_response() 98 resp_hdr[0].iov_len = sizeof(function); in send_response() 105 if (count != (sizeof(function) + sizeof(data_size) + sizeof(ret_val))) { in send_response() [all …]
|
/external/googletest/googlemock/scripts/generator/ |
D | README.cppclean | 2 ----- 4 in large code bases, for example various forms of unused code. 5 Unused code can be unused functions, methods, data members, types, etc 7 considerable extra compiles increasing the edit-compile-run cycle. 13 --------- 18 * Unnecessary function declarations 19 * Undeclared function definitions 21 - No direct reference to anything in the header 22 - Header is unnecessary if classes were forward declared instead 25 * (planned) Unused members (private, protected, & public) methods and data [all …]
|
/external/google-breakpad/src/testing/scripts/generator/ |
D | README.cppclean | 2 ----- 4 in large code bases, for example various forms of unused code. 5 Unused code can be unused functions, methods, data members, types, etc 7 considerable extra compiles increasing the edit-compile-run cycle. 13 --------- 18 * Unnecessary function declarations 19 * Undeclared function definitions 21 - No direct reference to anything in the header 22 - Header is unnecessary if classes were forward declared instead 25 * (planned) Unused members (private, protected, & public) methods and data [all …]
|
/external/selinux/libselinux/src/ |
D | callbacks.c | 2 * User-supplied callbacks and default implementations. 15 default_selinux_log(int type __attribute__((unused)), const char *fmt, ...) in default_selinux_log() 26 default_selinux_audit(void *ptr __attribute__((unused)), in default_selinux_audit() 27 security_class_t cls __attribute__((unused)), in default_selinux_audit() 28 char *buf __attribute__((unused)), in default_selinux_audit() 29 size_t len __attribute__((unused))) in default_selinux_audit() 46 default_selinux_setenforce(int enforcing __attribute__((unused))) in default_selinux_setenforce() 52 default_selinux_policyload(int seqno __attribute__((unused))) in default_selinux_policyload() 78 /* callback setting function */ 101 /* callback getting function */
|
/external/elfutils/lib/ |
D | fixedsizehash.h | 48 HASHFCT name of the hashing function to use 50 COMPARE comparison function taking two pointers to TYPE objects 52 PREFIX prefix to be used for function and data type names 55 INSERT_HASH if defined alternate insert function which takes a hash 57 NO_FINI_FCT if defined the fini function is not defined 122 result->nslots = nelems; in CONCAT() 141 size_t idx = 1 + hval % htab->nslots; in CONCAT() 143 if (htab->table[idx].hval != 0) in CONCAT() 148 if (htab->table[idx].hval == hval in CONCAT() 149 && COMPARE (data, ENTRYP (htab->table[idx])) == 0) in CONCAT() [all …]
|
/external/vboot_reference/firmware/lib/tpm_lite/include/ |
D | tlcl_internal.h | 2 * Use of this source code is governed by a BSD-style license that can be 25 __attribute__((unused)) 34 * See comment for above function. 36 __attribute__((unused)) 45 * See comment for above function. 47 __attribute__((unused)) 54 * See comment for above function. 56 __attribute__((unused))
|
/external/clang/test/CXX/over/over.over/ |
D | p2-resolve-single-template-id.cpp | 1 // RUN: %clang_cc1 -fsyntax-only -verify -Wno-bool-conversion %s 3 typedef __typeof__(((int*)0)-((int*)0)) ptrdiff_t; 30 void two() { } // expected-note 2 {{possible target for call}} in two() 31 void two(int) { } // expected-note 2 {{possible target for call}} in two() 32 template<class T> void twoT() { } // expected-note 2 {{possible target for call}} in twoT() 33 template<class T> void twoT(T) { } // expected-note 2 {{possible target for call}} in twoT() 37 one; // expected-warning {{expression result unused}} in check() 38 …two; // expected-error{{reference to overloaded function could not be resolved; did you mean to ca… in check() 39 oneT<int>; // expected-warning {{expression result unused}} in check() 40 …twoT<int>; // expected-error {{reference to overloaded function could not be resolved; did you mea… in check() [all …]
|
/external/elfutils/backends/ |
D | ppc64_symbol.c | 45 ppc64_reloc_simple_type (Ebl *ebl __attribute__ ((unused)), int type, in ppc64_reloc_simple_type() 46 int *addsub __attribute__ ((unused))) in ppc64_reloc_simple_type() 65 ppc64_dynamic_tag_name (int64_t tag, char *buf __attribute__ ((unused)), in ppc64_dynamic_tag_name() 66 size_t len __attribute__ ((unused))) in ppc64_dynamic_tag_name() 99 const GElf_Sym *sym __attribute__ ((unused)), in ppc64_check_special_symbol() 100 const char *name __attribute__ ((unused)), in ppc64_check_special_symbol() 106 const char *sname = elf_strptr (elf, shstrndx, destshdr->sh_name); in ppc64_check_special_symbol() 115 ppc64_bss_plt_p (Elf *elf __attribute__ ((unused))) in ppc64_bss_plt_p() 121 0 - for unspecified ABI, or not using any specific ABI features. 122 1 - for the original ELF PPC64 ABI using function descriptors. [all …]
|
/external/libxml2/doc/ |
D | libxml2.xsa | 2 <!DOCTYPE xsa PUBLIC "-//LM Garshol//DTD XML Software Autoupdate 1.0//EN//XML" "http://www.garshol.… 12 <last-release> Mar 05 2018</last-release> 13 <info-url>http://xmlsoft.org/</info-url> 14 <changes> - Portability: 19 Revert "Compile testapi with -Wno-unused-function" (Nick Wellnhofer) 21 - Bug Fixes: 26 Fix buffer over-read in xmlParseNCNameComplex (Nick Wellnhofer), 29 Fix -Wenum-compare warnings (Nick Wellnhofer), 31 Fix unused parameter warning without ICU (Nick Wellnhofer), 40 - Improvements: [all …]
|
/external/harfbuzz_ng/ |
D | .travis.yml | 8 - CPPFLAGS="" 9 - CFLAGS="-Werror -Werror=unused -Werror=unused-function" 10 …- CXXFLAGS="-Werror -Werror=unused -Werror=unused-function -Wno-deprecated-register" # glib uses r… 11 …- CONFIGURE_OPTS="--with-freetype --with-glib --with-gobject --with-cairo --with-icu --with-graphi… 12 - NOCONFIGURE=1 14 …- secure: "k6l/18dpsoPAf0E5RQWCr+rgjbHns0H3k0WzSYovCoVg0B7RVlV8x8OjyEOBzEvXI4aaHRdH6MHCPDFnX4fa7ys… 18 - os: linux 22 …- wget http://download.savannah.gnu.org/releases/freetype/freetype-2.9.tar.bz2 && tar xf freetype-… 23 - export LD_LIBRARY_PATH="$PWD/freetype-2.9/objs/.libs" 25 - ./autogen.sh [all …]
|