Searched defs:BufferSize (Results 1 - 25 of 33) sorted by relevance

12

/external/chromium_org/chrome/renderer/net/
H A Dpredictor_queue.h34 // BufferSize is a signed type used for indexing into a buffer.
35 typedef int32 BufferSize; typedef in class:DnsQueue
46 explicit DnsQueue(BufferSize size);
74 const BufferSize buffer_size_; // Size one smaller than allocated space.
75 const BufferSize buffer_sentinel_; // Index of extra '\0' at end of buffer_.
78 BufferSize readable_; // Next readable char in buffer_.
79 BufferSize writeable_; // The next space in buffer_ to push.
/external/llvm/include/llvm/Support/
H A Dcircular_raw_ostream.h50 /// BufferSize - The size of the buffer in bytes.
52 size_t BufferSize; member in class:llvm::circular_raw_ostream
77 TheStream->write(Cur, BufferArray + BufferSize - Cur);
114 BufferSize(BuffSize),
118 if (BufferSize != 0)
119 BufferArray = new char[BufferSize];
/external/chromium_org/cc/debug/
H A Dring_buffer.h19 size_t BufferSize() const { function in class:cc::RingBuffer
/external/chromium_org/media/audio/win/
H A Dwaveout_output_win.cc68 inline size_t PCMWaveOutAudioOutputStream::BufferSize() const { function in class:media::PCMWaveOutAudioOutputStream
76 return reinterpret_cast<WAVEHDR*>(&buffers_[n * BufferSize()]);
120 if (BufferSize() * num_buffers_ > kMaxOpenBufferSize)
151 buffers_.reset(new char[BufferSize() * num_buffers_]);
/external/chromium_org/net/tools/balsa/
H A Dsimple_buffer.cc64 int SimpleBuffer::BufferSize() const { function in class:net::SimpleBuffer
152 if (read_size + size <= BufferSize()) {
/external/chromium_org/net/tools/flip_server/
H A Dring_buffer.cc21 int RingBuffer::BufferSize() const { return buffer_size_; } function in class:net::RingBuffer
23 int RingBuffer::BytesFree() const { return BufferSize() - ReadableBytes(); }
27 bool RingBuffer::Full() const { return ReadableBytes() == BufferSize(); }
/external/llvm/tools/lli/ChildTarget/
H A DChildTarget.cpp133 size_t BufferSize = DataSize - 8; local
135 if (!RT->isAllocatedMemory(Addr, BufferSize))
139 rc = ReadBytes((void*)Addr, BufferSize);
140 if (rc != (int)(BufferSize))
145 sys::Memory::InvalidateInstructionCache((void *)Addr, BufferSize);
/external/lzma/CPP/7zip/Common/
H A DFileStreams.h33 UInt32 BufferSize; member in class:CInFileStream
/external/chromium_org/third_party/mesa/src/src/egl/main/
H A Deglconfig.h47 EGLint BufferSize; member in struct:_egl_config
95 ATTRIB_MAP(EGL_BUFFER_SIZE, BufferSize);
/external/clang/include/clang/AST/
H A DNestedNameSpecifier.h340 unsigned BufferSize; member in class:clang::NestedNameSpecifierLocBuilder
348 : Representation(nullptr), Buffer(nullptr), BufferSize(0),
463 BufferSize = 0;
472 return std::make_pair(Buffer, BufferSize);
/external/libnfc-nxp/src/
H A DphFriNfc_DesfireMap.c453 uint32_t BufferSize = 0; local
548 BufferSize = NdefMap->ApduBufferSize - NdefMap->ApduBuffIndex;
549 if(BufferSize != 0)
/external/mesa3d/src/egl/main/
H A Deglconfig.h47 EGLint BufferSize; member in struct:_egl_config
95 ATTRIB_MAP(EGL_BUFFER_SIZE, BufferSize);
/external/clang/lib/AST/
H A DNestedNameSpecifier.cpp401 void Append(char *Start, char *End, char *&Buffer, unsigned &BufferSize, argument
403 if (BufferSize + (End - Start) > BufferCapacity) {
408 (unsigned)(BufferSize + (End - Start)));
410 memcpy(NewBuffer, Buffer, BufferSize);
418 memcpy(Buffer + BufferSize, Start, End - Start);
419 BufferSize += End-Start;
424 unsigned &BufferSize, unsigned &BufferCapacity) {
428 Buffer, BufferSize, BufferCapacity); local
432 void SavePointer(void *Ptr, char *&Buffer, unsigned &BufferSize, argument
436 Buffer, BufferSize, BufferCapacit local
423 SaveSourceLocation(SourceLocation Loc, char *&Buffer, unsigned &BufferSize, unsigned &BufferCapacity) argument
[all...]
/external/llvm/include/llvm/MC/
H A DMCSchedule.h35 // Buffered resources (BufferSize != 0) may be consumed at some indeterminate
40 // Unbuffered resources (BufferSize == 0) always consume their resource some
45 int BufferSize; member in struct:llvm::MCProcResourceDesc
49 && BufferSize == Other.BufferSize;
/external/lzma/CS/7zip/Compress/LzmaAlone/
H A DLzmaBench.cs67 public UInt32 BufferSize; field in class:SevenZip.LzmaBench.CBenchRandomGenerator
76 BufferSize = bufferSize;
96 while (Pos < BufferSize)
113 for (UInt32 i = 0; i < len && Pos < BufferSize; i++, Pos++)
279 crc.Update(rg.Buffer, 0, rg.BufferSize);
289 MemoryStream inStream = new MemoryStream(rg.Buffer, 0, (int)rg.BufferSize);
/external/lzma/Java/SevenZip/
H A DLzmaBench.java62 public int BufferSize; field in class:LzmaBench.CBenchRandomGenerator
70 BufferSize = bufferSize;
90 while (Pos < BufferSize)
107 for (int i = 0; i < len && Pos < BufferSize; i++, Pos++)
323 crc.Update(rg.Buffer, 0, rg.BufferSize);
333 MyInputStream inStream = new MyInputStream(rg.Buffer, rg.BufferSize);
/external/opencv/cv/src/
H A Dcvoptflowhs.cpp113 int BufferSize; local
177 BufferSize = imageHeight * imageWidth;
179 II = (icvDerProductEx *) cvAlloc( BufferSize * sizeof( icvDerProductEx ));
H A Dcvoptflowlk.cpp123 int BufferSize; local
213 BufferSize = BufferHeight * BufferWidth;
215 II = (icvDerProduct *) cvAlloc( BufferSize * sizeof( icvDerProduct ));
216 WII = (icvDerProduct *) cvAlloc( BufferSize * sizeof( icvDerProduct ));
296 BufferAddress -= ((BufferAddress >= BufferSize) ? 0xffffffff : 0) & BufferSize;
489 addr -= ((addr >= BufferSize) ? 0xffffffff : 0) & BufferSize;
/external/protobuf/src/google/protobuf/io/
H A Dcoded_stream.h500 // Advance(BufferSize()).
524 uint32 BufferSize() const;
776 if (GOOGLE_PREDICT_TRUE(BufferSize() >= sizeof(*value))) {
791 if (GOOGLE_PREDICT_TRUE(BufferSize() >= sizeof(*value))) {
831 if (GOOGLE_PREDICT_TRUE(BufferSize() >= 2) &&
1034 inline uint32 CodedInputStream::BufferSize() const { function in class:google::protobuf::io::CodedInputStream
/external/chromium_org/third_party/protobuf/src/google/protobuf/io/
H A Dcoded_stream.h527 // Advance(BufferSize()).
551 int BufferSize() const;
816 if (GOOGLE_PREDICT_TRUE(BufferSize() >= static_cast<int>(sizeof(*value)))) {
830 if (GOOGLE_PREDICT_TRUE(BufferSize() >= static_cast<int>(sizeof(*value)))) {
870 if (GOOGLE_PREDICT_TRUE(BufferSize() >= 2) &&
921 return total_bytes_read_ - (BufferSize() + buffer_size_after_limit_);
1077 inline int CodedInputStream::BufferSize() const { function in class:google::protobuf::io::CodedInputStream
/external/e2fsprogs/lib/ext2fs/
H A Dnt_io.c211 ULONG BufferSize; member in struct:_NT_PRIVATE_DATA
1139 NtData->BufferSize = 1024;
1140 NtData->Buffer = malloc(NtData->BufferSize);
1280 NtData->BufferSize = channel->block_size;
1281 ASSERT(0 == (NtData->BufferSize % 512));
1283 NtData->Buffer = malloc(NtData->BufferSize);
1336 if(Size <= NtData->BufferSize)
1344 SizeToRead = NtData->BufferSize;
1441 if(SizeToWrite >= NtData->BufferSize)
1444 memcpy(NtData->Buffer, buf, NtData->BufferSize);
[all...]
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/
H A Dcmsio1.c1003 wchar_t* Buffer, cmsUInt32Number BufferSize)
1008 return cmsMLUgetWide(mlu, LanguageCode, CountryCode, Buffer, BufferSize);
1014 char* Buffer, cmsUInt32Number BufferSize)
1019 return cmsMLUgetASCII(mlu, LanguageCode, CountryCode, Buffer, BufferSize);
1001 cmsGetProfileInfo(cmsHPROFILE hProfile, cmsInfoType Info, const char LanguageCode[3], const char CountryCode[3], wchar_t* Buffer, cmsUInt32Number BufferSize) argument
1012 cmsGetProfileInfoASCII(cmsHPROFILE hProfile, cmsInfoType Info, const char LanguageCode[3], const char CountryCode[3], char* Buffer, cmsUInt32Number BufferSize) argument
H A Dcmsnamed.c347 char* Buffer, cmsUInt32Number BufferSize)
369 if (BufferSize <= 0) return 0;
372 if (BufferSize < ASCIIlen + 1)
373 ASCIIlen = BufferSize - 1;
392 wchar_t* Buffer, cmsUInt32Number BufferSize)
410 if (BufferSize <= 0) return 0;
413 if (BufferSize < StrLen + sizeof(wchar_t))
414 StrLen = BufferSize - + sizeof(wchar_t);
345 cmsMLUgetASCII(const cmsMLU* mlu, const char LanguageCode[3], const char CountryCode[3], char* Buffer, cmsUInt32Number BufferSize) argument
390 cmsMLUgetWide(const cmsMLU* mlu, const char LanguageCode[3], const char CountryCode[3], wchar_t* Buffer, cmsUInt32Number BufferSize) argument
/external/chromium_org/third_party/webrtc/test/channel_transport/
H A Dudp_socket2_win.cc936 ULONG BufferSize = 0; local
937 result = _gtc->TcEnumerateInterfaces(ClientHandle, &BufferSize, NULL);
957 (PTC_IFC_DESCRIPTOR)malloc(BufferSize);
966 result = _gtc->TcEnumerateInterfaces(ClientHandle, &BufferSize,
990 (((int8_t*)pInterfaceBuffer) + BufferSize);
/external/llvm/utils/TableGen/
H A DSubtargetEmitter.cpp637 int BufferSize = PRDef->getValueAsInt("BufferSize"); local
661 << BufferSize << "}" << Sep << " // #" << i+1;

Completed in 1632 milliseconds

12