/external/libbrillo/brillo/streams/ |
D | stream.cc | 140 size_t* size_written, in WriteBlocking() argument 143 if (!WriteNonBlocking(buffer, size_to_write, size_written, error)) in WriteBlocking() 146 if (*size_written > 0 || size_to_write == 0) in WriteBlocking() 161 size_t size_written = 0; in WriteAllBlocking() local 162 if (!WriteBlocking(buffer, size_to_write, &size_written, error)) in WriteAllBlocking() 165 if (size_written == 0) { in WriteAllBlocking() 171 size_to_write -= size_written; in WriteAllBlocking() 172 buffer = AdvancePointer(buffer, size_written); in WriteAllBlocking() 298 size_t size_written) { in OnWriteAsyncDone() argument 300 success_callback.Run(size_written); in OnWriteAsyncDone() [all …]
|
D | stream.h | 318 size_t* size_written, 331 size_t* size_written, 460 size_t size_written); 484 size_t size_written);
|
D | memory_containers.cc | 60 size_t* size_written, in Write() argument 70 if (size_written) in Write() 71 *size_written = size_to_write; in Write()
|
D | tls_stream.cc | 91 size_t* size_written, 183 size_t* size_written, in WriteNonBlocking() argument 189 *size_written = static_cast<size_t>(ret); in WriteNonBlocking() 203 *size_written = 0; in WriteNonBlocking() 502 size_t* size_written, in WriteNonBlocking() argument 506 return impl_->WriteNonBlocking(buffer, size_to_write, size_written, error); in WriteNonBlocking()
|
D | memory_stream.cc | 159 size_t* size_written, in WriteNonBlocking() argument 163 if (!container_->Write(buffer, size_to_write, stream_position_, size_written, in WriteNonBlocking() 167 stream_position_ += *size_written; in WriteNonBlocking()
|
D | memory_containers.h | 51 size_t* size_written, 81 size_t* size_written, 111 size_t* size_written,
|
D | fake_stream.cc | 264 size_t* size_written, in WriteNonBlocking() argument 274 *size_written = 0; in WriteNonBlocking() 314 *size_written = size_to_write; in WriteNonBlocking()
|
D | file_stream.cc | 472 size_t* size_written, in WriteNonBlocking() argument 482 *size_written = 0; in WriteNonBlocking() 489 *size_written = written; in WriteNonBlocking()
|
D | tls_stream.h | 59 size_t* size_written,
|
D | input_stream_set.h | 89 size_t* size_written,
|
D | file_stream.h | 124 size_t* size_written,
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_fs_copy_propagation.cpp | 46 uint8_t size_written; member 164 if (regions_overlap(inst->dst, inst->size_written, in setup_initial_values() 165 acp[i]->dst, acp[i]->size_written) || in setup_initial_values() 166 regions_overlap(inst->dst, inst->size_written, in setup_initial_values() 358 entry->dst, entry->size_written)) in try_copy_propagate() 516 entry->dst, entry->size_written)) in try_constant_propagate() 727 !regions_overlap(inst->dst, inst->size_written, in can_propagate_from() 762 if (regions_overlap(entry->dst, entry->size_written, in opt_copy_propagation_local() 763 inst->dst, inst->size_written)) in opt_copy_propagation_local() 776 inst->dst, inst->size_written)) in opt_copy_propagation_local() [all …]
|
D | brw_fs_register_coalesce.cpp | 141 if (regions_overlap(scan_inst->dst, scan_inst->size_written, in can_coalesce_vars() 142 inst->dst, inst->size_written) || in can_coalesce_vars() 143 regions_overlap(scan_inst->dst, scan_inst->size_written, in can_coalesce_vars() 210 for (unsigned i = 0; i < MAX2(inst->size_written / REG_SIZE, 1); i++) in register_coalesce()
|
D | brw_vec4_cse.cpp | 132 a->size_written == b->size_written && in instructions_match() 189 DIV_ROUND_UP(entry->generator->size_written, component_size); in opt_cse_local() 210 DIV_ROUND_UP(inst->size_written, component_size); in opt_cse_local()
|
D | brw_fs_cse.cpp | 188 a->size_written == b->size_written && in instructions_match() 299 assert(inst->size_written == entry->generator->size_written); in opt_cse_local() 338 if (regions_overlap(inst->dst, inst->size_written, in opt_cse_local()
|
D | brw_vec4.cpp | 203 return size_written > REG_SIZE; in has_source_and_destination_hazard() 1196 scan_inst->dst, scan_inst->size_written)) { in opt_register_coalesce() 1235 if (scan_inst->size_written != inst->size_written) in opt_register_coalesce() 1249 if (DIV_ROUND_UP(scan_inst->size_written, in opt_register_coalesce() 1279 if (regions_overlap(inst->dst, inst->size_written, in opt_register_coalesce() 1280 scan_inst->dst, scan_inst->size_written) && in opt_register_coalesce() 1296 if (regions_overlap(inst->dst, inst->size_written, in opt_register_coalesce() 1540 alloc.sizes[inst->dst.nr] * REG_SIZE != inst->size_written)) { in dump_instruction() 2088 if (devinfo->gen == 7 && inst->size_written > REG_SIZE) { in get_lowered_simd_width() 2123 if (inst->size_written == 0) in dst_src_regions_overlap() [all …]
|
D | brw_vec4_dead_code_eliminate.cpp | 61 for (unsigned i = 0; i < DIV_ROUND_UP(inst->size_written, 16); i++) { in dead_code_eliminate() 114 for (unsigned i = 0; i < DIV_ROUND_UP(inst->size_written, 16); i++) { in dead_code_eliminate()
|
D | brw_fs_generator.cpp | 359 assert(inst->size_written % REG_SIZE == 0); in generate_fb_read() 365 inst->header_size, inst->size_written / REG_SIZE, in generate_fb_read() 453 assert(inst->size_written % REG_SIZE == 0); in generate_urb_read() 469 brw_inst_set_rlen(p->devinfo, send, inst->size_written / REG_SIZE); in generate_urb_read() 627 assert(inst->size_written % REG_SIZE == 0); in generate_tex() 898 inst->size_written / REG_SIZE, in generate_tex() 939 inst->size_written / REG_SIZE, in generate_tex() 1175 DIV_ROUND_UP(inst->size_written, REG_SIZE)); in generate_uniform_pull_constant_load_gen7() 1201 DIV_ROUND_UP(inst->size_written, REG_SIZE)); in generate_uniform_pull_constant_load_gen7() 1238 assert(inst->size_written == 8 * REG_SIZE); in generate_varying_pull_constant_load_gen4() [all …]
|
D | brw_fs.cpp | 79 this->size_written = dst.component_size(exec_size); in init() 82 this->size_written = 0; in init() 194 inst->size_written = 4 * vec4_result.component_size(inst->exec_size); in VARYING_PULL_CONSTANT_LOAD() 353 if (grf_alloc.sizes[reg.nr] * REG_SIZE != this->size_written) in is_copy_payload() 2501 fb_write->size_read(i) != tex_inst->size_written) in opt_sampler_eot() 2517 tex_inst->size_written = 0; in opt_sampler_eot() 2559 alloc.sizes[inst->dst.nr] * REG_SIZE == inst->size_written && in opt_register_renaming() 2685 if (regions_overlap(scan_inst->dst, scan_inst->size_written, in compute_to_mrf() 2703 if (!region_contained_in(scan_inst->dst, scan_inst->size_written, in compute_to_mrf() 2722 inst->src[0], scan_inst->dst, scan_inst->size_written); in compute_to_mrf() [all …]
|
D | brw_vec4_live_variables.cpp | 101 for (unsigned i = 0; i < DIV_ROUND_UP(inst->size_written, 16); i++) { in setup_def_use() 269 for (unsigned i = 0; i < DIV_ROUND_UP(inst->size_written, 16); i++) { in calculate_live_intervals()
|
D | brw_fs_nir.cpp | 1592 inst->size_written = 2 * dst.component_size(inst->exec_size); in emit_pixel_interpolater_send() 2072 inst->size_written = read_components * in emit_gs_input_load() 2081 inst->size_written = num_components * in emit_gs_input_load() 2096 inst->size_written = read_components * in emit_gs_input_load() 2105 inst->size_written = num_components * in emit_gs_input_load() 2136 inst->size_written = 4 * REG_SIZE; in emit_gs_input_load() 2441 inst->size_written = (num_components + first_component) * in nir_emit_tcs_intrinsic() 2466 inst->size_written = 4 * REG_SIZE; in nir_emit_tcs_intrinsic() 2501 inst->size_written = read_components * REG_SIZE; in nir_emit_tcs_intrinsic() 2509 inst->size_written = instr->num_components * REG_SIZE; in nir_emit_tcs_intrinsic() [all …]
|
D | brw_ir_fs.h | 429 inst->size_written - in regs_written() 430 MIN2(inst->size_written, reg_padding(inst->dst)), in regs_written()
|
D | brw_fs_cmod_propagation.cpp | 91 if (regions_overlap(scan_inst->dst, scan_inst->size_written, in opt_cmod_propagation_local()
|
/external/libbrillo/brillo/http/ |
D | http_connection_curl_unittest.cc | 108 size_t size_written = callback( in WriteString() local 110 if (size_written == CURL_WRITEFUNC_PAUSE) in WriteString() 112 CHECK(size_written <= size_remaining) << "Unexpected size returned"; in WriteString() 113 size_remaining -= size_written; in WriteString() 114 pos += size_written; in WriteString()
|
/external/google-breakpad/src/processor/ |
D | module_serializer.cc | 120 unsigned int size_written = in Serialize() local 122 if (size_to_alloc != size_written) { in Serialize() 124 << size_to_alloc << " vs " << size_written; in Serialize()
|