HomeSort by relevance Sort by last modified time
    Searched refs:warn_unused_result (Results 1 - 25 of 67) sorted by null

1 2 3

  /external/fio/compiler/
compiler-gcc3.h 6 #define __must_check __attribute__((warn_unused_result))
compiler-gcc4.h 5 #define __must_check __attribute__((warn_unused_result))
  /frameworks/native/services/surfaceflinger/DisplayHardware/
HWC2.h 202 [[clang::warn_unused_result]] Error acceptChanges();
203 [[clang::warn_unused_result]] Error createLayer(Layer** outLayer);
204 [[clang::warn_unused_result]] Error destroyLayer(Layer* layer);
205 [[clang::warn_unused_result]] Error getActiveConfig(
207 [[clang::warn_unused_result]] Error getChangedCompositionTypes(
209 [[clang::warn_unused_result]] Error getColorModes(
215 [[clang::warn_unused_result]] Error getName(std::string* outName) const;
216 [[clang::warn_unused_result]] Error getRequests(
219 [[clang::warn_unused_result]] Error getType(DisplayType* outType) const;
220 [[clang::warn_unused_result]] Error supportsDoze(bool* outSupport) const
    [all...]
  /system/nvram/messages/include/nvram/messages/
compiler.h 25 #define NVRAM_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
  /external/clang/test/SemaCXX/
cxx11-attr-print.cpp 40 // CHECK: int f1() __attribute__((warn_unused_result));
41 int f1() __attribute__((warn_unused_result));
43 // CHECK: {{\[}}[clang::warn_unused_result]];
44 int f2 [[clang::warn_unused_result]] ();
46 // CHECK: {{\[}}[gnu::warn_unused_result]];
47 int f3 [[gnu::warn_unused_result]] ();
warn-unused-result.cpp 3 int f() __attribute__((warn_unused_result));
8 S g1() __attribute__((warn_unused_result));
9 S *g2() __attribute__((warn_unused_result));
10 S &g3() __attribute__((warn_unused_result));
37 int foo() __attribute__((warn_unused_result));
53 struct [[clang::warn_unused_result]] Status {
88 class [[clang::warn_unused_result]] StatusOr {
102 struct [[clang::warn_unused_result]] Status;
  /external/ltp/include/
tst_common.h 26 #define LTP_ATTRIBUTE_UNUSED_RESULT __attribute__((warn_unused_result))
  /frameworks/base/libs/hwui/utils/
Macros.h 36 #define WARN_UNUSED_RESULT \
37 __attribute__((warn_unused_result))
  /system/libhidl/transport/include/hidl/
LegacySupport.h 33 __attribute__((warn_unused_result))
66 __attribute__((warn_unused_result))
80 __attribute__((warn_unused_result))
  /external/clang/test/Sema/
unused-expr.c 77 int t5f(void) __attribute__((warn_unused_result));
79 t5f(); // expected-warning {{ignoring return value of function declared with 'warn_unused_result' attribute}}
83 int fn1() __attribute__ ((warn_unused_result));
91 fn1(); // expected-warning {{ignoring return value of function declared with 'warn_unused_result' attribute}}
95 (void)0, fn1(); // expected-warning {{ignoring return value of function declared with 'warn_unused_result' attribute}}
99 int t7 __attribute__ ((warn_unused_result)); // expected-warning {{'warn_unused_result' attribute only applies to functions}}
102 int (*fn4)(void) __attribute__ ((warn_unused_result));
104 fn4(); // expected-warning {{ignoring return value of function declared with 'warn_unused_result' attribute}}
107 void t9() __attribute__((warn_unused_result)); // expected-warning {{attribute 'warn_unused_result' cannot be applied to functions without ret (…)
    [all...]
  /external/iproute2/include/
libnetlink.h 30 __attribute__((warn_unused_result));
34 __attribute__((warn_unused_result));
38 __attribute__((warn_unused_result));
41 __attribute__((warn_unused_result));
44 __attribute__((warn_unused_result));
46 __attribute__((warn_unused_result));
75 __attribute__((warn_unused_result));
77 __attribute__((warn_unused_result));
79 __attribute__((warn_unused_result));
  /external/v8/src/base/
compiler-specific.h 22 // int foo() WARN_UNUSED_RESULT;
24 #define WARN_UNUSED_RESULT __attribute__((warn_unused_result))
26 #define WARN_UNUSED_RESULT /* NOT SUPPORTED */
  /libnativehelper/include/nativehelper/
ScopedLocalRef.h 45 T release() __attribute__((warn_unused_result)) {
UniquePtr.h 68 T* release() __attribute__((warn_unused_result)) {
112 T* release() __attribute__((warn_unused_result)) {
  /external/avb/libavb/
avb_sysdeps.h 49 #define AVB_ATTR_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
  /system/core/base/include/android-base/
macros.h 123 #define WARN_UNUSED __attribute__((warn_unused_result))
unique_fd.h 76 int release() __attribute__((warn_unused_result)) {
  /system/gatekeeper/include/gatekeeper/
UniquePtr.h 69 T* release() __attribute__((warn_unused_result)) {
115 T* release() __attribute__((warn_unused_result)) {
  /external/clang/test/Misc/
ast-dump-attr.cpp 26 [[clang::warn_unused_result]] int TestCXX11DeclAttr();
  /external/kmod/shared/
macro.h 57 #define _must_check_ __attribute__((warn_unused_result))
  /system/keymaster/include/keymaster/
UniquePtr.h 69 T* release() __attribute__((warn_unused_result)) {
114 T* release() __attribute__((warn_unused_result)) {
  /external/parameter-framework/upstream/bindings/c/
ParameterFramework.h 58 #define USERESULT __attribute__((warn_unused_result))
  /system/extras/perfprofd/quipper/base/
compiler_specific.h 151 // int foo() WARN_UNUSED_RESULT;
154 #define WARN_UNUSED_RESULT __attribute__((warn_unused_result))
156 #define WARN_UNUSED_RESULT
  /external/libchrome/base/
compiler_specific.h 129 // int foo() WARN_UNUSED_RESULT;
131 #undef WARN_UNUSED_RESULT
133 #define WARN_UNUSED_RESULT __attribute__((warn_unused_result))
135 #define WARN_UNUSED_RESULT
  /external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
Compiler.h 133 #elif __has_cpp_attribute(clang::warn_unused_result)
134 #define LLVM_NODISCARD [[clang::warn_unused_result]]

Completed in 1874 milliseconds

1 2 3