Home
last modified time | relevance | path

Searched refs:_throw (Results 1 – 11 of 11) sorted by relevance

/external/libvncserver/test/
Dbmp.c79 #define _throw(m) {__bmperr=m; retcode=-1; goto finally;} macro
80 #define _unix(f) {if((f)==-1) _throw(strerror(errno));}
84 if((bytesread=read(fd, addr, (size)))==-1) _throw(strerror(errno)); \
85 if(bytesread!=(size)) _throw("Read error");
115 if((fs=fdopen(*fd, "r"))==NULL) _throw(strerror(errno)); in loadppm()
119 if(!fgets(temps, 255, fs)) _throw("Read error"); in loadppm()
126 _throw("Read error"); in loadppm()
130 _throw("Read error"); in loadppm()
134 _throw("Read error"); in loadppm()
139 if((*w)<1 || (*h)<1 || scalefactor<1) _throw("Corrupt PPM header"); in loadppm()
[all …]
Dtjunittest.c48 #define _throw(m) {printf("ERROR: %s\n", m); bailout();} macro
250 _throw("Memory allocation failure"); in compTest()
291 _throw("Incorrect JPEG header"); in _decompTest()
295 _throw("Memory allocation failure"); in _decompTest()
345 _throw("Memory allocation failure."); in doTest()
396 _throw("Memory allocation failure"); in bufSizeTest()
399 _throw("Memory allocation failure"); in bufSizeTest()
414 _throw("Memory allocation failure"); in bufSizeTest()
417 _throw("Memory allocation failure"); in bufSizeTest()
Dtjbench.c39 #define _throw(op, err) { \ macro
43 #define _throwunix(m) _throw(m, strerror(errno))
44 #define _throwtj(m) _throw(m, tjGetErrorStr())
45 #define _throwbmp(m) _throw(m, bmpgeterr())
/external/libjpeg-turbo/
Dturbojpeg.c129 #define _throw(m) {snprintf(errStr, JMSG_LENGTH_MAX, "%s", m); \ macro
323 _throw("Unsupported pixel format"); in setDecompDefaults()
627 _throw("tjBufSize(): Invalid argument"); in tjBufSize()
637 _throw("tjBufSize(): Image is too large"); in tjBufSize()
647 _throw("TJBUFSIZE(): Invalid argument"); in TJBUFSIZE()
654 _throw("tjBufSize(): Image is too large"); in TJBUFSIZE()
668 _throw("tjBufSizeYUV2(): Invalid argument"); in tjBufSizeYUV2()
680 _throw("tjBufSize(): Image is too large"); in tjBufSizeYUV2()
704 _throw("tjPlaneWidth(): Invalid argument"); in tjPlaneWidth()
707 _throw("tjPlaneWidth(): Invalid argument"); in tjPlaneWidth()
[all …]
Dbmp.c69 #define _throw(m) {snprintf(errStr, JMSG_LENGTH_MAX, "%s", m); \ macro
180 _throw("loadbmp(): Invalid argument"); in loadbmp()
198 else if(tempc==EOF) _throw("loadbmp(): Input file contains no data"); in loadbmp()
203 _throw("loadbmp(): Could not initialize bitmap loader"); in loadbmp()
208 _throw("loadbmp(): Could not initialize bitmap loader"); in loadbmp()
210 else _throw("loadbmp(): Unsupported file type"); in loadbmp()
224 _throw("loadbmp(): Memory allocation failure"); in loadbmp()
264 _throw("savebmp(): Invalid argument"); in savebmp()
298 _throw("savebmp(): Could not initialize bitmap writer"); in savebmp()
303 _throw("savebmp(): Could not initialize PPM writer"); in savebmp()
Dtjunittest.c60 #define _throw(m) {printf("ERROR: %s\n", m); bailout();} macro
405 _throw("Memory allocation failure"); in compTest()
420 _throw("Memory allocation failure"); in compTest()
467 _throw("Incorrect JPEG header"); in _decompTest()
471 _throw("Memory allocation failure"); in _decompTest()
482 _throw("Memory allocation failure"); in _decompTest()
558 _throw("Memory allocation failure."); in doTest()
649 _throw("Memory allocation failure"); in bufSizeTest()
655 _throw("Memory allocation failure"); in bufSizeTest()
681 _throw("Memory allocation failure"); in bufSizeTest()
[all …]
Dtjbench.c41 #define _throw(op, err) { \ macro
44 #define _throwunix(m) _throw(m, strerror(errno))
45 #define _throwtj(m) _throw(m, tjGetErrorStr())
46 #define _throwbmp(m) _throw(m, bmpgeterr())
132 _throw("allocating destination buffer", "Image is too large"); in decomp()
302 _throw("allocating temporary image buffer", "Image is too large"); in fullTest()
330 _throw("getting buffer size", "Image is too large"); in fullTest()
349 _throw("allocating YUV buffer", "Image too large"); in fullTest()
569 _throw("getting buffer size", "Image is too large"); in decompTest()
Dturbojpeg-jni.c42 #define _throw(msg, exceptionClass) { \ macro
49 #define _throwtj() _throw(tjGetErrorStr(), "org/libjpegturbo/turbojpeg/TJException")
51 #define _throwarg(msg) _throw(msg, "java/lang/IllegalArgumentException")
53 #define _throwmem() _throw("Memory allocation failure", "java/lang/OutOfMemoryError");
/external/libvncserver/common/
Dturbojpeg.c107 #define _throw(m) {snprintf(errStr, JMSG_LENGTH_MAX, "%s", m); \ macro
251 _throw("Unsupported pixel format"); in setDecompDefaults()
503 _throw("tjBufSize(): Invalid argument"); in tjBufSize()
524 _throw("TJBUFSIZE(): Invalid argument"); in TJBUFSIZE()
549 _throw("tjCompress2(): Instance has not been initialized for compression"); in tjCompress2()
554 _throw("tjCompress2(): Invalid argument"); in tjCompress2()
569 if(!rgbBuf) _throw("tjCompress2(): Memory allocation failure"); in tjCompress2()
590 _throw("tjCompress2(): Memory allocation failure"); in tjCompress2()
692 _throw("tjDecompressHeader2(): Instance has not been initialized for decompression"); in tjDecompressHeader2()
696 _throw("tjDecompressHeader2(): Invalid argument"); in tjDecompressHeader2()
[all …]
/external/llvm/test/CodeGen/X86/
Dbranchfolding-landingpads.ll16 declare void @_throw()
23 invoke void @_throw() #0
30 invoke void @_throw() #0
/external/autotest/client/cros/
Dpower_suspend.py109 self._throw = throw
559 if self._throw: