Home
last modified time | relevance | path

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

123

/third_party/flutter/skia/third_party/externals/freetype/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 …]
/third_party/skia/third_party/externals/freetype/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 …]
/third_party/freetype/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 …]
/third_party/flutter/skia/third_party/externals/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 …]
/third_party/freetype/src/base/
Dftstream.c124 FT_ULong read_bytes; in FT_Stream_ReadAt() local
137 read_bytes = stream->read( stream, pos, buffer, count ); in FT_Stream_ReadAt()
140 read_bytes = stream->size - pos; in FT_Stream_ReadAt()
141 if ( read_bytes > count ) in FT_Stream_ReadAt()
142 read_bytes = count; in FT_Stream_ReadAt()
144 FT_MEM_COPY( buffer, stream->base + pos, read_bytes ); in FT_Stream_ReadAt()
147 stream->pos = pos + read_bytes; in FT_Stream_ReadAt()
149 if ( read_bytes < count ) in FT_Stream_ReadAt()
153 count, read_bytes )); in FT_Stream_ReadAt()
167 FT_ULong read_bytes = 0; in FT_Stream_TryRead() local
[all …]
/third_party/skia/third_party/externals/freetype/src/base/
Dftstream.c124 FT_ULong read_bytes; in FT_Stream_ReadAt() local
137 read_bytes = stream->read( stream, pos, buffer, count ); in FT_Stream_ReadAt()
140 read_bytes = stream->size - pos; in FT_Stream_ReadAt()
141 if ( read_bytes > count ) in FT_Stream_ReadAt()
142 read_bytes = count; in FT_Stream_ReadAt()
144 FT_MEM_COPY( buffer, stream->base + pos, read_bytes ); in FT_Stream_ReadAt()
147 stream->pos = pos + read_bytes; in FT_Stream_ReadAt()
149 if ( read_bytes < count ) in FT_Stream_ReadAt()
153 count, read_bytes )); in FT_Stream_ReadAt()
167 FT_ULong read_bytes = 0; in FT_Stream_TryRead() local
[all …]
/third_party/openh264/test/api/
DBaseThreadDecoderTest.cpp48 int32_t read_bytes = 0; in ReadFrame() local
54 while (read_bytes < bytes_available - 4) { in ReadFrame()
66 return read_bytes; in ReadFrame()
69 return read_bytes; in ReadFrame()
74 return read_bytes; in ReadFrame()
77 return read_bytes; in ReadFrame()
81 return read_bytes; in ReadFrame()
83 if (sps_count == 2) return read_bytes; in ReadFrame()
85 if (++pps_count >= 1 && (non_idr_pict_count >= 1 || idr_pict_count >= 1)) return read_bytes; in ReadFrame()
88 return read_bytes; in ReadFrame()
[all …]
/third_party/ffmpeg/libavcodec/
Dcri_parser.c36 int read_bytes; member
62 bpc->read_bytes++; in cri_parse()
67 bpc->read_bytes = 0; in cri_parse()
73 if (bpc->skip_bytes == 0 && bpc->read_bytes >= 8) { in cri_parse()
76 bpc->read_bytes = 0; in cri_parse()
81 bpc->read_bytes == 0 && bpc->count > 1) { in cri_parse()
/third_party/ltp/testcases/kernel/syscalls/acct/
Dacct02.c163 int read_bytes, ret; in run() local
177 read_bytes = SAFE_READ(0, fd, &acct_struct, acct_size); in run()
179 if (i == 0 && read_bytes == 0) { in run()
184 if (read_bytes == 0) { in run()
189 if (read_bytes != acct_size) { in run()
191 read_bytes, acct_size); in run()
202 if (read_bytes) in run()
204 } while (read_bytes == acct_size && ret); in run()
/third_party/openh264/codec/console/dec/src/
Dh264dec.cpp112 int32_t read_bytes = 0; in readPicture() local
120 while (read_bytes < bytes_available - 4) { in readPicture()
132 return read_bytes; in readPicture()
135 return read_bytes; in readPicture()
140 return read_bytes; in readPicture()
143 return read_bytes; in readPicture()
148 return read_bytes; in readPicture()
151 return read_bytes; in readPicture()
158 return read_bytes; in readPicture()
162 return read_bytes; in readPicture()
[all …]
/third_party/cef/tests/ceftests/
Dstream_resource_handler_unittest.cc51 const size_t read_bytes = in Read() local
53 if (read_bytes > 0) { in Read()
54 memcpy(ptr, content_.c_str() + offset_, read_bytes); in Read()
55 offset_ += read_bytes; in Read()
58 return read_bytes; in Read()
/third_party/ltp/testcases/kernel/syscalls/readahead/
Dreadahead02.c153 unsigned long *read_bytes, long long *usec, in read_testfile() argument
204 *read_bytes = get_bytes_read() - read_bytes_start; in read_testfile()
215 unsigned long read_bytes, read_bytes_ra; in test_readahead() local
232 read_testfile(tc, 0, testfile, testfile_size, &read_bytes, &usec, in test_readahead()
241 read_testfile(tc, 0, testfile, testfile_size, &read_bytes, &usec, in test_readahead()
288 tst_res(TINFO, "read_testfile(0) read: %ld bytes", read_bytes); in test_readahead()
292 if (read_bytes_ra < read_bytes) in test_readahead()
/third_party/cef/libcef/browser/net_service/
Dresponse_filter_wrapper.cc96 uint32_t read_bytes = 0; in OnSourceReadable() local
97 MojoResult result = source_handle_->BeginReadData(&buffer, &read_bytes, in OnSourceReadable()
110 Filter(static_cast<const char*>(buffer), read_bytes); in OnSourceReadable()
117 source_handle_->EndReadData(read_bytes); in OnSourceReadable()
/third_party/cef/libcef/renderer/
Drender_urlrequest_impl.cc230 uint32_t read_bytes = 0; in OnBodyReadable() local
231 MojoResult result = body_handle_->BeginReadData(&buffer, &read_bytes, in OnBodyReadable()
254 download_data_received_ += read_bytes; in OnBodyReadable()
260 client_->OnDownloadData(url_request_.get(), buffer, read_bytes); in OnBodyReadable()
263 body_handle_->EndReadData(read_bytes); in OnBodyReadable()
/third_party/benchmark/src/
Dperf_counters.h100 auto read_bytes = ::read(counter_ids_[0], buffer.first, buffer.second); in Snapshot() local
101 return static_cast<size_t>(read_bytes) == buffer.second; in Snapshot()
/third_party/gstreamer/gstplugins_bad/ext/modplug/
Dgstmodplug.cc495 modplug->read_bytes = in gst_modplug_load_song()
725 GST_LOG_OBJECT (modplug, "Read %d bytes", (gint) modplug->read_bytes); in gst_modplug_loop()
727 out = gst_buffer_new_allocate (NULL, modplug->read_bytes * 2, NULL); in gst_modplug_loop()
730 if (!modplug->mSoundFile->Read (map.data, modplug->read_bytes)) { in gst_modplug_loop()
735 gst_buffer_resize (out, 0, modplug->read_bytes); in gst_modplug_loop()
Dgstmodplug.h66 gint32 read_bytes; member
/third_party/python/Modules/_io/
Dbytesio.c394 read_bytes(bytesio *self, Py_ssize_t size) in read_bytes() function
440 return read_bytes(self, size); in _io_BytesIO_read_impl()
484 return read_bytes(self, n); in _io_BytesIO_readline_impl()
633 return read_bytes(self, n); in bytesio_iternext()
/third_party/ltp/m4/
Dltp-taskstats.m413 …CK_MEMBERS([struct taskstats.freepages_count, struct taskstats.nvcsw, struct taskstats.read_bytes],
/third_party/python/Lib/test/test_importlib/
Dtest_files.py13 actual = files.joinpath('utf-8.file').read_bytes()
/third_party/python/Lib/importlib/
D_common.py106 return _tempfile(path.read_bytes, suffix=path.name)
Dreaders.py74 def read_bytes(self): member in MultiplexedPath
/third_party/gstreamer/gstplugins_good/ext/wavpack/
Dgstwavpackstreamreader.c115 stream_reader->read_bytes = gst_wavpack_stream_reader_read_bytes; in gst_wavpack_stream_reader_new()
/third_party/pulseaudio/src/modules/
Dmodule-solaris.c98 uint64_t written_bytes, read_bytes; member
218 r = pa_bytes_to_usec(get_recorded_bytes(u), ss) - pa_bytes_to_usec(u->read_bytes, ss); in source_get_latency()
344 u->written_bytes = u->read_bytes = 0; in open_audio_device()
786 u->read_bytes += r; in thread_func()
/third_party/alsa-lib/include/
Dcontrol_external.h207 int (*read_bytes)(snd_ctl_ext_t *ext, snd_ctl_ext_key_t key, unsigned char *data, member

123