Home
last modified time | relevance | path

Searched refs:WARN_UNUSED_RESULT (Results 1 – 25 of 54) sorted by relevance

123

/external/libchrome/base/
Dpickle.h36 bool ReadBool(bool* result) WARN_UNUSED_RESULT;
37 bool ReadInt(int* result) WARN_UNUSED_RESULT;
38 bool ReadLong(long* result) WARN_UNUSED_RESULT;
39 bool ReadUInt16(uint16_t* result) WARN_UNUSED_RESULT;
40 bool ReadUInt32(uint32_t* result) WARN_UNUSED_RESULT;
41 bool ReadInt64(int64_t* result) WARN_UNUSED_RESULT;
42 bool ReadUInt64(uint64_t* result) WARN_UNUSED_RESULT;
43 bool ReadSizeT(size_t* result) WARN_UNUSED_RESULT;
44 bool ReadFloat(float* result) WARN_UNUSED_RESULT;
45 bool ReadDouble(double* result) WARN_UNUSED_RESULT;
[all …]
Dcompiler_specific.h126 #undef WARN_UNUSED_RESULT
128 #define WARN_UNUSED_RESULT __attribute__((warn_unused_result)) macro
130 #define WARN_UNUSED_RESULT macro
/external/libchrome/base/files/
Dfile_path.h236 FilePath DirName() const WARN_UNUSED_RESULT;
242 FilePath BaseName() const WARN_UNUSED_RESULT;
254 StringType Extension() const WARN_UNUSED_RESULT;
263 StringType FinalExtension() const WARN_UNUSED_RESULT;
268 FilePath RemoveExtension() const WARN_UNUSED_RESULT;
272 FilePath RemoveFinalExtension() const WARN_UNUSED_RESULT;
282 StringPieceType suffix) const WARN_UNUSED_RESULT;
284 StringPiece suffix) const WARN_UNUSED_RESULT;
288 FilePath AddExtension(StringPieceType extension) const WARN_UNUSED_RESULT;
294 FilePath ReplaceExtension(StringPieceType extension) const WARN_UNUSED_RESULT;
[all …]
Dscoped_temp_dir.h34 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/libchrome/sandbox/linux/services/
Dcredentials.h43 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;
Dproc_util.h30 static bool HasOpenDirectory(int proc_fd) WARN_UNUSED_RESULT;
31 static bool HasOpenDirectory() WARN_UNUSED_RESULT;
Dnamespace_utils.h28 generic_id_t id) WARN_UNUSED_RESULT;
46 static bool DenySetgroups() WARN_UNUSED_RESULT;
/external/libchrome/crypto/
Dhmac.h51 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 { in Init()
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;
Dnss_util_internal.h34 CRYPTO_EXPORT PK11SlotInfo* GetPersistentNSSKeySlot() WARN_UNUSED_RESULT;
54 const base::Callback<void(ScopedPK11Slot)>& callback) WARN_UNUSED_RESULT;
75 const std::string& username_hash) WARN_UNUSED_RESULT;
96 const std::string& username_hash) WARN_UNUSED_RESULT;
103 const base::Callback<void(ScopedPK11Slot)>& callback) WARN_UNUSED_RESULT;
/external/v8/src/crankshaft/
Dhydrogen-types.h41 static HType Name() WARN_UNUSED_RESULT { return HType(k##Name); }
46 HType Combine(HType other) const WARN_UNUSED_RESULT { in HTYPE_LIST()
50 bool Equals(HType other) const WARN_UNUSED_RESULT { in Equals()
54 bool IsSubtypeOf(HType other) const WARN_UNUSED_RESULT { in IsSubtypeOf()
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/v8/src/base/utils/
Drandom-number-generator.h49 V8_INLINE int NextInt() WARN_UNUSED_RESULT { in NextInt()
59 int NextInt(int max) WARN_UNUSED_RESULT;
66 V8_INLINE bool NextBool() WARN_UNUSED_RESULT { in NextBool()
75 double NextDouble() WARN_UNUSED_RESULT;
82 int64_t NextInt64() WARN_UNUSED_RESULT;
118 int Next(int bits) WARN_UNUSED_RESULT;
/external/libbrillo/brillo/
Durl_utils.h24 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;
Dmime_utils.h79 const Parameters& parameters = {}) WARN_UNUSED_RESULT;
109 const std::string& mime_string) WARN_UNUSED_RESULT;
116 const std::string& paramValue) WARN_UNUSED_RESULT;
Duserdb_utils.h22 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/v8/src/base/
Dflags.h82 Type::flag_type rhs)ALLOW_UNUSED_TYPE WARN_UNUSED_RESULT; \
87 const Type& rhs)ALLOW_UNUSED_TYPE WARN_UNUSED_RESULT; \
95 ALLOW_UNUSED_TYPE WARN_UNUSED_RESULT; \
100 ALLOW_UNUSED_TYPE WARN_UNUSED_RESULT; \
108 ALLOW_UNUSED_TYPE WARN_UNUSED_RESULT; \
113 ALLOW_UNUSED_TYPE WARN_UNUSED_RESULT; \
Dcompiler-specific.h24 #define WARN_UNUSED_RESULT __attribute__((warn_unused_result)) macro
26 #define WARN_UNUSED_RESULT /* NOT SUPPORTED */ macro
/external/webrtc/webrtc/
Dtypedefs.h74 #if !defined(WARN_UNUSED_RESULT)
76 #define WARN_UNUSED_RESULT __attribute__ ((__warn_unused_result__)) macro
78 #define WARN_UNUSED_RESULT macro
/external/libchrome/base/strings/
Dstringprintf.h21 PRINTF_FORMAT(1, 2) WARN_UNUSED_RESULT;
25 ...) WPRINTF_FORMAT(1, 2) WARN_UNUSED_RESULT;
30 PRINTF_FORMAT(1, 0) WARN_UNUSED_RESULT;
/external/libweave/third_party/chromium/base/
Dcompiler_specific.h126 #undef WARN_UNUSED_RESULT
128 #define WARN_UNUSED_RESULT __attribute__((warn_unused_result)) macro
130 #define WARN_UNUSED_RESULT macro
/external/libweave/third_party/chromium/base/strings/
Dstringprintf.h20 PRINTF_FORMAT(1, 2) WARN_UNUSED_RESULT;
24 PRINTF_FORMAT(1, 0) WARN_UNUSED_RESULT;
/external/libchrome/base/test/
Dtest_file_util.h55 bool MakeFileUnreadable(const FilePath& path) WARN_UNUSED_RESULT;
56 bool MakeFileUnwritable(const FilePath& path) WARN_UNUSED_RESULT;
/external/webrtc/webrtc/base/
Dcommon.h194 #if !defined(WARN_UNUSED_RESULT)
196 #define WARN_UNUSED_RESULT __attribute__ ((__warn_unused_result__)) macro
198 #define WARN_UNUSED_RESULT macro
Dscoped_ptr.h434 element_type* release() WARN_UNUSED_RESULT {
440 element_type** accept() WARN_UNUSED_RESULT {
445 element_type** use() WARN_UNUSED_RESULT {
560 element_type* release() WARN_UNUSED_RESULT {
566 element_type** accept() WARN_UNUSED_RESULT {
571 element_type** use() WARN_UNUSED_RESULT {
/external/v8/src/base/platform/
Dcondition-variable.h59 bool WaitFor(Mutex* mutex, const TimeDelta& rel_time) WARN_UNUSED_RESULT;
71 Event* Pre() WARN_UNUSED_RESULT;
/external/v8/src/compiler/
Dsimplified-operator.h57 BufferAccess const BufferAccessOf(const Operator* op) WARN_UNUSED_RESULT;
80 FieldAccess const& FieldAccessOf(const Operator* op) WARN_UNUSED_RESULT;
103 ElementAccess const& ElementAccessOf(const Operator* op) WARN_UNUSED_RESULT;

123