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

1 2 3 4 5 6

  /external/clang/test/SemaObjC/
method-warn-unused-attribute.m 4 - (id) foo __attribute__((warn_unused_result));
5 - (void) garf __attribute__((warn_unused_result)); // expected-warning {{attribute 'warn_unused_result' cannot be applied to Objective-C method without return value}}
6 - (int) fee __attribute__((warn_unused_result));
7 + (int) c __attribute__((warn_unused_result));
12 [a fee]; // expected-warning {{ignoring return value of function declared with warn_unused_result attribute}}
13 [INTF c]; // expected-warning {{ignoring return value of function declared with warn_unused_result attribute}}
  /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))
  /system/netd/server/
RouteController.h 39 static int Init(unsigned localNetId) WARN_UNUSED_RESULT;
41 static int addInterfaceToLocalNetwork(unsigned netId, const char* interface) WARN_UNUSED_RESULT;
43 const char* interface) WARN_UNUSED_RESULT;
46 Permission permission) WARN_UNUSED_RESULT;
48 Permission permission) WARN_UNUSED_RESULT;
51 const UidRanges& uidRanges) WARN_UNUSED_RESULT;
53 const UidRanges& uidRanges) WARN_UNUSED_RESULT;
57 Permission newPermission) WARN_UNUSED_RESULT;
60 const UidRanges& uidRanges) WARN_UNUSED_RESULT;
62 const UidRanges& uidRanges) WARN_UNUSED_RESULT;
    [all...]
PhysicalNetwork.h 30 Permission permission) WARN_UNUSED_RESULT = 0;
32 Permission permission) WARN_UNUSED_RESULT = 0;
40 int setPermission(Permission permission) WARN_UNUSED_RESULT;
42 int addAsDefault() WARN_UNUSED_RESULT;
43 int removeAsDefault() WARN_UNUSED_RESULT;
47 int addInterface(const std::string& interface) override WARN_UNUSED_RESULT;
48 int removeInterface(const std::string& interface) override WARN_UNUSED_RESULT;
NetworkController.h 52 int setDefaultNetwork(unsigned netId) WARN_UNUSED_RESULT;
64 int createPhysicalNetwork(unsigned netId, Permission permission) WARN_UNUSED_RESULT;
65 int createVirtualNetwork(unsigned netId, bool hasDns, bool secure) WARN_UNUSED_RESULT;
66 int destroyNetwork(unsigned netId) WARN_UNUSED_RESULT;
68 int addInterfaceToNetwork(unsigned netId, const char* interface) WARN_UNUSED_RESULT;
69 int removeInterfaceFromNetwork(unsigned netId, const char* interface) WARN_UNUSED_RESULT;
75 const std::vector<unsigned>& netIds) WARN_UNUSED_RESULT;
77 int addUsersToNetwork(unsigned netId, const UidRanges& uidRanges) WARN_UNUSED_RESULT;
78 int removeUsersFromNetwork(unsigned netId, const UidRanges& uidRanges) WARN_UNUSED_RESULT;
86 const char* nexthop, bool legacy, uid_t uid) WARN_UNUSED_RESULT;
    [all...]
DummyNetwork.h 30 int addInterface(const std::string& interface) override WARN_UNUSED_RESULT;
31 int removeInterface(const std::string& interface) override WARN_UNUSED_RESULT;
LocalNetwork.h 29 int addInterface(const std::string& interface) override WARN_UNUSED_RESULT;
30 int removeInterface(const std::string& interface) override WARN_UNUSED_RESULT;
VirtualNetwork.h 42 const std::set<uid_t>& protectableUsers) WARN_UNUSED_RESULT;
44 const std::set<uid_t>& protectableUsers) WARN_UNUSED_RESULT;
48 int addInterface(const std::string& interface) override WARN_UNUSED_RESULT;
49 int removeInterface(const std::string& interface) override WARN_UNUSED_RESULT;
Network.h 47 virtual int addInterface(const std::string& interface) WARN_UNUSED_RESULT = 0;
48 virtual int removeInterface(const std::string& interface) WARN_UNUSED_RESULT = 0;
49 int clearInterfaces() 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/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 */
  /external/v8/src/crankshaft/
hydrogen-types.h 41 static HType Name() WARN_UNUSED_RESULT { return HType(k##Name); }
46 HType Combine(HType other) const WARN_UNUSED_RESULT {
50 bool Equals(HType other) const WARN_UNUSED_RESULT {
54 bool IsSubtypeOf(HType other) const WARN_UNUSED_RESULT {
59 bool Is##Name() const WARN_UNUSED_RESULT { \
66 static HType FromType(typename T::TypeHandle type) WARN_UNUSED_RESULT;
67 static HType FromValue(Handle<Object> value) WARN_UNUSED_RESULT;
  /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/libbrillo/brillo/
userdb_utils.h 22 const std::string& user, uid_t* uid, gid_t* gid) WARN_UNUSED_RESULT;
27 const std::string& group, gid_t* gid) WARN_UNUSED_RESULT;
  /external/libchrome/base/files/
scoped_temp_dir.h 34 bool CreateUniqueTempDir() WARN_UNUSED_RESULT;
37 bool CreateUniqueTempDirUnderPath(const FilePath& path) WARN_UNUSED_RESULT;
41 bool Set(const FilePath& path) WARN_UNUSED_RESULT;
44 bool Delete() 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))
  /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/libchrome/sandbox/linux/services/
credentials.h 43 static bool DropAllCapabilities(int proc_fd) WARN_UNUSED_RESULT;
45 static bool DropAllCapabilities() WARN_UNUSED_RESULT;
50 WARN_UNUSED_RESULT;
56 static bool DropAllCapabilitiesOnCurrentThread() WARN_UNUSED_RESULT;
58 const std::vector<Capability>& caps) WARN_UNUSED_RESULT;
82 static bool MoveToNewUserNS() WARN_UNUSED_RESULT;
96 static bool DropFileSystemAccess(int proc_fd) WARN_UNUSED_RESULT;
resource_limits.h 21 static bool Lower(int resource, rlim_t limit) WARN_UNUSED_RESULT;
proc_util.h 30 static bool HasOpenDirectory(int proc_fd) WARN_UNUSED_RESULT;
31 static bool HasOpenDirectory() WARN_UNUSED_RESULT;
  /external/libchrome/crypto/
hmac.h 51 bool Init(const unsigned char* key, size_t key_length) WARN_UNUSED_RESULT;
55 bool Init(SymmetricKey* key) WARN_UNUSED_RESULT;
59 bool Init(const base::StringPiece& key) WARN_UNUSED_RESULT {
68 size_t digest_length) const WARN_UNUSED_RESULT;
78 const base::StringPiece& digest) const WARN_UNUSED_RESULT;
84 const base::StringPiece& digest) const WARN_UNUSED_RESULT;
  /external/libchrome/base/strings/
stringprintf.h 21 PRINTF_FORMAT(1, 2) WARN_UNUSED_RESULT;
25 ...) WPRINTF_FORMAT(1, 2) WARN_UNUSED_RESULT;
30 PRINTF_FORMAT(1, 0) 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));

Completed in 830 milliseconds

1 2 3 4 5 6