/external/clang/lib/AST/ |
D | NestedNameSpecifier.cpp | 450 void Append(char *Start, char *End, char *&Buffer, unsigned &BufferSize, in Append() argument 455 if (BufferSize + (End - Start) > BufferCapacity) { in Append() 459 (unsigned)(BufferSize + (End - Start))); in Append() 462 memcpy(NewBuffer, Buffer, BufferSize); in Append() 469 memcpy(Buffer + BufferSize, Start, End - Start); in Append() 470 BufferSize += End-Start; in Append() 475 unsigned &BufferSize, unsigned &BufferCapacity) { in SaveSourceLocation() argument 479 Buffer, BufferSize, BufferCapacity); in SaveSourceLocation() 483 void SavePointer(void *Ptr, char *&Buffer, unsigned &BufferSize, in SavePointer() argument 487 Buffer, BufferSize, BufferCapacity); in SavePointer() [all …]
|
/external/libcxx/test/libcxx/experimental/any/ |
D | small_type.pass.cpp | 19 constexpr std::size_t BufferSize = (sizeof(void*) * 3); variable 36 char buff[BufferSize]; 43 char buff[BufferSize]; 48 char buff[BufferSize + 1]; 55 char buff[BufferSize + 1]; 70 static_assert(sizeof(T) == BufferSize, ""); in main() 78 static_assert(sizeof(T) < BufferSize, ""); in main() 86 static_assert(sizeof(T) == BufferSize, ""); in main() 94 static_assert(sizeof(T) > BufferSize, ""); in main() 102 static_assert(sizeof(T) < BufferSize, ""); in main() [all …]
|
/external/libcxx/test/libcxx/utilities/any/ |
D | small_type.pass.cpp | 19 constexpr std::size_t BufferSize = (sizeof(void*) * 3); variable 36 char buff[BufferSize]; 43 char buff[BufferSize]; 48 char buff[BufferSize + 1]; 55 char buff[BufferSize + 1]; 70 static_assert(sizeof(T) == BufferSize, ""); in main() 78 static_assert(sizeof(T) < BufferSize, ""); in main() 86 static_assert(sizeof(T) == BufferSize, ""); in main() 94 static_assert(sizeof(T) > BufferSize, ""); in main() 102 static_assert(sizeof(T) < BufferSize, ""); in main() [all …]
|
/external/syslinux/gnu-efi/gnu-efi-3.0/lib/ |
D | hand.c | 68 UINTN BufferSize; in LibLocateHandle() local 76 BufferSize = 50 * sizeof(EFI_HANDLE); in LibLocateHandle() 82 while (GrowBuffer (&Status, (VOID **) Buffer, BufferSize)) { in LibLocateHandle() 90 &BufferSize, in LibLocateHandle() 96 *NoHandles = BufferSize / sizeof (EFI_HANDLE); in LibLocateHandle() 115 UINTN BufferSize; in LibLocateHandleByDiskSignature() local 131 BufferSize = 50 * sizeof(EFI_HANDLE); in LibLocateHandleByDiskSignature() 137 while (GrowBuffer (&Status, (VOID **)&BlockIoBuffer, BufferSize)) { in LibLocateHandleByDiskSignature() 149 &BufferSize, in LibLocateHandleByDiskSignature() 155 NoBlockIoHandles = BufferSize / sizeof (EFI_HANDLE); in LibLocateHandleByDiskSignature() [all …]
|
D | misc.c | 135 IN UINTN BufferSize in GrowBuffer() argument 166 if (!*Buffer && BufferSize) { in GrowBuffer() 181 *Buffer = AllocatePool (BufferSize); in GrowBuffer() 213 UINTN BufferSize; in LibMemoryMap() local 221 BufferSize = sizeof(EFI_MEMORY_DESCRIPTOR); in LibMemoryMap() 227 while (GrowBuffer (&Status, (VOID **) &Buffer, BufferSize)) { in LibMemoryMap() 228 …Status = uefi_call_wrapper(BS->GetMemoryMap, 5, &BufferSize, Buffer, MapKey, DescriptorSize, Descr… in LibMemoryMap() 236 *NoEntries = BufferSize / *DescriptorSize; in LibMemoryMap() 251 UINTN BufferSize; in LibGetVariableAndSize() local 258 BufferSize = 100; in LibGetVariableAndSize() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | Format.h | 47 virtual int snprint(char *Buffer, unsigned BufferSize) const = 0; 56 unsigned print(char *Buffer, unsigned BufferSize) const { in print() argument 57 assert(BufferSize && "Invalid buffer size!"); in print() 60 int N = snprint(Buffer, BufferSize); in print() 64 return BufferSize*2; in print() 67 if (unsigned(N) >= BufferSize) in print() 87 virtual int snprint(char *Buffer, unsigned BufferSize) const { in snprint() argument 88 return snprintf(Buffer, BufferSize, Fmt, Val); in snprint() 105 virtual int snprint(char *Buffer, unsigned BufferSize) const { in snprint() argument 106 return snprintf(Buffer, BufferSize, Fmt, Val1, Val2); in snprint() [all …]
|
D | circular_raw_ostream.h | 52 size_t BufferSize; variable 77 TheStream->write(Cur, BufferArray + BufferSize - Cur); in flushBuffer() 114 BufferSize(BuffSize), in raw_ostream() 118 if (BufferSize != 0) in raw_ostream() 119 BufferArray = new char[BufferSize]; in raw_ostream()
|
D | FormattedStream.h | 108 if (size_t BufferSize = TheStream->GetBufferSize()) variable 109 SetBufferSize(BufferSize); 132 else if (size_t BufferSize = GetBufferSize()) in releaseStream() local 133 TheStream->SetBufferSize(BufferSize); in releaseStream()
|
/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 | 51 size_t BufferSize; variable 76 TheStream->write(Cur, BufferArray + BufferSize - Cur); in flushBuffer() 111 OwnsStream(Owns), BufferSize(BuffSize), BufferArray(nullptr), in raw_ostream() 113 if (BufferSize != 0) in raw_ostream() 114 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/swiftshader/third_party/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()
|
/external/syslinux/com32/lib/syslinux/ |
D | pxe_get_cached.c | 58 gci->BufferSize = gci->BufferLimit = max_dhcp_packet; in pxe_get_cached_info() 74 nbuf = malloc(gci->BufferSize); in pxe_get_cached_info() 80 memcpy(nbuf, bbuf, gci->BufferSize); in pxe_get_cached_info() 83 *len = gci->BufferSize; in pxe_get_cached_info()
|
/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/tpm2/ |
D | TPMCmdp.c | 148 Signal_Hash_Data(input.BufferSize, input.Buffer); in _rpc__Signal_Hash_Data() 179 response->BufferSize = 0; in _rpc__Send_Command() 185 ExecuteCommand(request.BufferSize, request.Buffer, in _rpc__Send_Command() 186 &response->BufferSize, &response->Buffer); in _rpc__Send_Command()
|
D | TcpServer.c | 485 InBuffer.BufferSize = length; in TpmServer() 496 InBuffer.BufferSize = length; in TpmServer() 497 OutBuffer.BufferSize = MAX_BUFFER; in TpmServer() 501 if(InBuffer.BufferSize > CommandResponseSizes.largestCommandSize) in TpmServer() 503 CommandResponseSizes.largestCommandSize = InBuffer.BufferSize; in TpmServer() 510 if(OutBuffer.BufferSize > CommandResponseSizes.largestResponseSize) in TpmServer() 513 = OutBuffer.BufferSize; in TpmServer() 519 OutBuffer.BufferSize); in TpmServer()
|
/external/syslinux/gpxe/src/arch/i386/interface/pxe/ |
D | pxe_preboot.c | 153 get_cached_info->Buffer.offset, get_cached_info->BufferSize ); in pxenv_get_cached_info() 174 len = get_cached_info->BufferSize; in pxenv_get_cached_info() 203 get_cached_info->BufferSize = sizeof ( *info ); in pxenv_get_cached_info() 207 get_cached_info->BufferSize, in pxenv_get_cached_info() 218 get_cached_info->BufferSize = len; in pxenv_get_cached_info() 246 restart_tftp->BufferSize = ( 0xa0000 - PXE_LOAD_PHYS ); /* Near enough */ in pxenv_restart_tftp()
|
/external/syslinux/core/fs/pxe/ |
D | gpxeurl.c | 27 file_read.BufferSize = PKTBUF_SIZE; in gpxe_get_packet() 36 memcpy(socket->tftp_pktbuf, packet_buf, file_read.BufferSize); in gpxe_get_packet() 39 socket->tftp_bytesleft = file_read.BufferSize; in gpxe_get_packet() 40 socket->tftp_filepos += file_read.BufferSize; in gpxe_get_packet()
|
/external/llvm/lib/Target/AMDGPU/ |
D | SISchedule.td | 59 let BufferSize = 1; 62 let BufferSize = 7; // Taken from S_WAITCNT 65 let BufferSize = 31; // Taken from S_WAITCNT 68 let BufferSize = 1; 71 let BufferSize = 15; // Taken from S_WAITCNT 74 let BufferSize = 1;
|
/external/protobuf/src/google/protobuf/io/ |
D | coded_stream.cc | 94 int backup_bytes = BufferSize() + buffer_size_after_limit_ + overflow_bytes_; in BackUpInputToCurrentPosition() 99 total_bytes_read_ -= BufferSize() + buffer_size_after_limit_; in BackUpInputToCurrentPosition() 217 const int original_buffer_size = BufferSize(); in Skip() 252 if (BufferSize() == 0 && !Refresh()) return false; in GetDirectBufferPointer() 255 *size = BufferSize(); in GetDirectBufferPointer() 282 while ((current_buffer_size = BufferSize()) < size) { in ReadStringFallback() 306 if (BufferSize() >= sizeof(*value)) { in ReadLittleEndian32Fallback() 323 if (BufferSize() >= sizeof(*value)) { in ReadLittleEndian64Fallback() 390 if (BufferSize() >= kMaxVarintBytes || in ReadVarint32Fallback() 438 const int buf_size = BufferSize(); in ReadTagFallback() [all …]
|
/external/syslinux/efi64/include/efi/ |
D | efiprot.h | 61 IN UINTN BufferSize, 72 IN UINTN BufferSize, 136 IN UINTN BufferSize, 147 IN UINTN BufferSize, 227 IN OUT UINTN *BufferSize, 235 IN OUT UINTN *BufferSize, 258 IN OUT UINTN *BufferSize, 267 IN UINTN BufferSize, 370 IN OUT UINTN *BufferSize,
|
/external/syslinux/gnu-efi/gnu-efi-3.0/inc/ |
D | efiprot.h | 61 IN UINTN BufferSize, 72 IN UINTN BufferSize, 136 IN UINTN BufferSize, 147 IN UINTN BufferSize, 227 IN OUT UINTN *BufferSize, 235 IN OUT UINTN *BufferSize, 258 IN OUT UINTN *BufferSize, 267 IN UINTN BufferSize, 370 IN OUT UINTN *BufferSize,
|
/external/syslinux/efi32/include/efi/ |
D | efiprot.h | 61 IN UINTN BufferSize, 72 IN UINTN BufferSize, 136 IN UINTN BufferSize, 147 IN UINTN BufferSize, 227 IN OUT UINTN *BufferSize, 235 IN OUT UINTN *BufferSize, 258 IN OUT UINTN *BufferSize, 267 IN UINTN BufferSize, 370 IN OUT UINTN *BufferSize,
|