Home
last modified time | relevance | path

Searched refs:FirstByte (Results 1 – 25 of 25) sorted by relevance

/external/llvm-project/llvm/lib/BinaryFormat/
DMsgPackWriter.cpp23 void Writer::writeNil() { EW.write(FirstByte::Nil); } in writeNil()
25 void Writer::write(bool b) { EW.write(b ? FirstByte::True : FirstByte::False); } in write()
39 EW.write(FirstByte::Int8); in write()
45 EW.write(FirstByte::Int16); in write()
51 EW.write(FirstByte::Int32); in write()
56 EW.write(FirstByte::Int64); in write()
67 EW.write(FirstByte::UInt8); in write()
73 EW.write(FirstByte::UInt16); in write()
79 EW.write(FirstByte::UInt32); in write()
84 EW.write(FirstByte::UInt64); in write()
[all …]
DMsgPackReader.cpp35 case FirstByte::Nil: in read()
38 case FirstByte::True: in read()
42 case FirstByte::False: in read()
46 case FirstByte::Int8: in read()
49 case FirstByte::Int16: in read()
52 case FirstByte::Int32: in read()
55 case FirstByte::Int64: in read()
58 case FirstByte::UInt8: in read()
61 case FirstByte::UInt16: in read()
64 case FirstByte::UInt32: in read()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/BinaryFormat/
DMsgPackWriter.cpp23 void Writer::writeNil() { EW.write(FirstByte::Nil); } in writeNil()
25 void Writer::write(bool b) { EW.write(b ? FirstByte::True : FirstByte::False); } in write()
39 EW.write(FirstByte::Int8); in write()
45 EW.write(FirstByte::Int16); in write()
51 EW.write(FirstByte::Int32); in write()
56 EW.write(FirstByte::Int64); in write()
67 EW.write(FirstByte::UInt8); in write()
73 EW.write(FirstByte::UInt16); in write()
79 EW.write(FirstByte::UInt32); in write()
84 EW.write(FirstByte::UInt64); in write()
[all …]
DMsgPackReader.cpp35 case FirstByte::Nil: in read()
38 case FirstByte::True: in read()
42 case FirstByte::False: in read()
46 case FirstByte::Int8: in read()
49 case FirstByte::Int16: in read()
52 case FirstByte::Int32: in read()
55 case FirstByte::Int64: in read()
58 case FirstByte::UInt8: in read()
61 case FirstByte::UInt16: in read()
64 case FirstByte::UInt32: in read()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/XRay/
DFDRRecordProducer.cpp75 constexpr bool isMetadataIntroducer(uint8_t FirstByte) { in isMetadataIntroducer() argument
76 return FirstByte & 0x01u; in isMetadataIntroducer()
88 uint8_t FirstByte = E.getU8(&OffsetPtr); in findNextBufferExtent() local
94 if (isMetadataIntroducer(FirstByte)) { in findNextBufferExtent()
95 auto LoadedType = FirstByte >> 1; in findNextBufferExtent()
150 uint8_t FirstByte = E.getU8(&OffsetPtr); in produce() local
157 if (isMetadataIntroducer(FirstByte)) { in produce()
158 auto LoadedType = FirstByte >> 1; in produce()
DFDRTraceWriter.cpp47 uint8_t FirstByte = (static_cast<uint8_t>(Kind) << 1) | uint8_t{0x01u}; in writeMetadata()
50 OS.write(FirstByte); in writeMetadata()
/external/llvm-project/llvm/lib/XRay/
DFDRRecordProducer.cpp75 constexpr bool isMetadataIntroducer(uint8_t FirstByte) { in isMetadataIntroducer() argument
76 return FirstByte & 0x01u; in isMetadataIntroducer()
88 uint8_t FirstByte = E.getU8(&OffsetPtr); in findNextBufferExtent() local
94 if (isMetadataIntroducer(FirstByte)) { in findNextBufferExtent()
95 auto LoadedType = FirstByte >> 1; in findNextBufferExtent()
150 uint8_t FirstByte = E.getU8(&OffsetPtr); in produce() local
157 if (isMetadataIntroducer(FirstByte)) { in produce()
158 auto LoadedType = FirstByte >> 1; in produce()
DFDRTraceWriter.cpp45 uint8_t FirstByte = (static_cast<uint8_t>(Kind) << 1) | uint8_t{0x01u}; in writeMetadata()
48 OS.write(FirstByte); in writeMetadata()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DJSON.cpp411 uint8_t FirstByte = 0xC0 | ((Rune & 0x7C0) >> 6); in encodeUtf8() local
413 Out.push_back(FirstByte); in encodeUtf8()
416 uint8_t FirstByte = 0xE0 | ((Rune & 0xF000) >> 12); in encodeUtf8() local
419 Out.push_back(FirstByte); in encodeUtf8()
423 uint8_t FirstByte = 0xF0 | ((Rune & 0x1F0000) >> 18); in encodeUtf8() local
427 Out.push_back(FirstByte); in encodeUtf8()
DYAMLParser.cpp570 uint8_t FirstByte = 0xC0 | ((UnicodeScalarValue & 0x7C0) >> 6); in encodeUTF8() local
572 Result.push_back(FirstByte); in encodeUTF8()
575 uint8_t FirstByte = 0xE0 | ((UnicodeScalarValue & 0xF000) >> 12); in encodeUTF8() local
578 Result.push_back(FirstByte); in encodeUTF8()
582 uint8_t FirstByte = 0xF0 | ((UnicodeScalarValue & 0x1F0000) >> 18); in encodeUTF8() local
586 Result.push_back(FirstByte); in encodeUTF8()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/
DSymbolRecord.h207 uint8_t FirstByte = Annotations.front(); in GetCompressedAnnotation() local
210 if ((FirstByte & 0x80) == 0x00) in GetCompressedAnnotation()
211 return FirstByte; in GetCompressedAnnotation()
219 if ((FirstByte & 0xC0) == 0x80) in GetCompressedAnnotation()
220 return ((FirstByte & 0x3F) << 8) | SecondByte; in GetCompressedAnnotation()
234 if ((FirstByte & 0xE0) == 0xC0) in GetCompressedAnnotation()
235 return ((FirstByte & 0x1F) << 24) | (SecondByte << 16) | in GetCompressedAnnotation()
/external/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
DSymbolRecord.h207 uint8_t FirstByte = Annotations.front(); in GetCompressedAnnotation() local
210 if ((FirstByte & 0x80) == 0x00) in GetCompressedAnnotation()
211 return FirstByte; in GetCompressedAnnotation()
219 if ((FirstByte & 0xC0) == 0x80) in GetCompressedAnnotation()
220 return ((FirstByte & 0x3F) << 8) | SecondByte; in GetCompressedAnnotation()
234 if ((FirstByte & 0xE0) == 0xC0) in GetCompressedAnnotation()
235 return ((FirstByte & 0x1F) << 24) | (SecondByte << 16) | in GetCompressedAnnotation()
/external/llvm-project/llvm/include/llvm/BinaryFormat/
DMsgPack.h27 namespace FirstByte {
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
DMsgPack.h27 namespace FirstByte {
/external/llvm-project/llvm/lib/Support/
DJSON.cpp568 uint8_t FirstByte = 0xC0 | ((Rune & 0x7C0) >> 6); in encodeUtf8() local
570 Out.push_back(FirstByte); in encodeUtf8()
573 uint8_t FirstByte = 0xE0 | ((Rune & 0xF000) >> 12); in encodeUtf8() local
576 Out.push_back(FirstByte); in encodeUtf8()
580 uint8_t FirstByte = 0xF0 | ((Rune & 0x1F0000) >> 18); in encodeUtf8() local
584 Out.push_back(FirstByte); in encodeUtf8()
DYAMLParser.cpp563 uint8_t FirstByte = 0xC0 | ((UnicodeScalarValue & 0x7C0) >> 6); in encodeUTF8() local
565 Result.push_back(FirstByte); in encodeUTF8()
568 uint8_t FirstByte = 0xE0 | ((UnicodeScalarValue & 0xF000) >> 12); in encodeUTF8() local
571 Result.push_back(FirstByte); in encodeUTF8()
575 uint8_t FirstByte = 0xF0 | ((UnicodeScalarValue & 0x1F0000) >> 18); in encodeUTF8() local
579 Result.push_back(FirstByte); in encodeUTF8()
/external/llvm/include/llvm/DebugInfo/CodeView/
DSymbolRecord.h311 uint8_t FirstByte = Annotations.front(); in GetCompressedAnnotation() local
314 if ((FirstByte & 0x80) == 0x00) in GetCompressedAnnotation()
315 return FirstByte; in GetCompressedAnnotation()
323 if ((FirstByte & 0xC0) == 0x80) in GetCompressedAnnotation()
324 return ((FirstByte & 0x3F) << 8) | SecondByte; in GetCompressedAnnotation()
338 if ((FirstByte & 0xE0) == 0xC0) in GetCompressedAnnotation()
339 return ((FirstByte & 0x1F) << 24) | (SecondByte << 16) | in GetCompressedAnnotation()
/external/llvm/lib/Support/
DYAMLParser.cpp578 uint8_t FirstByte = 0xC0 | ((UnicodeScalarValue & 0x7C0) >> 6); in encodeUTF8() local
580 Result.push_back(FirstByte); in encodeUTF8()
583 uint8_t FirstByte = 0xE0 | ((UnicodeScalarValue & 0xF000) >> 12); in encodeUTF8() local
586 Result.push_back(FirstByte); in encodeUTF8()
590 uint8_t FirstByte = 0xF0 | ((UnicodeScalarValue & 0x1F0000) >> 18); in encodeUTF8() local
594 Result.push_back(FirstByte); in encodeUTF8()
/external/clang/lib/Analysis/
DFormatString.cpp271 const char FirstByte = *SB; in ParseUTF8InvalidSpecifier() local
276 unsigned NumBytes = getNumBytesForUTF8(FirstByte); in ParseUTF8InvalidSpecifier()
/external/llvm-project/clang/lib/AST/
DFormatString.cpp304 const char FirstByte = *SB; in ParseUTF8InvalidSpecifier() local
309 unsigned NumBytes = llvm::getNumBytesForUTF8(FirstByte); in ParseUTF8InvalidSpecifier()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp1048 int64_t FirstByte = MFI.getObjectOffset(ClobberedFI); in addTokenForArgument() local
1049 int64_t LastByte = FirstByte + MFI.getObjectSize(ClobberedFI) - 1; in addTokenForArgument()
1067 if ((InFirstByte <= FirstByte && FirstByte <= InLastByte) || in addTokenForArgument()
1068 (FirstByte <= InFirstByte && InFirstByte <= LastByte)) in addTokenForArgument()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp1154 int64_t FirstByte = MFI.getObjectOffset(ClobberedFI); in addTokenForArgument() local
1155 int64_t LastByte = FirstByte + MFI.getObjectSize(ClobberedFI) - 1; in addTokenForArgument()
1173 if ((InFirstByte <= FirstByte && FirstByte <= InLastByte) || in addTokenForArgument()
1174 (FirstByte <= InFirstByte && InFirstByte <= LastByte)) in addTokenForArgument()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp2873 int64_t FirstByte = MFI->getObjectOffset(ClobberedFI); in addTokenForArgument() local
2874 int64_t LastByte = FirstByte + MFI->getObjectSize(ClobberedFI) - 1; in addTokenForArgument()
2892 if ((InFirstByte <= FirstByte && FirstByte <= InLastByte) || in addTokenForArgument()
2893 (FirstByte <= InFirstByte && InFirstByte <= LastByte)) in addTokenForArgument()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp3876 int64_t FirstByte = MFI.getObjectOffset(ClobberedFI); in addTokenForArgument() local
3877 int64_t LastByte = FirstByte + MFI.getObjectSize(ClobberedFI) - 1; in addTokenForArgument()
3895 if ((InFirstByte <= FirstByte && FirstByte <= InLastByte) || in addTokenForArgument()
3896 (FirstByte <= InFirstByte && InFirstByte <= LastByte)) in addTokenForArgument()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp5045 int64_t FirstByte = MFI.getObjectOffset(ClobberedFI); in addTokenForArgument() local
5046 int64_t LastByte = FirstByte + MFI.getObjectSize(ClobberedFI) - 1; in addTokenForArgument()
5064 if ((InFirstByte <= FirstByte && FirstByte <= InLastByte) || in addTokenForArgument()
5065 (FirstByte <= InFirstByte && InFirstByte <= LastByte)) in addTokenForArgument()