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

1 2 3 4 5 6 7 8 91011>>

  /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))
  /external/v8/src/
value-serializer.h 56 Maybe<bool> WriteObject(Handle<Object> object) WARN_UNUSED_RESULT;
115 Maybe<bool> WriteJSReceiver(Handle<JSReceiver> receiver) WARN_UNUSED_RESULT;
116 Maybe<bool> WriteJSObject(Handle<JSObject> object) WARN_UNUSED_RESULT;
117 Maybe<bool> WriteJSObjectSlow(Handle<JSObject> object) WARN_UNUSED_RESULT;
118 Maybe<bool> WriteJSArray(Handle<JSArray> array) WARN_UNUSED_RESULT;
120 Maybe<bool> WriteJSValue(Handle<JSValue> value) WARN_UNUSED_RESULT;
122 Maybe<bool> WriteJSMap(Handle<JSMap> map) WARN_UNUSED_RESULT;
123 Maybe<bool> WriteJSSet(Handle<JSSet> map) WARN_UNUSED_RESULT;
125 WARN_UNUSED_RESULT;
127 Maybe<bool> WriteWasmModule(Handle<JSObject> object) WARN_UNUSED_RESULT;
    [all...]
  /system/netd/server/
PhysicalNetwork.h 33 Permission permission) WARN_UNUSED_RESULT = 0;
35 Permission permission) WARN_UNUSED_RESULT = 0;
43 int setPermission(Permission permission) WARN_UNUSED_RESULT;
45 int addAsDefault() WARN_UNUSED_RESULT;
46 int removeAsDefault() WARN_UNUSED_RESULT;
50 int addInterface(const std::string& interface) override WARN_UNUSED_RESULT;
51 int removeInterface(const std::string& interface) override WARN_UNUSED_RESULT;
RouteController.h 46 static int Init(unsigned localNetId) WARN_UNUSED_RESULT;
57 static int addInterfaceToLocalNetwork(unsigned netId, const char* interface) WARN_UNUSED_RESULT;
59 const char* interface) WARN_UNUSED_RESULT;
62 Permission permission) WARN_UNUSED_RESULT;
64 Permission permission) WARN_UNUSED_RESULT;
67 const UidRanges& uidRanges) WARN_UNUSED_RESULT;
69 const UidRanges& uidRanges) WARN_UNUSED_RESULT;
73 Permission newPermission) WARN_UNUSED_RESULT;
76 const UidRanges& uidRanges) WARN_UNUSED_RESULT;
78 const UidRanges& uidRanges) WARN_UNUSED_RESULT;
    [all...]
DummyNetwork.h 33 int addInterface(const std::string& interface) override WARN_UNUSED_RESULT;
34 int removeInterface(const std::string& interface) override WARN_UNUSED_RESULT;
LocalNetwork.h 32 int addInterface(const std::string& interface) override WARN_UNUSED_RESULT;
33 int removeInterface(const std::string& interface) override WARN_UNUSED_RESULT;
VirtualNetwork.h 45 const std::set<uid_t>& protectableUsers) WARN_UNUSED_RESULT;
47 const std::set<uid_t>& protectableUsers) WARN_UNUSED_RESULT;
51 int addInterface(const std::string& interface) override WARN_UNUSED_RESULT;
52 int removeInterface(const std::string& interface) override WARN_UNUSED_RESULT;
NetworkController.h 89 int setDefaultNetwork(unsigned netId) WARN_UNUSED_RESULT;
101 int createPhysicalNetwork(unsigned netId, Permission permission) WARN_UNUSED_RESULT;
102 int createPhysicalOemNetwork(Permission permission, unsigned *netId) WARN_UNUSED_RESULT;
103 int createVirtualNetwork(unsigned netId, bool hasDns, bool secure) WARN_UNUSED_RESULT;
104 int destroyNetwork(unsigned netId) WARN_UNUSED_RESULT;
106 int addInterfaceToNetwork(unsigned netId, const char* interface) WARN_UNUSED_RESULT;
107 int removeInterfaceFromNetwork(unsigned netId, const char* interface) WARN_UNUSED_RESULT;
113 const std::vector<unsigned>& netIds) WARN_UNUSED_RESULT;
115 int addUsersToNetwork(unsigned netId, const UidRanges& uidRanges) WARN_UNUSED_RESULT;
116 int removeUsersFromNetwork(unsigned netId, const UidRanges& uidRanges) WARN_UNUSED_RESULT;
    [all...]
