Home
last modified time | relevance | path

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

/third_party/python/Lib/
Dchunk.py70 self.size_read = 0
109 pos = pos + self.size_read
115 self.size_read = pos
120 return self.size_read
130 if self.size_read >= self.chunksize:
133 size = self.chunksize - self.size_read
134 if size > self.chunksize - self.size_read:
135 size = self.chunksize - self.size_read
137 self.size_read = self.size_read + len(data)
138 if self.size_read == self.chunksize and \
[all …]
/third_party/boost/libs/beast/test/extern/zlib-1.2.11/contrib/minizip/
Dminizip.c191 unsigned long size_read = 0; in getFileCrc() local
202 size_read = (int)fread(buf,1,size_buf,fin); in getFileCrc()
203 if (size_read < size_buf) in getFileCrc()
210 if (size_read>0) in getFileCrc()
211 calculate_crc = crc32(calculate_crc,buf,size_read); in getFileCrc()
212 total_read += size_read; in getFileCrc()
214 } while ((err == ZIP_OK) && (size_read>0)); in getFileCrc()
399 int size_read; local
475 size_read = (int)fread(buf,1,size_buf,fin);
476 if (size_read < size_buf)
[all …]
/third_party/skia/third_party/externals/zlib/contrib/minizip/
Dminizip.c191 unsigned long size_read = 0; in getFileCrc() local
202 size_read = (int)fread(buf,1,size_buf,fin); in getFileCrc()
203 if (size_read < size_buf) in getFileCrc()
210 if (size_read>0) in getFileCrc()
211 calculate_crc = crc32(calculate_crc,buf,size_read); in getFileCrc()
212 total_read += size_read; in getFileCrc()
214 } while ((err == ZIP_OK) && (size_read>0)); in getFileCrc()
399 int size_read; local
475 size_read = (int)fread(buf,1,size_buf,fin);
476 if (size_read < size_buf)
[all …]
/third_party/flutter/skia/third_party/externals/zlib/contrib/minizip/
Dminizip.c191 unsigned long size_read = 0; in getFileCrc() local
202 size_read = (int)fread(buf,1,size_buf,fin); in getFileCrc()
203 if (size_read < size_buf) in getFileCrc()
210 if (size_read>0) in getFileCrc()
211 calculate_crc = crc32(calculate_crc,buf,size_read); in getFileCrc()
212 total_read += size_read; in getFileCrc()
214 } while ((err == ZIP_OK) && (size_read>0)); in getFileCrc()
399 int size_read; local
475 size_read = (int)fread(buf,1,size_buf,fin);
476 if (size_read < size_buf)
[all …]
/third_party/boost/tools/boost_install/test/iostreams/zlib-1.2.11/contrib/minizip/
Dminizip.c191 unsigned long size_read = 0; in getFileCrc() local
202 size_read = (int)fread(buf,1,size_buf,fin); in getFileCrc()
203 if (size_read < size_buf) in getFileCrc()
210 if (size_read>0) in getFileCrc()
211 calculate_crc = crc32(calculate_crc,buf,size_read); in getFileCrc()
212 total_read += size_read; in getFileCrc()
214 } while ((err == ZIP_OK) && (size_read>0)); in getFileCrc()
399 int size_read; local
475 size_read = (int)fread(buf,1,size_buf,fin);
476 if (size_read < size_buf)
[all …]
/third_party/zlib/contrib/minizip/
Dminizip.c192 unsigned long size_read = 0; in getFileCrc() local
203 size_read = fread(buf,1,size_buf,fin); in getFileCrc()
204 if (size_read < size_buf) in getFileCrc()
211 if (size_read>0) in getFileCrc()
212 calculate_crc = crc32_z(calculate_crc,buf,size_read); in getFileCrc()
213 total_read += size_read; in getFileCrc()
215 } while ((err == ZIP_OK) && (size_read>0)); in getFileCrc()
400 size_t size_read; local
476 size_read = fread(buf,1,size_buf,fin);
477 if (size_read < size_buf)
[all …]
/third_party/mesa3d/src/intel/compiler/
Dbrw_fs_copy_propagation.cpp52 unsigned size_read; member
237 entry->src, entry->size_read)) in setup_initial_values()
485 if (!region_contained_in(inst->src[arg], inst->size_read(arg), in try_copy_propagate()
744 if (!region_contained_in(inst->src[i], inst->size_read(i), in try_constant_propagate()
951 inst->src[0], inst->size_read(0))) || in can_propagate_from()
1003 if (regions_overlap(entry->src, entry->size_read, in opt_copy_propagation_local()
1019 entry->size_read += inst->size_read(i); in opt_copy_propagation_local()
1039 entry->size_read = inst->size_read(i); in opt_copy_propagation_local()
Dbrw_ir_fs.h357 unsigned size_read(int arg) const;
468 inst->size_read(i) - in regs_read()
469 MIN2(inst->size_read(i), reg_padding(inst->src[i])), in regs_read()
616 inst->src[i], inst->size_read(i))) in is_copy_payload()
638 reg = byte_offset(reg, inst->size_read(i)); in is_identity_payload()
Dbrw_fs_register_coalesce.cpp164 if (regions_overlap(scan_inst->src[j], scan_inst->size_read(j), in can_coalesce_vars()
179 inst->src[0], inst->size_read(0))) { in can_coalesce_vars()
Dbrw_fs_cmod_propagation.cpp182 inst->src[0], inst->size_read(0))) { in cmod_propagate_not()
289 inst->src[0], inst->size_read(0))) { in opt_cmod_propagation_local()
Dbrw_ir_vec4.h289 unsigned size_read(unsigned arg) const;
436 return DIV_ROUND_UP(reg_offset(inst->src[i]) % reg_size + inst->size_read(i), in regs_read()
Dbrw_fs_saturate_propagation.cpp71 inst->src[0], inst->size_read(0))) { in opt_saturate_propagation_local()
Dbrw_vec4_dead_code_eliminate.cpp164 for (unsigned j = 0; j < DIV_ROUND_UP(inst->size_read(i), 16); j++) { in dead_code_eliminate()
Dbrw_vec4.cpp207 vec4_instruction::size_read(unsigned arg) const in size_read() function in brw::vec4_instruction
1301 if (regions_overlap(inst->src[0], inst->size_read(0), in opt_register_coalesce()
1384 if (regions_overlap(inst->src[0], inst->size_read(0), in opt_register_coalesce()
1385 scan_inst->src[i], scan_inst->size_read(i))) in opt_register_coalesce()
1414 scan_inst->src[i], scan_inst->size_read(i))) in opt_register_coalesce()
1755 alloc.sizes[inst->src[i].nr] * REG_SIZE != inst->size_read(i))) { in dump_instruction()
2250 if (inst->size_read(i) <= REG_SIZE) in get_lowered_simd_width()
2293 unsigned src_end = src_start + inst->size_read(i) - 1; in dst_src_regions_overlap()
Dbrw_ir_performance.cpp134 ss = DIV_ROUND_UP(inst->size_read(2), REG_SIZE) + in instruction_info()
135 DIV_ROUND_UP(inst->size_read(3), REG_SIZE); in instruction_info()
138 ss = MAX2(ss, DIV_ROUND_UP(inst->size_read(i), REG_SIZE)); in instruction_info()
162 ss = MAX2(ss, DIV_ROUND_UP(inst->size_read(i), REG_SIZE)); in instruction_info()
Dbrw_vec4_live_variables.cpp81 for (unsigned j = 0; j < DIV_ROUND_UP(inst->size_read(i), 16); j++) { in setup_def_use()
Dbrw_vec4_cmod_propagation.cpp145 if (regions_overlap(inst->src[0], inst->size_read(0), in opt_cmod_propagation_local()
Dbrw_vec4_copy_propagation.cpp496 if (inst->size_read(i) != REG_SIZE || in opt_copy_propagation()
Dbrw_fs_cse.cpp354 entry->generator->size_read(i))) { in opt_cse_local()
Dbrw_fs.cpp956 fs_inst::size_read(int arg) const in size_read() function in fs_inst
1113 mask |= flag_mask(src[i], size_read(i)); in flags_read()
3276 inst->src[0], inst->size_read(0))) { in compute_to_mrf()
3294 inst->src[0], inst->size_read(0))) in compute_to_mrf()
3329 if (regions_overlap(scan_inst->src[i], scan_inst->size_read(i), in compute_to_mrf()
3330 inst->src[0], inst->size_read(0))) { in compute_to_mrf()
3367 inst->src[0], inst->size_read(0))) { in compute_to_mrf()
3601 last_mrf_move[i]->size_read(0))) { in remove_duplicate_mrf_writes()
4140 inst->src[0], inst->size_read(0)) || in lower_mul_dword_inst()
4142 inst->src[1], inst->size_read(1)) || in lower_mul_dword_inst()
[all …]
/third_party/ninja/src/
Dbuild_log.cc220 size_t size_read = fread(buf_, 1, sizeof(buf_), file_); in ReadLine() local
221 if (!size_read) in ReadLine()
224 buf_end_ = buf_ + size_read; in ReadLine()
/third_party/mesa3d/docs/relnotes/
D18.0.2.rst74 - i965/fs: Return mlen \* 8 for size_read() for INTERPOLATE_AT\_\*
D18.3.4.rst96 - intel/fs: Handle IMAGE_SIZE in size_read() and is_send_from_grf()
D19.0.0.rst1396 - intel/fs: Handle IMAGE_SIZE in size_read() and is_send_from_grf()
/third_party/PyYAML/yaml/
D_yaml.pxd96 size_t size, size_t *size_read) except 0