Lines Matching defs:amount
395 void IncrementAvailableOutboundLength(size_t amount);
396 void DecrementAvailableOutboundLength(size_t amount);
493 // This keeps track of the amount of data read from the socket while the
733 void IncrementCurrentSessionMemory(uint64_t amount) {
734 current_session_memory_ += amount;
737 void DecrementCurrentSessionMemory(uint64_t amount) {
738 DCHECK_LE(amount, current_session_memory_);
739 current_session_memory_ -= amount;
755 // Return true if current_session_memory + amount is less than the max
756 bool has_available_session_memory(uint64_t amount) const {
757 return current_session_memory() + amount <= max_session_memory_;
885 // The maximum amount of memory allocated for this session
888 // The amount of memory allocated by nghttp2 internals