/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMSelectionDAGInfo.cpp | 148 unsigned BytesLeft = SizeVal & 3; in EmitTargetCodeForMemcpy() local 196 if (BytesLeft == 0) in EmitTargetCodeForMemcpy() 200 auto getRemainingValueType = [](unsigned BytesLeft) { in EmitTargetCodeForMemcpy() argument 201 return (BytesLeft >= 2) ? MVT::i16 : MVT::i8; in EmitTargetCodeForMemcpy() 203 auto getRemainingSize = [](unsigned BytesLeft) { in EmitTargetCodeForMemcpy() argument 204 return (BytesLeft >= 2) ? 2 : 1; in EmitTargetCodeForMemcpy() 207 unsigned BytesLeftSave = BytesLeft; in EmitTargetCodeForMemcpy() 209 while (BytesLeft) { in EmitTargetCodeForMemcpy() 210 VT = getRemainingValueType(BytesLeft); in EmitTargetCodeForMemcpy() 211 VTSize = getRemainingSize(BytesLeft); in EmitTargetCodeForMemcpy() [all …]
|
/external/llvm-project/llvm/lib/Target/ARM/ |
D | ARMSelectionDAGInfo.cpp | 148 unsigned BytesLeft = SizeVal & 3; in EmitTargetCodeForMemcpy() local 196 if (BytesLeft == 0) in EmitTargetCodeForMemcpy() 200 auto getRemainingValueType = [](unsigned BytesLeft) { in EmitTargetCodeForMemcpy() argument 201 return (BytesLeft >= 2) ? MVT::i16 : MVT::i8; in EmitTargetCodeForMemcpy() 203 auto getRemainingSize = [](unsigned BytesLeft) { in EmitTargetCodeForMemcpy() argument 204 return (BytesLeft >= 2) ? 2 : 1; in EmitTargetCodeForMemcpy() 207 unsigned BytesLeftSave = BytesLeft; in EmitTargetCodeForMemcpy() 209 while (BytesLeft) { in EmitTargetCodeForMemcpy() 210 VT = getRemainingValueType(BytesLeft); in EmitTargetCodeForMemcpy() 211 VTSize = getRemainingSize(BytesLeft); in EmitTargetCodeForMemcpy() [all …]
|
/external/llvm/lib/Target/ARM/ |
D | ARMSelectionDAGInfo.cpp | 149 unsigned BytesLeft = SizeVal & 3; in EmitTargetCodeForMemcpy() local 197 if (BytesLeft == 0) in EmitTargetCodeForMemcpy() 201 unsigned BytesLeftSave = BytesLeft; in EmitTargetCodeForMemcpy() 203 while (BytesLeft) { in EmitTargetCodeForMemcpy() 204 if (BytesLeft >= 2) { in EmitTargetCodeForMemcpy() 220 BytesLeft -= VTSize; in EmitTargetCodeForMemcpy() 226 BytesLeft = BytesLeftSave; in EmitTargetCodeForMemcpy() 227 while (BytesLeft) { in EmitTargetCodeForMemcpy() 228 if (BytesLeft >= 2) { in EmitTargetCodeForMemcpy() 242 BytesLeft -= VTSize; in EmitTargetCodeForMemcpy()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86SelectionDAGInfo.cpp | 108 unsigned BytesLeft = 0; in EmitTargetCodeForMemset() local 141 BytesLeft = SizeVal % UBytes; in EmitTargetCodeForMemset() 166 if (BytesLeft) { in EmitTargetCodeForMemset() 168 unsigned Offset = SizeVal - BytesLeft; in EmitTargetCodeForMemset() 176 DAG.getConstant(BytesLeft, dl, SizeVT), in EmitTargetCodeForMemset() 260 const uint64_t BytesLeft = Size % BlockBytes; in emitConstantSizeRepmov() local 266 if (BytesLeft == 0) in emitConstantSizeRepmov() 269 assert(BytesLeft && "We have leftover at this point"); in emitConstantSizeRepmov() 279 unsigned Offset = Size - BytesLeft; in emitConstantSizeRepmov() 286 DAG.getConstant(BytesLeft, dl, SizeVT), Align, isVolatile, in emitConstantSizeRepmov()
|
/external/llvm/lib/Target/X86/ |
D | X86SelectionDAGInfo.cpp | 106 unsigned BytesLeft = 0; in EmitTargetCodeForMemset() local 140 BytesLeft = SizeVal % UBytes; in EmitTargetCodeForMemset() 177 } else if (BytesLeft) { in EmitTargetCodeForMemset() 179 unsigned Offset = SizeVal - BytesLeft; in EmitTargetCodeForMemset() 187 DAG.getConstant(BytesLeft, dl, SizeVT), in EmitTargetCodeForMemset() 244 unsigned BytesLeft = SizeVal % UBytes; in EmitTargetCodeForMemcpy() local 263 if (BytesLeft) { in EmitTargetCodeForMemcpy() 265 unsigned Offset = SizeVal - BytesLeft; in EmitTargetCodeForMemcpy() 276 DAG.getConstant(BytesLeft, dl, SizeVT), in EmitTargetCodeForMemcpy()
|
/external/llvm-project/llvm/lib/Target/X86/ |
D | X86SelectionDAGInfo.cpp | 113 unsigned BytesLeft = 0; in EmitTargetCodeForMemset() local 145 BytesLeft = SizeVal % UBytes; in EmitTargetCodeForMemset() 170 if (BytesLeft) { in EmitTargetCodeForMemset() 172 unsigned Offset = SizeVal - BytesLeft; in EmitTargetCodeForMemset() 180 Val, DAG.getConstant(BytesLeft, dl, SizeVT), Alignment, in EmitTargetCodeForMemset() 263 const uint64_t BytesLeft = Size % BlockBytes; in emitConstantSizeRepmov() local 269 if (BytesLeft == 0) in emitConstantSizeRepmov() 272 assert(BytesLeft && "We have leftover at this point"); in emitConstantSizeRepmov() 282 unsigned Offset = Size - BytesLeft; in emitConstantSizeRepmov() 289 DAG.getConstant(BytesLeft, dl, SizeVT), llvm::Align(Align), isVolatile, in emitConstantSizeRepmov()
|
/external/llvm/lib/DebugInfo/PDB/Raw/ |
D | MappedBlockStream.cpp | 199 uint32_t BytesLeft = Buffer.size(); in readBytes() local 203 while (BytesLeft > 0) { in readBytes() 213 std::min(BytesLeft, Pdb.getBlockSize() - OffsetInBlock); in readBytes() 217 BytesLeft -= BytesInChunk; in readBytes() 237 uint32_t BytesLeft = Buffer.size(); in writeBytes() local 240 while (BytesLeft > 0) { in writeBytes() 243 std::min(BytesLeft, Pdb.getBlockSize() - OffsetInBlock); in writeBytes() 250 BytesLeft -= BytesToWriteInChunk; in writeBytes()
|
/external/llvm/lib/Support/ |
D | MemoryBuffer.cpp | 387 size_t BytesLeft = MapSize; in getOpenFileImpl() local 393 while (BytesLeft) { in getOpenFileImpl() 395 ssize_t NumRead = ::pread(FD, BufPtr, BytesLeft, MapSize-BytesLeft+Offset); in getOpenFileImpl() 397 ssize_t NumRead = ::read(FD, BufPtr, BytesLeft); in getOpenFileImpl() 406 memset(BufPtr, 0, BytesLeft); // zero-initialize rest of the buffer. in getOpenFileImpl() 409 BytesLeft -= NumRead; in getOpenFileImpl()
|
/external/webrtc/test/fuzzers/ |
D | rtp_depacketizer_av1_assemble_frame_fuzzer.cc | 31 if (next_size > fuzz_input.BytesLeft()) { in FuzzOneInput() 32 next_size = fuzz_input.BytesLeft(); in FuzzOneInput()
|
D | fuzz_data_helper.h | 88 size_t bytes_to_copy = std::min(BytesLeft(), sizeof(T)); in CopyTo() 95 size_t BytesLeft() const { return data_.size() - data_ix_; } in BytesLeft() function
|
D | packet_buffer_fuzzer.cc | 31 while (helper.BytesLeft()) { in FuzzOneInput()
|
D | rtp_packetizer_av1_fuzzer.cc | 37 RtpPacketizerAv1 packetizer(fuzz_input.ReadByteArray(fuzz_input.BytesLeft()), in FuzzOneInput()
|
D | aec3_fuzzer.cc | 65 while (fuzz_data.BytesLeft() > 0) { in FuzzOneInput()
|
D | rtp_dependency_descriptor_fuzzer.cc | 37 fuzz_data.ReadByteArray(std::min(next_size, fuzz_data.BytesLeft())); in FuzzOneInput()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/MSF/ |
D | MappedBlockStream.cpp | 248 uint32_t BytesLeft = Buffer.size(); in readBytes() local 251 while (BytesLeft > 0) { in readBytes() 260 uint32_t BytesInChunk = std::min(BytesLeft, BlockSize - OffsetInBlock); in readBytes() 264 BytesLeft -= BytesInChunk; in readBytes() 396 uint32_t BytesLeft = Buffer.size(); in writeBytes() local 398 while (BytesLeft > 0) { in writeBytes() 401 std::min(BytesLeft, getBlockSize() - OffsetInBlock); in writeBytes() 410 BytesLeft -= BytesToWriteInChunk; in writeBytes()
|
/external/llvm-project/llvm/lib/DebugInfo/MSF/ |
D | MappedBlockStream.cpp | 248 uint32_t BytesLeft = Buffer.size(); in readBytes() local 251 while (BytesLeft > 0) { in readBytes() 260 uint32_t BytesInChunk = std::min(BytesLeft, BlockSize - OffsetInBlock); in readBytes() 264 BytesLeft -= BytesInChunk; in readBytes() 396 uint32_t BytesLeft = Buffer.size(); in writeBytes() local 398 while (BytesLeft > 0) { in writeBytes() 401 std::min(BytesLeft, getBlockSize() - OffsetInBlock); in writeBytes() 410 BytesLeft -= BytesToWriteInChunk; in writeBytes()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | MemoryBuffer.cpp | 387 size_t BytesLeft = MapSize; in getOpenFileImpl() local 393 while (BytesLeft) { in getOpenFileImpl() 395 ssize_t NumRead = ::pread(FD, BufPtr, BytesLeft, MapSize-BytesLeft+Offset); in getOpenFileImpl() 397 ssize_t NumRead = ::read(FD, BufPtr, BytesLeft); in getOpenFileImpl() 406 memset(BufPtr, 0, BytesLeft); // zero-initialize rest of the buffer. in getOpenFileImpl() 409 BytesLeft -= NumRead; in getOpenFileImpl()
|
/external/puffin/src/ |
D | puff_reader.h | 31 virtual size_t BytesLeft() const = 0; 50 size_t BytesLeft() const override;
|
D | puffin_unittest.cc | 51 while (puff_reader.BytesLeft() != 0) { in DecompressPuff() 84 *puff_size = *puff_size - puff_reader.BytesLeft(); in DecompressPuff() 111 TEST_AND_RETURN_FALSE(puff_reader.BytesLeft() == 0); in HuffDeflate()
|
/external/llvm-project/lldb/tools/debugserver/source/ |
D | DNBDataRef.h | 55 size_t BytesLeft(size_t offset) const { in BytesLeft() function 62 bool ValidOffset(offset_t offset) const { return BytesLeft(offset) > 0; } in ValidOffset() 64 return num_bytes <= BytesLeft(offset); in ValidOffsetForDataOfSize()
|
/external/llvm-project/lldb/include/lldb/Utility/ |
D | DataEncoder.h | 174 uint32_t BytesLeft(uint32_t offset) const { in BytesLeft() function 187 return length <= BytesLeft(offset); in ValidOffsetForDataOfSize()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/ |
D | BPFInstrInfo.cpp | 86 unsigned BytesLeft = CopyLen & (Alignment - 1); in expandMEMCPY() local 88 bool Hanging4Byte = BytesLeft & 0x4; in expandMEMCPY() 89 bool Hanging2Byte = BytesLeft & 0x2; in expandMEMCPY() 90 bool Hanging1Byte = BytesLeft & 0x1; in expandMEMCPY()
|
/external/llvm-project/llvm/lib/Target/BPF/ |
D | BPFInstrInfo.cpp | 86 unsigned BytesLeft = CopyLen & (Alignment - 1); in expandMEMCPY() local 88 bool Hanging4Byte = BytesLeft & 0x4; in expandMEMCPY() 89 bool Hanging2Byte = BytesLeft & 0x2; in expandMEMCPY() 90 bool Hanging1Byte = BytesLeft & 0x1; in expandMEMCPY()
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 287 unsigned BytesLeft, const DataLayout &DL) { in ReadDataFromGlobal() argument 304 for (unsigned i = 0; i != BytesLeft && ByteOffset != IntBytes; ++i) { in ReadDataFromGlobal() 317 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); in ReadDataFromGlobal() 321 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); in ReadDataFromGlobal() 325 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); in ReadDataFromGlobal() 343 BytesLeft, DL)) in ReadDataFromGlobal() 355 if (BytesLeft <= NextEltOffset - CurEltOffset - ByteOffset) in ReadDataFromGlobal() 360 BytesLeft -= NextEltOffset - CurEltOffset - ByteOffset; in ReadDataFromGlobal() 381 BytesLeft, DL)) in ReadDataFromGlobal() 386 if (BytesWritten >= BytesLeft) in ReadDataFromGlobal() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 381 unsigned BytesLeft, const DataLayout &DL) { in ReadDataFromGlobal() argument 398 for (unsigned i = 0; i != BytesLeft && ByteOffset != IntBytes; ++i) { in ReadDataFromGlobal() 411 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); in ReadDataFromGlobal() 415 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); in ReadDataFromGlobal() 419 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); in ReadDataFromGlobal() 437 BytesLeft, DL)) in ReadDataFromGlobal() 449 if (BytesLeft <= NextEltOffset - CurEltOffset - ByteOffset) in ReadDataFromGlobal() 454 BytesLeft -= NextEltOffset - CurEltOffset - ByteOffset; in ReadDataFromGlobal() 475 BytesLeft, DL)) in ReadDataFromGlobal() 480 if (BytesWritten >= BytesLeft) in ReadDataFromGlobal() [all …]
|