Searched refs:Buffer (Results 76 - 100 of 533) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/groff/src/devices/xditview/
H A Dparse.c59 char Buffer[BUFSIZ]; local
96 Buffer[0] = c;
97 Buffer[1] = '\0';
98 (void) PutCharacter (dw, Buffer);
101 GetWord (dw, Buffer, BUFSIZ);
102 (void) PutCharacter (dw, Buffer);
105 Buffer[1] = '\0';
108 Buffer[0] = c;
109 HorizontalMove (dw, PutCharacter (dw, Buffer));
114 Buffer[
[all...]
/freebsd-11-stable/sys/contrib/dev/acpica/components/executer/
H A Dexconvrt.c176 * Integer, Buffer, or String
216 Pointer = ObjDesc->Buffer.Pointer;
217 Count = ObjDesc->Buffer.Length;
236 /* String conversion is different than Buffer conversion */
322 * Integer, Buffer, or String
327 * DESCRIPTION: Convert an ACPI Object to a Buffer
355 * Create a new Buffer object.
366 NewBuf = ReturnDesc->Buffer.Pointer;
372 * Create a new Buffer object
389 NewBuf = ReturnDesc->Buffer
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DFileOutputBuffer.cpp1 //===- FileOutputBuffer.cpp - File Output Buffer ----------------*- C++ -*-===//
38 : FileOutputBuffer(Path), Buffer(std::move(Buf)), Temp(std::move(Temp)) {}
40 uint8_t *getBufferStart() const override { return (uint8_t *)Buffer->data(); }
43 return (uint8_t *)Buffer->data() + Buffer->size();
46 size_t getBufferSize() const override { return Buffer->size(); }
50 Buffer.reset();
59 Buffer.reset();
70 std::unique_ptr<fs::mapped_file_region> Buffer; member in class:__anon1981::OnDiskBuffer
80 : FileOutputBuffer(Path), Buffer(Bu
111 OwningMemoryBlock Buffer; member in class:__anon1981::InMemoryBuffer
[all...]
H A DCodeGenCoverage.cpp51 bool CodeGenCoverage::parse(MemoryBuffer &Buffer, StringRef BackendName) { argument
52 const char *CurPtr = Buffer.getBufferStart();
54 while (CurPtr != Buffer.getBufferEnd()) {
59 if (CurPtr == Buffer.getBufferEnd())
63 while (CurPtr != Buffer.getBufferEnd()) {
64 if (std::distance(CurPtr, Buffer.getBufferEnd()) < 8)
H A DCompression.cpp84 uint32_t zlib::crc32(StringRef Buffer) { argument
85 return ::crc32(0, (const Bytef *)Buffer.data(), Buffer.size());
103 uint32_t zlib::crc32(StringRef Buffer) {
H A DRandomNumberGenerator.cpp58 std::error_code llvm::getRandomBytes(void *Buffer, size_t Size) { argument
64 if (CryptGenRandom(hProvider, Size, static_cast<BYTE *>(Buffer)))
72 ssize_t BytesRead = read(Fd, Buffer, Size);
H A DBinaryStreamReader.cpp30 ArrayRef<uint8_t> &Buffer) {
31 if (auto EC = Stream.readLongestContiguousChunk(Offset, Buffer))
33 Offset += Buffer.size();
37 Error BinaryStreamReader::readBytes(ArrayRef<uint8_t> &Buffer, uint32_t Size) { argument
38 if (auto EC = Stream.readBytes(Offset, Size, Buffer))
79 ArrayRef<uint8_t> Buffer; local
80 if (auto EC = readLongestContiguousChunk(Buffer))
82 StringRef S(reinterpret_cast<const char *>(Buffer.begin()), Buffer.size());
161 ArrayRef<uint8_t> Buffer; local
29 readLongestContiguousChunk( ArrayRef<uint8_t> &Buffer) argument
[all...]
/freebsd-11-stable/sys/contrib/edk2/Include/Library/
H A DMemoryAllocationLib.h84 Frees the number of 4KB pages specified by Pages from the buffer specified by Buffer. Buffer
89 If Buffer was not allocated with a page allocation function in the Memory Allocation Library,
93 @param Buffer Pointer to the buffer of pages to free.
100 IN VOID *Buffer,
183 Frees the number of 4KB pages specified by Pages from the buffer specified by Buffer. Buffer
188 If Buffer was not allocated with an aligned page allocation function in the Memory Allocation
192 @param Buffer Pointer to the buffer of pages to free.
199 IN VOID *Buffer,
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingBuffer.c110 void initBufferWriter(ProfDataWriter *BufferWriter, char *Buffer) { argument
112 BufferWriter->WriterCtx = Buffer;
115 COMPILER_RT_VISIBILITY int __llvm_profile_write_buffer(char *Buffer) { argument
117 initBufferWriter(&BufferWriter, Buffer);
122 char *Buffer, const __llvm_profile_data *DataBegin,
126 initBufferWriter(&BufferWriter, Buffer);
121 __llvm_profile_write_buffer_internal( char *Buffer, const __llvm_profile_data *DataBegin, const __llvm_profile_data *DataEnd, const uint64_t *CountersBegin, const uint64_t *CountersEnd, const char *NamesBegin, const char *NamesEnd) argument
/freebsd-11-stable/sys/dev/drm2/i915/
H A Dintel_acpi.c45 params[0].Buffer.Length = sizeof(intel_dsm_guid);
46 params[0].Buffer.Pointer = __DECONST(char *, intel_dsm_guid);
69 if (obj->Buffer.Length == 4) {
70 result = (obj->Buffer.Pointer[0] |
71 (obj->Buffer.Pointer[1] << 8) |
72 (obj->Buffer.Pointer[2] << 16) |
73 (obj->Buffer.Pointer[3] << 24));
150 params[0].Buffer.Length = sizeof(intel_dsm_guid);
151 params[0].Buffer.Pointer = __DECONST(char *, intel_dsm_guid);
180 intel_dsm_port_name(info->Buffer
[all...]
/freebsd-11-stable/sys/contrib/dev/acpica/compiler/
H A Daslcache.c181 char *Buffer; local
204 return (Cache->Buffer);
221 Gbl_StringCacheNext = Cache->Buffer;
228 Buffer = Gbl_StringCacheNext;
230 return (Buffer);
269 Gbl_ParseOpCacheNext = ACPI_CAST_PTR (ACPI_PARSE_OBJECT, Cache->Buffer);
313 Gbl_SubtableCacheNext = ACPI_CAST_PTR (DT_SUBTABLE, Cache->Buffer);
357 Gbl_FieldCacheNext = ACPI_CAST_PTR (DT_FIELD, Cache->Buffer);
399 "%u Strings (%u bytes), Buffer size: %u bytes, %u Buffers\n",
423 "%u ParseOps, Buffer siz
[all...]
H A Ddtcompile.c518 ACPI_TABLE_HEADER, Gbl_RootTable->Buffer);
555 UINT8 *Buffer; local
595 Subtable->Buffer = ACPI_CAST_PTR (UINT8, String);
600 Buffer = Subtable->Buffer;
644 FlagBuffer = Buffer;
715 memcpy (Buffer, InlineSubtable->Buffer, FieldLength);
721 DtWriteFieldToListing (Buffer, LocalField, 0);
729 DtCompileOneField (Buffer, LocalFiel
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IRReader/
H A DIRReader.h34 /// of \p Buffer.
35 std::unique_ptr<Module> getLazyIRModule(std::unique_ptr<MemoryBuffer> Buffer,
55 std::unique_ptr<Module> parseIR(MemoryBufferRef Buffer, SMDiagnostic &Err,
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/COFF/
H A DWriter.h12 #include "Buffer.h"
26 Buffer &Buf;
53 COFFWriter(Object &Obj, Buffer &Buf)
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-mca/Views/
H A DSchedulerStatistics.cpp76 for (const unsigned Buffer : Buffers) {
77 if (Buffer == LQResourceID || Buffer == SQResourceID)
79 Usage[Buffer].SlotsInUse++;
85 for (const unsigned Buffer : Buffers) {
86 if (Buffer == LQResourceID || Buffer == SQResourceID)
88 Usage[Buffer].SlotsInUse--;
H A DRetireControlUnitStatistics.cpp56 std::string Buffer; local
57 raw_string_ostream TempStream(Buffer);
86 OS << Buffer; local
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/MachO/
H A DMachOWriter.h9 #include "../Buffer.h"
27 Buffer &B;
54 Buffer &B)
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DCodeGenCoverage.h33 bool parse(MemoryBuffer &Buffer, StringRef BackendName);
H A DMemoryBuffer.h1 //===--- MemoryBuffer.h - Memory Buffer Interface ---------------*- C++ -*-===//
203 // and be surprised that he got a read-only Buffer.
251 // and be surprised that he got a read-only Buffer.
262 StringRef Buffer; member in class:llvm::MemoryBufferRef
267 MemoryBufferRef(const MemoryBuffer& Buffer) argument
268 : Buffer(Buffer.getBuffer()), Identifier(Buffer.getBufferIdentifier()) {}
269 MemoryBufferRef(StringRef Buffer, StringRef Identifier) argument
270 : Buffer(Buffe
[all...]
/freebsd-11-stable/crypto/openssh/
H A Dmonitor.h90 void mm_request_send(int, enum monitor_reqtype, Buffer *);
91 void mm_request_receive(int, Buffer *);
92 void mm_request_receive_expect(int, enum monitor_reqtype, Buffer *);
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DYaml.h33 llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> Buffer = local
36 if (std::error_code ec = Buffer.getError()) {
43 llvm::yaml::Input Input(Buffer.get()->getBuffer());
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_monitor.cpp20 : IssueKind(IssueKind), Loc(Loc), Buffer(Msg.length() + 1) {
26 Buffer.append("%s", Msg.data());
51 InternalScopedString &Buf = CurrentUBR->Buffer;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DPDBFileBuilder.cpp103 std::unique_ptr<MemoryBuffer> Buffer) {
114 Desc.Content = std::move(Buffer);
274 FileBufferByteStream Buffer = std::move(*ExpectedMsfBuffer);
281 Layout, Buffer, *ExpectedSN, Allocator);
291 Layout, Buffer, NSE.first, Allocator);
298 if (auto EC = Info->commit(Layout, Buffer))
303 if (auto EC = Dbi->commit(Layout, Buffer))
308 if (auto EC = Tpi->commit(Layout, Buffer))
313 if (auto EC = Ipi->commit(Layout, Buffer))
318 if (auto EC = Gsi->commit(Layout, Buffer))
102 addInjectedSource(StringRef Name, std::unique_ptr<MemoryBuffer> Buffer) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/LTO/
H A DLTOModule.cpp81 bool LTOModule::isBitcodeForTarget(MemoryBuffer *Buffer, argument
84 IRObjectFile::findBitcodeInMemBuffer(Buffer->getMemBufferRef());
95 std::string LTOModule::getProducerString(MemoryBuffer *Buffer) { argument
97 IRObjectFile::findBitcodeInMemBuffer(Buffer->getMemBufferRef());
117 std::unique_ptr<MemoryBuffer> Buffer = std::move(BufferOrErr.get()); local
118 return makeLTOModule(Buffer->getMemBufferRef(), options, Context,
139 std::unique_ptr<MemoryBuffer> Buffer = std::move(BufferOrErr.get()); local
140 return makeLTOModule(Buffer->getMemBufferRef(), options, Context,
149 MemoryBufferRef Buffer(Data, path);
150 return makeLTOModule(Buffer, option
169 parseBitcodeFileImpl(MemoryBufferRef Buffer, LLVMContext &Context, bool ShouldBeLazy) argument
193 makeLTOModule(MemoryBufferRef Buffer, const TargetOptions &options, LLVMContext &Context, bool ShouldBeLazy) argument
340 SmallString<64> Buffer; local
398 SmallString<64> Buffer; local
576 SmallString<64> Buffer; local
[all...]
/freebsd-11-stable/sys/contrib/dev/acpica/components/dispatcher/
H A Ddsdebug.c191 ACPI_BUFFER Buffer; local
205 Buffer.Length = ACPI_ALLOCATE_LOCAL_BUFFER;
207 Status = AcpiNsHandleToPathname (Node, &Buffer, TRUE);
216 (char *) Buffer.Pointer, Node));
217 ACPI_FREE (Buffer.Pointer);
266 "Executing subtree for Buffer/Package/Region\n"));

Completed in 277 milliseconds

1234567891011>>