/third_party/skia/third_party/externals/freetype/builds/amiga/src/base/ |
H A D | ftsystem.c | 298 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 in ft_amiga_stream_io() [all...] |
/third_party/skia/third_party/externals/freetype/src/base/ |
H A D | ftstream.c | 124 FT_ULong read_bytes; in FT_BASE_DEF() local 137 read_bytes = stream->read( stream, pos, buffer, count ); in FT_BASE_DEF() 140 read_bytes = stream->size - pos; in FT_BASE_DEF() 141 if ( read_bytes > count ) in FT_BASE_DEF() 142 read_bytes = count; in FT_BASE_DEF() 144 FT_MEM_COPY( buffer, stream->base + pos, read_bytes ); in FT_BASE_DEF() 147 stream->pos = pos + read_bytes; in FT_BASE_DEF() 149 if ( read_bytes < count ) in FT_BASE_DEF() 153 count, read_bytes )); in FT_BASE_DEF() 167 FT_ULong read_bytes in FT_BASE_DEF() local 238 FT_ULong read_bytes; FT_BASE_DEF() local [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | cri_parser.c | 36 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/ |
H A D | acct02.c | 163 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/backends/sanei/ |
H A D | sanei_lm983x.c | 151 SANE_Word bytes, max_len, read_bytes; in sanei_lm983x_read() local 191 read_bytes = 0; in sanei_lm983x_read() 194 size = (max_len - read_bytes); in sanei_lm983x_read() 196 result = sanei_usb_read_bulk( fd, (buffer + bytes + read_bytes), &size ); in sanei_lm983x_read() 201 read_bytes += size; in sanei_lm983x_read() 204 if( read_bytes != max_len ) { in sanei_lm983x_read() 211 } while( read_bytes < max_len ); in sanei_lm983x_read()
|
/third_party/python/Lib/test/test_importlib/ |
H A D | test_read.py | 10 resources.files(package).joinpath(path).read_bytes() 20 result = resources.files(self.data).joinpath('binary.file').read_bytes() 55 result = resources.files(submodule).joinpath('binary.file').read_bytes() 62 .read_bytes()
|
H A D | test_compatibilty_files.py | 66 self.assertEqual(self.files.read_bytes(), b'Hello, world!') 70 self.assertEqual((self.files / 'a').read_bytes(), b'Hello, world!') 75 (self.files / 'a' / 'b').read_bytes() 77 (self.files / 'a' / 'b' / 'c').read_bytes()
|
H A D | test_files.py | 13 actual = files.joinpath('utf-8.file').read_bytes()
|
H A D | test_resource.py | 148 self.zip_path.write_bytes(self.source_zip_path.read_bytes()) 201 c = resources.files('ziptestdata').joinpath('binary.file').read_bytes()
|
H A D | test_reader.py | 56 path.read_bytes()
|
/third_party/ltp/testcases/kernel/syscalls/readahead/ |
H A D | readahead02.c | 106 SAFE_FILE_LINES_SCANF(PROC_IO_FNAME, "read_bytes: %lu", &ret); in get_bytes_read() 149 * @read_bytes: returns difference of bytes read, parsed from /proc/<pid>/io 155 unsigned long *read_bytes, long long *usec, in read_testfile() 206 *read_bytes = get_bytes_read() - read_bytes_start; in read_testfile() 217 unsigned long read_bytes, read_bytes_ra; in test_readahead() local 233 read_testfile(tc, 0, testfile, testfile_size, &read_bytes, &usec, in test_readahead() 242 read_testfile(tc, 0, testfile, testfile_size, &read_bytes, &usec, in test_readahead() 289 tst_res(TINFO, "read_testfile(0) read: %ld bytes", read_bytes); in test_readahead() 293 if (read_bytes_ra < read_bytes) in test_readahead() 153 read_testfile(struct tcase *tc, int do_readahead, const char *fname, size_t fsize, unsigned long *read_bytes, long long *usec, unsigned long *cached) read_testfile() argument
|
/third_party/python/Lib/test/test_tomllib/ |
H A D | test_data.py | 26 text = json.loads(json_path.read_bytes().decode()) 40 toml_bytes = invalid.read_bytes() 60 toml_str = valid.read_bytes().decode()
|
/third_party/backends/backend/ |
H A D | snapscan-usb.c | 209 size_t read_bytes; in snapscani_usb_close() local 214 read_bytes = 120; in snapscani_usb_close() 215 snapscani_usb_cmd (fd, cmd2, sizeof (cmd2), data, &read_bytes); in snapscani_usb_close() 220 size_t read_bytes; in snapscani_usb_close() local 224 read_bytes = 120; in snapscani_usb_close() 225 snapscani_usb_cmd (fd, cmd, sizeof (cmd), data, &read_bytes); in snapscani_usb_close() 486 size_t read_bytes = 0; in usb_request_sense() local 491 read_bytes = 20; in usb_request_sense() 494 status = usb_cmd (pss->fd, cmd, sizeof (cmd), data, &read_bytes); in usb_request_sense()
|
H A D | snapscan-scsi.c | 400 size_t read_bytes; in mini_inquiry() local 405 read_bytes = 36; in mini_inquiry() 408 status = snapscan_cmd (bus, fd, cmd, sizeof (cmd), data, &read_bytes); in mini_inquiry() 449 pss->read_bytes = INQUIRY_RET_LEN_EPSON; in inquiry() 451 pss->read_bytes = INQUIRY_RET_LEN; in inquiry() 455 pss->read_bytes = INQUIRY_RET_LEN_5000; in inquiry() 458 pss->read_bytes = INQUIRY_RET_LEN; in inquiry() 464 pss->cmd[4] = pss->read_bytes; in inquiry() 471 &pss->read_bytes); in inquiry() 547 pss->read_bytes in inquiry() 1365 size_t read_bytes; calibrate_epson() local 1518 size_t read_bytes; read_calibration_data() local [all...] |
H A D | ma1509.h | 162 SANE_Word read_bytes; /* bytes transmitted by sane_read */ member
|
H A D | snapscan-sources.c | 187 ps->scsi_buf_max = ps->pss->read_bytes; in SCSISource_get() 188 ndata = ps->pss->read_bytes; in SCSISource_get() 189 ps->pss->bytes_remaining -= ps->pss->read_bytes; in SCSISource_get() 192 (u_long) ps->pss->read_bytes); in SCSISource_get() 419 pss->read_bytes); in create_base_source()
|
/third_party/node/deps/v8/src/codegen/ |
H A D | safepoint-table.h | 115 int pc = read_bytes(&entry_ptr, pc_size()); in GetEntry() 123 deopt_index = read_bytes(&entry_ptr, deopt_index_size()) - 1; in GetEntry() 124 trampoline_pc = read_bytes(&entry_ptr, pc_size()) - 1; in GetEntry() 130 read_bytes(&entry_ptr, register_indexes_size()); in GetEntry() 185 static int read_bytes(Address* ptr, int bytes) { in read_bytes() function in v8::internal::SafepointTable
|
/third_party/benchmark/src/ |
H A D | perf_counters.cc | 39 auto read_bytes = ::read(lead, ptr, size); in Read() local 40 if (read_bytes >= ssize_t(sizeof(uint64_t))) { in Read() 42 std::size_t data_bytes = read_bytes - sizeof(uint64_t); in Read()
|
/third_party/python/Modules/_io/ |
H A D | bytesio.c | 394 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/python/Tools/scripts/ |
H A D | verify_ensurepip_wheels.py | 75 actual_digest = hashlib.sha256(package_path.read_bytes()).hexdigest()
|
/third_party/python/Lib/importlib/resources/ |
H A D | _common.py | 98 return _tempfile(path.read_bytes, suffix=path.name)
|
H A D | _legacy.py | 52 return (_common.files(package) / normalize_path(resource)).read_bytes()
|
H A D | abc.py | 72 def read_bytes(self) -> bytes: member in Traversable
|
H A D | readers.py | 73 def read_bytes(self): member in MultiplexedPath
|
/third_party/alsa-lib/include/ |
H A D | control_external.h | 207 int (*read_bytes)(snd_ctl_ext_t *ext, snd_ctl_ext_key_t key, unsigned char *data, member
|