Home
last modified time | relevance | path

Searched refs:DataLen (Results 1 – 25 of 26) sorted by relevance

12

/external/llvm-project/compiler-rt/lib/fuzzer/
DFuzzerUtilWindows.cpp185 const void *SearchMemory(const void *Data, size_t DataLen, const void *Patt, in SearchMemory() argument
191 if (!Data || !Patt || DataLen == 0 || PattLen == 0 || DataLen < PattLen) in SearchMemory()
195 return memchr(Data, *Cpatt, DataLen); in SearchMemory()
197 const char *End = Cdata + DataLen - PattLen + 1; in SearchMemory()
DFuzzerUtilPosix.cpp170 const void *SearchMemory(const void *Data, size_t DataLen, const void *Patt, in SearchMemory() argument
172 return memmem(Data, DataLen, Patt, PattLen); in SearchMemory()
DFuzzerUtilFuchsia.cpp531 const void *SearchMemory(const void *Data, size_t DataLen, const void *Patt, in SearchMemory() argument
533 return memmem(Data, DataLen, Patt, PattLen); in SearchMemory()
/external/rust/crates/libfuzzer-sys/libfuzzer/
DFuzzerUtilWindows.cpp185 const void *SearchMemory(const void *Data, size_t DataLen, const void *Patt, in SearchMemory() argument
191 if (!Data || !Patt || DataLen == 0 || PattLen == 0 || DataLen < PattLen) in SearchMemory()
195 return memchr(Data, *Cpatt, DataLen); in SearchMemory()
197 const char *End = Cdata + DataLen - PattLen + 1; in SearchMemory()
DFuzzerUtilPosix.cpp170 const void *SearchMemory(const void *Data, size_t DataLen, const void *Patt, in SearchMemory() argument
172 return memmem(Data, DataLen, Patt, PattLen); in SearchMemory()
DFuzzerUtilFuchsia.cpp531 const void *SearchMemory(const void *Data, size_t DataLen, const void *Patt, in SearchMemory() argument
533 return memmem(Data, DataLen, Patt, PattLen); in SearchMemory()
/external/llvm-project/clang-tools-extra/clangd/
DRIFF.cpp68 size_t DataLen = 4; // Predict length of RIFF chunk data. in operator <<() local
70 DataLen += 4 + 4 + C.Data.size() + (C.Data.size() % 2); in operator <<()
73 llvm::support::endian::write32le(Size, DataLen); in operator <<()
/external/clang/lib/Serialization/
DASTReaderInternals.h102 unsigned DataLen, data_type_builder &Val);
183 unsigned DataLen);
234 data_type ReadData(Selector, const unsigned char* d, unsigned DataLen);
284 data_type ReadData(internal_key_ref,const unsigned char *d, unsigned DataLen);
DGlobalModuleIndex.cpp91 unsigned DataLen = endian::readNext<uint16_t, little, unaligned>(d); in ReadKeyDataLength() local
92 return std::make_pair(KeyLen, DataLen); in ReadKeyDataLength()
107 unsigned DataLen) { in ReadData() argument
111 while (DataLen > 0) { in ReadData()
114 DataLen -= 4; in ReadData()
487 unsigned DataLen) { in ReadData() argument
669 unsigned DataLen = Data.size() * 4; in EmitKeyDataLength() local
671 LE.write<uint16_t>(DataLen); in EmitKeyDataLength()
672 return std::make_pair(KeyLen, DataLen); in EmitKeyDataLength()
680 unsigned DataLen) { in EmitData() argument
DASTWriter.cpp1742 unsigned DataLen = 1 + 2 + 4 + 4; in EmitKeyDataLength() local
1745 DataLen += 4; in EmitKeyDataLength()
1746 LE.write<uint8_t>(DataLen); in EmitKeyDataLength()
1747 return std::make_pair(KeyLen, DataLen); in EmitKeyDataLength()
1761 data_type_ref Data, unsigned DataLen) { in EmitData() argument
1806 assert(Out.tell() - Start == DataLen && "Wrong data length"); in EmitData()
2893 unsigned DataLen = 4 + 2 + 2; // 2 bytes for each of the method counts in EmitKeyDataLength() local
2897 DataLen += 4; in EmitKeyDataLength()
2901 DataLen += 4; in EmitKeyDataLength()
2902 LE.write<uint16_t>(DataLen); in EmitKeyDataLength()
[all …]
DASTReader.cpp676 unsigned DataLen = endian::readNext<uint16_t, little, unaligned>(d); in ReadKeyDataLength() local
677 return std::make_pair(KeyLen, DataLen); in ReadKeyDataLength()
703 unsigned DataLen) { in ReadData() argument
743 unsigned DataLen = endian::readNext<uint16_t, little, unaligned>(d); in ReadKeyDataLength() local
745 return std::make_pair(KeyLen, DataLen); in ReadKeyDataLength()
788 unsigned DataLen) { in ReadData() argument
823 DataLen -= 8; in ReadData()
851 DataLen -= 4; in ReadData()
860 if (DataLen > 0) { in ReadData()
862 for (; DataLen > 0; DataLen -= 4) in ReadData()
[all …]
/external/llvm-project/clang/lib/Serialization/
DASTReaderInternals.h108 unsigned DataLen, data_type_builder &Val);
177 unsigned DataLen);
228 data_type ReadData(Selector, const unsigned char* d, unsigned DataLen);
279 data_type ReadData(internal_key_ref,const unsigned char *d, unsigned DataLen);
DGlobalModuleIndex.cpp93 unsigned DataLen = endian::readNext<uint16_t, little, unaligned>(d); in ReadKeyDataLength() local
94 return std::make_pair(KeyLen, DataLen); in ReadKeyDataLength()
109 unsigned DataLen) { in ReadData() argument
113 while (DataLen > 0) { in ReadData()
116 DataLen -= 4; in ReadData()
520 unsigned DataLen) { in ReadData() argument
738 unsigned DataLen = Data.size() * 4; in EmitKeyDataLength() local
740 LE.write<uint16_t>(DataLen); in EmitKeyDataLength()
741 return std::make_pair(KeyLen, DataLen); in EmitKeyDataLength()
749 unsigned DataLen) { in EmitData() argument
DASTWriter.cpp1665 unsigned DataLen = 1 + 2 + 4 + 4; in EmitKeyDataLength() local
1668 DataLen += 4; in EmitKeyDataLength()
1670 DataLen += 4; in EmitKeyDataLength()
1671 LE.write<uint8_t>(DataLen); in EmitKeyDataLength()
1672 return std::make_pair(KeyLen, DataLen); in EmitKeyDataLength()
1687 data_type_ref Data, unsigned DataLen) { in EmitData() argument
1736 assert(Out.tell() - Start == DataLen && "Wrong data length"); in EmitData()
3016 unsigned DataLen = 4 + 2 + 2; // 2 bytes for each of the method counts in EmitKeyDataLength() local
3020 DataLen += 4; in EmitKeyDataLength()
3024 DataLen += 4; in EmitKeyDataLength()
[all …]
DASTReader.cpp830 unsigned DataLen = endian::readNext<uint16_t, little, unaligned>(d); in ReadKeyDataLength() local
831 return std::make_pair(KeyLen, DataLen); in ReadKeyDataLength()
858 unsigned DataLen) { in ReadData() argument
899 unsigned DataLen = endian::readNext<uint16_t, little, unaligned>(d); in ReadKeyDataLength() local
901 return std::make_pair(KeyLen, DataLen); in ReadKeyDataLength()
944 unsigned DataLen) { in ReadData() argument
979 DataLen -= 8; in ReadData()
1001 DataLen -= 4; in ReadData()
1010 if (DataLen > 0) { in ReadData()
1012 for (; DataLen > 0; DataLen -= 4) in ReadData()
[all …]
/external/tcpdump/tests/
Dforces3vvv.out103 FULLDATA TLV (Length 40 DataLen 36 Bytes)
151 FULLDATA TLV (Length 88 DataLen 84 Bytes)
196 FULLDATA TLV (Length 8 DataLen 4 Bytes)
218 RESULT TLV (Length 8 DataLen 4 Bytes)
256 FULLDATA TLV (Length 8 DataLen 4 Bytes)
278 RESULT TLV (Length 8 DataLen 4 Bytes)
316 FULLDATA TLV (Length 10 DataLen 6 pad 2 Bytes)
338 RESULT TLV (Length 8 DataLen 4 Bytes)
376 FULLDATA TLV (Length 8 DataLen 4 Bytes)
383 FULLDATA TLV (Length 8 DataLen 4 Bytes)
[all …]
Dforces1vvv.out17 FULLDATA TLV (Length 280 DataLen 276 Bytes)
90 FULLDATA TLV (Length 8 DataLen 4 Bytes)
116 FULLDATA TLV (Length 8 DataLen 4 Bytes)
139 FULLDATA TLV (Length 8 DataLen 4 Bytes)
165 FULLDATA TLV (Length 8 DataLen 4 Bytes)
Dforces1vvvv.out17 FULLDATA TLV (Length 280 DataLen 276 Bytes)
126 FULLDATA TLV (Length 8 DataLen 4 Bytes)
159 FULLDATA TLV (Length 8 DataLen 4 Bytes)
189 FULLDATA TLV (Length 8 DataLen 4 Bytes)
222 FULLDATA TLV (Length 8 DataLen 4 Bytes)
/external/fonttools/Lib/fontTools/mtiLib/
D__init__.py524 DataLen = 3
528 DataLen = 1
536 self.DataLen = DataLen
707 while len(line) < 1+c.DataLen: line.append('')
708 seq = tuple(makeGlyphs(stripSplitComma(i)) for i in line[1:1+c.DataLen])
709 recs = parseLookupRecords(line[1+c.DataLen:], c.LookupRecord, lookupMap)
719 classDefs = [None] * c.DataLen
731 }[c.DataLen][typ]
738 while len(line) < 1+c.DataLen: line.append('')
739 seq = tuple(intSplitComma(i) for i in line[1:1+c.DataLen])
[all …]
/external/llvm/include/llvm/ProfileData/
DInstrProfReader.h288 offset_type DataLen = endian::readNext<offset_type, little, unaligned>(D); in ReadKeyDataLength() local
289 return std::make_pair(KeyLen, DataLen); in ReadKeyDataLength()
/external/llvm-project/llvm/include/llvm/ProfileData/
DInstrProfReader.h338 offset_type DataLen = endian::readNext<offset_type, little, unaligned>(D); in ReadKeyDataLength() local
339 return std::make_pair(KeyLen, DataLen); in ReadKeyDataLength()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/
DInstrProfReader.h329 offset_type DataLen = endian::readNext<offset_type, little, unaligned>(D); in ReadKeyDataLength() local
330 return std::make_pair(KeyLen, DataLen); in ReadKeyDataLength()
/external/scapy/scapy/contrib/
Dhomeplugav.uts78 …ataConfirmation].checksum == 4177890656, pkt[ReadModuleDataConfirmation].DataLen == 1024, pkt[Read…
81 ModulePIB(pkt.ModuleData, pkt.Offset, pkt.DataLen)
118 (pkt.checksum == chksum32(pkt.ModuleData), pkt.DataLen == len(pkt.ModuleData))
Dhomeplugav.py474 StrLenField("ModuleData", b"\x00", length_from = lambda pkt: pkt.DataLen),
478 if self.DataLen is None:
497 StrLenField("ModuleData", b"\x00", length_from = lambda pkt: pkt.DataLen),
501 if self.DataLen is None:
/external/llvm-project/llvm/tools/llvm-objcopy/ELF/
DObject.cpp311 size_t DataLen = checkedGetHex<uint8_t>(Line.substr(1, 2)); in parse() local
312 if (Line.size() != getLength(DataLen)) in parse()
315 Line.size(), getLength(DataLen)); in parse()
319 Rec.HexData = Line.substr(9, DataLen * 2); in parse()

12