/third_party/node/test/overlapped-checker/ |
H A D | main_unix.c | 22 ssize_t write_count; in w() local 24 write_count = write(1, buf, count); in w() 25 while (write_count < 0 && errno == EINTR); in w() 26 if (write_count <= 0) in w() 28 buf += write_count; in w()
|
H A D | main_win.c | 9 static DWORD write_count; variable 32 DWORD write_count; in write() local 34 if (!WriteFile(stdout_h, buf, buf_size, &write_count, NULL)) { in write() 37 fprintf(stderr, "%d", write_count); in write()
|
/third_party/libsnd/src/ |
H A D | paf.c | 63 int read_block, write_block, read_count, write_count ; member 423 if (mode == SFM_READ && ppaf24->write_count > 0) in paf24_seek() 431 if (psf->last_op == SFM_WRITE && ppaf24->write_count) in paf24_seek() 446 if (psf->last_op == SFM_WRITE && ppaf24->write_count) in paf24_seek() 452 ppaf24->write_count = newsample ; in paf24_seek() 473 { if (ppaf24->write_count > 0) in paf24_close() 674 if (ppaf24->sample_count < ppaf24->write_block * PAF24_SAMPLES_PER_BLOCK + ppaf24->write_count) in paf24_write_block() 675 ppaf24->sample_count = ppaf24->write_block * PAF24_SAMPLES_PER_BLOCK + ppaf24->write_count ; in paf24_write_block() 677 if (ppaf24->write_count == PAF24_SAMPLES_PER_BLOCK) in paf24_write_block() 679 ppaf24->write_count in paf24_write_block() [all...] |
H A D | sds.c | 58 int write_block, write_count ; member 159 if (psds->write_count > 0) in sds_close() 160 { memset (&(psds->write_data [psds->write_count]), 0, (psds->samplesperblock - psds->write_count) * sizeof (int)) ; in sds_close() 356 if (psds->write_count > 0) in sds_write_header() 357 { int current_count = psds->write_count ; in sds_write_header() 364 psds->write_count = current_count ; in sds_write_header() 705 if (mode == SFM_READ && psds->write_count > 0) in sds_seek() 745 psds->write_count = newsample ; in sds_seek() 801 psds->write_count in sds_2byte_write() [all...] |
/third_party/mesa3d/src/virtio/vulkan/ |
H A D | vn_descriptor_set.c | 626 vn_update_descriptor_sets_alloc(uint32_t write_count, in vn_update_descriptor_sets_alloc() argument 636 writes_offset + sizeof(VkWriteDescriptorSet) * write_count; in vn_update_descriptor_sets_alloc() 652 update->write_count = write_count; in vn_update_descriptor_sets_alloc() 663 vn_update_descriptor_sets_parse_writes(uint32_t write_count, in vn_update_descriptor_sets_parse_writes() argument 668 for (uint32_t i = 0; i < write_count; i++) { in vn_update_descriptor_sets_parse_writes() 684 vn_update_descriptor_sets_alloc(write_count, img_count, 0, 0, 0, alloc, in vn_update_descriptor_sets_parse_writes() 695 memcpy(update->writes, writes, sizeof(*writes) * write_count); in vn_update_descriptor_sets_parse_writes() 697 for (uint32_t i = 0; i < write_count; i++) { in vn_update_descriptor_sets_parse_writes() 782 vn_async_vkUpdateDescriptorSets(dev->instance, device, update->write_count, in vn_UpdateDescriptorSets() [all...] |
H A D | vn_descriptor_set.h | 83 uint32_t write_count; member
|
/third_party/pulseaudio/src/modules/raop/ |
H A D | raop-sink.c | 109 uint64_t write_count; member 145 latency = pa_smoother_2_get_delay(u->smoother, pa_rtclock_now(), u->write_count); in sink_get_latency() 150 latency = pa_bytes_to_usec(u->write_count, &u->sink->sample_spec) - (int64_t) now; in sink_get_latency() 227 u->write_count = 0; in sink_process_msg() 344 u->write_count = 0; in sink_set_state_in_io_thread_cb() 356 u->write_count = 0; in sink_set_state_in_io_thread_cb() 615 u->write_count += (uint64_t) u->memchunk.index - (uint64_t) index; in thread_func() 617 u->write_count += u->memchunk.length; in thread_func() 620 position = u->write_count - pa_usec_to_bytes(u->delay, &u->sink->sample_spec); in thread_func() 632 intvl = u->start + pa_bytes_to_usec(u->write_count, in thread_func() [all...] |
/third_party/pulseaudio/src/pulsecore/ |
H A D | srbchannel.c | 169 pa_atomic_t write_count; member 254 sr->rb_write.count = &srh->write_count; in pa_srbchannel_new() 303 sr->rb_write.count = &srh->write_count; in pa_srbchannel_new_from_template()
|
/third_party/libsnd/programs/ |
H A D | sndfile-play.c | 741 long k, start_count, output_count, write_count, read_count ; in solaris_play() local 792 write_count = write (audio_fd, &(buffer [start_count]), output_count) ; in solaris_play() 793 if (write_count > 0) in solaris_play() 794 { output_count -= write_count ; in solaris_play() 795 start_count += write_count ; in solaris_play()
|
/third_party/skia/third_party/externals/libpng/contrib/tools/ |
H A D | pngfix.c | 883 png_uint_32 write_count; /* Count of bytes written (in the chunk) */ member 1357 ++(file->write_count); in write_byte() 1628 file->write_count == 8) in current_type() 3224 /* Else write it (this is the initialization of write_count, prior to in read_callback() 3227 file->write_count = 0; in read_callback() 3292 file->write_count = 0; in read_callback() 3299 switch (file->write_count) in read_callback() 3351 switch (file->write_count - length) in read_callback() 3478 file->write_count = 0; /* for the new chunk */ in read_callback() 3479 --(file->write_count); /* fak in read_callback() [all...] |
/third_party/backends/backend/ |
H A D | mustek_pp_cis.h | 111 SANE_Int write_count; member
|
H A D | test.c | 1443 size_t buffer_size = 0, write_count = 0; in reader_process() local 1458 if (write_count == 0) in reader_process() 1460 write_count = buffer_size; in reader_process() 1461 if (byte_count + (size_t) write_count > bytes_total) in reader_process() 1462 write_count = (size_t) bytes_total - (size_t) byte_count; in reader_process() 1467 bytes_written = write (fd, buffer, write_count); in reader_process() 1476 bytes_written, write_count, byte_count); in reader_process() 1477 write_count -= (size_t) bytes_written; in reader_process()
|
H A D | mustek_pp_cis.c | 670 dev->CIS.regs.write_count = 0; in Mustek_PP_1015_write_reg_start() 695 ++dev->CIS.regs.write_count; in Mustek_PP_1015_write_reg_val() 712 dev->CIS.regs.write_count); in Mustek_PP_1015_write_reg_stop()
|
/third_party/pulseaudio/src/modules/alsa/ |
H A D | alsa-sink.c | 173 uint64_t write_count; member 509 u->write_count = 0; in reset_vars() 776 u->write_count += written; in mmap_write() 942 u->write_count += written; in unix_write() 1004 position = (int64_t) u->write_count - ((int64_t) delay * (int64_t) u->frame_size); in update_smoother() 1038 delay = pa_smoother_2_get_delay(u->smoother, now1, u->write_count); in sink_get_latency() 1042 delay = (int64_t) pa_bytes_to_usec(u->write_count, &u->sink->sample_spec) - (int64_t) now2; in sink_get_latency() 1945 u->write_count -= rewind_nbytes; in process_rewind()
|
/third_party/mesa3d/src/panfrost/midgard/ |
H A D | midgard_ra.c | 915 unsigned write_count = 0; in mir_spill_register() local 920 ++write_count; in mir_spill_register() 965 if (write_count > 1 && bytemask != 0xFFFF && bundle != last_fill) { in mir_spill_register()
|
/third_party/skia/third_party/externals/spirv-cross/ |
H A D | spirv_cpp.cpp | 452 bool constref = !type.pointer || arg.write_count == 0; in argument_decl()
|
H A D | spirv_cross.hpp | 1010 uint32_t write_count = 0; member
|
H A D | spirv_cross.cpp | 366 if (check_argument_storage_qualifier && var->parameter && var->parameter->write_count == 0) in register_write() 368 var->parameter->write_count++; in register_write() 3396 write_count++; in handle() 3497 if (static_expression_handler.write_count != 1 || static_expression_handler.static_expression == 0) in find_function_local_luts()
|
H A D | spirv_common.hpp | 893 uint32_t write_count; member
|
H A D | spirv_glsl.cpp | 10215 if (callee.arguments[i].write_count) 13073 if (arg.write_count && arg.read_count) 13075 else if (arg.write_count)
|
H A D | spirv_msl.cpp | 12513 bool constref = !arg.alias_global_variable && is_pointer && arg.write_count == 0;
|
/third_party/mesa3d/src/amd/compiler/ |
H A D | aco_instruction_selection.cpp | 4831 unsigned write_count = 0; 4843 offsets[write_count] = offset; 4844 bytes[write_count] = byte; 4845 opcodes[write_count] = aco_opcode::num_opcodes; 4846 write_count++; 4880 offsets[write_count] = offset; 4881 bytes[write_count] = byte; 4882 opcodes[write_count] = op; 4883 write_count++; 4889 split_store_data(ctx, RegType::vgpr, write_count, write_data [all...] |