Lines Matching +defs:error +defs:value
44 size_t value() const { return val.word; }
62 * decompression. errno can be checked to distinguish two error
63 * cases (if errno is zero, the zlib error is Z_MEM_ERROR).
77 * and deallocates all the (de)compression state. The return value is
78 * the zlib error number (see function error() below).
91 /* Returns the error message for the last error which occurred on the
92 * given compressed file. errnum is set to zlib error number. If an
93 * error occurred in the file system and not in the compression library,
95 * to get the exact error code.
97 const char* error(int* errnum) {
112 * (0 for end of file, -1 for error).
140 ::gzread(zs.fp(), x, len.value());
141 x[len.value()] = '\0';
147 char* x = new char[len.value()+1];
148 ::gzread(zs.fp(), x, len.value());
149 x[len.value()] = '\0';
174 * errno can be checked to distinguish two error cases
175 * (if errno is zero, the zlib error is Z_MEM_ERROR).
195 * and deallocates all the (de)compression state. The return value is
196 * the zlib error number (see function error() below).
213 * _flush is as in the deflate() function. The return value is the zlib
214 * error number (see function gzerror below). flush() returns Z_OK if
224 /* Returns the error message for the last error which occurred on the
225 * given compressed file. errnum is set to zlib error number. If an
226 * error occurred in the file system and not in the compression library,
228 * to get the exact error code.
230 const char* error(int* errnum) {
261 * (0 in case of error).
288 ::gzwrite(zs.fp(), (voidp) x, len.value());