/external/lzma/CPP/Common/ |
D | StringConvert.cpp | 18 srcString.Len(), resultString.GetBuffer(srcString.Len()), in MultiByteToUnicodeString() 19 srcString.Len() + 1); in MultiByteToUnicodeString() 32 wchar_t *destBuf = dest.GetBuffer(srcString.Len()); in MultiByteToUnicodeString2() 43 if (i != srcString.Len()) in MultiByteToUnicodeString2() 46 srcString.Len() - i, destBuf + i, in MultiByteToUnicodeString2() 47 srcString.Len() + 1 - i); in MultiByteToUnicodeString2() 62 unsigned numRequiredBytes = s.Len() * 2; in UnicodeStringToMultiByte2() 74 if (i != s.Len()) in UnicodeStringToMultiByte2() 77 unsigned numChars = WideCharToMultiByte(codePage, 0, sp + i, s.Len() - i, in UnicodeStringToMultiByte2() 101 unsigned numRequiredBytes = s.Len() * 2; in UnicodeStringToMultiByte() [all …]
|
D | MyString.cpp | 385 SetStartLen(s.Len() + 1); in AString() 387 unsigned len = s.Len(); in AString() 401 AString operator+(const AString &s1, const AString &s2) { return AString(s1, s1.Len(), s2, s2.Len()… in operator +() 402 AString operator+(const AString &s1, const char *s2) { return AString(s1, s1.Len(), s2, MyString… in operator +() 403 …rator+(const char *s1, const AString &s2) { return AString(s1, MyStringLen(s1), s2, s2.Len()); } in operator +() 608 unsigned num = s.Len(); in Insert() 661 unsigned oldLen = oldString.Len(); in Replace() 662 unsigned newLen = newString.Len(); in Replace() 819 SetStartLen(s.Len() + 1); in UString() 821 unsigned len = s.Len(); in UString() [all …]
|
D | ListFileUtils.cpp | 19 if (s.Len() >= 2 && s[0] == kQuoteChar && s.Back() == kQuoteChar) in AddName() 82 if (s.Len() != processed) in ReadNamesFromListFile() 101 for (; i < u.Len() && u[i] == kGoodBOM; i++); in ReadNamesFromListFile() 102 for (; i < u.Len(); i++) in ReadNamesFromListFile()
|
D | MyString.h | 196 unsigned Len() const { return _len; } in Len() function 307 inline bool operator==(const AString &s1, const AString &s2) { return s1.Len() == s2.Len() && strcm… 311 inline bool operator!=(const AString &s1, const AString &s2) { return s1.Len() != s2.Len() || strcm… 354 unsigned Len() const { return _len; } in Len() function 462 inline bool operator==(const UString &s1, const UString &s2) { return s1.Len() == s2.Len() && wcscm… 466 inline bool operator!=(const UString &s1, const UString &s2) { return s1.Len() != s2.Len() || wcscm…
|
D | UTFConvert.cpp | 162 Utf8_To_Utf16(NULL, &destLen, src, src.Len()); in ConvertUTF8ToUnicode() 163 Bool res = Utf8_To_Utf16(dest.GetBuffer((unsigned)destLen), &destLen, src, src.Len()); in ConvertUTF8ToUnicode() 172 Utf16_To_Utf8(NULL, &destLen, src, src.Len()); in ConvertUnicodeToUTF8() 173 Bool res = Utf16_To_Utf8(dest.GetBuffer((unsigned)destLen), &destLen, src, src.Len()); in ConvertUnicodeToUTF8()
|
/external/deqp/framework/common/ |
D | tcuMatrixUtil.hpp | 48 template <typename T, int Len> 49 inline Matrix<T, Len+1, Len+1> translationMatrix (const Vector<T, Len>& translation) in translationMatrix() 51 Matrix<T, Len+1, Len+1> res = Matrix<T, Len+1, Len+1>(); in translationMatrix() 52 for (int row = 0; row < Len; row++) in translationMatrix() 53 res(row, Len) = translation.m_data[row]; in translationMatrix()
|
/external/tcpdump/tests/ |
D | ripv2_auth.out | 14 Auth header: Packet Len 44, Key-ID 45, Auth Data Len 16, SeqNo 1339429688, MBZ 0, MBZ 0 21 Auth header: Packet Len 44, Key-ID 45, Auth Data Len 16, SeqNo 1339429692, MBZ 0, MBZ 0 28 Auth header: Packet Len 44, Key-ID 45, Auth Data Len 20, SeqNo 1339429713, MBZ 0, MBZ 0 36 Auth header: Packet Len 44, Key-ID 45, Auth Data Len 20, SeqNo 1339429716, MBZ 0, MBZ 0 44 Auth header: Packet Len 44, Key-ID 45, Auth Data Len 32, SeqNo 1339429740, MBZ 0, MBZ 0 52 Auth header: Packet Len 44, Key-ID 45, Auth Data Len 32, SeqNo 1339429744, MBZ 0, MBZ 0 60 Auth header: Packet Len 44, Key-ID 45, Auth Data Len 48, SeqNo 1339429761, MBZ 0, MBZ 0 69 Auth header: Packet Len 44, Key-ID 45, Auth Data Len 48, SeqNo 1339429765, MBZ 0, MBZ 0 78 Auth header: Packet Len 44, Key-ID 45, Auth Data Len 64, SeqNo 1339429781, MBZ 0, MBZ 0 88 Auth header: Packet Len 44, Key-ID 45, Auth Data Len 64, SeqNo 1339429785, MBZ 0, MBZ 0
|
/external/clang/lib/Lex/ |
D | ScratchBuffer.cpp | 34 SourceLocation ScratchBuffer::getToken(const char *Buf, unsigned Len, in getToken() argument 36 if (BytesUsed+Len+2 > ScratchBufSize) in getToken() 37 AllocScratchBuffer(Len+2); in getToken() 47 memcpy(CurBuffer+BytesUsed, Buf, Len); in getToken() 50 BytesUsed += Len+1; in getToken() 57 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 …]
|
/external/llvm/lib/Fuzzer/test/ |
D | StrcmpTest.cpp | 10 size_t Len = strlen(Str); in Eq() local 11 if (Size < Len) return false; in Eq() 12 if (Len >= sizeof(Buff)) return false; in Eq() 13 memcpy(Buff, (char*)Data, Len); in Eq() 14 Buff[Len] = 0; in Eq()
|
/external/lzma/CPP/7zip/Archive/ |
D | SplitHandler.cpp | 80 int numLetters = _changedPart.Len(); in GetNextName() 115 int numLetters = _changedPart.Len(); in GetNextName() 170 if (ext2.Len() >= 2 && StringsAreEqual_Ascii(ext2.RightPtr(2), "aa")) in Open2() 173 while (numLetters < ext2.Len()) in Open2() 175 if (ext2[ext2.Len() - numLetters - 1] != 'a') in Open2() 180 else if (ext.Len() >= 2 && StringsAreEqual_Ascii(ext2.RightPtr(2), "01")) in Open2() 182 while (numLetters < ext2.Len()) in Open2() 184 if (ext2[ext2.Len() - numLetters - 1] != '0') in Open2() 188 if (numLetters != ext.Len()) in Open2() 194 seqName._unchangedPart = prefix + ext.Left(ext2.Len() - numLetters); in Open2() [all …]
|
/external/llvm/lib/Target/X86/Utils/ |
D | X86ShuffleDecode.cpp | 464 void DecodeEXTRQIMask(int Len, int Idx, in DecodeEXTRQIMask() argument 467 Len &= 0x3F; in DecodeEXTRQIMask() 472 if (0 != (Len % 8) || 0 != (Idx % 8)) in DecodeEXTRQIMask() 476 if (Len == 0) in DecodeEXTRQIMask() 477 Len = 64; in DecodeEXTRQIMask() 480 if ((Len + Idx) > 64) { in DecodeEXTRQIMask() 486 Len /= 8; in DecodeEXTRQIMask() 491 for (int i = 0; i != Len; ++i) in DecodeEXTRQIMask() 493 for (int i = Len; i != 8; ++i) in DecodeEXTRQIMask() 499 void DecodeINSERTQIMask(int Len, int Idx, in DecodeINSERTQIMask() argument [all …]
|
/external/pdfium/third_party/zlib_v128/ |
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 */ in gen_bitlen() [all …]
|
/external/opencv3/3rdparty/zlib/ |
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/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/lzma/CPP/7zip/UI/Common/ |
D | EnumDirItems.cpp | 45 unsigned len = name.Len(); in GetPrefixesPath() 48 len += Prefixes[i].Len(); in GetPrefixesPath() 52 len -= name.Len(); in GetPrefixesPath() 53 memcpy(p + len, (const wchar_t *)name, name.Len() * sizeof(wchar_t)); in GetPrefixesPath() 57 len -= s.Len(); in GetPrefixesPath() 58 memcpy(p + len, (const wchar_t *)s, s.Len() * sizeof(wchar_t)); in GetPrefixesPath() 603 if (name.Len() != 2 || name[1] != ':') in EnumerateDirItems() 620 if (driveName.Len() < 3 || driveName.Back() != '\\') in EnumerateDirItems() 726 if (logPath.Len() >= fullPath.Len()) in FillFixedReparse() 728 if (CompareFileNames(logPath, fullPath.RightPtr(logPath.Len())) != 0) in FillFixedReparse() [all …]
|
D | ExtractingFilePath.cpp | 17 for (unsigned i = 0; i < s.Len(); i++) in ReplaceIncorrectChars() 35 for (int i = res.Len() - 1; i >= 0; i--) in ReplaceIncorrectChars() 60 dotPos = name.Len(); in CheckTail() 63 return s.Len() != len; in CheckTail() 69 if (name.Len() <= len) in CheckNameNum() 85 if (name.Len() < len) in IsSupportedName()
|
/external/llvm/include/llvm/Support/ |
D | OnDiskHashTable.h | 172 const std::pair<offset_type, offset_type> &Len = in Emit() local 175 InfoObj.EmitKey(Out, I->Key, Len.first); in Emit() 176 InfoObj.EmitData(Out, I->Key, I->Data, Len.second); in Emit() 181 InfoObj.EmitKey(Out, I->Key, Len.first); in Emit() 183 InfoObj.EmitData(Out, I->Key, I->Data, Len.second); in Emit() 185 assert(offset_type(DataStart - KeyStart) == Len.first && in Emit() 187 assert(offset_type(End - DataStart) == Len.second && in Emit() 308 const offset_type Len; variable 312 iterator() : Data(nullptr), Len(0) {} in iterator() 315 : Key(K), Data(D), Len(L), InfoObj(InfoObj) {} in iterator() [all …]
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | BuildLibCalls.h | 47 Value *EmitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B, 57 Value *EmitStrNCpy(Value *Dst, Value *Src, Value *Len, IRBuilder<> &B, 63 Value *EmitMemCpyChk(Value *Dst, Value *Src, Value *Len, Value *ObjSize, 69 Value *EmitMemChr(Value *Ptr, Value *Val, Value *Len, IRBuilder<> &B, 73 Value *EmitMemCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B,
|
/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 | 39 void llvm::sys::ValgrindDiscardTranslations(const void *Addr, size_t Len) { in ValgrindDiscardTranslations() argument 43 VALGRIND_DISCARD_TRANSLATIONS(Addr, Len); in ValgrindDiscardTranslations() 52 void llvm::sys::ValgrindDiscardTranslations(const void *Addr, size_t Len) { in ValgrindDiscardTranslations() argument
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 209 uint64_t Len = GetStringLength(Src); in optimizeStrCat() local 210 if (Len == 0) in optimizeStrCat() 212 --Len; // Unbias length. in optimizeStrCat() 215 if (Len == 0) in optimizeStrCat() 218 return emitStrLenMemCpy(Src, Dst, Len, B); in optimizeStrCat() 221 Value *LibCallSimplifier::emitStrLenMemCpy(Value *Src, Value *Dst, uint64_t Len, in emitStrLenMemCpy() argument 237 ConstantInt::get(DL.getIntPtrType(Src->getContext()), Len + 1), in emitStrLenMemCpy() 255 uint64_t Len; in optimizeStrNCat() local 259 Len = LengthArg->getZExtValue(); in optimizeStrNCat() 272 if (SrcLen == 0 || Len == 0) in optimizeStrNCat() [all …]
|
/external/libvpx/libvpx/vp8/encoder/ |
D | mcomp.c | 65 int Len; in vp8_init_dsmotion_compensation() local 70 Len = MAX_FIRST_STEP; in vp8_init_dsmotion_compensation() 76 while (Len > 0) in vp8_init_dsmotion_compensation() 81 x->ss[search_site_count].mv.row = -Len; in vp8_init_dsmotion_compensation() 82 x->ss[search_site_count].offset = -Len * stride; in vp8_init_dsmotion_compensation() 87 x->ss[search_site_count].mv.row = Len; in vp8_init_dsmotion_compensation() 88 x->ss[search_site_count].offset = Len * stride; in vp8_init_dsmotion_compensation() 92 x->ss[search_site_count].mv.col = -Len; in vp8_init_dsmotion_compensation() 94 x->ss[search_site_count].offset = -Len; in vp8_init_dsmotion_compensation() 98 x->ss[search_site_count].mv.col = Len; in vp8_init_dsmotion_compensation() [all …]
|
/external/clang/lib/Rewrite/ |
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() 795 memcpy(Res->Data, Start, Len); in MakeRopeString() 797 AllocOffs = Len; in MakeRopeString() 799 return RopePiece(AllocBuffer, 0, Len); in MakeRopeString()
|
/external/curl/lib/ |
D | mk-ca-bundle.vbs | 140 myFh.Write String(Len(myLabel), "=") & vbLf 245 For I = 1 To Len(inData) Step 3 257 nGroup = String(8 - Len(nGroup), "0") & nGroup 269 If (I < Len(inData) - 2) Then 273 Select Case Len(inData) Mod 3 275 sOut = Left(sOut, Len(sOut) - 2) & "==" 277 sOut = Left(sOut, Len(sOut) - 1) & "="
|