Lines Matching refs:len_
676 :buf_keeper_(buf_keeper),buf_(0),len_(0),len_watermark_(0),keep_(keep) in ScopedBuf()
681 if(len<len_) in Alloc()
690 if(len_==len) in Alloc()
695 len_ = BUF_ALIGN_SIZE(len); in Alloc()
696 if(len_==0) in Alloc()
698 len_ = BUF_DEFAULT_SIZE; in Alloc()
700 len_watermark_ = len_-BUF_ALIGNMENT_SIZE; in Alloc()
701 char* tmp = (char*)realloc(buf_, len_); in Alloc()
732 int len_; member in NS_MICRO_THREAD::ScopedBuf
768 …rc = MtFrame::recv(sock, (sbuf.buf_ + recv_len), (sbuf.len_ - recv_len), 0, (timeout - (int)cost_t… in mt_tcp_check_recv()
815 if(sbuf.len_ > recv_len) in mt_tcp_check_recv()
820 ret = sbuf.Alloc(sbuf.len_<<1); in mt_tcp_check_recv()
832 if(sbuf.len_ > recv_len) in mt_tcp_check_recv()