Home
last modified time | relevance | path

Searched refs:kMaxCapacity (Results 1 – 12 of 12) sorted by relevance

/external/perfetto/src/ipc/
Dbuffered_frame_deserializer_unittest.cc323 size_t kMaxCapacity = 1024 * 16; in TEST() local
324 BufferedFrameDeserializer bfd(kMaxCapacity); in TEST()
328 std::vector<char> frame2 = GetSimpleFrame(kMaxCapacity); in TEST()
331 frame2.begin() + static_cast<ptrdiff_t>(kMaxCapacity - frame1.size())); in TEST()
336 GetSimpleFrame(kMaxCapacity - frame2_chunk2.size()); in TEST()
337 std::vector<char> frame4 = GetSimpleFrame(kMaxCapacity); in TEST()
338 ASSERT_EQ(kMaxCapacity, frame1.size() + frame2_chunk1.size()); in TEST()
339 ASSERT_EQ(kMaxCapacity, frame2_chunk1.size() + frame2_chunk2.size()); in TEST()
340 ASSERT_EQ(kMaxCapacity, frame2_chunk2.size() + frame3.size()); in TEST()
341 ASSERT_EQ(kMaxCapacity, frame4.size()); in TEST()
/external/webrtc/modules/rtp_rtcp/source/
Drtp_packet_history.cc26 constexpr size_t RtpPacketHistory::kMaxCapacity; member in webrtc::RtpPacketHistory
95 RTC_DCHECK_LE(number_to_store, kMaxCapacity); in SetStorePacketsStatus()
102 number_to_store_ = std::min(kMaxCapacity, number_to_store); in SetStorePacketsStatus()
400 if (packet_history_.size() >= kMaxCapacity) { in CullOldPackets()
Drtp_packet_history.h56 static constexpr size_t kMaxCapacity = 9600; variable
Drtp_packet_history_unittest.cc270 const size_t kMaxNumPackets = RtpPacketHistory::kMaxCapacity; in TEST_P()
272 RtpPacketHistory::kMaxCapacity); in TEST_P()
/external/icu/icu4c/source/common/
Dunistr.cpp355 const int32_t kMaxCapacity = 0x7ffffff5; variable
359 if(growSize <= (kMaxCapacity - newLength)) { in getGrowCapacity()
362 return kMaxCapacity; in getGrowCapacity()
374 if(capacity <= kMaxCapacity) { in allocate()
1936 if(minCapacity <= (kMaxCapacity - oldLength) && in getAppendBuffer()
1937 desiredCapacityHint <= (kMaxCapacity - oldLength) && in getAppendBuffer()
/external/openscreen/third_party/abseil/src/absl/strings/internal/str_format/
Dfloat_conversion.cc67 static constexpr size_t kMaxCapacity = kStep * kNumSteps; member in absl::str_format_internal::__anonf12d9c5d0111::StackArray
70 assert(capacity <= kMaxCapacity); in RunWithCapacity()
137 static_cast<int>(StackArray::kMaxCapacity) >= in RunConversion()
245 static_assert(StackArray::kMaxCapacity >= in RunConversion()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/internal/str_format/
Dfloat_conversion.cc53 static constexpr size_t kMaxCapacity = kStep * kNumSteps; member in absl::str_format_internal::__anonb8b6229d0111::StackArray
56 assert(capacity <= kMaxCapacity); in RunWithCapacity()
123 StackArray::kMaxCapacity >= in RunConversion()
231 static_assert(StackArray::kMaxCapacity >= in RunConversion()
/external/angle/third_party/abseil-cpp/absl/strings/internal/str_format/
Dfloat_conversion.cc70 static constexpr size_t kMaxCapacity = kStep * kNumSteps; member in absl::str_format_internal::__anon3b2bfa8b0111::StackArray
73 assert(capacity <= kMaxCapacity); in RunWithCapacity()
143 static_cast<int>(StackArray::kMaxCapacity) >= in RunConversion()
251 static_assert(StackArray::kMaxCapacity >= in RunConversion()
/external/libtextclassifier/abseil-cpp/absl/strings/internal/str_format/
Dfloat_conversion.cc53 static constexpr size_t kMaxCapacity = kStep * kNumSteps; member in absl::str_format_internal::__anondfc6c48c0111::StackArray
56 assert(capacity <= kMaxCapacity); in RunWithCapacity()
123 StackArray::kMaxCapacity >= in RunConversion()
231 static_assert(StackArray::kMaxCapacity >= in RunConversion()
/external/angle/third_party/abseil-cpp/absl/strings/internal/
Dcord_rep_ring.h95 static constexpr size_t kMaxCapacity = (std::numeric_limits<uint32_t>::max)(); variable
Dcord_rep_ring.cc48 if (ABSL_PREDICT_FALSE(extra > CordRepRing::kMaxCapacity - n)) { in CheckCapacity()
132 constexpr size_t CordRepRing::kMaxCapacity; // NOLINT: needed for c++11 member in absl::cord_internal::CordRepRing
/external/angle/third_party/abseil-cpp/absl/strings/
Dcord_ring_test.cc545 CordRepRing::Create(flat, CordRepRing::kMaxCapacity); in TEST_F()
551 EXPECT_DEATH(CordRepRing::Create(flat, CordRepRing::kMaxCapacity), ".*"); in TEST_F()