Home
last modified time | relevance | path

Searched refs:Len (Results 1 – 25 of 279) sorted by relevance

12345678910>>...12

/external/syslinux/gnu-efi/gnu-efi-3.0/lib/
Dconsole.c61 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/
DtcuMatrixUtil.hpp48 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/
Dripv2_auth.out14 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/
DScratchBuffer.cpp34 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/
DMemory.cpp41 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()
/external/clang/lib/Edit/
DCommit.cpp88 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/lzma/CPP/7zip/UI/Console/
DPercentPrinter.cpp27 unsigned num = _printedString.Len(); in ClosePrint()
140 if (!FileName.IsEmpty() && _s.Len() < MaxLen) in Print()
146 if (_s.Len() + _temp.Len() > MaxLen) in Print()
148 unsigned len = FileName.Len(); in Print()
156 _tempU.Delete(len / 2, FileName.Len() - len); in Print()
159 if (_s.Len() + _temp.Len() <= MaxLen) in Print()
/external/llvm/lib/Fuzzer/test/
DStrcmpTest.cpp13 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/
DX86ShuffleDecode.cpp48 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/
DARMMCTargetDesc.cpp41 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/swiftshader/third_party/subzero/pnacl-llvm/
DNaClBitcodeHeader.cpp62 : ID(kInvalid), FType(kBufferType), Len(0), Data(0) {} in NaClBitcodeHeaderField()
65 : ID(MyID), FType(kFlagType), Len(0), Data(0) { in NaClBitcodeHeaderField()
70 : ID(MyID), FType(kUInt32Type), Len(4), Data(new uint8_t[4]) { in NaClBitcodeHeaderField()
88 : ID(MyID), FType(kBufferType), Len(MyLen), Data(new uint8_t[MyLen]) { in NaClBitcodeHeaderField()
96 size_t FieldsLen = kTagLenSize + Len; in Write()
101 Len > std::numeric_limits<FixedSubfield>::max()) in Write()
105 WriteFixedSubfield(static_cast<FixedSubfield>(Len), in Write()
107 memcpy(Buf + kTagLenSize, Data, Len); in Write()
125 if (Len != Length) { in Read()
131 Len = Length; in Read()
[all …]
/external/lzma/CPP/7zip/Archive/
DSplitHandler.cpp77 unsigned i = _changedPart.Len(); in GetNextName()
155 if (ext2.Len() >= 2 && StringsAreEqual_Ascii(ext2.RightPtr(2), "aa")) in Open2()
158 while (numLetters < ext2.Len()) in Open2()
160 if (ext2[ext2.Len() - numLetters - 1] != 'a') in Open2()
165 else if (ext.Len() >= 2 && StringsAreEqual_Ascii(ext2.RightPtr(2), "01")) in Open2()
167 while (numLetters < ext2.Len()) in Open2()
169 if (ext2[ext2.Len() - numLetters - 1] != '0') in Open2()
173 if (numLetters != ext.Len()) in Open2()
179 seqName._unchangedPart = prefix + ext.Left(ext2.Len() - numLetters); in Open2()
183 if (prefix.Len() < 1) in Open2()
[all …]
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DNativeFormatting.cpp57 size_t Len = 0; in write_unsigned_impl() local
58 Len = format_to_buffer(N, NumberBuffer); in write_unsigned_impl()
63 if (Len < MinDigits && Style != IntegerStyle::Number) { in write_unsigned_impl()
64 for (size_t I = Len; I < MinDigits; ++I) in write_unsigned_impl()
69 writeWithCommas(S, ArrayRef<char>(std::end(NumberBuffer) - Len, Len)); in write_unsigned_impl()
71 S.write(std::end(NumberBuffer) - Len, Len); in write_unsigned_impl()
242 unsigned Len; in write_double() local
243 Len = format(Spec.c_str(), N).snprint(Buf, sizeof(Buf)); in write_double()
245 ++Len; in write_double()
/external/compiler-rt/lib/profile/
DInstrProfilingPort.h44 #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/
Dtrees.c168 # 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/lzma/CPP/Windows/
DErrorMsg.cpp59 else if (m.Len() >= 2 in MyFormatMessage()
60 && m[m.Len() - 1] == 0x0A in MyFormatMessage()
61 && m[m.Len() - 2] == 0x0D) in MyFormatMessage()
62 m.DeleteFrom(m.Len() - 2); in MyFormatMessage()
/external/zlib/src/
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]++; 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/pdfium/third_party/zlib_v128/
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]++; 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/python/cpython2/Modules/zlib/
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]++; 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/Common/
DStringConvert.cpp74 unsigned len = MultiByteToWideChar(codePage, 0, src, src.Len(), NULL, 0); in MultiByteToUnicodeString2()
82 len = MultiByteToWideChar(codePage, 0, src, src.Len(), dest.GetBuf(len), len); in MultiByteToUnicodeString2()
178 unsigned len = WideCharToMultiByte(codePage, 0, src, src.Len(), NULL, 0, NULL, NULL); in UnicodeStringToMultiByte2()
189 len = WideCharToMultiByte(codePage, 0, src, src.Len(), in UnicodeStringToMultiByte2()
224 size_t limit = ((size_t)src.Len() + 1) * 2; in MultiByteToUnicodeString2()
255 size_t limit = ((size_t)src.Len() + 1) * 6; in UnicodeStringToMultiByte2()
/external/lzma/CPP/7zip/UI/Common/
DExtractingFilePath.cpp14 for (unsigned i = 0; i < s.Len(); i++) in ReplaceIncorrectChars()
31 for (unsigned i = s.Len(); i != 0;) in ReplaceIncorrectChars()
50 unsigned len = s.Len(); in Correct_AltStream_Name()
52 if (s.Len() >= kPostfixSize in Correct_AltStream_Name()
81 if (name.Len() < len) in IsSupportedName()
180 if (ds.Len() != 2) in Correct_FsPath()
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/
DBuildLibCalls.h38 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/llvm/include/llvm/Support/
DOnDiskHashTable.h188 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/clang/lib/AST/
DSelectorLocationsKind.cpp31 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/include/llvm/Transforms/Utils/
DBuildLibCalls.h54 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,

12345678910>>...12