Searched refs:command_size (Results 1 – 1 of 1) sorted by relevance
129 size_type command_size; in ReadCommand() local130 memcpy(&command_size, &(buffer_[buffer_position_]), sizeof(command_size)); in ReadCommand()131 buffer_position_ += sizeof(command_size); in ReadCommand()132 available_count_ -= sizeof(command_size); in ReadCommand()134 if (command_size == 0) { in ReadCommand()140 if (command_size > available_count_) { in ReadCommand()141 if (command_size > buffer_.size()) in ReadCommand()142 buffer_.resize((command_size / 1024 + 1) * 1024, 0); in ReadCommand()143 if (!FillBuffer() || command_size > available_count_) { in ReadCommand()152 new SessionCommand(command_id, command_size - sizeof(id_type)); in ReadCommand()[all …]