OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:_throw
(Results
1 - 6
of
6
) sorted by null
/external/chromium_org/third_party/libjpeg_turbo/
turbojpeg-jni.c
40
#define
_throw
(msg) { \
macro
50
_throw
(temps); \
64
if(retval==-1)
_throw
(tjGetErrorStr());
74
if(retval==-1)
_throw
(tjGetErrorStr());
88
_throw
(tjGetErrorStr());
112
_throw
("Invalid argument in compress()");
114
_throw
("Mismatch between Java and C API");
119
_throw
("Source buffer is not large enough");
122
_throw
("Destination buffer is not large enough");
134
_throw
(tjGetErrorStr())
[
all
...]
bmp.c
69
#define
_throw
(m) {snprintf(errStr, JMSG_LENGTH_MAX, "%s", m); \
macro
113
_throw
("loadbmp(): Invalid argument");
131
else if(tempc==EOF)
_throw
("loadbmp(): Input file contains no data");
136
_throw
("loadbmp(): Could not initialize bitmap loader");
141
_throw
("loadbmp(): Could not initialize bitmap loader");
143
else
_throw
("loadbmp(): Unsupported file type");
157
_throw
("loadbmp(): Memory allocation failure");
197
_throw
("savebmp(): Invalid argument");
231
_throw
("savebmp(): Could not initialize bitmap writer");
236
_throw
("savebmp(): Could not initialize PPM writer")
[
all
...]
turbojpeg.c
116
#define
_throw
(m) {snprintf(errStr, JMSG_LENGTH_MAX, "%s", m); \
macro
259
_throw
("Unsupported pixel format");
520
_throw
("tjBufSize(): Invalid argument");
538
_throw
("TJBUFSIZE(): Invalid argument");
556
_throw
("tjBufSizeYUV(): Invalid argument");
585
_throw
("tjCompress2(): Instance has not been initialized for compression");
590
_throw
("tjCompress2(): Invalid argument");
605
if(!rgbBuf)
_throw
("tjCompress2(): Memory allocation failure");
628
_throw
("tjCompress2(): Memory allocation failure");
697
_throw
("tjEncodeYUV2(): Instance has not been initialized for compression")
[
all
...]
turbojpegl.c
65
#define
_throw
(c) {sprintf(lasterror, "%s", c); return -1;}
macro
68
if(!j)
_throw
("Invalid handle");
126
_throw
("Invalid argument in tjCompress()");
127
if(ps!=3 && ps!=4)
_throw
("This compressor can only take 24-bit or 32-bit RGB input");
128
if(!j->initc)
_throw
("Instance has not been initialized for compression");
182
_throw
("Memory allocation failed in tjInitCompress()");
256
_throw
("Invalid argument in tjDecompressHeader()");
257
if(!j->initd)
_throw
("Instance has not been initialized for decompression");
273
if(*width<1 || *height<1)
_throw
("Invalid data returned in header");
289
_throw
("Invalid argument in tjDecompress()")
[
all
...]
tjunittest.c
58
#define
_throw
(m) {printf("ERROR: %s\n", m); bailout();}
macro
350
_throw
("Memory allocation failure");
419
_throw
("Incorrect JPEG header");
424
_throw
("Memory allocation failure");
492
_throw
("Memory allocation failure.");
553
_throw
("Memory allocation failure");
559
_throw
("Memory allocation failure");
582
_throw
("Memory allocation failure");
588
_throw
("Memory allocation failure");
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())
Completed in 88 milliseconds