/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 …]
|
/external/syslinux/gnu-efi/gnu-efi-3.0/lib/ |
D | console.c | 61 UINTN Len; in IInput() local 67 Len = 0; in IInput() 83 if (Len) { in IInput() 85 Len -= 1; in IInput() 91 if (Len < StrLen-1) { in IInput() 92 InStr[Len] = Key.UnicodeChar; in IInput() 94 InStr[Len+1] = 0; in IInput() 95 uefi_call_wrapper(ConOut->OutputString, 2, ConOut, &InStr[Len]); in IInput() 97 Len += 1; in IInput() 103 InStr[Len] = 0; in IInput()
|
/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/swiftshader/third_party/LLVM/lib/Support/ |
D | Memory.cpp | 41 size_t Len) { in InvalidateInstructionCache() argument 48 sys_icache_invalidate(Addr, Len); in InvalidateInstructionCache() 59 const intptr_t EndLine = ((intptr_t) Addr + Len + LineSize - 1) & Mask; in InvalidateInstructionCache() 71 char *End = Start + Len; in InvalidateInstructionCache() 74 cacheflush((char*)Addr, Len, BCACHE); in InvalidateInstructionCache() 79 ValgrindDiscardTranslations(Addr, Len); in InvalidateInstructionCache()
|
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
|
/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 | 13 size_t Len = strlen(Str); in Eq() local 14 if (Size < Len) return false; in Eq() 15 if (Len >= sizeof(Buff)) return false; in Eq() 16 memcpy(Buff, (char*)Data, Len); in Eq() 17 Buff[Len] = 0; in Eq()
|
/external/llvm/lib/Target/X86/Utils/ |
D | X86ShuffleDecode.cpp | 48 void DecodeInsertElementMask(MVT VT, unsigned Idx, unsigned Len, in DecodeInsertElementMask() argument 51 assert((Idx + Len) <= NumElts && "Insertion out of range"); in DecodeInsertElementMask() 55 for (unsigned i = 0; i != Len; ++i) in DecodeInsertElementMask() 439 void DecodeEXTRQIMask(int Len, int Idx, in DecodeEXTRQIMask() argument 442 Len &= 0x3F; in DecodeEXTRQIMask() 447 if (0 != (Len % 8) || 0 != (Idx % 8)) in DecodeEXTRQIMask() 451 if (Len == 0) in DecodeEXTRQIMask() 452 Len = 64; in DecodeEXTRQIMask() 455 if ((Len + Idx) > 64) { in DecodeEXTRQIMask() 461 Len /= 8; in DecodeEXTRQIMask() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/MCTargetDesc/ |
D | ARMMCTargetDesc.cpp | 41 unsigned Len = TT.size(); in ParseARMTriple() local 46 if (Len >= 5 && TT.substr(0, 4) == "armv") in ParseARMTriple() 48 else if (Len >= 6 && TT.substr(0, 5) == "thumb") { in ParseARMTriple() 50 if (Len >= 7 && TT[5] == 'v') in ParseARMTriple() 58 if (Len >= Idx+2 && TT[Idx+1] == 'm') { in ParseARMTriple() 61 } else if (Len >= Idx+3 && TT[Idx+1] == 'e'&& TT[Idx+2] == 'm') { in ParseARMTriple() 69 if (Len >= Idx+3 && TT[Idx+1] == 't' && TT[Idx+2] == '2') in ParseARMTriple() 71 else if (Len >= Idx+2 && TT[Idx+1] == 'm') in ParseARMTriple() 77 if (Len >= Idx+3 && TT[Idx+1] == 't' && TT[Idx+2] == 'e') in ParseARMTriple() 81 } else if (SubVer == '4' && Len >= Idx+2 && TT[Idx+1] == 't') in ParseARMTriple()
|
/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/compiler-rt/lib/profile/ |
D | InstrProfilingPort.h | 44 #define COMPILER_RT_GETHOSTNAME(Name, Len) gethostname(Name, Len) argument 46 #define COMPILER_RT_GETHOSTNAME(Name, Len) ((void)(Name), (void)(Len), (-1)) argument 48 #define COMPILER_RT_GETHOSTNAME(Name, Len) lprofGetHostName(Name, Len) argument
|
/external/syslinux/com32/lib/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/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/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/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/ |
D | BuildLibCalls.h | 38 Value *EmitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B, 48 Value *EmitStrNCpy(Value *Dst, Value *Src, Value *Len, IRBuilder<> &B, 54 Value *EmitMemCpyChk(Value *Dst, Value *Src, Value *Len, Value *ObjSize, 59 Value *EmitMemChr(Value *Ptr, Value *Val, Value *Len, IRBuilder<> &B, 63 Value *EmitMemCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B,
|
/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 | 188 const std::pair<offset_type, offset_type> &Len = in Emit() local 191 InfoObj.EmitKey(Out, I->Key, Len.first); in Emit() 192 InfoObj.EmitData(Out, I->Key, I->Data, Len.second); in Emit() 197 InfoObj.EmitKey(Out, I->Key, Len.first); in Emit() 199 InfoObj.EmitData(Out, I->Key, I->Data, Len.second); in Emit() 201 assert(offset_type(DataStart - KeyStart) == Len.first && in Emit() 203 assert(offset_type(End - DataStart) == Len.second && in Emit() 324 const offset_type Len; variable 328 iterator() : Key(), Data(nullptr), Len(0), InfoObj(nullptr) {} in iterator() 331 : Key(K), Data(D), Len(L), InfoObj(InfoObj) {} in iterator() [all …]
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | BuildLibCalls.h | 54 Value *emitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B, 64 Value *emitStrNCpy(Value *Dst, Value *Src, Value *Len, IRBuilder<> &B, 69 Value *emitMemCpyChk(Value *Dst, Value *Src, Value *Len, Value *ObjSize, 75 Value *emitMemChr(Value *Ptr, Value *Val, Value *Len, IRBuilder<> &B, 79 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/Fuzzer/ |
D | FuzzerFnAdapter.h | 90 size_t Len = std::min(static_cast<size_t>(*Data), Size - 1); in UNPACK_SINGLE_PRIMITIVE() local 91 std::vector<uint8_t> V(Data + 1, Data + 1 + Len); in UNPACK_SINGLE_PRIMITIVE() 93 return Size - Len - 1; in UNPACK_SINGLE_PRIMITIVE() 101 size_t Len = std::min(static_cast<size_t>(*Data), Size - 1); variable 102 std::string S(Data + 1, Data + 1 + Len); 104 return Size - Len - 1;
|
/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
|