Searched defs:Buffer (Results 126 - 150 of 324) sorted by relevance

1234567891011>>

/external/clang/lib/Format/
H A DSortJavaScriptImports.cpp239 // Appends ``Reference`` to ``Buffer``, returning true if text within the
241 bool appendReference(std::string &Buffer, JsModuleReference &Reference) { argument
253 Buffer += ReferenceStmt;
259 Buffer += getSourceText(Reference.Range.getBegin(), SymbolsStart);
263 Buffer += ",";
264 Buffer += getSourceText(I->Range);
267 Buffer += getSourceText(SymbolsEnd, Reference.Range.getEnd());
/external/clang/lib/Frontend/
H A DChainedIncludesSource.cpp163 auto Buffer = std::make_shared<PCHBuffer>(); local
166 Clang->getPreprocessor(), "-", nullptr, /*isysroot=*/"", Buffer,
204 assert(Buffer->IsComplete && "serialization did not complete");
205 auto &serialAST = Buffer->Data;
/external/clang/test/Analysis/
H A Dtaint-generic.c34 int Buffer[BUFSIZE]; variable
39 Buffer[n] = 1; // expected-warning {{Out of bound memory access }}
46 Buffer[m] = 1; // expected-warning {{Out of bound memory access }}
53 Buffer[m] = 1; // expected-warning {{Out of bound memory access }}
62 Buffer[m] = 1; // expected-warning {{Out of bound memory access }}
73 Buffer[m] = 1; //expected-warning {{Out of bound memory access (index is tainted)}}
/external/clang/unittests/Basic/
H A DVirtualFileSystemTest.cpp673 std::unique_ptr<MemoryBuffer> Buffer = MemoryBuffer::getMemBuffer(Content); local
674 return getVFSFromYAML(std::move(Buffer), CountingDiagHandler, "", this,
/external/compiler-rt/lib/profile/
H A DInstrProfilingWriter.c38 char **Buffer = (char **)WriterCtx; local
41 memcpy(*Buffer, IOVecs[I].Data, Length);
42 *Buffer += Length;
48 void *File, uint8_t *Buffer, uint32_t BufferSz) {
51 BufferIO->BufferStart = Buffer;
58 uint8_t *Buffer = DynamicBufferIOBuffer; local
60 if (!Buffer) {
61 Buffer = &BufferIOBuffer[0];
64 llvmInitBufferIO(&TheBufferIO, FileWriter, File, Buffer, BufferSize);
78 /* Buffer i
47 llvmInitBufferIO(ProfBufferIO *BufferIO, WriterCallback FileWriter, void *File, uint8_t *Buffer, uint32_t BufferSz) argument
90 uint8_t *Buffer = BufferIO->BufferStart + BufferIO->CurOffset; local
[all...]
/external/deqp/external/vulkancts/modules/vulkan/compute/
H A DvktComputeTestsUtil.cpp35 Buffer::Buffer (const DeviceInterface& vk, function in class:vkt::compute::Buffer
/external/deqp/external/vulkancts/modules/vulkan/geometry/
H A DvktGeometryTestsUtil.hpp52 class Buffer class in namespace:vkt::geometry
55 Buffer (const vk::DeviceInterface& vk, function in class:vkt::geometry::Buffer
76 Buffer (const Buffer&);
77 Buffer& operator= (const Buffer&);
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineMakeUtil.cpp38 Buffer::Buffer (const vk::DeviceInterface& vk, function in class:vkt::pipeline::Buffer
/external/deqp/framework/opengl/
H A DgluObjectWrapper.hpp133 typedef TypedObjectWrapper<OBJECTTYPE_BUFFER> Buffer; typedef in namespace:glu
/external/libcups/filter/
H A Drastertolabel.c65 unsigned char *Buffer; /* Output buffer */ variable
431 Buffer = malloc(header->cupsBytesPerLine);
697 free(Buffer);
757 if (Buffer[0] ||
758 memcmp(Buffer, Buffer + 1, header->cupsBytesPerLine - 1))
773 fwrite(Buffer, header->cupsBytesPerLine, 1, stdout);
782 fwrite(Buffer, 1, header->cupsBytesPerLine, stdout);
787 if (Buffer[0] || memcmp(Buffer, Buffe
[all...]
/external/llvm/include/llvm/ProfileData/
H A DSampleProfReader.h260 : Profiles(0), Ctx(C), Buffer(std::move(B)) {}
286 Ctx.diagnose(DiagnosticInfoSampleProfile(Buffer->getBufferIdentifier(),
313 std::unique_ptr<MemoryBuffer> Buffer; member in class:llvm::sampleprof::SampleProfileReader
333 /// \brief Return true if \p Buffer is in the format supported by this class.
334 static bool hasFormat(const MemoryBuffer &Buffer);
348 /// \brief Return true if \p Buffer is in the format supported by this class.
349 static bool hasFormat(const MemoryBuffer &Buffer);
411 : SampleProfileReader(std::move(B), C), GcovBuffer(Buffer.get()) {}
419 /// \brief Return true if \p Buffer is in the format supported by this class.
420 static bool hasFormat(const MemoryBuffer &Buffer);
[all...]
/external/llvm/include/llvm-c/
H A Dlto.h139 * Return true if \p Buffer contains a bitcode file with ObjC code (category
567 const char *Buffer; member in struct:__anon12452
/external/llvm/lib/AsmParser/
H A DLLLexer.cpp49 uint64_t LLLexer::atoull(const char *Buffer, const char *End) { argument
51 for (; Buffer != End; Buffer++) {
54 Result += *Buffer-'0';
63 uint64_t LLLexer::HexIntToVal(const char *Buffer, const char *End) { argument
65 for (; Buffer != End; ++Buffer) {
68 Result += hexDigitValue(*Buffer);
78 void LLLexer::HexToIntPair(const char *Buffer, const char *End, argument
81 if (End - Buffer >
99 FP80HexToIntPair(const char *Buffer, const char *End, uint64_t Pair[2]) argument
121 char *Buffer = &Str[0], *EndBuffer = Buffer+Str.size(); local
[all...]
/external/llvm/lib/ExecutionEngine/
H A DGDBRegistrationListener.cpp87 // Buffer for an in-memory object file in executable memory
169 const char *Buffer = DebugObj.getBinary()->getMemoryBufferRef().getBufferStart(); local
184 JITCodeEntry->symfile_addr = Buffer;
/external/llvm/lib/LineEditor/
H A DLineEditor.cpp56 LineEditor::ListCompleterConcept::complete(StringRef Buffer, size_t Pos) const { argument
58 std::vector<Completion> Comps = getCompletions(Buffer, Pos);
84 LineEditor::CompletionAction LineEditor::getCompletionAction(StringRef Buffer, argument
92 return Completer->complete(Buffer, Pos);
/external/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCTargetDesc.cpp121 std::string Buffer; variable
123 raw_string_ostream TempStream(Buffer);
126 StringRef Contents(Buffer);
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMachObjectWriter.cpp242 char Buffer[32]; local
243 format("0x%x", FixupOffset).print(Buffer, sizeof(Buffer));
247 Buffer + ") into 24 bits of scattered "
/external/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MachObjectWriter.cpp422 char Buffer[32]; local
423 format("0x%x", FixupOffset).print(Buffer, sizeof(Buffer));
426 "r_address (") + Buffer +
/external/llvm/tools/llc/
H A Dllc.cpp391 SmallVector<char, 0> Buffer; local
396 BOS = make_unique<raw_svector_ostream>(Buffer);
483 CompileTwiceBuffer = Buffer;
484 Buffer.clear();
495 if (Buffer.size() != CompileTwiceBuffer.size() ||
496 (memcmp(Buffer.data(), CompileTwiceBuffer.data(), Buffer.size()) !=
503 Out->os() << Buffer;
510 Out->os() << Buffer;
/external/llvm/tools/llvm-cov/
H A DSourceCoverageViewText.cpp154 SmallString<32> Buffer; local
155 raw_svector_ostream BufferOS(Buffer);
/external/llvm/tools/llvm-mc/
H A Dllvm-mc.cpp410 MemoryBuffer *Buffer = BufferPtr->get(); local
557 *Buffer, SrcMgr, Out->os());
/external/llvm/tools/llvm-mcmarkup/
H A Dllvm-mcmarkup.cpp144 std::unique_ptr<MemoryBuffer> &Buffer = BufferPtr.get(); local
148 StringRef InputSource = Buffer->getBuffer();
151 SrcMgr.AddNewSourceBuffer(std::move(Buffer), SMLoc());
/external/llvm/tools/llvm-pdbdump/
H A Dllvm-pdbdump.cpp75 FileBufferByteStream(std::unique_ptr<FileOutputBuffer> Buffer) argument
76 : ByteStream(MutableArrayRef<uint8_t>(Buffer->getBufferStart(),
77 Buffer->getBufferEnd())),
78 FileBuffer(std::move(Buffer)) {}
308 std::unique_ptr<MemoryBuffer> &Buffer = ErrorOrBuffer.get(); local
310 llvm::yaml::Input In(Buffer->getBuffer());
/external/llvm/tools/llvm-readobj/
H A DWin64EHDumper.cpp118 std::string Buffer; local
119 raw_string_ostream OS(Buffer);
/external/lzma/CPP/7zip/Common/
H A DLimitedStreams.h199 CByteBuffer Buffer; member in class:CLimitedCachedInStream
204 _cache = Buffer;

Completed in 499 milliseconds

1234567891011>>