Home
last modified time | relevance | path

Searched refs:read_bytes (Results 1 – 17 of 17) sorted by relevance

/external/chromium-trace/catapult/third_party/gsutil/third_party/rsa/rsa/
Dvarblock.py55 read_bytes = 0
60 if read_bytes == 0:
66 varint += (byte & 0x7F) << (7 * read_bytes)
68 read_bytes += 1
71 return (varint, read_bytes)
121 (block_size, read_bytes) = read_varint(infile)
124 if read_bytes == 0 and block_size == 0:
147 read_bytes = len(block)
148 if read_bytes == 0:
153 if read_bytes < blocksize:
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/builds/amiga/src/base/
Dftsystem.c298 unsigned long read_bytes; in ft_amiga_stream_io() local
322 read_bytes = count; in ft_amiga_stream_io()
330 read_bytes = Read( sysfile->file, sysfile->iobuf, IOBUF_SIZE ); in ft_amiga_stream_io()
331 if ( read_bytes == -1UL ) in ft_amiga_stream_io()
334 read_bytes = 0; in ft_amiga_stream_io()
338 sysfile->iobuf_end = offset + read_bytes; in ft_amiga_stream_io()
340 if ( read_bytes > count ) in ft_amiga_stream_io()
342 read_bytes = count; in ft_amiga_stream_io()
351 read_bytes = Read( sysfile->file, buffer, count ); in ft_amiga_stream_io()
352 if ( read_bytes == -1UL ) in ft_amiga_stream_io()
[all …]
/external/pdfium/third_party/freetype/src/base/
Dftstream.c125 FT_ULong read_bytes; in FT_Stream_ReadAt() local
138 read_bytes = stream->read( stream, pos, buffer, count ); in FT_Stream_ReadAt()
141 read_bytes = stream->size - pos; in FT_Stream_ReadAt()
142 if ( read_bytes > count ) in FT_Stream_ReadAt()
143 read_bytes = count; in FT_Stream_ReadAt()
145 FT_MEM_COPY( buffer, stream->base + pos, read_bytes ); in FT_Stream_ReadAt()
148 stream->pos = pos + read_bytes; in FT_Stream_ReadAt()
150 if ( read_bytes < count ) in FT_Stream_ReadAt()
154 count, read_bytes )); in FT_Stream_ReadAt()
168 FT_ULong read_bytes = 0; in FT_Stream_TryRead() local
[all …]
/external/freetype/src/base/
Dftstream.c125 FT_ULong read_bytes; in FT_Stream_ReadAt() local
138 read_bytes = stream->read( stream, pos, buffer, count ); in FT_Stream_ReadAt()
141 read_bytes = stream->size - pos; in FT_Stream_ReadAt()
142 if ( read_bytes > count ) in FT_Stream_ReadAt()
143 read_bytes = count; in FT_Stream_ReadAt()
145 FT_MEM_COPY( buffer, stream->base + pos, read_bytes ); in FT_Stream_ReadAt()
148 stream->pos = pos + read_bytes; in FT_Stream_ReadAt()
150 if ( read_bytes < count ) in FT_Stream_ReadAt()
154 count, read_bytes )); in FT_Stream_ReadAt()
168 FT_ULong read_bytes = 0; in FT_Stream_TryRead() local
[all …]
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/base/
Dftstream.c125 FT_ULong read_bytes; in FT_Stream_ReadAt() local
138 read_bytes = stream->read( stream, pos, buffer, count ); in FT_Stream_ReadAt()
141 read_bytes = stream->size - pos; in FT_Stream_ReadAt()
142 if ( read_bytes > count ) in FT_Stream_ReadAt()
143 read_bytes = count; in FT_Stream_ReadAt()
145 FT_MEM_COPY( buffer, stream->base + pos, read_bytes ); in FT_Stream_ReadAt()
148 stream->pos = pos + read_bytes; in FT_Stream_ReadAt()
150 if ( read_bytes < count ) in FT_Stream_ReadAt()
154 count, read_bytes )); in FT_Stream_ReadAt()
168 FT_ULong read_bytes = 0; in FT_Stream_TryRead() local
[all …]
/external/bsdiff/
Dbspatch.cc299 size_t read_bytes; in bspatch() local
301 if (!old_file->Read(old_buf.data(), bytes_to_read, &read_bytes)) in bspatch()
303 if (!read_bytes) in bspatch()
306 if (!ReadBZ2(dpfbz2, new_buf.data(), read_bytes)) in bspatch()
309 for (size_t k = 0; k < read_bytes; k++) in bspatch()
311 if (!WriteAll(new_file, new_buf.data(), read_bytes)) in bspatch()
313 chunk_size -= read_bytes; in bspatch()
/external/webrtc/webrtc/base/
Dbytebuffer_unittest.cc175 char read_bytes[3]; in TEST() local
176 EXPECT_TRUE(buffer.ReadBytes(read_bytes, 3)); in TEST()
178 EXPECT_EQ(write_bytes[i], read_bytes[i]); in TEST()
185 memset(read_bytes, 0, 3); in TEST()
186 EXPECT_TRUE(buffer.ReadBytes(read_bytes, 3)); in TEST()
188 EXPECT_EQ(write_bytes[i], read_bytes[i]); in TEST()
/external/libunwind/src/
DLos-common.c164 map_local_is_readable (unw_word_t addr, size_t read_bytes) in map_local_is_readable() argument
166 return is_flag_set (addr, PROT_READ, read_bytes); in map_local_is_readable()
/external/libpcap/
Dsf-pcap-ng.c231 read_bytes(FILE *fp, void *buf, size_t bytes_to_read, int fail_on_eof, in read_bytes() function
261 status = read_bytes(fp, &bhdr, sizeof(bhdr), 0, errbuf); in read_block()
316 if (read_bytes(fp, p->buffer + sizeof(bhdr), in read_block()
817 if (read_bytes(fp, in pcap_ng_check_header()
/external/kernel-headers/original/uapi/linux/
Dtaskstats.h151 __u64 read_bytes; /* bytes of read I/O */ member
/external/squashfs-tools/squashfs-tools/
Dmksquashfs.h163 extern int read_bytes(int, void *, int);
Daction.h321 extern int read_bytes(int, void *, int);
Dprocess_fragments.c91 } else if(read_bytes(fd, buff, bytes) < bytes) { in read_filesystem()
Dmksquashfs.c507 int read_bytes(int fd, void *buff, int bytes) in read_bytes() function
544 } else if(read_bytes(fd, buff, bytes) < bytes) { in read_fs_bytes()
2159 byte = read_bytes(file, file_buffer->data, block_size); in reader_read_process()
2263 file_buffer->size = read_bytes(file, file_buffer->data, in reader_read_file()
2293 res = read_bytes(file, &buffer, 1); in reader_read_file()
4831 res = read_bytes(recoverfd, header2, RECOVER_ID_SIZE); in read_recovery_data()
4840 res = read_bytes(recoverfd, &sBlk, sizeof(struct squashfs_super_block)); in read_recovery_data()
4864 res = read_bytes(recoverfd, metadata, bytes); in read_recovery_data()
Daction.c2571 res = read_bytes(pipefd[0], buffer + size, 512); in file_fn()
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_flate.cpp882 size_t read_bytes = in v_GetNextLine() local
885 read_bytes); in v_GetNextLine()
886 m_LeftOver += m_PredictPitch - read_bytes; in v_GetNextLine()
887 bytes_to_go -= read_bytes; in v_GetNextLine()
/external/protobuf/src/google/protobuf/
Dwire_format_lite_inl.h285 const int read_bytes = num_read * per_value_size; in ReadRepeatedFixedSizePrimitive() local
286 if (read_bytes > 0) { in ReadRepeatedFixedSizePrimitive()
287 input->Skip(read_bytes); in ReadRepeatedFixedSizePrimitive()