/external/chromium_org/third_party/sqlite/src/test/ |
D | tkt2332.test | 31 foreach Len [list 10000 100000 1000000] { 32 do_test tkt2332.$Len.1 { 35 [string repeat $val [expr ($Len/[string length $val])+1]] 0 [expr $Len-1] 38 db eval { INSERT INTO blobs VALUES($::iKey, zeroblob($Len)) } 41 do_test tkt2332.$Len.2 { 45 } $Len 47 do_test tkt2332.$Len.3 { 53 do_test tkt2332.$Len.4 { 55 } $Len 57 do_test tkt2332.$Len.5 {
|
/external/clang/lib/Lex/ |
D | ScratchBuffer.cpp | 33 SourceLocation ScratchBuffer::getToken(const char *Buf, unsigned Len, in getToken() argument 35 if (BytesUsed+Len+2 > ScratchBufSize) in getToken() 36 AllocScratchBuffer(Len+2); in getToken() 46 memcpy(CurBuffer+BytesUsed, Buf, Len); in getToken() 49 BytesUsed += Len+1; in getToken() 56 return BufferStartLoc.getLocWithOffset(BytesUsed-Len-1); in getToken()
|
/external/clang/lib/Edit/ |
D | Commit.cpp | 88 unsigned Len; in remove() local 89 if (!canRemoveRange(range, Offs, Len)) { in remove() 94 addRemove(range.getBegin(), Offs, Len); in remove() 116 unsigned Len; in replace() local 117 if (!canInsert(range.getBegin(), Offs) || !canRemoveRange(range, Offs, Len)) { in replace() 122 addRemove(range.getBegin(), Offs, Len); in replace() 166 unsigned Len; in replaceText() local 167 if (!canReplaceText(loc, replacementText, Offs, Len)) { in replaceText() 172 addRemove(loc, Offs, Len); in replaceText() 208 FileOffset Offs, unsigned Len) { in addRemove() argument [all …]
|
D | EditedSource.cpp | 87 FileOffset InsertFromRangeOffs, unsigned Len, in commitInsertFromRange() argument 89 if (Len == 0) in commitInsertFromRange() 94 FileOffset EndOffs = BeginOffs.getWithOffset(Len); in commitInsertFromRange() 144 FileOffset BeginOffs, unsigned Len) { in commitRemove() argument 145 if (Len == 0) in commitRemove() 148 FileOffset EndOffs = BeginOffs.getWithOffset(Len); in commitRemove() 168 NewI->second.RemoveLen = Len; in commitRemove() 181 TopFA->RemoveLen = Len; in commitRemove()
|
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMMCTargetDesc.cpp | 45 unsigned Len = TT.size(); in ParseARMTriple() local 50 if (Len >= 5 && TT.substr(0, 4) == "armv") in ParseARMTriple() 52 else if (Len >= 6 && TT.substr(0, 5) == "thumb") { in ParseARMTriple() 54 if (Len >= 7 && TT[5] == 'v') in ParseARMTriple() 66 if (Len >= Idx+2 && TT[Idx+1] == 'm') { in ParseARMTriple() 74 } else if (Len >= Idx+3 && TT[Idx+1] == 'e'&& TT[Idx+2] == 'm') { in ParseARMTriple() 82 } else if (Len >= Idx+2 && TT[Idx+1] == 's') { in ParseARMTriple() 103 if (Len >= Idx+3 && TT[Idx+1] == 't' && TT[Idx+2] == '2') in ParseARMTriple() 105 else if (Len >= Idx+2 && TT[Idx+1] == 'm') { in ParseARMTriple() 115 if (Len >= Idx+3 && TT[Idx+1] == 't' && TT[Idx+2] == 'e') in ParseARMTriple() [all …]
|
/external/harfbuzz_ng/src/ |
D | hb-utf-private.hh | 35 #define HB_UTF8_COMPUTE(Char, Mask, Len) \ argument 36 if (Char < 128) { Len = 1; Mask = 0x7f; } \ 37 else if ((Char & 0xe0) == 0xc0) { Len = 2; Mask = 0x1f; } \ 38 else if ((Char & 0xf0) == 0xe0) { Len = 3; Mask = 0x0f; } \ 39 else if ((Char & 0xf8) == 0xf0) { Len = 4; Mask = 0x07; } \ 40 else Len = 0;
|
/external/chromium_org/third_party/harfbuzz-ng/src/ |
D | hb-utf-private.hh | 35 #define HB_UTF8_COMPUTE(Char, Mask, Len) \ argument 36 if (Char < 128) { Len = 1; Mask = 0x7f; } \ 37 else if ((Char & 0xe0) == 0xc0) { Len = 2; Mask = 0x1f; } \ 38 else if ((Char & 0xf0) == 0xe0) { Len = 3; Mask = 0x0f; } \ 39 else if ((Char & 0xf8) == 0xf0) { Len = 4; Mask = 0x07; } \ 40 else Len = 0;
|
/external/chromium_org/third_party/zlib/ |
D | trees.c | 168 # define send_code(s, c, tree) send_bits(s, tree[c].Code, tree[c].Len) 174 send_bits(s, tree[c].Code, tree[c].Len); } 298 while (n <= 143) static_ltree[n++].Len = 8, bl_count[8]++; in tr_static_init() 299 while (n <= 255) static_ltree[n++].Len = 9, bl_count[9]++; in tr_static_init() 300 while (n <= 279) static_ltree[n++].Len = 7, bl_count[7]++; in tr_static_init() 301 while (n <= 287) static_ltree[n++].Len = 8, bl_count[8]++; in tr_static_init() 310 static_dtree[n].Len = 5; in tr_static_init() 345 static_ltree[i].Len, SEPARATOR(i, L_CODES+1, 5)); in gen_trees_header() 351 static_dtree[i].Len, SEPARATOR(i, D_CODES-1, 5)); in gen_trees_header() 516 tree[s->heap[s->heap_max]].Len = 0; /* root of the heap */ [all …]
|
/external/qemu/distrib/zlib-1.2.3/ |
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]++; in tr_static_init() 296 while (n <= 255) static_ltree[n++].Len = 9, bl_count[9]++; in tr_static_init() 297 while (n <= 279) static_ltree[n++].Len = 7, bl_count[7]++; in tr_static_init() 298 while (n <= 287) static_ltree[n++].Len = 8, bl_count[8]++; in tr_static_init() 307 static_dtree[n].Len = 5; in tr_static_init() 342 static_ltree[i].Len, SEPARATOR(i, L_CODES+1, 5)); in gen_trees_header() 348 static_dtree[i].Len, SEPARATOR(i, D_CODES-1, 5)); in gen_trees_header() 512 tree[s->heap[s->heap_max]].Len = 0; /* root of the heap */ [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 142 uint64_t Len = GetStringLength(CI->getArgOperand(SizeArgOp)); in isFoldable() local 145 if (Len == 0) return false; in isFoldable() 146 return SizeCI->getZExtValue() >= Len; in isFoldable() 255 uint64_t Len = GetStringLength(Src); in callOptimizer() local 256 if (Len == 0) return 0; in callOptimizer() 263 ConstantInt::get(TD->getIntPtrType(Context), Len), in callOptimizer() 302 uint64_t Len = GetStringLength(Src); in callOptimizer() local 303 if (Len == 0) return 0; in callOptimizer() 309 Value *LenV = ConstantInt::get(TD->getIntPtrType(PT), Len); in callOptimizer() 312 Len - 1)); in callOptimizer() [all …]
|
/external/zlib/src/ |
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]++; in tr_static_init() 294 while (n <= 255) static_ltree[n++].Len = 9, bl_count[9]++; in tr_static_init() 295 while (n <= 279) static_ltree[n++].Len = 7, bl_count[7]++; in tr_static_init() 296 while (n <= 287) static_ltree[n++].Len = 8, bl_count[8]++; in tr_static_init() 305 static_dtree[n].Len = 5; in tr_static_init() 340 static_ltree[i].Len, SEPARATOR(i, L_CODES+1, 5)); in gen_trees_header() 346 static_dtree[i].Len, SEPARATOR(i, D_CODES-1, 5)); in gen_trees_header() 510 tree[s->heap[s->heap_max]].Len = 0; /* root of the heap */ [all …]
|
/external/clang/lib/AST/ |
D | SelectorLocationsKind.cpp | 31 unsigned Len = II ? II->getLength() : 0; in getStandardSelLoc() local 32 return EndLoc.getLocWithOffset(-Len); in getStandardSelLoc() 39 unsigned Len = /* selector id */ (II ? II->getLength() : 0) + /* ':' */ 1; in getStandardSelLoc() local 41 ++Len; in getStandardSelLoc() 42 return ArgLoc.getLocWithOffset(-Len); in getStandardSelLoc()
|
/external/llvm/lib/Support/ |
D | Valgrind.cpp | 38 void llvm::sys::ValgrindDiscardTranslations(const void *Addr, size_t Len) { in ValgrindDiscardTranslations() argument 42 VALGRIND_DISCARD_TRANSLATIONS(Addr, Len); in ValgrindDiscardTranslations() 51 void llvm::sys::ValgrindDiscardTranslations(const void *Addr, size_t Len) { in ValgrindDiscardTranslations() argument
|
D | MemoryBuffer.cpp | 190 static uint64_t getLegalMapSize(uint64_t Len, uint64_t Offset) { in getLegalMapSize() argument 191 return Len + (Offset - getLegalMapOffset(Offset)); in getLegalMapSize() 194 const char *getStart(uint64_t Len, uint64_t Offset) { in getStart() argument 199 MemoryBufferMMapFile(bool RequiresNullTerminator, int FD, uint64_t Len, in MemoryBufferMMapFile() argument 202 getLegalMapSize(Len, Offset), getLegalMapOffset(Offset), EC) { in MemoryBufferMMapFile() 204 const char *Start = getStart(Len, Offset); in MemoryBufferMMapFile() 205 init(Start, Start + Len, RequiresNullTerminator); in MemoryBufferMMapFile()
|
/external/llvm/include/llvm/Transforms/Utils/ |
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, 65 Value *EmitMemCpyChk(Value *Dst, Value *Src, Value *Len, Value *ObjSize, 71 Value *EmitMemChr(Value *Ptr, Value *Val, Value *Len, IRBuilder<> &B, 75 Value *EmitMemCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B,
|
/external/llvm/tools/llvm-as/ |
D | llvm-as.cpp | 60 int Len = IFN.length(); in WriteOutputFile() local 61 if (IFN[Len-3] == '.' && IFN[Len-2] == 'l' && IFN[Len-1] == 'l') { in WriteOutputFile()
|
/external/llvm/tools/llc/ |
D | llc.cpp | 88 int Len = IFN.length(); in GetFileNameRoot() local 89 if ((Len > 2) && in GetFileNameRoot() 90 IFN[Len-3] == '.' && in GetFileNameRoot() 91 ((IFN[Len-2] == 'b' && IFN[Len-1] == 'c') || in GetFileNameRoot() 92 (IFN[Len-2] == 'l' && IFN[Len-1] == 'l'))) { in GetFileNameRoot()
|
/external/clang/lib/Rewrite/Core/ |
D | RewriteRope.cpp | 767 unsigned Len = End-Start; in MakeRopeString() local 768 assert(Len && "Zero length RopePiece is invalid!"); in MakeRopeString() 771 if (AllocOffs+Len <= AllocChunkSize) { in MakeRopeString() 772 memcpy(AllocBuffer->Data+AllocOffs, Start, Len); in MakeRopeString() 773 AllocOffs += Len; in MakeRopeString() 774 return RopePiece(AllocBuffer, AllocOffs-Len, AllocOffs); in MakeRopeString() 779 if (Len > AllocChunkSize) { in MakeRopeString() 798 memcpy(AllocBuffer->Data, Start, Len); in MakeRopeString() 799 AllocOffs = Len; in MakeRopeString() 804 return RopePiece(AllocBuffer, 0, Len); in MakeRopeString()
|
D | TokenRewriter.cpp | 83 unsigned Len = strlen(Val); in AddTokenBefore() local 90 Tok.setLocation(ScratchBuf->getToken(Val, Len, Spelling)); in AddTokenBefore() 91 Tok.setLength(Len); in AddTokenBefore()
|
/external/libvpx/libvpx/vp8/encoder/ |
D | mcomp.c | 61 int Len; in vp8_init_dsmotion_compensation() local 66 Len = MAX_FIRST_STEP; in vp8_init_dsmotion_compensation() 72 while (Len > 0) in vp8_init_dsmotion_compensation() 77 x->ss[search_site_count].mv.row = -Len; in vp8_init_dsmotion_compensation() 78 x->ss[search_site_count].offset = -Len * stride; in vp8_init_dsmotion_compensation() 83 x->ss[search_site_count].mv.row = Len; in vp8_init_dsmotion_compensation() 84 x->ss[search_site_count].offset = Len * stride; in vp8_init_dsmotion_compensation() 88 x->ss[search_site_count].mv.col = -Len; in vp8_init_dsmotion_compensation() 90 x->ss[search_site_count].offset = -Len; in vp8_init_dsmotion_compensation() 94 x->ss[search_site_count].mv.col = Len; in vp8_init_dsmotion_compensation() [all …]
|
/external/llvm/tools/llvm-dis/ |
D | llvm-dis.cpp | 161 int Len = IFN.length(); in main() local 163 if (IFN[Len-3] == '.' && IFN[Len-2] == 'b' && IFN[Len-1] == 'c') in main()
|
/external/llvm/runtime/libprofile/ |
D | CommonProfiling.c | 102 unsigned Len = strlen(argv[i]); in save_arguments() local 103 memcpy(SavedArgs+Length, argv[i], Len); in save_arguments() 104 Length += Len; in save_arguments()
|
/external/giflib/ |
D | gifalloc.c | 90 int i, j, Len = Object->ColorCount; in DumpColorMap() local 92 for (i = 0; i < Len; i += 4) { in DumpColorMap() 93 for (j = 0; j < 4 && j < Len; j++) { in DumpColorMap() 220 unsigned int Len, in GifAddExtensionBlock() argument 238 ep->ByteCount=Len; in GifAddExtensionBlock() 244 memcpy(ep->Bytes, ExtData, Len); in GifAddExtensionBlock()
|
/external/llvm/lib/Target/R600/ |
D | AMDILIntrinsicInfo.cpp | 51 AMDGPUIntrinsicInfo::lookupName(const char *Name, unsigned int Len) const { in lookupName() 52 if (!StringRef(Name, Len).startswith("llvm.")) in lookupName()
|
/external/clang/lib/Frontend/ |
D | PrintPreprocessedOutput.cpp | 175 void HandleNewlinesInToken(const char *TokStr, unsigned Len); 543 unsigned Len) { in HandleNewlinesInToken() argument 545 for (; Len; --Len, ++TokStr) { in HandleNewlinesInToken() 553 if (Len != 1 && in HandleNewlinesInToken() 556 ++TokStr, --Len; in HandleNewlinesInToken() 634 unsigned Len = PP.getSpelling(Tok, TokPtr); in PrintPreprocessedTokens() local 635 OS.write(TokPtr, Len); in PrintPreprocessedTokens() 640 Callbacks->HandleNewlinesInToken(TokPtr, Len); in PrintPreprocessedTokens()
|