Home
last modified time | relevance | path

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

/external/libevent/
Dbuffer_iocp.c60 unsigned write_in_progress : 1; member
105 EVUTIL_ASSERT(buf->read_in_progress && !buf->write_in_progress); in evbuffer_commit_read_()
143 EVUTIL_ASSERT(buf->write_in_progress && !buf->read_in_progress); in evbuffer_commit_write_()
147 buf->write_in_progress = 0; in evbuffer_commit_write_()
187 if (buf->freeze_start || buf_o->write_in_progress) in evbuffer_launch_write_()
237 buf_o->write_in_progress = 1; in evbuffer_launch_write_()
260 EVUTIL_ASSERT(!buf_o->write_in_progress); in evbuffer_launch_read_()
Dbufferevent_async.c85 size_t write_in_progress; member
193 if (beva->write_in_progress || beva->bev.connecting) in bev_async_consider_writing()
222 beva->write_in_progress = at_most; in bev_async_consider_writing()
377 EVUTIL_ASSERT(!upcast(bev)->write_in_progress && in be_async_destruct()
488 EVUTIL_ASSERT(bev_a->write_in_progress); in write_complete()
490 amount_unwritten = bev_a->write_in_progress - nbytes; in write_complete()
492 bev_a->write_in_progress = 0; in write_complete()
/external/adhd/cras/src/common/
Dcras_shm.h55 int32_t write_in_progress[CRAS_NUM_SHM_BUFFERS]; member
278 if (!shm->area->write_in_progress[write_buf_idx]) { in cras_shm_check_write_overrun()
288 shm->area->write_in_progress[write_buf_idx] = 1; in cras_shm_check_write_overrun()
321 shm->area->write_in_progress[buf_idx] = 0; in cras_shm_buffer_write_complete()