Home
last modified time | relevance | path

Searched refs:throw (Results 1 – 25 of 1019) sorted by relevance

12345678910>>...41

/external/sfntly/cpp/src/sfntly/port/
Dexception_type.h33 explicit Exception(const char* message) throw() { SetMessage(message); } in Exception()
34 virtual ~Exception() throw() {} in ~Exception()
35 virtual const char* what() const throw() { return what_.c_str(); } in what()
38 void SetMessage(const char* message) throw() { in SetMessage()
50 IndexOutOfBoundException() throw() : Exception("Index out of bound") {} in IndexOutOfBoundException()
51 explicit IndexOutOfBoundException(const char* message) throw() in IndexOutOfBoundException()
53 IndexOutOfBoundException(const char* message, int32_t index) throw() { in IndexOutOfBoundException()
62 virtual ~IndexOutOfBoundException() throw() {} in ~IndexOutOfBoundException()
67 IOException() throw() : Exception("I/O exception") {} in IOException()
68 explicit IOException(const char* message) throw() : Exception(message) {} in IOException()
[all …]
/external/lzma/CPP/Windows/
DFileName.h12 int FindSepar(const wchar_t *s) throw();
14 int FindSepar(const FChar *s) throw();
20 bool IsDrivePath(const wchar_t *s) throw(); // first 3 chars are drive chars like "a:\\"
22 bool IsAltPathPrefix(CFSTR s) throw(); /* name: */
31 bool IsDevicePath(CFSTR s) throw(); /* \\.\ */
32 bool IsSuperUncPath(CFSTR s) throw(); /* \\?\UNC\ */
33 bool IsNetworkPath(CFSTR s) throw(); /* \\?\UNC\ or \\SERVER */
41 unsigned GetNetworkServerPrefixSize(CFSTR s) throw();
43 bool IsNetworkShareRootPath(CFSTR s) throw(); /* \\?\UNC\SERVER\share or \\SERVER\share or with sl…
45 bool IsDrivePath_SuperAllowed(CFSTR s) throw(); // first chars are drive chars like "a:\" or "\\?\…
[all …]
DPropVariant.h13 BSTR AllocBstrFromAscii(const char *s) throw();
15 HRESULT PropVariant_Clear(PROPVARIANT *p) throw();
17 HRESULT PropVarEm_Alloc_Bstr(PROPVARIANT *p, unsigned numChars) throw();
18 HRESULT PropVarEm_Set_Str(PROPVARIANT *p, const char *s) throw();
20 inline void PropVarEm_Set_UInt32(PROPVARIANT *p, UInt32 v) throw() in PropVarEm_Set_UInt32()
26 inline void PropVarEm_Set_UInt64(PROPVARIANT *p, UInt64 v) throw() in PropVarEm_Set_UInt64()
32 inline void PropVarEm_Set_FileTime64(PROPVARIANT *p, UInt64 v) throw() in PropVarEm_Set_FileTime64()
39 inline void PropVarEm_Set_Bool(PROPVARIANT *p, bool b) throw() in PropVarEm_Set_Bool()
58 ~CPropVariant() throw() { Clear(); } in throw() function
86 CPropVariant& operator=(bool bSrc) throw();
[all …]
DRegistry.h34 LPDWORD disposition = NULL) throw();
35 LONG Open(HKEY parentKey, LPCTSTR keyName, REGSAM accessMask = KEY_ALL_ACCESS) throw();
37 LONG Close() throw();
39 LONG DeleteSubKey(LPCTSTR subKeyName) throw();
40 LONG RecurseDeleteKey(LPCTSTR subKeyName) throw();
42 LONG DeleteValue(LPCTSTR name) throw();
47 LONG SetValue(LPCTSTR valueName, UInt32 value) throw();
48 LONG SetValue(LPCTSTR valueName, bool value) throw();
49 LONG SetValue(LPCTSTR valueName, LPCTSTR value) throw();
56 LONG SetValue(LPCTSTR name, const void *value, UInt32 size) throw();
[all …]
DTimeUtils.h12 bool DosTimeToFileTime(UInt32 dosTime, FILETIME &fileTime) throw();
13 bool FileTimeToDosTime(const FILETIME &fileTime, UInt32 &dosTime) throw();
16 UInt64 UnixTimeToFileTime64(UInt32 unixTime) throw();
17 void UnixTimeToFileTime(UInt32 unixTime, FILETIME &fileTime) throw();
20 UInt64 UnixTime64ToFileTime64(Int64 unixTime) throw();
21 bool UnixTime64ToFileTime(Int64 unixTime, FILETIME &fileTime) throw();
23 bool FileTimeToUnixTime(const FILETIME &fileTime, UInt32 &unixTime) throw();
24 Int64 FileTimeToUnixTime64(const FILETIME &ft) throw();
27 unsigned hour, unsigned min, unsigned sec, UInt64 &resSeconds) throw();
28 void GetCurUtcFileTime(FILETIME &ft) throw();
DFileIO.h106 bool Close() throw();
108 bool GetPosition(UInt64 &position) const throw();
109 bool GetLength(UInt64 &length) const throw();
111 bool Seek(Int64 distanceToMove, DWORD moveMethod, UInt64 &newPosition) const throw();
112 bool Seek(UInt64 position, UInt64 &newPosition) const throw();
113 bool SeekToBegin() const throw();
114 bool SeekToEnd(UInt64 &newPosition) const throw();
189 bool Read1(void *data, UInt32 size, UInt32 &processedSize) throw();
190 bool ReadPart(void *data, UInt32 size, UInt32 &processedSize) throw();
191 bool Read(void *data, UInt32 size, UInt32 &processedSize) throw();
[all …]
/external/ImageMagick/Magick++/lib/Magick++/
DException.h36 virtual ~Exception() throw();
42 virtual const char* what() const throw();
45 const Exception* nested() const throw();
53 void nested(Exception* nested_) throw();
69 ~Error() throw();
77 ~ErrorBlob() throw();
85 ~ErrorCache() throw();
93 ~ErrorCoder() throw();
101 ~ErrorConfigure() throw();
109 ~ErrorCorruptImage() throw();
[all …]
/external/lzma/CPP/Common/
DIntToString.h8 void ConvertUInt32ToString(UInt32 value, char *s) throw();
9 void ConvertUInt64ToString(UInt64 value, char *s) throw();
11 void ConvertUInt32ToString(UInt32 value, wchar_t *s) throw();
12 void ConvertUInt64ToString(UInt64 value, wchar_t *s) throw();
14 void ConvertUInt64ToOct(UInt64 value, char *s) throw();
16 void ConvertUInt32ToHex(UInt32 value, char *s) throw();
17 void ConvertUInt64ToHex(UInt64 value, char *s) throw();
18 void ConvertUInt32ToHex8Digits(UInt32 value, char *s) throw();
21 void ConvertInt64ToString(Int64 value, char *s) throw();
22 void ConvertInt64ToString(Int64 value, wchar_t *s) throw();
[all …]
DStringToInt.h8 UInt32 ConvertStringToUInt32(const char *s, const char **end) throw();
9 UInt64 ConvertStringToUInt64(const char *s, const char **end) throw();
10 UInt32 ConvertStringToUInt32(const wchar_t *s, const wchar_t **end) throw();
11 UInt64 ConvertStringToUInt64(const wchar_t *s, const wchar_t **end) throw();
13 Int32 ConvertStringToInt32(const wchar_t *s, const wchar_t **end) throw();
15 UInt32 ConvertOctStringToUInt32(const char *s, const char **end) throw();
16 UInt64 ConvertOctStringToUInt64(const char *s, const char **end) throw();
18 UInt32 ConvertHexStringToUInt32(const char *s, const char **end) throw();
19 UInt64 ConvertHexStringToUInt64(const char *s, const char **end) throw();
DStdOutStream.h26 bool Open(const char *fileName) throw();
27 bool Close() throw();
28 bool Flush() throw();
36 CStdOutStream & operator<<(const char *s) throw()
42 CStdOutStream & operator<<(char c) throw()
48 CStdOutStream & operator<<(Int32 number) throw();
49 CStdOutStream & operator<<(Int64 number) throw();
50 CStdOutStream & operator<<(UInt32 number) throw();
51 CStdOutStream & operator<<(UInt64 number) throw();
64 CStdOutStream & endl(CStdOutStream & outStream) throw();
DMyString.h104 int FindCharPosInString(const char *s, char c) throw();
105 int FindCharPosInString(const wchar_t *s, wchar_t c) throw();
114 #define STRING_UNICODE_THROW throw()
148 wchar_t MyCharUpper_WIN(wchar_t c) throw();
150 inline wchar_t MyCharUpper(wchar_t c) throw() in MyCharUpper()
191 void MyStringLower_Ascii(char *s) throw();
192 void MyStringLower_Ascii(wchar_t *s) throw();
196 bool StringsAreEqualNoCase(const wchar_t *s1, const wchar_t *s2) throw();
198 bool IsString1PrefixedByString2(const char *s1, const char *s2) throw();
199 bool IsString1PrefixedByString2(const wchar_t *s1, const wchar_t *s2) throw();
[all …]
/external/lzma/CPP/7zip/Common/
DCWrappers.h9 SRes HRESULT_To_SRes(HRESULT res, SRes defaultRes) throw();
10 HRESULT SResToHRESULT(SRes res) throw();
18 void Init(ICompressProgressInfo *progress) throw();
29 void Init(ISequentialInStream *stream) throw();
39 void Init(IInStream *stream) throw();
50 void Init(ISequentialOutStream *stream) throw();
68 void Free() throw();
69 bool Alloc(UInt32 size) throw();
78 Byte ReadByteFromNewBlock() throw();
99 CByteOutBufWrap() throw();
[all …]
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/Inputs/modernize-replace-auto-ptr/
Dmemory.h15 explicit auto_ptr(X *p = 0) throw() {} in throw() function
16 auto_ptr(auto_ptr &) throw() {} in throw() function
17 template <class Y> auto_ptr(auto_ptr<Y> &) throw() {} in auto_ptr()
18 auto_ptr &operator=(auto_ptr &) throw() { return *this; } in throw() function
19 template <class Y> auto_ptr &operator=(auto_ptr<Y> &) throw() { in throw() function
22 auto_ptr &operator=(auto_ptr_ref<X> r) throw() { return *this; } in throw() function
23 ~auto_ptr() throw() {} in throw() function
24 auto_ptr(auto_ptr_ref<X> r) throw() : x_(r.y_) {} in throw() function
25 template <class Y> operator auto_ptr_ref<Y>() throw() { in throw() function
30 template <class Y> operator auto_ptr<Y>() throw() { return auto_ptr<Y>(x_); } in throw() function
/external/google-java-format/core/src/test/resources/com/google/googlejavaformat/java/testdata/
DU.input20 throw new Exception0();
22 throw new Exception1();
24 throw new Exception2();
26 throw new Exception3();
28 throw new Exception4();
30 throw new Exception5();
32 throw new Exception6();
34 throw new Exception7();
36 throw new Exception8();
39 throw new Exception9();
DU.output20 throw new Exception0();
22 throw new Exception1();
24 throw new Exception2();
26 throw new Exception3();
28 throw new Exception4();
30 throw new Exception5();
32 throw new Exception6();
34 throw new Exception7();
36 throw new Exception8();
39 throw new Exception9();
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/
Dmodernize-use-noexcept.rst8 default this check will replace ``throw()`` with ``noexcept``,
9 and ``throw(<exception>[,...])`` or ``throw(...)`` with
17 void foo() throw();
18 void bar() throw(int) {}
43 void bar() throw(int);
44 void foo() throw();
50 void bar() throw(int); // No fix-it generated.
58 throwing dynamic exception specs, e.g., ``throw(<something>)``,
68 void foo() throw(int) {}
71 void foobar() throw(int);
[all …]
Dhicpp-exception-baseclass.rst6 Ensure that every value that in a ``throw`` expression is an instance of
17 // Problematic throw expressions.
18 throw int(42);
19 throw custom_exception();
26 throw mathematical_error();
27 throw std::runtime_error();
28 throw std::exception();
/external/libcxxabi/include/
Dcxxabi.h43 __cxa_allocate_exception(size_t thrown_size) throw();
45 __cxa_free_exception(void *thrown_exception) throw();
54 __cxa_get_exception_ptr(void *exceptionObject) throw();
56 __cxa_begin_catch(void *exceptionObject) throw();
60 __cxa_begin_cleanup(void *exceptionObject) throw();
151 extern _LIBCXXABI_FUNC_VIS void *__cxa_current_primary_exception() throw();
155 __cxa_increment_exception_refcount(void *primary_exception) throw();
157 __cxa_decrement_exception_refcount(void *primary_exception) throw();
160 extern _LIBCXXABI_FUNC_VIS bool __cxa_uncaught_exception() throw();
161 extern _LIBCXXABI_FUNC_VIS unsigned int __cxa_uncaught_exceptions() throw();
[all …]
/external/llvm-project/libcxxabi/include/
Dcxxabi.h43 __cxa_allocate_exception(size_t thrown_size) throw();
45 __cxa_free_exception(void *thrown_exception) throw();
54 __cxa_get_exception_ptr(void *exceptionObject) throw();
56 __cxa_begin_catch(void *exceptionObject) throw();
60 __cxa_begin_cleanup(void *exceptionObject) throw();
151 extern _LIBCXXABI_FUNC_VIS void *__cxa_current_primary_exception() throw();
155 __cxa_increment_exception_refcount(void *primary_exception) throw();
157 __cxa_decrement_exception_refcount(void *primary_exception) throw();
160 extern _LIBCXXABI_FUNC_VIS bool __cxa_uncaught_exception() throw();
161 extern _LIBCXXABI_FUNC_VIS unsigned int __cxa_uncaught_exceptions() throw();
[all …]
/external/toybox/toys/other/
Dshred.c47 int fd = open(*try, O_RDWR), iter = 0, throw; local
90 throw = sizeof(toybuf);
91 if (FLAG(x) && len-pos < throw) throw = len-pos;
93 if (iter != TT.n) xgetrandom(toybuf, throw, 0);
94 if (throw != writeall(fd, toybuf, throw)) perror_msg_raw(*try);
95 pos += throw;
/external/llvm-project/libcxx/test/support/
Dvariant_test_helpers.h37 CopyThrows(CopyThrows const&) { throw 42; } in CopyThrows()
38 CopyThrows& operator=(CopyThrows const&) { throw 42; }
45 MoveThrows(MoveThrows&&) { throw 42; } in MoveThrows()
47 MoveThrows& operator=(MoveThrows&&) { throw 42; }
62 throw 42; in MakeEmptyT()
65 throw 42;
68 throw 42;
/external/llvm/test/Transforms/LoopStrengthReduce/
Dfunclet.ll14 br label %throw
16 throw: ; preds = %throw, %entry
19 to label %throw unwind label %pad
21 pad: ; preds = %throw
22 %phi2 = phi i8* [ %tmp96, %throw ]
52 br label %throw
54 throw: ; preds = %throw, %entry
57 to label %throw unwind label %pad
60 %phi2 = phi i8* [ %tmp96, %throw ]
95 br label %throw
[all …]
/external/clang/test/SemaObjC/
Dtry-catch.m43 @throw 42; // expected-error {{@throw requires an Objective-C object type ('int' invalid)}}
44 @throw agg; // expected-error {{@throw requires an Objective-C object type ('struct s' invalid)}}
45 …@throw pagg; // expected-error {{@throw requires an Objective-C object type ('struct s *' invalid)…
46 @throw; // expected-error {{@throw (rethrow) used outside of a @catch block}}
/external/llvm-project/clang/test/SemaObjC/
Dtry-catch.m43 @throw 42; // expected-error {{@throw requires an Objective-C object type ('int' invalid)}}
44 @throw agg; // expected-error {{@throw requires an Objective-C object type ('struct s' invalid)}}
45 …@throw pagg; // expected-error {{@throw requires an Objective-C object type ('struct s *' invalid)…
46 @throw; // expected-error {{@throw (rethrow) used outside of a @catch block}}
/external/brotli/csharp/
Dinjected_code.txt10 get {throw new System.NotSupportedException();}
13 get {throw new System.NotSupportedException();}
14 set {throw new System.NotSupportedException();}
17 throw new System.NotSupportedException();
20 throw new System.NotSupportedException();
26 throw new System.NotSupportedException();
29 throw new System.NotSupportedException();

12345678910>>...41