Searched refs:Len (Results 1 - 25 of 85) sorted by relevance

1234

/external/clang/lib/Lex/
H A DScratchBuffer.cpp33 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);
/external/clang/test/CodeGenCXX/
H A Dm64-ptr.cpp10 long Len; member in class:StringRef
/external/llvm/lib/Support/
H A DMemory.cpp41 size_t Len) {
48 sys_icache_invalidate(const_cast<void *>(Addr), Len); local
59 const intptr_t EndLine = ((intptr_t) Addr + Len + LineSize - 1) & Mask;
71 const char *End = Start + Len;
76 cacheflush((long)Addr, (long)(Addr+Len), BCACHE);
79 cacheflush(const_cast<char *>(Start), Len, BCACHE);
84 ValgrindDiscardTranslations(Addr, Len);
40 InvalidateInstructionCache(const void *Addr, size_t Len) argument
H A DValgrind.cpp38 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
/external/clang/include/clang/Lex/
H A DScratchBuffer.h37 SourceLocation getToken(const char *Buf, unsigned Len, const char *&DestPtr);
/external/llvm/lib/Target/MBlaze/
H A DMBlazeIntrinsicInfo.h24 unsigned lookupName(const char *Name, unsigned Len) const;
H A DMBlazeIntrinsicInfo.cpp60 lookupName(const char *Name, unsigned Len) const {
61 if (Len < 5 || Name[4] != '.' || Name[0] != 'l' || Name[1] != 'l'
/external/llvm/tools/llvm-as/
H A Dllvm-as.cpp60 int Len = IFN.length(); local
61 if (IFN[Len-3] == '.' && IFN[Len-2] == 'l' && IFN[Len-1] == 'l') {
/external/clang/lib/AST/
H A DSelectorLocationsKind.cpp31 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);
/external/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMCTargetDesc.cpp41 unsigned Len = TT.size(); local
46 if (Len >= 5 && TT.substr(0, 4) == "armv")
48 else if (Len >= 6 && TT.substr(0, 5) == "thumb") {
50 if (Len >= 7 && TT[5] == 'v')
59 if (Len >= Idx+2 && TT[Idx+1] == 'm') {
66 } else if (Len >= Idx+3 && TT[Idx+1] == 'e'&& TT[Idx+2] == 'm') {
87 if (Len >= Idx+3 && TT[Idx+1] == 't' && TT[Idx+2] == '2')
89 else if (Len >= Idx+2 && TT[Idx+1] == 'm') {
98 if (Len >= Idx+3 && TT[Idx+1] == 't' && TT[Idx+2] == 'e')
102 } else if (SubVer == '4' && Len >
[all...]
/external/clang/lib/Rewrite/Core/
H A DTokenRewriter.cpp83 unsigned Len = strlen(Val); local
90 Tok.setLocation(ScratchBuf->getToken(Val, Len, Spelling));
91 Tok.setLength(Len);
/external/llvm/runtime/libprofile/
H A DCommonProfiling.c80 unsigned Len = strlen(argv[i]); local
81 memcpy(SavedArgs+Length, argv[i], Len);
82 Length += Len;
/external/clang/lib/Edit/
H A DCommit.cpp88 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...]
/external/llvm/include/llvm/Target/
H A DTargetIntrinsicInfo.h47 virtual unsigned lookupName(const char *Name, unsigned Len) const =0;
/external/llvm/include/llvm/Transforms/Utils/
H A DBuildLibCalls.h47 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,
/external/qemu/distrib/zlib-1.2.3/
H A Dtrees.c167 # 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...]
/external/zlib/src/
H A Dtrees.c163 # 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...]
/external/libvpx/vp8/common/
H A Dentropy.h45 int Len; member in struct:__anon8776
H A Dtreecoder.h51 int Len; member in struct:vp8_token_struct
H A Dtreecoder.c37 p[-j].Len = L;
81 int L = tok[t].Len;
/external/llvm/include/llvm/Support/
H A DMemory.h73 static void InvalidateInstructionCache(const void *Addr, size_t Len);
H A DValgrind.h41 // Discard valgrind's translation of code in the range [Addr .. Addr + Len).
43 void ValgrindDiscardTranslations(const void *Addr, size_t Len);
/external/llvm/tools/llvm-dis/
H A Dllvm-dis.cpp161 int Len = IFN.length(); local
163 if (IFN[Len-3] == '.' && IFN[Len-2] == 'b' && IFN[Len-1] == 'c')
/external/clang/include/clang/Edit/
H A DEditedSource.h74 FileOffset InsertFromRangeOffs, unsigned Len,
76 void commitRemove(SourceLocation OrigLoc, FileOffset BeginOffs, unsigned Len);
/external/libvpx/vp8/encoder/
H A Dtreewriter.h83 vp8_treed_write(w, t, p, x->value, x->Len);
113 return vp8_treed_cost(t, p, x->value, x->Len);

Completed in 723 milliseconds

1234