HomeSort by relevance Sort by last modified time
    Searched refs:MemoryBuffer (Results 26 - 50 of 226) sorted by null

12 3 4 5 6 7 8 910

  /packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
memorybuffer.h 29 Differences between MemoryBuffer and StringBuffer:
30 1. StringBuffer has Encoding but MemoryBuffer is only a byte buffer.
31 2. StringBuffer::GetString() returns a null-terminated string. MemoryBuffer::GetBuffer() returns a buffer without terminator.
60 typedef GenericMemoryBuffer<> MemoryBuffer;
64 inline void PutN(MemoryBuffer& memoryBuffer, char c, size_t n) {
65 std::memset(memoryBuffer.stack_.Push<char>(n), c, n * sizeof(c));
  /external/llvm/test/Bindings/OCaml/
ext_exc.ml 15 ignore (Llvm_bitreader.get_module context (Llvm.MemoryBuffer.of_stdin ()))
20 ignore (Llvm.MemoryBuffer.of_file "/path/to/nonexistent/file")
  /frameworks/compile/slang/BitWriter_2_9/
ReaderWriter_2_9.h 21 class MemoryBuffer;
34 llvm::Module *getLazyBitcodeModule(llvm::MemoryBuffer *Buffer,
43 std::string getBitcodeTargetTriple(llvm::MemoryBuffer *Buffer,
50 llvm::Module *ParseBitcodeFile(llvm::MemoryBuffer *Buffer, llvm::LLVMContext& Context,
  /frameworks/compile/slang/BitWriter_2_9_func/
ReaderWriter_2_9_func.h 21 class MemoryBuffer;
34 llvm::Module *getLazyBitcodeModule(llvm::MemoryBuffer *Buffer,
43 std::string getBitcodeTargetTriple(llvm::MemoryBuffer *Buffer,
50 llvm::Module *ParseBitcodeFile(llvm::MemoryBuffer *Buffer, llvm::LLVMContext& Context,
  /frameworks/compile/slang/BitWriter_3_2/
ReaderWriter_3_2.h 21 class MemoryBuffer;
34 llvm::Module *getLazyBitcodeModule(llvm::MemoryBuffer *Buffer,
43 std::string getBitcodeTargetTriple(llvm::MemoryBuffer *Buffer,
50 llvm::Module *ParseBitcodeFile(llvm::MemoryBuffer *Buffer, llvm::LLVMContext& Context,
  /external/clang/include/clang/Lex/
PTHManager.h 28 class MemoryBuffer;
49 std::unique_ptr<const llvm::MemoryBuffer> Buf;
88 PTHManager(std::unique_ptr<const llvm::MemoryBuffer> buf,
PreprocessorOptions.h 25 class MemoryBuffer;
105 std::vector<std::pair<std::string, llvm::MemoryBuffer *>> RemappedFileBuffers;
158 void addRemappedFile(StringRef From, llvm::MemoryBuffer *To) {
  /external/clang/include/clang/Serialization/
GlobalModuleIndex.h 29 class MemoryBuffer;
64 std::unique_ptr<llvm::MemoryBuffer> Buffer;
120 explicit GlobalModuleIndex(std::unique_ptr<llvm::MemoryBuffer> Buffer,
  /external/llvm/bindings/python/llvm/tests/
test_core.py 2 from ..core import MemoryBuffer
32 MemoryBuffer(filename=source)
36 MemoryBuffer(filename="/hopefully/this/path/doesnt/exist")
40 m = MemoryBuffer(filename=source)
76 m = parse_bitcode(MemoryBuffer(filename=self.get_test_bc()))
92 m = parse_bitcode(MemoryBuffer(filename=self.get_test_bc()))
114 m = parse_bitcode(MemoryBuffer(filename=self.get_test_bc()))
  /external/clang/lib/ARCMigrate/
FileRemapper.cpp 15 #include "llvm/Support/MemoryBuffer.h"
66 llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> fileBuf =
67 llvm::MemoryBuffer::getFile(infoFile.c_str());
152 llvm::MemoryBuffer *mem = I->second.get<llvm::MemoryBuffer *>();
173 assert(I->second.is<llvm::MemoryBuffer *>());
183 llvm::MemoryBuffer *mem = I->second.get<llvm::MemoryBuffer *>();
198 llvm::MemoryBuffer *mem = I->second.get<llvm::MemoryBuffer *>();
    [all...]
  /external/llvm/lib/IRReader/
IRReader.cpp 17 #include "llvm/Support/MemoryBuffer.h"
33 getLazyIRModule(std::unique_ptr<MemoryBuffer> Buffer, SMDiagnostic &Err,
54 ErrorOr<std::unique_ptr<MemoryBuffer>> FileOrErr =
55 MemoryBuffer::getFileOrSTDIN(Filename);
87 ErrorOr<std::unique_ptr<MemoryBuffer>> FileOrErr =
88 MemoryBuffer::getFileOrSTDIN(Filename);
107 std::unique_ptr<MemoryBuffer> MB(unwrap(MemBuf));
  /external/llvm/bindings/go/llvm/
bitwriter.go 34 func WriteBitcodeToMemoryBuffer(m Module) MemoryBuffer {
36 return MemoryBuffer{mb}
  /external/llvm/include/llvm/CodeGen/MIRParser/
MIRParser.h 24 #include "llvm/Support/MemoryBuffer.h"
74 /// \param Contents - The MemoryBuffer containing the machine level IR.
77 createMIRParser(std::unique_ptr<MemoryBuffer> Contents, LLVMContext &Context);
  /external/llvm/include/llvm/ExecutionEngine/
ObjectMemoryBuffer.h 19 #include "llvm/Support/MemoryBuffer.h"
24 /// \brief SmallVector-backed MemoryBuffer instance.
29 /// MemoryBuffer).
30 class ObjectMemoryBuffer : public MemoryBuffer {
  /external/llvm/include/llvm/ProfileData/
InstrProfWriter.h 21 #include "llvm/Support/MemoryBuffer.h"
50 std::unique_ptr<MemoryBuffer> writeBuffer();
InstrProfReader.h 24 #include "llvm/Support/MemoryBuffer.h"
104 create(std::unique_ptr<MemoryBuffer> Buffer);
118 std::unique_ptr<MemoryBuffer> DataBuffer;
127 TextInstrProfReader(std::unique_ptr<MemoryBuffer> DataBuffer_)
131 static bool hasFormat(const MemoryBuffer &Buffer);
155 std::unique_ptr<MemoryBuffer> DataBuffer;
173 RawInstrProfReader(std::unique_ptr<MemoryBuffer> DataBuffer)
176 static bool hasFormat(const MemoryBuffer &DataBuffer);
336 std::unique_ptr<MemoryBuffer> DataBuffer;
347 IndexedInstrProfReader(std::unique_ptr<MemoryBuffer> DataBuffer
    [all...]
  /external/llvm/lib/ExecutionEngine/MCJIT/
ObjectBuffer.h 19 #include "llvm/Support/MemoryBuffer.h"
24 class ObjectMemoryBuffer : public MemoryBuffer {
  /external/clang/include/clang/Tooling/
JSONCompilationDatabase.h 23 #include "llvm/Support/MemoryBuffer.h"
92 JSONCompilationDatabase(std::unique_ptr<llvm::MemoryBuffer> Database)
125 std::unique_ptr<llvm::MemoryBuffer> Database;
  /external/clang/tools/clang-fuzzer/
ClangFuzzer.cpp 37 std::unique_ptr<llvm::MemoryBuffer> Input =
38 llvm::MemoryBuffer::getMemBuffer(s);
  /frameworks/compile/libbcc/lib/Core/
Source.cpp 27 #include <llvm/Support/MemoryBuffer.h>
44 std::unique_ptr<llvm::MemoryBuffer> &&pInput) {
69 std::unique_ptr<llvm::MemoryBuffer> input_memory =
70 llvm::MemoryBuffer::getMemBuffer(input_data, "", false);
97 llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> mb_or_error =
98 llvm::MemoryBuffer::getFile(pPath);
104 std::unique_ptr<llvm::MemoryBuffer> input_data = std::move(mb_or_error.get());
106 std::unique_ptr<llvm::MemoryBuffer> input_memory(input_data.release());
  /external/llvm/include/llvm/Object/
Binary.h 20 #include "llvm/Support/MemoryBuffer.h"
142 std::unique_ptr<MemoryBuffer> Buf;
146 OwningBinary(std::unique_ptr<T> Bin, std::unique_ptr<MemoryBuffer> Buf);
150 std::pair<std::unique_ptr<T>, std::unique_ptr<MemoryBuffer>> takeBinary();
158 std::unique_ptr<MemoryBuffer> Buf)
175 std::pair<std::unique_ptr<T>, std::unique_ptr<MemoryBuffer>>
  /external/llvm/unittests/Bitcode/
BitReaderTest.cpp 23 #include "llvm/Support/MemoryBuffer.h"
58 std::unique_ptr<MemoryBuffer> Buffer =
59 MemoryBuffer::getMemBuffer(Mem.str(), "test", false);
66 std::unique_ptr<MemoryBuffer> Buffer;
78 BufferDataStreamer(std::unique_ptr<MemoryBuffer> Buffer)
86 std::unique_ptr<MemoryBuffer> Buffer =
87 MemoryBuffer::getMemBuffer(Mem.str(), "test", false);
109 auto MemoryBuf = MemoryBuffer::getMemBuffer(Input);
  /external/clang/unittests/Basic/
SourceManagerTest.cpp 76 std::unique_ptr<MemoryBuffer> Buf = MemoryBuffer::getMemBuffer(source);
129 std::unique_ptr<MemoryBuffer> Buf = MemoryBuffer::getMemBuffer(Source);
188 std::unique_ptr<MemoryBuffer> HeaderBuf = MemoryBuffer::getMemBuffer(header);
189 std::unique_ptr<MemoryBuffer> MainBuf = MemoryBuffer::getMemBuffer(main);
287 std::unique_ptr<MemoryBuffer> HeaderBuf = MemoryBuffer::getMemBuffer(header)
    [all...]
  /external/llvm/include/llvm/ExecutionEngine/Orc/
IRCompileLayer.h 41 typedef std::vector<std::unique_ptr<MemoryBuffer>> OwningBufferVec;
70 std::unique_ptr<MemoryBuffer> Buffer;
125 std::unique_ptr<MemoryBuffer> ObjBuffer = ObjCache->getObject(&M);
  /external/llvm/include/llvm/LTO/
LTOCodeGenerator.h 53 class MemoryBuffer;
127 std::unique_ptr<MemoryBuffer> compile(bool DisableVerify, bool DisableInline,
138 std::unique_ptr<MemoryBuffer> compileOptimized();

Completed in 1182 milliseconds

12 3 4 5 6 7 8 910