/external/clang/test/CodeGen/ |
H A D | 2002-07-30-VarArgsCallFailure.c | 6 char Buf[10]; local 7 test(Buf, "n%%%d", tcount++);
|
/external/compiler-rt/test/esan/TestCases/ |
H A D | libc-intercept.c | 7 char Buf[2048]; local 9 strcpy(Buf, Str); 10 strncpy(Buf, Str, 17); 11 return strncmp(Buf, Str, 17);
|
/external/compiler-rt/test/esan/Unit/ |
H A D | circular_buffer.cpp | 12 void testBuffer(__esan::CircularBuffer<int> *Buf) { argument 13 assert(Buf->size() == 0); 14 assert(Buf->empty()); 16 Buf->push_back(1); 17 assert(Buf->back() == 1); 18 assert((*Buf)[0] == 1); 19 assert(Buf->size() == 1); 20 assert(!Buf->empty()); 22 Buf->push_back(2); 23 Buf [all...] |
/external/clang/unittests/Rewrite/ |
H A D | RewriteBufferTest.cpp | 19 RewriteBuffer &Buf) { 25 Buf.InsertTextAfter(Offset, BeginTag); 26 Buf.InsertTextBefore(Offset+Len, EndTag); 33 RewriteBuffer Buf; local 34 Buf.Initialize(Input); 37 Buf.RemoveText(Pos, RemoveStr.size()); 41 tagRange(Pos, TagStr.size(), "outer", Buf); 42 tagRange(Pos, TagStr.size(), "inner", Buf); 46 Buf.write(OS); 18 tagRange(unsigned Offset, unsigned Len, StringRef tagName, RewriteBuffer &Buf) argument
|
/external/clang/lib/Lex/ |
H A D | ScratchBuffer.cpp | 34 SourceLocation ScratchBuffer::getToken(const char *Buf, unsigned Len, argument 47 memcpy(CurBuffer+BytesUsed, Buf, Len); 71 llvm::MemoryBuffer &Buf = *OwnBuf; local 74 CurBuffer = const_cast<char*>(Buf.getBufferStart());
|
/external/llvm/unittests/ObjectYAML/ |
H A D | YAMLTest.cpp | 33 SmallVector<char, 32> Buf; local 34 llvm::raw_svector_ostream OS(Buf);
|
/external/clang/lib/Frontend/ |
H A D | TextDiagnosticBuffer.cpp | 27 SmallString<100> Buf; local 28 Info.FormatDiagnostic(Buf); 33 Notes.emplace_back(Info.getLocation(), Buf.str()); 36 Warnings.emplace_back(Info.getLocation(), Buf.str()); 39 Remarks.emplace_back(Info.getLocation(), Buf.str()); 43 Errors.emplace_back(Info.getLocation(), Buf.str());
|
/external/clang/tools/libclang/ |
H A D | CIndexUSRs.cpp | 35 bool cxcursor::getDeclCursorUSR(const Decl *D, SmallVectorImpl<char> &Buf) { argument 36 return generateUSRForDecl(D, Buf); 96 SmallString<128> Buf(getUSRSpacePrefix()); 97 llvm::raw_svector_ostream OS(Buf); 106 SmallString<128> Buf(getUSRSpacePrefix()); 107 llvm::raw_svector_ostream OS(Buf); 114 SmallString<128> Buf(getUSRSpacePrefix()); 115 llvm::raw_svector_ostream OS(Buf); 121 SmallString<128> Buf(getUSRSpacePrefix()); 122 llvm::raw_svector_ostream OS(Buf); [all...] |
/external/lzma/CPP/7zip/Common/ |
H A D | CWrappers.h | 54 Byte *Buf;
member in struct:CByteInBufWrap 67 Lim = Cur = Buf;
72 UInt64 GetProcessed() const { return Processed + (Cur - Buf); }
87 Byte *Buf;
member in struct:CByteOutBufWrap 99 Cur = Buf;
100 Lim = Buf + Size;
104 UInt64 GetProcessed() const { return Processed + (Cur - Buf); }
|
H A D | CWrappers.cpp | 140 ::MidFree(Buf);
141 Buf = 0;
146 if (Buf == 0 || size != Size)
149 Lim = Cur = Buf = (Byte *)::MidAlloc((size_t)size);
152 return (Buf != 0);
160 Processed += (Cur - Buf);
161 Res = Stream->Read(Buf, Size, &avail);
162 Cur = Buf;
163 Lim = Buf + avail;
179 CByteInBufWrap::CByteInBufWrap(): Buf( [all...] |
/external/llvm/include/llvm/Object/ |
H A D | ArchiveWriter.h | 24 std::unique_ptr<MemoryBuffer> Buf; member in struct:llvm::NewArchiveMember 30 : Buf(std::move(Other.Buf)), ModTime(Other.ModTime), UID(Other.UID), 33 Buf = std::move(Other.Buf);
|
H A D | Binary.h | 142 std::unique_ptr<MemoryBuffer> Buf; member in class:llvm::object::OwningBinary 146 OwningBinary(std::unique_ptr<T> Bin, std::unique_ptr<MemoryBuffer> Buf); 158 std::unique_ptr<MemoryBuffer> Buf) 159 : Bin(std::move(Bin)), Buf(std::move(Buf)) {} 165 : Bin(std::move(Other.Bin)), Buf(std::move(Other.Buf)) {} 170 Buf = std::move(Other.Buf); 177 return std::make_pair(std::move(Bin), std::move(Buf)); 157 OwningBinary(std::unique_ptr<T> Bin, std::unique_ptr<MemoryBuffer> Buf) argument [all...] |
/external/giflib/ |
H A D | dgif_lib.c | 41 static int DGifBufferedInput(GifFileType *GifFile, GifByteType *Buf, 73 char Buf[GIF_STAMP_LEN + 1]; local 120 if (READ(GifFile, (unsigned char *)Buf, GIF_STAMP_LEN) != GIF_STAMP_LEN) { 130 Buf[GIF_STAMP_LEN] = 0; 131 if (strncmp(GIF_STAMP, Buf, GIF_VERSION_POS) != 0) { 150 Private->gif89 = (Buf[GIF_VERSION_POS] == '9'); 161 char Buf[GIF_STAMP_LEN + 1]; local 197 if (READ(GifFile, (unsigned char *)Buf, GIF_STAMP_LEN) != GIF_STAMP_LEN) { 206 Buf[GIF_STAMP_LEN] = '\0'; 207 if (strncmp(GIF_STAMP, Buf, GIF_VERSION_PO 240 GifByteType Buf[3]; local 301 GifByteType Buf; local 343 GifByteType Buf[3]; local 525 GifByteType Buf; local 552 GifByteType Buf; local 725 GifByteType Buf; local 1042 DGifBufferedInput(GifFileType *GifFile, GifByteType *Buf, GifByteType *NextByte) argument [all...] |
H A D | egif_lib.c | 40 static int EGifBufferedOutput(GifFileType * GifFile, GifByteType * Buf, 272 GifByteType Buf[3]; local 322 Buf[0] = (ColorMap ? 0x80 : 0x00) | /* Yes/no global colormap */ 327 Buf[0] |= 0x08; 328 Buf[1] = BackGround; /* Index into the ColorTable for background color */ 329 Buf[2] = GifFile->AspectByte; /* Pixel Aspect Ratio */ 330 InternalWrite(GifFile, Buf, 3); 337 Buf[0] = ColorMap->Colors[i].Red; 338 Buf[1] = ColorMap->Colors[i].Green; 339 Buf[ 366 GifByteType Buf[3]; local 550 GifByteType Buf[3]; local 574 GifByteType Buf; local 596 GifByteType Buf; local 624 GifByteType Buf[3]; local 736 GifByteType Buf; local 763 GifByteType Buf; local 837 GifByteType Buf; local 1018 EGifBufferedOutput(GifFileType *GifFile, GifByteType *Buf, int c) argument [all...] |
/external/clang/include/clang/Lex/ |
H A D | ScratchBuffer.h | 37 SourceLocation getToken(const char *Buf, unsigned Len, const char *&DestPtr);
|
/external/llvm/include/llvm/Support/ |
H A D | MemoryObject.h | 41 /// @param Buf - A pointer to a buffer to be filled in. Must be non-NULL 47 virtual uint64_t readBytes(uint8_t *Buf, uint64_t Size,
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
H A D | MemoryObject.h | 41 /// @param Buf - A pointer to a buffer to be filled in. Must be non-NULL 47 virtual uint64_t readBytes(uint8_t *Buf, uint64_t Size,
|
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Support/ |
H A D | MemoryObject.h | 41 /// @param Buf - A pointer to a buffer to be filled in. Must be non-NULL 47 virtual uint64_t readBytes(uint8_t *Buf, uint64_t Size,
|
/external/lzma/CPP/Windows/ |
H A D | CommonDialog.cpp | 28 LPTSTR Buf;
member in class:NWindows::CDoubleZeroStringListA 31 CDoubleZeroStringListA(LPSTR buf, unsigned size): Buf(buf), Size(size) {}
33 void Finish() { *Buf = 0; }
41 MyStringCopy(Buf, s);
42 Buf += len;
51 LPWSTR Buf;
member in class:NWindows::CDoubleZeroStringListW 54 CDoubleZeroStringListW(LPWSTR buf, unsigned size): Buf(buf), Size(size) {}
56 void Finish() { *Buf = 0; }
64 MyStringCopy(Buf, s);
65 Buf [all...] |
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/ |
H A D | NaClBitcodeHeader.h | 83 /// \brief Write field into Buf[BufLen]. 84 bool Write(uint8_t *Buf, size_t BufLen) const; 86 /// \brief Read field from Buf[BufLen]. 87 bool Read(const uint8_t *Buf, size_t BufLen); 105 static size_t GetDataSizeFromSerialized(const uint8_t *Buf) { argument 107 ReadFixedSubfield(&Length, Buf + sizeof(FixedSubfield)); 139 static void WriteFixedSubfield(FixedSubfield Value, uint8_t *Buf) { argument 140 Buf[0] = Value & 0xFF; 141 Buf[1] = (Value >> 8) & 0xFF; 143 static void ReadFixedSubfield(FixedSubfield *Value, const uint8_t *Buf) { argument [all...] |
/external/clang/include/clang/Index/ |
H A D | USRGeneration.h | 29 bool generateUSRForDecl(const Decl *D, SmallVectorImpl<char> &Buf); 56 const SourceManager &SM, SmallVectorImpl<char> &Buf);
|
/external/llvm/lib/AsmParser/ |
H A D | Parser.cpp | 28 std::unique_ptr<MemoryBuffer> Buf = MemoryBuffer::getMemBuffer(F); local 29 SM.AddNewSourceBuffer(std::move(Buf), SMLoc()); 73 std::unique_ptr<MemoryBuffer> Buf = MemoryBuffer::getMemBuffer(Asm); local 74 SM.AddNewSourceBuffer(std::move(Buf), SMLoc()); 90 std::unique_ptr<MemoryBuffer> Buf = MemoryBuffer::getMemBuffer(Asm); local 91 SM.AddNewSourceBuffer(std::move(Buf), SMLoc()); 102 std::unique_ptr<MemoryBuffer> Buf = MemoryBuffer::getMemBuffer(Asm); local 103 SM.AddNewSourceBuffer(std::move(Buf), SMLoc());
|
/external/swiftshader/third_party/subzero/crosstest/ |
H A D | test_calling_conv.h | 22 extern char *Buf;
|
H A D | test_calling_conv_main.cpp | 35 // location pointed to by Buf. 50 char *Buf; variable 54 std::string bufAsString(const char Buf[BUF_SIZE]) { argument 59 OS << (unsigned)Buf[i]; 105 Buf = BufLlc; 108 Buf = BufSz; 154 Buf = BufLlc; 158 Buf = BufSz;
|
/external/llvm/lib/Object/ |
H A D | Object.cpp | 63 std::unique_ptr<MemoryBuffer> Buf(unwrap(MemBuf)); 65 ObjectFile::createObjectFile(Buf->getMemBufferRef())); 73 auto *Ret = new OwningBinary<ObjectFile>(std::move(ObjOrErr.get()), std::move(Buf)); 106 std::string Buf; local 107 raw_string_ostream OS(Buf); 110 report_fatal_error(Buf); 188 std::string Buf; local 189 raw_string_ostream OS(Buf); 192 report_fatal_error(Buf); 200 std::string Buf; local [all...] |