Searched refs:GetCapacity (Results 1 - 17 of 17) sorted by relevance

/external/lzma/CPP/Common/
H A DBuffer.h26 size_t GetCapacity() const { return _capacity; } function in class:CBuffer
59 if (b1.GetCapacity() != b2.GetCapacity())
61 for (size_t i = 0; i < b1.GetCapacity(); i++)
/external/chromium_org/net/server/
H A Dhttp_connection.cc23 int HttpConnection::ReadIOBuffer::GetCapacity() const { function in class:net::HttpConnection::ReadIOBuffer
34 if (GetCapacity() >= max_buffer_size_) {
35 LOG(ERROR) << "Too large read data is pending: capacity=" << GetCapacity()
41 int new_capacity = GetCapacity() * kCapacityIncreaseFactor;
78 if (GetCapacity() > kMinimumBufSize &&
79 GetCapacity() > previous_size * kCapacityIncreaseFactor) {
80 int new_capacity = GetCapacity() / kCapacityIncreaseFactor;
H A Dhttp_connection_unittest.cc28 buffer->GetCapacity());
35 EXPECT_EQ(kNewCapacity, buffer->GetCapacity());
44 buffer->GetCapacity());
54 buffer->GetCapacity());
65 EXPECT_EQ(kNewCapacity, buffer->GetCapacity());
80 EXPECT_EQ(kExpectedInitialBufSize, buffer->GetCapacity());
90 buffer->GetCapacity());
97 buffer->GetCapacity());
105 buffer->GetCapacity());
115 EXPECT_EQ(kExpectedInitialBufSize, buffer->GetCapacity());
[all...]
H A Dhttp_connection.h38 int GetCapacity() const;
/external/lzma/CPP/7zip/Archive/7z/
H A D7zHandler.cpp280 if (coder.MethodID == k_Delta && coder.Props.GetCapacity() == 1)
282 else if (coder.MethodID == k_LZMA && coder.Props.GetCapacity() == 5)
287 else if (coder.MethodID == k_LZMA2 && coder.Props.GetCapacity() == 1)
293 else if (coder.MethodID == k_PPMD && coder.Props.GetCapacity() == 5)
302 else if (coder.MethodID == k_AES && coder.Props.GetCapacity() >= 1)
313 if (coder.Props.GetCapacity() >= 2)
328 else if (coder.Props.GetCapacity() > 0)
331 for (size_t bi = 0; bi < coder.Props.GetCapacity(); bi++)
333 if (bi > 5 && bi + 1 < coder.Props.GetCapacity())
H A D7zOut.h68 void WriteBytes(const CByteBuffer &data) { WriteBytes(data, data.GetCapacity()); }
H A D7zOut.cpp279 size_t propsSize = coder.Props.GetCapacity();
551 streamSpec->Init(data, data.GetCapacity());
554 folderItem.UnpackCRC = CrcCalc(data, data.GetCapacity());
555 UInt64 dataSize64 = data.GetCapacity();
H A D7zDecode.cpp232 size_t size = props.GetCapacity();
H A D7zUpdate.cpp85 size_t c1 = a1.GetCapacity();
86 size_t c2 = a2.GetCapacity();
H A D7zIn.cpp167 Set(archive, byteBuffer, byteBuffer.GetCapacity());
/external/lzma/CPP/7zip/Common/
H A DStreamObjects.h34 void Init(CReferenceBuf *ref) { Init(ref->Buf, ref->Buf.GetCapacity(), ref); }
50 size_t GetCapacity() const { return _capacity; } function in class:CByteDynBuffer
/external/lzma/CPP/7zip/UI/Common/
H A DOpenArchive.cpp170 if (sig.GetCapacity() < kNumHashBytes)
191 if (sig.GetCapacity() != 0 && pos + sig.GetCapacity() <= processedSize + (kNumHashBytes - 1) &&
192 TestSignature(buf + pos, sig, sig.GetCapacity()))
/external/chromium_org/v8/src/
H A Delements.h196 virtual uint32_t GetCapacity(Handle<FixedArrayBase> backing_store) = 0;
201 // GetCapacity. Keys refer to elements in terms of the value that would be
H A Delements.cc832 virtual uint32_t GetCapacity(Handle<FixedArrayBase> backing_store)
1672 ForArray(arguments)->GetCapacity(arguments));
/external/lzma/CPP/7zip/UI/Console/
H A DMain.cpp286 for (size_t j = 0; j < sig.GetCapacity(); j++)
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/
H A DAntlr.Runtime.Tools.pas131 function GetCapacity: Integer;
179 property Capacity: Integer read GetCapacity write SetCapacity;
220 function GetCapacity: Integer;
468 function TList<T>.GetCapacity: Integer;
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime.Tests/
H A DAntlr.Runtime.Tools.Tests.pas227 ReturnValue := FIList.GetCapacity;

Completed in 274 milliseconds