/external/llvm-project/llvm/unittests/Transforms/IPO/ |
D | WholeProgramDevirt.cpp | 19 VT1.Before.BytesUsed = {1 << 0}; in TEST() 20 VT1.After.BytesUsed = {1 << 1}; in TEST() 24 VT2.Before.BytesUsed = {1 << 1}; in TEST() 25 VT2.After.BytesUsed = {1 << 0}; in TEST() 55 VT1.After.BytesUsed = {0xff, 0, 0, 0, 0xff}; in TEST() 56 VT2.After.BytesUsed = {0xff, 1, 0, 0, 0}; in TEST() 87 EXPECT_EQ(std::vector<uint8_t>{1}, VT1.Before.BytesUsed); in TEST() 89 EXPECT_EQ(std::vector<uint8_t>{1}, VT2.Before.BytesUsed); in TEST() 97 EXPECT_EQ(std::vector<uint8_t>{0x81}, VT1.Before.BytesUsed); in TEST() 99 EXPECT_EQ(std::vector<uint8_t>{0x81}, VT2.Before.BytesUsed); in TEST() [all …]
|
/external/llvm/unittests/Transforms/IPO/ |
D | WholeProgramDevirt.cpp | 20 VT1.Before.BytesUsed = {1 << 0}; in TEST() 21 VT1.After.BytesUsed = {1 << 1}; in TEST() 25 VT2.Before.BytesUsed = {1 << 1}; in TEST() 26 VT2.After.BytesUsed = {1 << 0}; in TEST() 56 VT1.After.BytesUsed = {0xff, 0, 0, 0, 0xff}; in TEST() 57 VT2.After.BytesUsed = {0xff, 1, 0, 0, 0}; in TEST() 88 EXPECT_EQ(std::vector<uint8_t>{1}, VT1.Before.BytesUsed); in TEST() 90 EXPECT_EQ(std::vector<uint8_t>{1}, VT2.Before.BytesUsed); in TEST() 98 EXPECT_EQ(std::vector<uint8_t>{0x81}, VT1.Before.BytesUsed); in TEST() 100 EXPECT_EQ(std::vector<uint8_t>{0x81}, VT2.Before.BytesUsed); in TEST() [all …]
|
/external/clang/lib/Lex/ |
D | ScratchBuffer.cpp | 27 BytesUsed = ScratchBufSize; in ScratchBuffer() 36 if (BytesUsed+Len+2 > ScratchBufSize) in getToken() 41 CurBuffer[BytesUsed++] = '\n'; in getToken() 44 DestPtr = CurBuffer+BytesUsed; in getToken() 47 memcpy(CurBuffer+BytesUsed, Buf, Len); in getToken() 50 BytesUsed += Len+1; in getToken() 55 CurBuffer[BytesUsed-1] = '\0'; in getToken() 57 return BufferStartLoc.getLocWithOffset(BytesUsed-Len-1); in getToken() 75 BytesUsed = 0; in AllocScratchBuffer()
|
/external/llvm-project/clang/lib/Lex/ |
D | ScratchBuffer.cpp | 26 BytesUsed = ScratchBufSize; in ScratchBuffer() 35 if (BytesUsed+Len+2 > ScratchBufSize) in getToken() 48 CurBuffer[BytesUsed++] = '\n'; in getToken() 51 DestPtr = CurBuffer+BytesUsed; in getToken() 54 memcpy(CurBuffer+BytesUsed, Buf, Len); in getToken() 57 BytesUsed += Len+1; in getToken() 62 CurBuffer[BytesUsed-1] = '\0'; in getToken() 64 return BufferStartLoc.getLocWithOffset(BytesUsed-Len-1); in getToken() 82 BytesUsed = 0; in AllocScratchBuffer()
|
/external/icing/icing/index/main/ |
D | posting-list-used_test.cc | 80 EXPECT_THAT(pl_used.BytesUsed(), Le(expected_size)); in TEST() 88 EXPECT_THAT(pl_used.BytesUsed(), Le(expected_size)); in TEST() 97 EXPECT_THAT(pl_used.BytesUsed(), Le(expected_size)); in TEST() 107 EXPECT_THAT(pl_used.BytesUsed(), Le(expected_size)); in TEST() 133 EXPECT_THAT(pl_used.BytesUsed(), Le(expected_size)); in TEST() 147 EXPECT_THAT(pl_used.BytesUsed(), Le(expected_size)); in TEST() 158 EXPECT_THAT(pl_used.BytesUsed(), Le(expected_size)); in TEST() 169 EXPECT_THAT(pl_used.BytesUsed(), Le(kHitsSize)); in TEST() 188 EXPECT_THAT(pl_used.BytesUsed(), Eq(0)); in TEST() 198 EXPECT_THAT(pl_used.BytesUsed(), Le(expected_size)); in TEST() [all …]
|
D | posting-list-used.cc | 87 other->BytesUsed())) { in MoveFrom() 96 memcpy(posting_list_buffer_ + size_in_bytes_ - other->BytesUsed(), in MoveFrom() 98 other->BytesUsed()); in MoveFrom() 103 set_start_byte_offset(size_in_bytes_ - other->BytesUsed()); in MoveFrom() 544 uint32_t PostingListUsed::BytesUsed() const { in BytesUsed() function in icing::lib::PostingListUsed 566 return BytesUsed() + sizeof(Hit); in MinPostingListSizeToFit()
|
D | posting-list-used.h | 123 uint32_t BytesUsed() const;
|
D | posting-list-accessor.cc | 152 if (accessor.posting_list_buffer_.BytesUsed() <= 0) { in Finalize()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | raw_ostream.cpp | 288 size_t BytesUsed = Fmt.print(OutBufCur, BufferBytesLeft); in operator <<() local 291 if (BytesUsed <= BufferBytesLeft) { in operator <<() 292 OutBufCur += BytesUsed; in operator <<() 298 NextBufferSize = BytesUsed; in operator <<() 310 size_t BytesUsed = Fmt.print(V.data(), NextBufferSize); in operator <<() local 313 if (BytesUsed <= NextBufferSize) in operator <<() 314 return write(V.data(), BytesUsed); in operator <<() 317 assert(BytesUsed > NextBufferSize && "Didn't grow buffer!?"); in operator <<() 318 NextBufferSize = BytesUsed; in operator <<()
|
/external/llvm/lib/Support/ |
D | raw_ostream.cpp | 367 size_t BytesUsed = Fmt.print(OutBufCur, BufferBytesLeft); in operator <<() local 370 if (BytesUsed <= BufferBytesLeft) { in operator <<() 371 OutBufCur += BytesUsed; in operator <<() 377 NextBufferSize = BytesUsed; in operator <<() 389 size_t BytesUsed = Fmt.print(V.data(), NextBufferSize); in operator <<() local 392 if (BytesUsed <= NextBufferSize) in operator <<() 393 return write(V.data(), BytesUsed); in operator <<() 396 assert(BytesUsed > NextBufferSize && "Didn't grow buffer!?"); in operator <<() 397 NextBufferSize = BytesUsed; in operator <<()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | raw_ostream.cpp | 311 size_t BytesUsed = Fmt.print(OutBufCur, BufferBytesLeft); in operator <<() local 314 if (BytesUsed <= BufferBytesLeft) { in operator <<() 315 OutBufCur += BytesUsed; in operator <<() 321 NextBufferSize = BytesUsed; in operator <<() 333 size_t BytesUsed = Fmt.print(V.data(), NextBufferSize); in operator <<() local 336 if (BytesUsed <= NextBufferSize) in operator <<() 337 return write(V.data(), BytesUsed); in operator <<() 340 assert(BytesUsed > NextBufferSize && "Didn't grow buffer!?"); in operator <<() 341 NextBufferSize = BytesUsed; in operator <<()
|
/external/llvm/include/llvm/Transforms/IPO/ |
D | WholeProgramDevirt.h | 40 std::vector<uint8_t> BytesUsed; member 45 BytesUsed.resize(Pos + Size); in getPtrToData() 47 return std::make_pair(Bytes.data() + Pos, BytesUsed.data() + Pos); in getPtrToData()
|
/external/llvm-project/llvm/lib/Support/ |
D | raw_ostream.cpp | 315 size_t BytesUsed = Fmt.print(OutBufCur, BufferBytesLeft); in operator <<() local 318 if (BytesUsed <= BufferBytesLeft) { in operator <<() 319 OutBufCur += BytesUsed; in operator <<() 325 NextBufferSize = BytesUsed; in operator <<() 337 size_t BytesUsed = Fmt.print(V.data(), NextBufferSize); in operator <<() local 340 if (BytesUsed <= NextBufferSize) in operator <<() 341 return write(V.data(), BytesUsed); in operator <<() 344 assert(BytesUsed > NextBufferSize && "Didn't grow buffer!?"); in operator <<() 345 NextBufferSize = BytesUsed; in operator <<()
|
/external/llvm-project/llvm/include/llvm/Transforms/IPO/ |
D | WholeProgramDevirt.h | 43 std::vector<uint8_t> BytesUsed; member 48 BytesUsed.resize(Pos + Size); in getPtrToData() 50 return std::make_pair(Bytes.data() + Pos, BytesUsed.data() + Pos); in getPtrToData()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/ |
D | WholeProgramDevirt.h | 43 std::vector<uint8_t> BytesUsed; member 48 BytesUsed.resize(Pos + Size); in getPtrToData() 50 return std::make_pair(Bytes.data() + Pos, BytesUsed.data() + Pos); in getPtrToData()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/ |
D | CodeViewRecordIO.h | 252 uint32_t BytesUsed = CurrentOffset - BeginOffset; in bytesRemaining() local 253 if (BytesUsed >= *MaxLength) in bytesRemaining() 255 return *MaxLength - BytesUsed; in bytesRemaining()
|
/external/swiftshader/third_party/subzero/src/ |
D | IceAssembler.h | 185 size_t BytesUsed); 313 size_t BytesUsed) { in createTextFixup() argument 314 return Buffer.createTextFixup(Text, BytesUsed); in createTextFixup()
|
D | IceAssembler.cpp | 65 size_t BytesUsed) { in createTextFixup() argument 67 AssemblerTextFixup(Text, BytesUsed); in createTextFixup()
|
/external/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
D | CodeViewRecordIO.h | 253 uint32_t BytesUsed = CurrentOffset - BeginOffset; in bytesRemaining() local 254 if (BytesUsed >= *MaxLength) in bytesRemaining() 256 return *MaxLength - BytesUsed; in bytesRemaining()
|
/external/llvm-project/clang/include/clang/Lex/ |
D | ScratchBuffer.h | 28 unsigned BytesUsed; variable
|
/external/clang/include/clang/Lex/ |
D | ScratchBuffer.h | 29 unsigned BytesUsed; variable
|
/external/llvm/lib/Transforms/IPO/ |
D | WholeProgramDevirt.cpp | 93 ArrayRef<uint8_t> VTUsed = IsAfter ? Target.TM->Bits->After.BytesUsed in findLowestOffset() 94 : Target.TM->Bits->Before.BytesUsed; in findLowestOffset()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | WholeProgramDevirt.cpp | 174 ArrayRef<uint8_t> VTUsed = IsAfter ? Target.TM->Bits->After.BytesUsed in findLowestOffset() 175 : Target.TM->Bits->Before.BytesUsed; in findLowestOffset()
|
/external/llvm-project/llvm/lib/Transforms/IPO/ |
D | WholeProgramDevirt.cpp | 220 ArrayRef<uint8_t> VTUsed = IsAfter ? Target.TM->Bits->After.BytesUsed in findLowestOffset() 221 : Target.TM->Bits->Before.BytesUsed; in findLowestOffset()
|