Home
last modified time | relevance | path

Searched refs:write_count (Results 1 – 24 of 24) sorted by relevance

/third_party/node/test/overlapped-checker/
Dmain_unix.c22 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()
Dmain_win.c9 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/
Dpaf.c63 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 = 0 ; in paf24_write_block()
[all …]
Dsds.c58 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) … 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 = 0 ; in sds_2byte_write()
843 psds->write_count = 0 ; in sds_3byte_write()
[all …]
/third_party/mesa3d/src/virtio/vulkan/
Dvn_descriptor_set.c626 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()
987 for (uint32_t i = 0; i < update->write_count; i++) { in vn_UpdateDescriptorSetWithTemplate()
[all …]
Dvn_descriptor_set.h83 uint32_t write_count; member
/third_party/pulseaudio/src/modules/raop/
Draop-sink.c100 uint64_t write_count; member
136 latency = pa_bytes_to_usec(u->write_count, &u->sink->sample_spec) - (int64_t) now; in sink_get_latency()
208 u->write_count = 0; in sink_process_msg()
321 u->write_count = 0; in sink_set_state_in_io_thread_cb()
333 u->write_count = 0; in sink_set_state_in_io_thread_cb()
585 u->write_count += (uint64_t) u->memchunk.index - (uint64_t) index; in thread_func()
587 u->write_count += u->memchunk.length; in thread_func()
590 position = u->write_count - pa_usec_to_bytes(u->delay, &u->sink->sample_spec); in thread_func()
598 intvl = u->start + pa_bytes_to_usec(u->write_count, &u->sink->sample_spec); in thread_func()
605 intvl = u->start + pa_bytes_to_usec(u->write_count, &u->sink->sample_spec); in thread_func()
[all …]
/third_party/libsnd/programs/
Dsndfile-play.c739 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/pulseaudio/src/pulsecore/
Dsrbchannel.c169 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/gstreamer/gstplugins_base/tests/check/libs/
Drtpdummyhdrextimpl.c55 guint write_count; member
184 dummy->write_count++; in gst_rtp_dummy_hdr_ext_write()
Drtphdrext.c54 fail_unless_equals_int (GST_RTP_DUMMY_HDR_EXT (dummy)->write_count, 1); in GST_START_TEST()
Drtpbasepayload.c2023 fail_unless_equals_int (GST_RTP_DUMMY_HDR_EXT (ext)->write_count, 1); in GST_START_TEST()
2058 fail_unless_equals_int (GST_RTP_DUMMY_HDR_EXT (ext)->write_count, 1); in GST_START_TEST()
2094 fail_unless_equals_int (GST_RTP_DUMMY_HDR_EXT (ext)->write_count, 1); in GST_START_TEST()
2130 fail_unless_equals_int (GST_RTP_DUMMY_HDR_EXT (ext1)->write_count, 1); in GST_START_TEST()
2131 fail_unless_equals_int (GST_RTP_DUMMY_HDR_EXT (ext2)->write_count, 1); in GST_START_TEST()
2192 fail_unless_equals_int (GST_RTP_DUMMY_HDR_EXT (ext)->write_count, 1); in GST_START_TEST()
2267 fail_unless_equals_int (GST_RTP_DUMMY_HDR_EXT (ext)->write_count, 1); in GST_START_TEST()
2305 fail_unless_equals_int (GST_RTP_DUMMY_HDR_EXT (ext)->write_count, 1); in GST_START_TEST()
/third_party/cef/libcef/browser/extensions/value_store/
Dcef_value_store.h39 int write_count() { return write_count_; } in write_count() function
/third_party/flutter/skia/third_party/externals/libpng/contrib/tools/
Dpngfix.c883 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()
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); /* fake out the increment below */ in read_callback()
/third_party/skia/third_party/externals/libpng/contrib/tools/
Dpngfix.c883 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()
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); /* fake out the increment below */ in read_callback()
/third_party/mesa3d/src/panfrost/midgard/
Dmidgard_ra.c915 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/pulseaudio/src/modules/alsa/
Dalsa-sink.c160 uint64_t write_count; member
489 u->write_count = 0; in reset_vars()
756 u->write_count += written; in mmap_write()
922 u->write_count += written; in unix_write()
986 position = (int64_t) u->write_count - ((int64_t) delay * (int64_t) u->frame_size); in update_smoother()
1009 delay = (int64_t) pa_bytes_to_usec(u->write_count, &u->sink->sample_spec) - (int64_t) now2; in sink_get_latency()
1873 u->write_count -= rewind_nbytes; in process_rewind()
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_cpp.cpp452 bool constref = !type.pointer || arg.write_count == 0; in argument_decl()
Dspirv_cross.hpp1010 uint32_t write_count = 0; member
Dspirv_cross.cpp366 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()
Dspirv_common.hpp893 uint32_t write_count; member
Dspirv_glsl.cpp10215 if (callee.arguments[i].write_count) in emit_instruction()
13073 if (arg.write_count && arg.read_count) in argument_decl()
13075 else if (arg.write_count) in argument_decl()
Dspirv_msl.cpp12513 bool constref = !arg.alias_global_variable && is_pointer && arg.write_count == 0; in argument_decl()
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp4831 unsigned write_count = 0; in store_lds() local
4843 offsets[write_count] = offset; in store_lds()
4844 bytes[write_count] = byte; in store_lds()
4845 opcodes[write_count] = aco_opcode::num_opcodes; in store_lds()
4846 write_count++; in store_lds()
4880 offsets[write_count] = offset; in store_lds()
4881 bytes[write_count] = byte; in store_lds()
4882 opcodes[write_count] = op; in store_lds()
4883 write_count++; in store_lds()
4889 split_store_data(ctx, RegType::vgpr, write_count, write_datas, bytes, data); in store_lds()
[all …]