/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/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/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/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/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/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 | 29 while (helper.BytesLeft()) { in FuzzOneInput()
|
D | frame_buffer_fuzzer.cc | 41 while (helper.BytesLeft() > 0) { in FuzzOneInput()
|
D | rtp_packetizer_av1_fuzzer.cc | 37 RtpPacketizerAv1 packetizer(fuzz_input.ReadByteArray(fuzz_input.BytesLeft()), in FuzzOneInput()
|
D | aec3_fuzzer.cc | 67 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/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()
|
D | puff_reader.cc | 112 size_t BufferPuffReader::BytesLeft() const { in BytesLeft() function in puffin::BufferPuffReader
|
D | huffer.cc | 33 while (pr->BytesLeft() != 0) { in HuffDeflate()
|
D | puff_io_unittest.cc | 220 ASSERT_EQ(buf.size() - pr.BytesLeft(), pw.Size()); in TEST() 221 ASSERT_EQ(buf.size() - pr.BytesLeft(), epw.Size()); in TEST()
|
/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/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 …]
|
/external/cronet/net/der/ |
D | input.h | 141 size_t BytesLeft() const { return len_; } in BytesLeft() function
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/ |
D | TypeRecordMapping.cpp | 153 size_t BytesLeft = IO.maxFieldLength(); in mapNameAndUniqueName() local 158 if (BytesNeeded > BytesLeft) { in mapNameAndUniqueName() 159 size_t BytesToDrop = (BytesNeeded - BytesLeft); in mapNameAndUniqueName() 172 auto N = StringRef(Name).take_front(BytesLeft - 1); in mapNameAndUniqueName()
|