Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/compiler-rt/lib/fuzzer/
H A 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()
H A DFuzzerUtilPosix.cpp173 const void *SearchMemory(const void *Data, size_t DataLen, const void *Patt, in SearchMemory() argument
175 return memmem(Data, DataLen, Patt, PattLen); in SearchMemory()
H A DFuzzerUtilFuchsia.cpp537 const void *SearchMemory(const void *Data, size_t DataLen, const void *Patt, in SearchMemory() argument
539 return memmem(Data, DataLen, Patt, PattLen); in SearchMemory()
/openbsd/gnu/llvm/clang/lib/Serialization/
H A DASTReaderInternals.h107 unsigned DataLen, data_type_builder &Val);
176 unsigned DataLen);
227 data_type ReadData(Selector, const unsigned char* d, unsigned DataLen);
278 data_type ReadData(internal_key_ref,const unsigned char *d, unsigned DataLen);
H A 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
H A DASTWriter.cpp1733 llvm::encodeULEB128(DataLen, Out); in emitULEBKeyDataLength()
1734 return std::make_pair(KeyLen, DataLen); in emitULEBKeyDataLength()
1780 unsigned DataLen = 1 + 4 + 4; in EmitKeyDataLength() local
1783 DataLen += 4; in EmitKeyDataLength()
1785 DataLen += 4; in EmitKeyDataLength()
3229 DataLen += 4; in EmitKeyDataLength()
3233 DataLen += 4; in EmitKeyDataLength()
3555 DataLen += 2; // 2 bytes for builtin ID in EmitKeyDataLength()
3556 DataLen += 2; // 2 bytes for flags in EmitKeyDataLength()
3564 DataLen += 4; in EmitKeyDataLength()
[all …]
H A DASTReader.cpp863 unsigned DataLen = readULEB(P); in readULEBKeyDataLength() local
864 if ((unsigned)DataLen != DataLen) in readULEBKeyDataLength()
867 return std::make_pair(KeyLen, DataLen); in readULEBKeyDataLength()
909 unsigned DataLen) { in ReadData() argument
1026 DataLen -= 8; in ReadData()
1048 DataLen -= 4; in ReadData()
1057 if (DataLen > 0) { in ReadData()
1059 for (; DataLen > 0; DataLen -= 4) in ReadData()
1180 for (unsigned NumDecls = DataLen / 4; NumDecls; --NumDecls) { in ReadDataInto()
1909 unsigned DataLen) { in ReadData() argument
[all …]
/openbsd/gnu/llvm/llvm/include/llvm/ProfileData/
H A DMemProf.h470 offset_type DataLen = endian::readNext<offset_type, little, unaligned>(D); in ReadKeyDataLength() local
471 return std::make_pair(KeyLen, DataLen); in ReadKeyDataLength()
597 offset_type DataLen = endian::readNext<offset_type, little, unaligned>(D); in ReadKeyDataLength() local
598 return std::make_pair(KeyLen, DataLen); in ReadKeyDataLength()
H A DInstrProfReader.h464 offset_type DataLen = endian::readNext<offset_type, little, unaligned>(D); in ReadKeyDataLength() local
465 return std::make_pair(KeyLen, DataLen); in ReadKeyDataLength()
/openbsd/gnu/llvm/llvm/lib/ObjCopy/ELF/
H A DELFObject.cpp310 size_t DataLen = checkedGetHex<uint8_t>(Line.substr(1, 2)); in parse() local
311 if (Line.size() != getLength(DataLen)) in parse()
314 Line.size(), getLength(DataLen)); in parse()
318 Rec.HexData = Line.substr(9, DataLen * 2); in parse()