/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Lex/ |
H A D | ScratchBuffer.cpp | 33 SourceLocation ScratchBuffer::getToken(const char *Buf, unsigned Len, argument 35 if (BytesUsed+Len+2 > ScratchBufSize) 36 AllocScratchBuffer(Len+2); 46 memcpy(CurBuffer+BytesUsed, Buf, Len); 49 BytesUsed += Len+1; 56 return BufferStartLoc.getLocWithOffset(BytesUsed-Len-1);
|
/freebsd-10.0-release/contrib/llvm/lib/Support/ |
H A D | Valgrind.cpp | 38 void llvm::sys::ValgrindDiscardTranslations(const void *Addr, size_t Len) { argument 42 VALGRIND_DISCARD_TRANSLATIONS(Addr, Len); 51 void llvm::sys::ValgrindDiscardTranslations(const void *Addr, size_t Len) { argument
|
H A D | MemoryBuffer.cpp | 200 static uint64_t getLegalMapSize(uint64_t Len, uint64_t Offset) { argument 201 return Len + (Offset - getLegalMapOffset(Offset)); 204 const char *getStart(uint64_t Len, uint64_t Offset) { argument 209 MemoryBufferMMapFile(bool RequiresNullTerminator, int FD, uint64_t Len, argument 212 getLegalMapSize(Len, Offset), getLegalMapOffset(Offset), EC) { 214 const char *Start = getStart(Len, Offset); 215 init(Start, Start + Len, RequiresNullTerminator);
|
/freebsd-10.0-release/contrib/llvm/lib/Target/MBlaze/ |
H A D | MBlazeIntrinsicInfo.h | 24 unsigned lookupName(const char *Name, unsigned Len) const;
|
H A D | MBlazeIntrinsicInfo.cpp | 60 lookupName(const char *Name, unsigned Len) const { 61 if (Len < 5 || Name[4] != '.' || Name[0] != 'l' || Name[1] != 'l'
|
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/Lex/ |
H A D | ScratchBuffer.h | 37 SourceLocation getToken(const char *Buf, unsigned Len, const char *&DestPtr);
|
/freebsd-10.0-release/contrib/llvm/tools/llvm-as/ |
H A D | llvm-as.cpp | 60 int Len = IFN.length(); local 61 if (IFN[Len-3] == '.' && IFN[Len-2] == 'l' && IFN[Len-1] == 'l') {
|
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/AST/ |
H A D | SelectorLocationsKind.cpp | 31 unsigned Len = II ? II->getLength() : 0; local 32 return EndLoc.getLocWithOffset(-Len); 39 unsigned Len = /* selector id */ (II ? II->getLength() : 0) + /* ':' */ 1; 41 ++Len; 42 return ArgLoc.getLocWithOffset(-Len);
|
/freebsd-10.0-release/contrib/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMMCTargetDesc.cpp | 45 unsigned Len = TT.size(); local 50 if (Len >= 5 && TT.substr(0, 4) == "armv") 52 else if (Len >= 6 && TT.substr(0, 5) == "thumb") { 54 if (Len >= 7 && TT[5] == 'v') 63 if (Len >= Idx+2 && TT[Idx+1] == 'm') { 70 } else if (Len >= Idx+3 && TT[Idx+1] == 'e'&& TT[Idx+2] == 'm') { 78 } else if (Len >= Idx+2 && TT[Idx+1] == 's') { 99 if (Len >= Idx+3 && TT[Idx+1] == 't' && TT[Idx+2] == '2') 101 else if (Len >= Idx+2 && TT[Idx+1] == 'm') { 110 if (Len > [all...] |
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Rewrite/Core/ |
H A D | TokenRewriter.cpp | 83 unsigned Len = strlen(Val); local 90 Tok.setLocation(ScratchBuf->getToken(Val, Len, Spelling)); 91 Tok.setLength(Len);
|
H A D | RewriteRope.cpp | 767 unsigned Len = End-Start; 768 assert(Len && "Zero length RopePiece is invalid!"); 771 if (AllocOffs+Len <= AllocChunkSize) { 772 memcpy(AllocBuffer->Data+AllocOffs, Start, Len); 773 AllocOffs += Len; 774 return RopePiece(AllocBuffer, AllocOffs-Len, AllocOffs); 779 if (Len > AllocChunkSize) { 798 memcpy(AllocBuffer->Data, Start, Len); 799 AllocOffs = Len; 804 return RopePiece(AllocBuffer, 0, Len); [all...] |
/freebsd-10.0-release/contrib/llvm/include/llvm/Target/ |
H A D | TargetIntrinsicInfo.h | 48 virtual unsigned lookupName(const char *Name, unsigned Len) const =0;
|
/freebsd-10.0-release/contrib/llvm/lib/Target/R600/ |
H A D | AMDILIntrinsicInfo.h | 39 unsigned int lookupName(const char *Name, unsigned int Len) const;
|
H A D | AMDILIntrinsicInfo.cpp | 52 AMDGPUIntrinsicInfo::lookupName(const char *Name, unsigned int Len) const {
|
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Edit/ |
H A D | Commit.cpp | 88 unsigned Len; local 89 if (!canRemoveRange(range, Offs, Len)) { 94 addRemove(range.getBegin(), Offs, Len); 116 unsigned Len; local 117 if (!canInsert(range.getBegin(), Offs) || !canRemoveRange(range, Offs, Len)) { 122 addRemove(range.getBegin(), Offs, Len); 166 unsigned Len; local 167 if (!canReplaceText(loc, replacementText, Offs, Len)) { 172 addRemove(loc, Offs, Len); 208 FileOffset Offs, unsigned Len) { 207 addRemove(SourceLocation OrigLoc, FileOffset Offs, unsigned Len) argument 295 canRemoveRange(CharSourceRange range, FileOffset &Offs, unsigned &Len) argument 322 canReplaceText(SourceLocation loc, StringRef text, FileOffset &Offs, unsigned &Len) argument [all...] |
/freebsd-10.0-release/contrib/llvm/include/llvm/Transforms/Utils/ |
H A D | BuildLibCalls.h | 47 Value *EmitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B, 58 Value *EmitStrNCpy(Value *Dst, Value *Src, Value *Len, IRBuilder<> &B, 63 /// This expects that the Len and ObjSize have type 'intptr_t' and Dst/Src 65 Value *EmitMemCpyChk(Value *Dst, Value *Src, Value *Len, Value *ObjSize, 70 /// a pointer, Val is an i32 value, and Len is an 'intptr_t' value. 71 Value *EmitMemChr(Value *Ptr, Value *Val, Value *Len, IRBuilder<> &B, 75 Value *EmitMemCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B,
|
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/uts/common/zmod/ |
H A D | trees.c | 167 # define send_code(s, c, tree) send_bits(s, tree[c].Code, tree[c].Len) 173 send_bits(s, tree[c].Code, tree[c].Len); } 295 while (n <= 143) static_ltree[n++].Len = 8, bl_count[8]++; 296 while (n <= 255) static_ltree[n++].Len = 9, bl_count[9]++; 297 while (n <= 279) static_ltree[n++].Len = 7, bl_count[7]++; 298 while (n <= 287) static_ltree[n++].Len = 8, bl_count[8]++; 307 static_dtree[n].Len = 5; 342 static_ltree[i].Len, SEPARATOR(i, L_CODES+1, 5)); 348 static_dtree[i].Len, SEPARATOR(i, D_CODES-1, 5)); 512 tree[s->heap[s->heap_max]].Len [all...] |
/freebsd-10.0-release/lib/libz/ |
H A D | trees.c | 163 # define send_code(s, c, tree) send_bits(s, tree[c].Code, tree[c].Len) 169 send_bits(s, tree[c].Code, tree[c].Len); } 293 while (n <= 143) static_ltree[n++].Len = 8, bl_count[8]++; 294 while (n <= 255) static_ltree[n++].Len = 9, bl_count[9]++; 295 while (n <= 279) static_ltree[n++].Len = 7, bl_count[7]++; 296 while (n <= 287) static_ltree[n++].Len = 8, bl_count[8]++; 305 static_dtree[n].Len = 5; 340 static_ltree[i].Len, SEPARATOR(i, L_CODES+1, 5)); 346 static_dtree[i].Len, SEPARATOR(i, D_CODES-1, 5)); 510 tree[s->heap[s->heap_max]].Len [all...] |
/freebsd-10.0-release/contrib/llvm/include/llvm/Support/ |
H A D | Valgrind.h | 41 // Discard valgrind's translation of code in the range [Addr .. Addr + Len). 43 void ValgrindDiscardTranslations(const void *Addr, size_t Len);
|
H A D | GCOV.h | 145 uint32_t Len = readInt() * 4; local 146 StringRef Str = Buffer->getBuffer().slice(Cursor, Cursor+Len); 147 Cursor += Len;
|
/freebsd-10.0-release/contrib/llvm/tools/llvm-dis/ |
H A D | llvm-dis.cpp | 161 int Len = IFN.length(); local 163 if (IFN[Len-3] == '.' && IFN[Len-2] == 'b' && IFN[Len-1] == 'c')
|
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/Edit/ |
H A D | EditedSource.h | 76 FileOffset InsertFromRangeOffs, unsigned Len, 78 void commitRemove(SourceLocation OrigLoc, FileOffset BeginOffs, unsigned Len);
|
H A D | Commit.h | 116 void addRemove(SourceLocation OrigLoc, FileOffset Offs, unsigned Len); 122 bool canRemoveRange(CharSourceRange range, FileOffset &Offs, unsigned &Len); 124 FileOffset &Offs, unsigned &Len);
|
/freebsd-10.0-release/contrib/llvm/tools/llc/ |
H A D | llc.cpp | 87 int Len = IFN.length(); local 88 if ((Len > 2) && 89 IFN[Len-3] == '.' && 90 ((IFN[Len-2] == 'b' && IFN[Len-1] == 'c') || 91 (IFN[Len-2] == 'l' && IFN[Len-1] == 'l'))) {
|
/freebsd-10.0-release/contrib/llvm/lib/Transforms/Utils/ |
H A D | SimplifyLibCalls.cpp | 142 uint64_t Len = GetStringLength(CI->getArgOperand(SizeArgOp)); local 145 if (Len == 0) return false; 146 return SizeCI->getZExtValue() >= Len; 255 uint64_t Len = GetStringLength(Src); local 256 if (Len == 0) return 0; 263 ConstantInt::get(TD->getIntPtrType(Context), Len), 302 uint64_t Len = GetStringLength(Src); local 303 if (Len == 0) return 0; 309 Value *LenV = ConstantInt::get(TD->getIntPtrType(PT), Len); 312 Len 365 uint64_t Len = GetStringLength(Src); local 379 emitStrLenMemCpy(Value *Src, Value *Dst, uint64_t Len, IRBuilder<> &B) argument 414 uint64_t Len; local 670 uint64_t Len = GetStringLength(Src); local 710 uint64_t Len; local [all...] |