/external/clang/lib/AST/ |
D | NestedNameSpecifier.cpp | 436 void Append(char *Start, char *End, char *&Buffer, unsigned &BufferSize, in Append() argument 438 if (BufferSize + (End - Start) > BufferCapacity) { in Append() 443 (unsigned)(BufferSize + (End - Start))); in Append() 445 memcpy(NewBuffer, Buffer, BufferSize); in Append() 453 memcpy(Buffer + BufferSize, Start, End - Start); in Append() 454 BufferSize += End-Start; in Append() 459 unsigned &BufferSize, unsigned &BufferCapacity) { in SaveSourceLocation() argument 463 Buffer, BufferSize, BufferCapacity); in SaveSourceLocation() 467 void SavePointer(void *Ptr, char *&Buffer, unsigned &BufferSize, in SavePointer() argument 471 Buffer, BufferSize, BufferCapacity); in SavePointer() [all …]
|
/external/llvm/include/llvm/Support/ |
D | Format.h | 45 virtual int snprint(char *Buffer, unsigned BufferSize) const = 0; 53 unsigned print(char *Buffer, unsigned BufferSize) const { in print() argument 54 assert(BufferSize && "Invalid buffer size!"); in print() 57 int N = snprint(Buffer, BufferSize); in print() 61 return BufferSize * 2; in print() 65 if (unsigned(N) >= BufferSize) in print() 83 int snprint_tuple(char *Buffer, unsigned BufferSize, in snprint_tuple() argument 86 return _snprintf(Buffer, BufferSize, Fmt, std::get<Is>(Vals)...); in snprint_tuple() 88 return snprintf(Buffer, BufferSize, Fmt, std::get<Is>(Vals)...); in snprint_tuple() 96 int snprint(char *Buffer, unsigned BufferSize) const override { in snprint() argument [all …]
|
D | circular_raw_ostream.h | 52 size_t BufferSize; variable 77 TheStream->write(Cur, BufferArray + BufferSize - Cur); in flushBuffer() 112 OwnsStream(Owns), BufferSize(BuffSize), BufferArray(nullptr), in raw_ostream() 114 if (BufferSize != 0) in raw_ostream() 115 BufferArray = new char[BufferSize]; in raw_ostream()
|
D | FormattedStream.h | 69 if (size_t BufferSize = TheStream->GetBufferSize()) in setStream() local 70 SetBufferSize(BufferSize); in setStream() 140 if (size_t BufferSize = GetBufferSize()) in releaseStream() local 141 TheStream->SetBufferSize(BufferSize); in releaseStream()
|
/external/llvm/lib/Support/ |
D | circular_raw_ostream.cpp | 19 if (BufferSize == 0) { in write_impl() 27 std::min(unsigned(Size), unsigned(BufferSize - (Cur - BufferArray))); in write_impl() 31 if (Cur == BufferArray + BufferSize) { in write_impl() 40 if (BufferSize != 0) { in flushBufferWithBanner()
|
D | StreamingMemoryObject.cpp | 51 uint64_t BufferSize = LastChar - FirstChar; in readBytes() local 52 if (Address >= BufferSize) in readBytes() 56 if (End > BufferSize) in readBytes() 57 End = BufferSize; in readBytes()
|
/external/mesa3d/src/mesa/main/ |
D | feedback.c | 69 ctx->Feedback.BufferSize = 0; in _mesa_FeedbackBuffer() 96 ctx->Feedback.BufferSize = size; in _mesa_FeedbackBuffer() 183 ctx->Select.BufferSize = size; in _mesa_SelectBuffer() 203 if (ctx->Select.BufferCount < ctx->Select.BufferSize) { in write_record() 441 if (ctx->Select.BufferCount > ctx->Select.BufferSize) { in _mesa_RenderMode() 457 if (ctx->Feedback.Count > ctx->Feedback.BufferSize) { in _mesa_RenderMode() 476 if (ctx->Select.BufferSize==0) { in _mesa_RenderMode() 483 if (ctx->Feedback.BufferSize==0) { in _mesa_RenderMode() 533 ctx->Feedback.BufferSize = 0; in _mesa_init_feedback() 538 ctx->Select.BufferSize = 0; in _mesa_init_feedback()
|
/external/protobuf/src/google/protobuf/io/ |
D | coded_stream.cc | 91 int backup_bytes = BufferSize() + buffer_size_after_limit_ + overflow_bytes_; in BackUpInputToCurrentPosition() 96 total_bytes_read_ -= BufferSize() + buffer_size_after_limit_; in BackUpInputToCurrentPosition() 190 const int original_buffer_size = BufferSize(); in Skip() 225 if (BufferSize() == 0 && !Refresh()) return false; in GetDirectBufferPointer() 228 *size = BufferSize(); in GetDirectBufferPointer() 234 while ((current_buffer_size = BufferSize()) < size) { in ReadRaw() 268 while ((current_buffer_size = BufferSize()) < size) { in ReadStringFallback() 292 if (BufferSize() >= sizeof(*value)) { in ReadLittleEndian32Fallback() 309 if (BufferSize() >= sizeof(*value)) { in ReadLittleEndian64Fallback() 371 if (BufferSize() >= kMaxVarintBytes || in ReadVarint32Fallback() [all …]
|
D | coded_stream.h | 566 int BufferSize() const; 852 if (GOOGLE_PREDICT_TRUE(BufferSize() >= static_cast<int>(sizeof(*value)))) { in ReadLittleEndian32() 866 if (GOOGLE_PREDICT_TRUE(BufferSize() >= static_cast<int>(sizeof(*value)))) { in ReadLittleEndian64() 945 if (GOOGLE_PREDICT_TRUE(BufferSize() >= 2) && in ExpectTag() 996 return total_bytes_read_ - (BufferSize() + buffer_size_after_limit_); in CurrentPosition() 1161 inline int CodedInputStream::BufferSize() const { in BufferSize() function
|
D | coded_stream_inl.h | 52 if (BufferSize() >= size) { in InternalReadStringInline()
|
/external/llvm/tools/lli/ChildTarget/ |
D | ChildTarget.cpp | 133 size_t BufferSize = DataSize - 8; in handleLoadSection() local 135 if (!RT->isAllocatedMemory(Addr, BufferSize)) in handleLoadSection() 139 rc = ReadBytes((void*)Addr, BufferSize); in handleLoadSection() 140 if (rc != (int)(BufferSize)) in handleLoadSection() 145 sys::Memory::InvalidateInstructionCache((void *)Addr, BufferSize); in handleLoadSection()
|
/external/lzma/CPP/7zip/Common/ |
D | FileStreams.cpp | 67 BufferSize(0) in CInFileStream() 104 if (BufferSize > 0 && BufferStartPos == alignedPos) in Read() 107 if (pos >= BufferSize) in Read() 109 UInt32 rem = MyMin(BufferSize - pos, size); in Read() 154 bool result = File.Read1(Buffer, readSize, BufferSize); in Read() 158 if (BufferSize == 0) in Read() 160 PhyPos += BufferSize; in Read()
|
/external/lzma/Java/SevenZip/ |
D | LzmaBench.java | 62 public int BufferSize; field in LzmaBench.CBenchRandomGenerator 70 BufferSize = bufferSize; in Set() 90 while (Pos < BufferSize) in Generate() 107 for (int i = 0; i < len && Pos < BufferSize; i++, Pos++) in Generate() 323 crc.Update(rg.Buffer, 0, rg.BufferSize); in LzmaBenchmark() 333 MyInputStream inStream = new MyInputStream(rg.Buffer, rg.BufferSize); in LzmaBenchmark()
|
/external/llvm/include/llvm/MC/ |
D | MCSchedule.h | 45 int BufferSize; member 49 && BufferSize == Other.BufferSize;
|
/external/lzma/CS/7zip/Compress/LzmaAlone/ |
D | LzmaBench.cs | 67 public UInt32 BufferSize; field in SevenZip.LzmaBench.CBenchRandomGenerator 76 BufferSize = bufferSize; in Set() 96 while (Pos < BufferSize) in Generate() 113 for (UInt32 i = 0; i < len && Pos < BufferSize; i++, Pos++) in Generate() 279 crc.Update(rg.Buffer, 0, rg.BufferSize); in LzmaBenchmark() 289 MemoryStream inStream = new MemoryStream(rg.Buffer, 0, (int)rg.BufferSize); in LzmaBenchmark()
|
/external/clang/include/clang/AST/ |
D | NestedNameSpecifier.h | 353 unsigned BufferSize; variable 361 : Representation(nullptr), Buffer(nullptr), BufferSize(0), in NestedNameSpecifierLocBuilder() 491 BufferSize = 0; in Clear() 500 return std::make_pair(Buffer, BufferSize); in getBuffer()
|
/external/opencv/cv/src/ |
D | cvoptflowlk.cpp | 123 int BufferSize; in icvCalcOpticalFlowLK_8u32fR() local 213 BufferSize = BufferHeight * BufferWidth; in icvCalcOpticalFlowLK_8u32fR() 215 II = (icvDerProduct *) cvAlloc( BufferSize * sizeof( icvDerProduct )); in icvCalcOpticalFlowLK_8u32fR() 216 WII = (icvDerProduct *) cvAlloc( BufferSize * sizeof( icvDerProduct )); in icvCalcOpticalFlowLK_8u32fR() 296 BufferAddress -= ((BufferAddress >= BufferSize) ? 0xffffffff : 0) & BufferSize; in icvCalcOpticalFlowLK_8u32fR() 489 addr -= ((addr >= BufferSize) ? 0xffffffff : 0) & BufferSize; in icvCalcOpticalFlowLK_8u32fR()
|
/external/e2fsprogs/lib/ext2fs/ |
D | nt_io.c | 211 ULONG BufferSize; member 1139 NtData->BufferSize = 1024; in nt_open() 1140 NtData->Buffer = malloc(NtData->BufferSize); in nt_open() 1280 NtData->BufferSize = channel->block_size; in nt_set_blksize() 1281 ASSERT(0 == (NtData->BufferSize % 512)); in nt_set_blksize() 1283 NtData->Buffer = malloc(NtData->BufferSize); in nt_set_blksize() 1336 if(Size <= NtData->BufferSize) in nt_read_blk() 1344 SizeToRead = NtData->BufferSize; in nt_read_blk() 1441 if(SizeToWrite >= NtData->BufferSize) in nt_write_blk() 1444 memcpy(NtData->Buffer, buf, NtData->BufferSize); in nt_write_blk()
|
/external/google-breakpad/src/client/windows/crash_generation/ |
D | minidump_generator.cc | 196 user_stream->BufferSize = static_cast<ULONG>(stream_.size()); in GetUserStream() 350 user_stream_array[0].BufferSize = sizeof(breakpad_info); in WriteMinidump() 391 user_stream_array[1].BufferSize = sizeof(MDRawAssertionInfo); in WriteMinidump() 402 user_stream_array[user_streams.UserStreamCount].BufferSize = in WriteMinidump() 403 additional_streams_->UserStreamArray[i].BufferSize; in WriteMinidump()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64SchedA53.td | 35 // Modeling each pipeline as a ProcResource using the BufferSize = 0 since 38 def A53UnitALU : ProcResource<2> { let BufferSize = 0; } // Int ALU 39 def A53UnitMAC : ProcResource<1> { let BufferSize = 0; } // Int MAC 40 def A53UnitDiv : ProcResource<1> { let BufferSize = 0; } // Int Division 41 def A53UnitLdSt : ProcResource<1> { let BufferSize = 0; } // Load/Store 42 def A53UnitB : ProcResource<1> { let BufferSize = 0; } // Branch 43 def A53UnitFPALU : ProcResource<1> { let BufferSize = 0; } // FP ALU 44 def A53UnitFPMDS : ProcResource<1> { let BufferSize = 0; } // FP Mult/Div/Sqrt
|
/external/llvm/lib/Target/R600/ |
D | SISchedule.td | 33 // BufferSize = 0 means the processors are in-order. 34 let BufferSize = 0 in {
|
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/ |
D | cmsnamed.c | 347 char* Buffer, cmsUInt32Number BufferSize) in cmsMLUgetASCII() argument 369 if (BufferSize <= 0) return 0; in cmsMLUgetASCII() 372 if (BufferSize < ASCIIlen + 1) in cmsMLUgetASCII() 373 ASCIIlen = BufferSize - 1; in cmsMLUgetASCII() 392 wchar_t* Buffer, cmsUInt32Number BufferSize) in cmsMLUgetWide() argument 410 if (BufferSize <= 0) return 0; in cmsMLUgetWide() 413 if (BufferSize < StrLen + sizeof(wchar_t)) in cmsMLUgetWide() 414 StrLen = BufferSize - + sizeof(wchar_t); in cmsMLUgetWide()
|
/external/lzma/CPP/7zip/UI/Common/ |
D | Bench.cpp | 77 size_t BufferSize; member in CBenchBuffer 88 if (Buffer != 0 && BufferSize == bufferSize) in Alloc() 92 BufferSize = bufferSize; in Alloc() 117 while (pos < BufferSize) in Generate() 143 for (UInt32 i = 0; i < len && pos < BufferSize; i++, pos++) in Generate() 205 size_t curSize = BufferSize - Pos; in Write() 561 crc = CrcCalc(rg.Buffer, rg.BufferSize); in Init() 613 inStreamSpec->Init(rg.Buffer, rg.BufferSize); in Encode()
|
/external/llvm/include/llvm/Target/ |
D | TargetSchedule.td | 123 // clock cycle relative to instruction dispatch. Setting BufferSize=0 128 // specified in WriteRes expire. Setting BufferSize=1 changes this to 135 // Use BufferSize = -1 for "issue ports" fed by a unified reservation 141 // Use BufferSize = 0 for resources that force "dispatch/issue 149 // Use BufferSize = 1 for in-order execution units. This is used for 154 // Use BufferSize > 1 for out-of-order executions units with a 159 // create two types of units, one with BufferSize=0 and one with 160 // BufferSize=1. 169 int BufferSize = -1; 186 int BufferSize = -1;
|
/external/mesa3d/src/egl/main/ |
D | eglconfig.h | 47 EGLint BufferSize; member 95 ATTRIB_MAP(EGL_BUFFER_SIZE, BufferSize); in _eglOffsetOfConfig()
|