Home | History | Annotate | Download | only in runtime

Lines Matching defs:Get

33 // Get 2 little-endian bytes.
39 // Get 4 little-endian bytes.
163 z_stream& Get() {
179 if (read_buf.get() == NULL || write_buf.get() == NULL) {
184 UniquePtr<ZStream> zstream(new ZStream(write_buf.get(), kBufSize));
188 int zerr = inflateInit2(&zstream->Get(), -MAX_WBITS);
201 if (zstream->Get().avail_in == 0) {
204 ssize_t actual = TEMP_FAILURE_RETRY(read(in, read_buf.get(), bytes_to_read));
210 zstream->Get().next_in = read_buf.get();
211 zstream->Get().avail_in = bytes_to_read;
215 zerr = inflate(&zstream->Get(), Z_NO_FLUSH);
218 << " (next_in=" << zstream->Get().next_in
219 << " avail_in=" << zstream->Get().avail_in
220 << " next_out=" << zstream->Get().next_out
221 << " avail_out=" << zstream->Get().avail_out
227 if (zstream->Get().avail_out == 0 ||
228 (zerr == Z_STREAM_END && zstream->Get().avail_out != kBufSize)) {
229 size_t bytes_to_write = zstream->Get().next_out - write_buf.get();
230 memcpy(dst, write_buf.get(), bytes_to_write);
232 zstream->Get().next_out = write_buf.get();
233 zstream->Get().avail_out = kBufSize;
240 if (zstream->Get().total_out != uncompressed_length) {
242 << zstream->Get().total_out << " vs " << uncompressed_length << ")";
259 if (map.get() == NULL) {
304 if (map.get() == NULL) {
345 if (zip_archive.get() == NULL) {
385 * Get and test file length.
399 if (scan_buf.get() == NULL) {
411 ssize_t actual = TEMP_FAILURE_RETRY(read(fd_, scan_buf.get(), sizeof(int32_t)));
417 unsigned int header = Le32ToHost(scan_buf.get());
439 actual = TEMP_FAILURE_RETRY(read(fd_, scan_buf.get(), read_amount));
452 if (scan_buf.get()[i] == 0x50 && Le32ToHost(&(scan_buf.get())[i]) == kEOCDSignature) {
462 const byte* eocd_ptr = scan_buf.get() + i;
500 if (dir_map_.get() == NULL) {