Home
last modified time | relevance | path

Searched refs:NumBytesRead (Results 1 – 3 of 3) sorted by relevance

/openbsd/gnu/llvm/compiler-rt/lib/fuzzer/dataflow/
H A DDataFlow.cpp171 size_t NumBytesRead = fread(Buf, 1, InputLen, In); in main() local
172 assert(NumBytesRead == InputLen); in main()
175 NumIterations = (NumBytesRead + kNumLabels - 1) / kNumLabels; in main()
189 size_t LastIdx = BaseIdx + kNumLabels < NumBytesRead ? BaseIdx + kNumLabels in main()
190 : NumBytesRead; in main()
/openbsd/gnu/llvm/llvm/lib/MC/
H A DMCPseudoProbe.cpp331 unsigned NumBytesRead = 0; in readUnsignedNumber() local
332 uint64_t Val = decodeULEB128(Data, &NumBytesRead); in readUnsignedNumber()
333 if (Val > std::numeric_limits<T>::max() || (Data + NumBytesRead > End)) { in readUnsignedNumber()
336 Data += NumBytesRead; in readUnsignedNumber()
341 unsigned NumBytesRead = 0; in readSignedNumber() local
342 int64_t Val = decodeSLEB128(Data, &NumBytesRead); in readSignedNumber()
343 if (Val > std::numeric_limits<T>::max() || (Data + NumBytesRead > End)) { in readSignedNumber()
346 Data += NumBytesRead; in readSignedNumber()
/openbsd/gnu/llvm/llvm/lib/ProfileData/
H A DSampleProfReader.cpp467 unsigned NumBytesRead = 0; in readNumber() local
469 uint64_t Val = decodeULEB128(Data, &NumBytesRead); in readNumber()
473 else if (Data + NumBytesRead > End) in readNumber()
483 Data += NumBytesRead; in readNumber()