Searched refs:_throw (Results 1 – 11 of 11) sorted by relevance
/external/libvncserver/test/ |
D | bmp.c | 79 #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 …]
|
D | tjunittest.c | 48 #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()
|
D | tjbench.c | 39 #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/ |
D | turbojpeg-jni.c | 42 #define _throw(msg) { \ macro 52 _throw(temps); \ 104 if(retval==-1) _throw(tjGetErrorStr()); in Java_org_libjpegturbo_turbojpeg_TJ_bufSize() 115 if(retval==-1) _throw(tjGetErrorStr()); in Java_org_libjpegturbo_turbojpeg_TJ_bufSizeYUV__IIII() 136 if(retval==-1) _throw(tjGetErrorStr()); in Java_org_libjpegturbo_turbojpeg_TJ_planeSizeYUV__IIIII() 147 if(retval==-1) _throw(tjGetErrorStr()); in Java_org_libjpegturbo_turbojpeg_TJ_planeWidth__III() 158 if(retval==-1) _throw(tjGetErrorStr()); in Java_org_libjpegturbo_turbojpeg_TJ_planeHeight__III() 173 _throw(tjGetErrorStr()); in Java_org_libjpegturbo_turbojpeg_TJCompressor_init() 197 _throw("Invalid argument in compress()"); in TJCompressor_compress() 199 _throw("Mismatch between Java and C API"); in TJCompressor_compress() [all …]
|
D | turbojpeg.c | 128 #define _throw(m) {snprintf(errStr, JMSG_LENGTH_MAX, "%s", m); \ macro 322 _throw("Unsupported pixel format"); in setDecompDefaults() 601 _throw("tjBufSize(): Invalid argument"); in tjBufSize() 619 _throw("TJBUFSIZE(): Invalid argument"); in TJBUFSIZE() 637 _throw("tjBufSizeYUV2(): Invalid argument"); in tjBufSizeYUV2() 671 _throw("tjPlaneWidth(): Invalid argument"); in tjPlaneWidth() 674 _throw("tjPlaneWidth(): Invalid argument"); in tjPlaneWidth() 692 _throw("tjPlaneHeight(): Invalid argument"); in tjPlaneHeight() 695 _throw("tjPlaneHeight(): Invalid argument"); in tjPlaneHeight() 715 _throw("tjPlaneSizeYUV(): Invalid argument"); in tjPlaneSizeYUV() [all …]
|
D | bmp.c | 69 #define _throw(m) {snprintf(errStr, JMSG_LENGTH_MAX, "%s", m); \ macro 173 _throw("loadbmp(): Invalid argument"); in loadbmp() 191 else if(tempc==EOF) _throw("loadbmp(): Input file contains no data"); in loadbmp() 196 _throw("loadbmp(): Could not initialize bitmap loader"); in loadbmp() 201 _throw("loadbmp(): Could not initialize bitmap loader"); in loadbmp() 203 else _throw("loadbmp(): Unsupported file type"); in loadbmp() 217 _throw("loadbmp(): Memory allocation failure"); in loadbmp() 257 _throw("savebmp(): Invalid argument"); in savebmp() 291 _throw("savebmp(): Could not initialize bitmap writer"); in savebmp() 296 _throw("savebmp(): Could not initialize PPM writer"); in savebmp()
|
D | tjunittest.c | 60 #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() 615 _throw("Memory allocation failure"); in bufSizeTest() 621 _throw("Memory allocation failure"); in bufSizeTest() 647 _throw("Memory allocation failure"); in bufSizeTest() [all …]
|
D | tjbench.c | 41 #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())
|
/external/libvncserver/common/ |
D | turbojpeg.c | 107 #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/ |
D | branchfolding-landingpads.ll | 16 declare void @_throw() 23 invoke void @_throw() #0 30 invoke void @_throw() #0
|
/external/autotest/client/cros/ |
D | power_suspend.py | 98 self._throw = throw 452 if self._throw:
|