HomeSort by relevance Sort by last modified time
    Searched refs:Buf (Results 1 - 25 of 73) sorted by null

1 2 3

  /external/clang/test/CodeGen/
2002-07-30-VarArgsCallFailure.c 6 char Buf[10];
7 test(Buf, "n%%%d", tcount++);
  /external/llvm/tools/yaml2obj/
yaml2obj.h 19 int yaml2coff(llvm::raw_ostream &Out, llvm::MemoryBuffer *Buf);
20 int yaml2elf(llvm::raw_ostream &Out, llvm::MemoryBuffer *Buf);
yaml2obj.cpp 60 OwningPtr<MemoryBuffer> Buf;
61 if (MemoryBuffer::getFileOrSTDIN(Input, Buf))
64 return yaml2coff(outs(), Buf.get());
66 return yaml2elf(outs(), Buf.get());
yaml2elf.cpp 38 /// \brief Indices of strings currently present in `Buf`.
41 std::string Buf;
44 Buf.push_back('\0');
52 I = Buf.size();
53 Buf.append(S.begin(), S.end());
54 Buf.push_back('\0');
58 return Buf.size();
61 OS.write(Buf.data(), Buf.size());
72 SmallVector<char, 128> Buf;
    [all...]
  /external/clang/lib/Frontend/
