Lines Matching defs:ok
85 unsigned ok : 1;
193 if (!beva->ok || !(bev->enabled&EV_WRITE) ||
217 beva->ok = 0;
239 if (!beva->ok || !(bev->enabled&EV_READ)) {
270 beva->ok = 0;
325 if (!bev_async->ok)
414 ev_ssize_t nbytes, int ok)
428 if (ok)
434 ok? BEV_EVENT_CONNECTED : BEV_EVENT_ERROR);
443 ev_ssize_t nbytes, int ok)
458 if (!ok)
461 if (bev_a->ok) {
462 if (ok && nbytes) {
467 } else if (!ok) {
469 bev_a->ok = 0;
473 bev_a->ok = 0;
483 ev_ssize_t nbytes, int ok)
502 if (!ok)
505 if (bev_a->ok) {
506 if (ok && nbytes) {
512 } else if (!ok) {
514 bev_a->ok = 0;
518 bev_a->ok = 0;
573 bev_a->ok = fd >= 0;
574 if (bev_a->ok)
587 bev_async->ok = 1;
681 bev_a->ok = 0;