Home | History | Annotate | Download | only in base

Lines Matching defs:writable

48 // for pinging.  When the socket is writable, we will use only 1 Kbps because
56 // If there is a current writable connection, then we will also try hard to
100 // priority writable connections first.
853 info.writable =
934 // that amongst equal preference, writable connections, this will choose the
959 // We can prune any connection for which there is a writable connection on
961 // better priority just in case they become writable later (at which point,
989 // Now update the writable state of the channel with the information we have
991 if (best_connection_ && best_connection_->writable()) {
1025 // The Handle* functions already set the writable state. We'll just double-
1027 bool writable = ((best_connection_ != NULL) &&
1030 ASSERT(writable == this->writable());
1031 if (writable != this->writable())
1032 LOG(LS_ERROR) << "UpdateChannelState: writable state mismatch";
1045 // was writable, go into the writable state.
1048 if (!writable()) {
1060 // Notify upper layer about channel not writable state, if it was before.
1070 // Currently we are treating this as channel not writable.
1124 uint32 delay = writable() ? WRITABLE_DELAY : UNWRITABLE_DELAY;
1135 if (writable()) {
1136 // If we are writable, then we only want to ping connections that could be
1140 // If we are not writable, then we need to try everything that might work.
1151 // pingable connection unless we have a writable connection that is past the
1186 // b.2) |conn| is writable.
1193 (!best_connection_->writable()) ||
1196 use_candidate = best_connection_->writable();
1211 if (connection == pending_best_connection_ && connection->writable()) {
1286 if (connection == best_connection_ && writable()) {