Home
last modified time | relevance | path

Searched refs:BytesUsed (Results 1 – 14 of 14) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/IPO/
DWholeProgramDevirt.cpp20 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/llvm/unittests/Transforms/IPO/
DWholeProgramDevirt.cpp20 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/
DScratchBuffer.cpp27 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/lib/Support/
Draw_ostream.cpp367 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-subzero/lib/Support/
Draw_ostream.cpp288 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/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
Draw_ostream.cpp292 size_t BytesUsed = Fmt.print(OutBufCur, BufferBytesLeft); in operator <<() local
295 if (BytesUsed <= BufferBytesLeft) { in operator <<()
296 OutBufCur += BytesUsed; in operator <<()
302 NextBufferSize = BytesUsed; in operator <<()
314 size_t BytesUsed = Fmt.print(V.data(), NextBufferSize); in operator <<() local
317 if (BytesUsed <= NextBufferSize) in operator <<()
318 return write(V.data(), BytesUsed); in operator <<()
321 assert(BytesUsed > NextBufferSize && "Didn't grow buffer!?"); in operator <<()
322 NextBufferSize = BytesUsed; in operator <<()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/CodeView/
DCodeViewRecordIO.h155 uint32_t BytesUsed = CurrentOffset - BeginOffset; in bytesRemaining() local
156 if (BytesUsed >= *MaxLength) in bytesRemaining()
158 return *MaxLength - BytesUsed; in bytesRemaining()
/external/llvm/include/llvm/Transforms/IPO/
DWholeProgramDevirt.h40 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/IPO/
DWholeProgramDevirt.h41 std::vector<uint8_t> BytesUsed; member
46 BytesUsed.resize(Pos + Size); in getPtrToData()
48 return std::make_pair(Bytes.data() + Pos, BytesUsed.data() + Pos); in getPtrToData()
/external/swiftshader/third_party/subzero/src/
DIceAssembler.h185 size_t BytesUsed);
313 size_t BytesUsed) { in createTextFixup() argument
314 return Buffer.createTextFixup(Text, BytesUsed); in createTextFixup()
DIceAssembler.cpp65 size_t BytesUsed) { in createTextFixup() argument
67 AssemblerTextFixup(Text, BytesUsed); in createTextFixup()
/external/clang/include/clang/Lex/
DScratchBuffer.h29 unsigned BytesUsed; variable
/external/llvm/lib/Transforms/IPO/
DWholeProgramDevirt.cpp93 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-7.0/llvm/lib/Transforms/IPO/
DWholeProgramDevirt.cpp157 ArrayRef<uint8_t> VTUsed = IsAfter ? Target.TM->Bits->After.BytesUsed in findLowestOffset()
158 : Target.TM->Bits->Before.BytesUsed; in findLowestOffset()