Home
last modified time | relevance | path

Searched refs:write_in_progress (Results 1 – 5 of 5) sorted by relevance

/external/libevent/
Dbuffer_iocp.c61 unsigned write_in_progress : 1; member
106 EVUTIL_ASSERT(buf->read_in_progress && !buf->write_in_progress); in evbuffer_commit_read_()
144 EVUTIL_ASSERT(buf->write_in_progress && !buf->read_in_progress); in evbuffer_commit_write_()
148 buf->write_in_progress = 0; in evbuffer_commit_write_()
188 if (buf->freeze_start || buf_o->write_in_progress) in evbuffer_launch_write_()
238 buf_o->write_in_progress = 1; in evbuffer_launch_write_()
261 EVUTIL_ASSERT(!buf_o->write_in_progress); in evbuffer_launch_read_()
Dbufferevent_async.c86 size_t write_in_progress; member
215 if (beva->write_in_progress || beva->bev.connecting) in bev_async_consider_writing()
244 beva->write_in_progress = at_most; in bev_async_consider_writing()
399 EVUTIL_ASSERT(!upcast(bev)->write_in_progress && in be_async_destruct()
509 EVUTIL_ASSERT(bev_a->write_in_progress); in write_complete()
511 amount_unwritten = bev_a->write_in_progress - nbytes; in write_complete()
513 bev_a->write_in_progress = 0; in write_complete()
/external/adhd/cras/src/common/
Dcras_shm.h56 int32_t write_in_progress[CRAS_NUM_SHM_BUFFERS]; member
383 if (!shm->header->write_in_progress[write_buf_idx]) { in cras_shm_check_write_overrun()
393 shm->header->write_in_progress[write_buf_idx] = 1; in cras_shm_check_write_overrun()
426 shm->header->write_in_progress[buf_idx] = 0; in cras_shm_buffer_write_complete()
/external/adhd/cras/src/tests/
Dshm_unittest.cc339 shm_.header->write_in_progress[i] = 1; in TEST_F()
365 shm_.header->write_in_progress[i] = 1; in TEST_F()
388 shm_.header->write_in_progress[i] = 1; in TEST_F()
/external/adhd/cras/client/cras-sys/src/
Dgen.rs4724 pub write_in_progress: [i32; 2usize], field
4804 &(*(::std::ptr::null::<cras_audio_shm_header>())).write_in_progress as *const _ as usize in bindgen_test_layout_cras_audio_shm_header()
4811 stringify!(write_in_progress) in bindgen_test_layout_cras_audio_shm_header()