OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:warn_unused_result
(Results
1 - 25
of
48
) sorted by null
1
2
/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
))
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
sal.h
11
# define __inner_checkReturn __attribute__((
warn_unused_result
))
/frameworks/native/services/surfaceflinger/DisplayHardware/
HWC2.h
102
[[clang::
warn_unused_result
]] bool loadFunctionPointer(
277
[[clang::
warn_unused_result
]] Error acceptChanges();
278
[[clang::
warn_unused_result
]] Error createLayer(
280
[[clang::
warn_unused_result
]] Error getActiveConfig(
282
[[clang::
warn_unused_result
]] Error getChangedCompositionTypes(
284
[[clang::
warn_unused_result
]] Error getColorModes(
290
[[clang::
warn_unused_result
]] Error getName(std::string* outName) const;
291
[[clang::
warn_unused_result
]] Error getRequests(
295
[[clang::
warn_unused_result
]] Error getType(DisplayType* outType) const;
296
[[clang::
warn_unused_result
]] Error supportsDoze(bool* outSupport) const
[
all
...]
/external/clang/test/SemaCXX/
cxx11-attr-print.cpp
31
// CHECK: int f1() __attribute__((
warn_unused_result
));
32
int f1() __attribute__((
warn_unused_result
));
34
// CHECK: {{\[}}[clang::
warn_unused_result
]];
35
int f2 [[clang::
warn_unused_result
]] ();
37
// CHECK: {{\[}}[gnu::
warn_unused_result
]];
38
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/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 */
/frameworks/base/libs/hwui/utils/
Macros.h
36
#define
WARN_UNUSED_RESULT
\
37
__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
}}
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/conscrypt/src/compat/native/
ScopedLocalRef.h
44
T release() __attribute__((
warn_unused_result
)) {
UniquePtr.h
72
T* release() __attribute__((
warn_unused_result
)) {
123
T* release() __attribute__((
warn_unused_result
)) {
/external/conscrypt/src/openjdk/native/
ScopedLocalRef.h
44
T release() __attribute__((
warn_unused_result
)) {
UniquePtr.h
72
T* release() __attribute__((
warn_unused_result
)) {
123
T* release() __attribute__((
warn_unused_result
)) {
/libnativehelper/include/nativehelper/
ScopedFd.h
46
int release() __attribute__((
warn_unused_result
)) {
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/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/ceres-solver/include/ceres/internal/
macros.h
150
#define CERES_MUST_USE_RESULT __attribute__ ((
warn_unused_result
))
/system/core/base/include/android-base/
unique_fd.h
80
int release() __attribute__((
warn_unused_result
)) {
macros.h
129
#define WARN_UNUSED __attribute__((
warn_unused_result
))
/bionic/libc/private/
UniquePtr.h
69
T* release() __attribute__((
warn_unused_result
)) {
119
T* release() __attribute__((
warn_unused_result
)) {
/external/clang/test/Misc/
ast-dump-attr.cpp
26
[[clang::
warn_unused_result
]] int TestCXX11DeclAttr();
/external/libchrome/base/
compiler_specific.h
124
// int foo()
WARN_UNUSED_RESULT
;
126
#undef
WARN_UNUSED_RESULT
128
#define
WARN_UNUSED_RESULT
__attribute__((
warn_unused_result
))
130
#define
WARN_UNUSED_RESULT
/external/libweave/third_party/chromium/base/
compiler_specific.h
124
// int foo()
WARN_UNUSED_RESULT
;
126
#undef
WARN_UNUSED_RESULT
128
#define
WARN_UNUSED_RESULT
__attribute__((
warn_unused_result
))
130
#define
WARN_UNUSED_RESULT
/external/parameter-framework/upstream/bindings/c/
ParameterFramework.h
58
#define USERESULT __attribute__((
warn_unused_result
))
Completed in 475 milliseconds
1
2