TextDiagnosticBuffer.cpp 27 SmallString<100> Buf;
28 Info.FormatDiagnostic(Buf);
33 Notes.push_back(std::make_pair(Info.getLocation(), Buf.str()));
36 Warnings.push_back(std::make_pair(Info.getLocation(), Buf.str()));
40 Errors.push_back(std::make_pair(Info.getLocation(), Buf.str()));
47 static StringRef escapeDiag(StringRef Str, SmallVectorImpl<char> &Buf) {
53 Buf.clear();
54 Buf.append(Str.data(), Str.data() + Pos);
57 Buf.push_back('%');
58 Buf.push_back(Str[I])
    [all...]
  /frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
armVCM4P10_InterpolateHalfDiag_Luma.c 56 OMX_S16 Buf [21 * 16]; /* 21 rows by 16 pixels per row */
66 * Buf contains a 2D array of size (iWidth)X(iHeight + 5)
80 Buf [y * iWidth + x] = (OMX_S16)HalfCoeff;
91 Buf [pos] -
92 5 * Buf [pos + 1 * iWidth] +
93 20 * Buf [pos + 2 * iWidth] +
94 20 * Buf [pos + 3 * iWidth] -
95 5 * Buf [pos + 4 * iWidth] +
96 Buf [pos + 5 * iWidth];
omxVCM4P10_GetVLCInfo.c 75 OMX_S16 Buf [16];
101 Buf [i - MinIndex] = pSrcCoeff [pScanMatrix [i]];
106 while (!Buf [i] && i >= 0)
123 Value = Buf [i];
142 Value = Buf [i];
omxVCM4P10_SubAndTransformQDQResidual.c 91 OMX_S16 Buf[16], m[16];
162 Buf [j * 4 + i] =
168 armVCM4P10_FwdTransformResidual4x4 (m, Buf);
185 Buf[4 * j + i] = pDstQuantCoeff [4 * j + i] = (OMX_S16)Value;
207 m [j * 4 + i] = Buf [j * 4 + i] * (1 << QPper) *
  /external/clang/lib/Lex/
ScratchBuffer.cpp 33 SourceLocation ScratchBuffer::getToken(const char *Buf, unsigned Len,
46 memcpy(CurBuffer+BytesUsed, Buf, Len);
66 llvm::MemoryBuffer *Buf =
68 FileID FID = SourceMgr.createFileIDForMemBuffer(Buf);
70 CurBuffer = const_cast<char*>(Buf->getBufferStart());
  /external/lzma/CPP/7zip/Common/
CWrappers.h 49 Byte *Buf;
62 Lim = Cur = Buf;
67 UInt64 GetProcessed() const { return Processed + (Cur - Buf); }
82 Byte *Buf;
94 Cur = Buf;
95 Lim = Buf + Size;
99 UInt64 GetProcessed() const { return Processed + (Cur - Buf); }
CWrappers.cpp 136 ::MidFree(Buf);
137 Buf = 0;
142 if (Buf == 0 || size != Size)
145 Lim = Cur = Buf = (Byte *)::MidAlloc((size_t)size);
148 return (Buf != 0);
156 Processed += (Cur - Buf);
157 Res = Stream->Read(Buf, Size, &avail);
158 Cur = Buf;
159 Lim = Buf + avail;
175 CByteInBufWrap::CByteInBufWrap(): Buf(0)
    [all...]
  /frameworks/compile/slang/
slang_diagnostic_buffer.cpp 47 llvm::SmallString<100> Buf;
76 Info.FormatDiagnostic(Buf);
77 (*mSOS) << Buf.str() << '\n';
  /external/llvm/include/llvm/ExecutionEngine/
ObjectBuffer.h 35 ObjectBuffer(MemoryBuffer* Buf) : Buffer(Buf) {}
  /external/llvm/lib/Support/
StringRefMemoryObject.cpp 23 uint8_t *Buf) const {
27 memcpy(Buf, Bytes.data() + Offset, Size);
MemoryBuffer.cpp 119 MemoryBuffer *Buf = getNewUninitMemBuffer(InputData.size(), BufferName);
120 if (!Buf) return 0;
121 memcpy(const_cast<char*>(Buf->getBufferStart()), InputData.data(),
123 return Buf;
145 char *Buf = Mem + AlignedStringLen;
146 Buf[Size] = 0; // Null terminate buffer.
148 return new (Mem) MemoryBufferMem(StringRef(Buf, Size), true);
351 MemoryBuffer *Buf = MemoryBuffer::getNewUninitMemBuffer(MapSize, Filename);
352 if (!Buf) {
358 OwningPtr<MemoryBuffer> SB(Buf);
    [all...]
  /external/llvm/unittests/Object/
YAMLTest.cpp 33 SmallVector<char, 32> Buf;
34 llvm::raw_svector_ostream OS(Buf);
  /external/giflib/
dgif_lib.c 41 static int DGifBufferedInput(GifFileType *GifFile, GifByteType *Buf,
74 char Buf[GIF_STAMP_LEN + 1];
117 if (READ(GifFile, (unsigned char *)Buf, GIF_STAMP_LEN) != GIF_STAMP_LEN) {
127 Buf[GIF_STAMP_LEN] = 0;
128 if (strncmp(GIF_STAMP, Buf, GIF_VERSION_POS) != 0) {
147 Private->gif89 = (Buf[GIF_VERSION_POS] == '9');
158 char Buf[GIF_STAMP_LEN + 1];
192 if (READ(GifFile, (unsigned char *)Buf, GIF_STAMP_LEN) != GIF_STAMP_LEN) {
201 Buf[GIF_STAMP_LEN] = '\0';
202 if (strncmp(GIF_STAMP, Buf, GIF_VERSION_POS) != 0)
    [all...]
gif_lib_private.h 49 GifByteType Buf[256]; /* Compressed input is buffered here. */
  /external/clang/include/clang/Lex/
ScratchBuffer.h 37 SourceLocation getToken(const char *Buf, unsigned Len, const char *&DestPtr);
  /external/llvm/include/llvm/Support/
StringRefMemoryObject.h 36 int readBytes(uint64_t Addr, uint64_t Size, uint8_t *Buf) const LLVM_OVERRIDE;
  /external/clang/lib/Sema/
AttributeList.cpp 119 SmallString<64> Buf;
121 Buf += ScopeName->getName();
125 Buf += "::";
126 Buf += AttrName;
128 return ::getAttrKind(Buf);
  /external/clang/tools/libclang/
CXString.cpp 104 CXString createCXString(CXStringBuf *buf) {
106 Str.data = buf;
127 CXStringBuf *Buf = Pool.back();
128 Buf->Data.clear();
130 return Buf;
  /external/llvm/unittests/Support/
MemoryBufferTest.cpp 128 OwningBuffer Buf;
129 error_code EC = MemoryBuffer::getOpenFileSlice(TestFD, TestPath.c_str(), Buf,
135 StringRef BufData = Buf->getBuffer();
  /external/clang/lib/Rewrite/Core/
HTMLRewrite.cpp 109 const llvm::MemoryBuffer *Buf = R.getSourceMgr().getBuffer(FID);
110 const char* C = Buf->getBufferStart();
111 const char* FileEnd = Buf->getBufferEnd();
228 const llvm::MemoryBuffer *Buf = R.getSourceMgr().getBuffer(FID);
229 const char* FileBeg = Buf->getBufferStart();
230 const char* FileEnd = Buf->getBufferEnd();
273 const llvm::MemoryBuffer *Buf = R.getSourceMgr().getBuffer(FID);
274 const char* FileStart = Buf->getBufferStart();
275 const char* FileEnd = Buf->getBufferEnd();
  /external/llvm/include/llvm/CodeGen/
MachineCodeEmitter.h 101 /// written to an arbitrary buffer in little-endian format. Buf must have at
104 static void emitWordLEInto(uint8_t *&Buf, uint32_t W) {
105 *Buf++ = (uint8_t)(W >> 0);
106 *Buf++ = (uint8_t)(W >> 8);
107 *Buf++ = (uint8_t)(W >> 16);
108 *Buf++ = (uint8_t)(W >> 24);

Completed in 1205 milliseconds

1 2 3