Network.h 50 virtual int addInterface(const std::string& interface) WARN_UNUSED_RESULT = 0;
51 virtual int removeInterface(const std::string& interface) WARN_UNUSED_RESULT = 0;
52 int clearInterfaces() WARN_UNUSED_RESULT;
  /frameworks/native/services/surfaceflinger/DisplayHardware/
HWC2.h 204 [[clang::warn_unused_result]] Error acceptChanges();
205 [[clang::warn_unused_result]] Error createLayer(Layer** outLayer);
206 [[clang::warn_unused_result]] Error destroyLayer(Layer* layer);
207 [[clang::warn_unused_result]] Error getActiveConfig(
209 [[clang::warn_unused_result]] Error getActiveConfigIndex(int* outIndex) const;
210 [[clang::warn_unused_result]] Error getChangedCompositionTypes(
212 [[clang::warn_unused_result]] Error getColorModes(
216 [[clang::warn_unused_result]] Error getSupportedPerFrameMetadata(
218 [[clang::warn_unused_result]] Error getRenderIntents(
221 [[clang::warn_unused_result]] Error getDataspaceSaturationMatrix
    [all...]
  /external/v8/src/crankshaft/
hydrogen-types.h 43 static HType Name() WARN_UNUSED_RESULT { return HType(k##Name); }
48 HType Combine(HType other) const WARN_UNUSED_RESULT {
52 bool Equals(HType other) const WARN_UNUSED_RESULT {
56 bool IsSubtypeOf(HType other) const WARN_UNUSED_RESULT {
61 bool Is##Name() const WARN_UNUSED_RESULT { \
67 static HType FromType(AstType* type) WARN_UNUSED_RESULT;
69 Zone* temp_zone) WARN_UNUSED_RESULT;
70 static HType FromValue(Handle<Object> value) 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/iproute2/include/
libnetlink.h 41 __attribute__((warn_unused_result));
45 __attribute__((warn_unused_result));
49 __attribute__((warn_unused_result));
52 __attribute__((warn_unused_result));
58 __attribute__((warn_unused_result));
61 __attribute__((warn_unused_result));
64 __attribute__((warn_unused_result));
66 __attribute__((warn_unused_result));
97 __attribute__((warn_unused_result));
100 __attribute__((warn_unused_result));
    [all...]
  /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;
url_utils.h 24 const std::string& subpath) WARN_UNUSED_RESULT;
27 const std::vector<std::string>& parts) WARN_UNUSED_RESULT;
67 bool remove_fragment) WARN_UNUSED_RESULT;
73 const std::string& value) WARN_UNUSED_RESULT;
77 const data_encoding::WebParamList& params) 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;
  /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/libchrome/crypto/
hmac.h 52 bool Init(const unsigned char* key, size_t key_length) WARN_UNUSED_RESULT;
56 bool Init(SymmetricKey* key) WARN_UNUSED_RESULT;
60 bool Init(const base::StringPiece& key) WARN_UNUSED_RESULT {
69 size_t digest_length) const WARN_UNUSED_RESULT;
79 const base::StringPiece& digest) const WARN_UNUSED_RESULT;
85 const base::StringPiece& digest) const WARN_UNUSED_RESULT;
  /system/bt/embdrv/g722/
g722_typedefs.h 101 // int foo() WARN_UNUSED_RESULT;
104 #if !defined(WARN_UNUSED_RESULT)
106 #define WARN_UNUSED_RESULT __attribute__((warn_unused_result))
108 #define WARN_UNUSED_RESULT
110 #endif // 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;
  /system/libhidl/transport/include/hidl/
LegacySupport.h 33 __attribute__((warn_unused_result))
66 __attribute__((warn_unused_result))
80 __attribute__((warn_unused_result))
  /frameworks/base/libs/hwui/utils/
Macros.h 35 #define WARN_UNUSED_RESULT __attribute__((warn_unused_result))

Completed in 277 milliseconds

1 2 3 4 5 6 7 8 91011>>