Searched refs:kCapacity (Results 1 – 5 of 5) sorted by relevance
/external/chromium_org/chrome/installer/mini_installer/ |
D | mini_string.h | 71 template <size_t kCapacity> 75 COMPILE_ASSERT(kCapacity != 0, invalid_buffer_size); in StackString() 76 buffer_[kCapacity] = L'\0'; // We always reserve 1 more than asked for. in StackString() 86 return kCapacity; in capacity() 94 return SafeStrCopy(buffer_, kCapacity, str); in assign() 98 return SafeStrCat(buffer_, kCapacity, str); in append() 106 return SafeStrLen(buffer_, kCapacity); in length() 128 if (location >= kCapacity) in truncate_at() 137 wchar_t buffer_[kCapacity + 1];
|
/external/chromium_org/third_party/webrtc/modules/audio_device/android/ |
D | single_rw_fifo_unittest.cc | 25 kCapacity = 6, enumerator 28 SingleRwFifoTest() : fifo_(kCapacity), pushed_(0), available_(0) { in SingleRwFifoTest() 33 for (int8_t i = 0; i < kCapacity; ++i) { in SetUp() 42 available_ = kCapacity; in SetUp() 77 EXPECT_EQ(current_index, ++previous_index % kCapacity); in VerifyOrdering() 93 scoped_ptr<int8_t[]> buffer_[kCapacity]; 108 Push(kCapacity); in TEST_F()
|
/external/icu/icu4c/source/tools/toolutil/ |
D | denseranges.cpp | 28 LargestGaps(int32_t max) : maxLength(max<=kCapacity ? max : kCapacity), length(0) {} in LargestGaps() 76 static const int32_t kCapacity=15; member in __anon43ef39970111::LargestGaps 80 int32_t gapStarts[kCapacity]; 81 int64_t gapLengths[kCapacity];
|
/external/chromium_org/sandbox/linux/tests/ |
D | unit_tests.cc | 192 const size_t kCapacity = 256; in RunTestInProcess() local 194 msg_buf.resize(len + kCapacity); in RunTestInProcess() 195 rc = HANDLE_EINTR(read(fds[0], &msg_buf[len], kCapacity)); in RunTestInProcess()
|
/external/chromium_org/media/filters/ |
D | ffmpeg_demuxer.cc | 363 const base::TimeDelta kCapacity = base::TimeDelta::FromSeconds(1); in HasAvailableCapacity() 364 return buffer_queue_.IsEmpty() || buffer_queue_.Duration() < kCapacity; in HasAvailableCapacity()
|